1 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
3 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
4 * config.h.in: Regenerate.
5 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
7 * aclocal.m4: Regenerate.
8 * configure.in: Remove duplicate AM_CONFIG_HEADER.
9 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
10 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
11 * configure: Regenerate.
12 * testsuite_hooks.h.in: Move to...
13 * testsuite_hooks.h: Here, include c++config.h. Use it.
15 * Makefile.am (SUBDIRS): Move testsuite to last directory.
16 * Makefile.in: Regenerate.
17 * po/Makefile.am (stamp-po): Add.
19 2001-08-09 David Edelsohn <edelsohn@gnu.org>
21 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
22 * config/os/generic/bits/os_defines.h: Likewise.
23 * config/os/gnu-linux/bits/os_defines.h: Likewise.
24 * config/os/hpux/bits/os_defines.h: Likewise.
25 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
26 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
28 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
30 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
31 -version-info, use substituted VERSION info.
32 * src/Makefile.in: Regenerate.
34 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
36 Implement std::messages.
37 Make config a fully-nested directory.
38 * config/locale: New directory.
39 * config/c_locale_generic.cc: Move into locale subdirectory.
40 * config/c_locale_generic.h: Same.
41 * config/c_locale_gnu.cc: Same.
42 * config/c_locale_gnu.h: Same.
43 * config/c_locale_ieee_1003.1-200x.cc: Same.
44 * config/c_locale_ieee_1003.1-200x_.h: Same.
45 * config/codecvt_specializations_generic.h: Same.
46 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
47 * config/messages_members_gnu.h: Same.
48 * config/messaages_members_gnu.cc: Same.
49 * config/messages_members_generic.h: Same.
50 * config/messaages_members_generic.cc: Same.
51 * config/messages_members_ieee_1003.1-200x.h: Same.
52 * config/messaages_members_ieee_1003.1-200x.cc: Same.
53 * config/io: New directory.
54 * config/basic_file_libio.h: Move into io subdirectory.
55 * config/basic_file_libio.cc: Same.
56 * config/c_io_libio.h: Same.
57 * config/c_io_libio_codecvt.c: Same.
58 * config/basic_file_stdio.h: Same.
59 * config/basic_file_stdio.cc: Same.
60 * config/c_io_stdio.h: Same.
63 * po/POTFILES.in: New file.
64 * po/Makefile.am: New file.
65 * po/Makefile.in: New file.
66 * po/libstdc++.pot: Generic translation file.
67 * po/fr.po: Preliminary French translation.
68 * po/de.po: Preliminary German translation.
69 * intl: New directory.
70 * intl/Makefile.am: New file.
71 * intl/Makefile.in: New file.
72 * intl/string_literals.cc: New file.
73 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
74 requisite setup for gettext. Re-arrange.
75 * aclocal.m4: Regenerate.
76 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
77 Output Makefile bits for po and intl.
78 * configure: Regenerate.
79 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
80 * Makefile.in: Regenerate.
81 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
82 * config.h.in: Regenerate.
84 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
86 * include/Makefile.am (install-data-local): Don't install Makefile.
87 * include/Makefile.in: Regenerate.
89 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
91 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
92 * config/locale/c_locale_generic.cc: Same.
93 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
95 * include/bits/codecvt.h: Excise non-standard, non-required
96 bits. This includes __enc_traits, and partial specializations of
97 codecvt for __enc_traits.
98 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
99 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
100 * config/codecvt_partials_generic.h: New file.
101 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
102 (stamp-codecvt_model): Add.
103 * include/Makefile.in: Regenerate.
104 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
105 * aclocal.m4: Regenerate.
106 * configure: Regenerate.
107 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
108 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
109 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
111 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
112 as a friend for _S_*_c_locale functions.
113 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
114 argument to default constructor so that CODESET information can be
116 * include/bits/locale_facets.h (messages_byname):
117 Re-implement. Remove specializations.
118 * src/locale.cc (messages_byname<char>): Remove specialization.
119 (messages_byname<wchar_t>): Same.
120 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
121 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
122 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
123 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
124 * config/locale/messages_members_gnu.cc: New file.
125 * config/locale/messages_members_gnu.h: New file.
126 * config/locale/messages_members_generic.cc: New file.
127 * config/locale/messages_members_generic.h: New file.
129 * docs/html/configopts.html: Add documentation for new locale
130 model, ieee_1003.1. Adjust other flags for current defaults.
131 * docs/html/22_locale/locale.html: Update.
132 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
133 * docs/html/22_locale/messages.html: New.
135 * src/Makefile.am (sources): Add messages_virtuals.cc.
136 * src/Makefile.in: Regenerate.
137 * include/Makefile.am (allstamps): Add stamp-messages_model.
138 (stamp-messages_model): Add.
139 * include/Makefile.in: Regenerate.
140 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
141 * aclocal.m4: Regenerate.
142 * configure: Regenerate.
144 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
145 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
147 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
148 build directories message catalog base directory, and export.
149 Eventually this should probably be made to deal with build and
150 install directories. For now, punt on this as the library itself
151 doesn't use message catalogs (yet).
152 * testsuite/22_locale/messages.cc: New file.
153 * testsuite/22_locale/messages_char_members.cc: New file.
154 * testsuite/22_locale/messages_byname.cc: New file.
156 2001-08-06 Phil Edwards <pme@sources.redhat.com>
158 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
159 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
160 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
161 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
162 Call GLIBCPP_CONFIGURE_TESTSUITE.
163 * aclocal.m4: Regenerate.
164 * config.h.in: Regenerate.
165 * configure: Regenerate.
167 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
170 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
171 * testsuite/debug_assert.h: Removed; contents merged into...
172 * testsuite/testsuite_hooks.h.in: ...here. New file.
173 * testsuite/17_intro/header_ciso646.cc: No longer include
174 debug_assert.h, include testsuite_hooks.h instead.
175 * testsuite/17_intro/header_fstream.cc: Likewise.
176 * testsuite/17_intro/header_iomanip.cc: Likewise.
177 * testsuite/17_intro/header_ios.cc: Likewise.
178 * testsuite/17_intro/header_iosfwd.cc: Likewise.
179 * testsuite/17_intro/header_iostream.cc: Likewise.
180 * testsuite/17_intro/header_istream.cc: Likewise.
181 * testsuite/17_intro/header_ostream.cc: Likewise.
182 * testsuite/17_intro/header_sstream.cc: Likewise.
183 * testsuite/17_intro/header_streambuf.cc: Likewise.
184 * testsuite/18_support/numeric_limits.cc: Likewise.
185 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
186 * testsuite/20_util/allocator_members.cc: Likewise.
187 * testsuite/20_util/auto_ptr.cc: Likewise.
188 * testsuite/20_util/pairs.cc: Likewise.
189 * testsuite/21_strings/append.cc: Likewise.
190 * testsuite/21_strings/capacity.cc: Likewise.
191 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
192 * testsuite/21_strings/compare.cc: Likewise.
193 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
194 call to (disabled) __set_testsuite_memlimit() wrapper.
195 * testsuite/21_strings/element_access.cc: Likewise.
196 * testsuite/21_strings/find.cc: Likewise.
197 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
198 (disabled) __set_testsuite_memlimit() wrapper.
199 * testsuite/21_strings/inserters_extractors.cc: Likewise.
200 * testsuite/21_strings/invariants.cc: Likewise.
201 * testsuite/21_strings/nonmember.cc: Likewise.
202 * testsuite/21_strings/operations.cc: Likewise.
203 * testsuite/21_strings/replace.cc: Likewise.
204 * testsuite/21_strings/rfind.cc: Likewise.
205 * testsuite/21_strings/substr.cc: Likewise.
206 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
207 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
208 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
209 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
210 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
211 * testsuite/22_locale/ctype_char_members.cc: Likewise.
212 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
213 * testsuite/22_locale/facet.cc: Likewise.
214 * testsuite/22_locale/global_templates.cc: Likewise.
215 * testsuite/22_locale/members.cc: Likewise.
216 * testsuite/22_locale/numpunct_byname.cc: Likewise.
217 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
218 * testsuite/22_locale/operators.cc: Likewise.
219 * testsuite/22_locale/static_members.cc: Likewise.
220 * testsuite/23_containers/bitset_ctor.cc: Likewise.
221 * testsuite/23_containers/bitset_members.cc: Likewise.
222 * testsuite/23_containers/bitset_shift.cc: Likewise.
223 * testsuite/23_containers/vector_capacity.cc: Likewise.
224 * testsuite/23_containers/vector_ctor.cc: Likewise.
225 * testsuite/23_containers/vector_element_access.cc: Likewise.
226 * testsuite/23_containers/vector_modifiers.cc: Likewise.
227 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
228 * testsuite/24_iterators/iterator.cc: Likewise.
229 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
230 * testsuite/25_algorithms/binary_search.cc: Likewise.
231 * testsuite/25_algorithms/copy.cc: Likewise.
232 * testsuite/25_algorithms/heap.cc: Likewise.
233 * testsuite/25_algorithms/lower_bound.cc: Likewise.
234 * testsuite/25_algorithms/min_max.cc: Likewise.
235 * testsuite/25_algorithms/partition.cc: Likewise.
236 * testsuite/25_algorithms/rotate.cc: Likewise.
237 * testsuite/25_algorithms/sort.cc: Likewise.
238 * testsuite/26_numerics/c_math.cc: Likewise.
239 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
240 * testsuite/26_numerics/complex_value.cc: Likewise.
241 * testsuite/27_io/filebuf.cc: Likewise.
242 * testsuite/27_io/filebuf_members.cc: Likewise.
243 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
244 * testsuite/27_io/fpos.cc: Likewise.
245 * testsuite/27_io/fstream_members.cc: Likewise.
246 * testsuite/27_io/ifstream_members.cc: Likewise.
247 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
248 * testsuite/27_io/ios_base_members_static.cc: Likewise.
249 * testsuite/27_io/ios_base_storage.cc: Likewise.
250 * testsuite/27_io/ios_ctor.cc: Likewise.
251 * testsuite/27_io/ios_init.cc: Likewise.
252 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
253 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
254 * testsuite/27_io/ios_members.cc: Likewise.
255 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
256 * testsuite/27_io/istream_extractor_char.cc: Likewise.
257 * testsuite/27_io/istream_extractor_other.cc: Likewise.
258 * testsuite/27_io/istream_manip.cc: Likewise.
259 * testsuite/27_io/istream_seeks.cc: Likewise.
260 * testsuite/27_io/istream_sentry.cc: Likewise.
261 * testsuite/27_io/istream_unformatted.cc: Likewise.
262 * testsuite/27_io/istringstream_members.cc: Likewise.
263 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
264 * testsuite/27_io/ofstream_members.cc: Likewise.
265 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
266 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
267 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
268 * testsuite/27_io/ostream_manip.cc: Likewise.
269 * testsuite/27_io/ostream_seeks.cc: Likewise.
270 * testsuite/27_io/ostream_unformatted.cc: Likewise.
271 * testsuite/27_io/ostringstream_members.cc: Likewise.
272 * testsuite/27_io/streambuf.cc: Likewise.
273 * testsuite/27_io/stringbuf.cc: Likewise.
274 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
275 * testsuite/27_io/stringstream.cc: Likewise.
276 * testsuite/27_io/stringstream_members.cc: Likewise.
277 * testsuite/27_io/wide_stream_objects.cc: Likewise.
279 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
281 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
283 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
285 * configure.target: Remove mips from cpu table.
286 * config/cpu/mips/bits/atomicity.h: Remove generic
287 versions. Comment sgidefs include.
289 2001-07-25 H.J. Lu <hjl@gnu.org>
291 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
294 * config/cpu/mips/bits/atomicity.h: New.
296 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
298 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
299 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
300 * aclocal.m4: Regenerate.
301 * config.h.in: Likewise.
302 * configure: Likewise.
303 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
304 (EXTRA_DIST): Remove hypot.c hypotf.c.
305 * libmath/Makefile.am: Regenerate.
306 * libmath/hypotf.c: Remove.
307 * libmath/hypot.c: Likewise.
308 * libmath/hypotl.c: Likewise.
309 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
310 _GLIBCPP_HAVE_xxx. Add long double versions.
312 2001-07-23 David Edelsohn <edelsohn@gnu.org>
314 * include/bits/limits_generic.h (int): Set digits and digits10
315 appropriately for word size.
316 (unsigned int,long,unsigned long): Likewise.
318 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
320 * include/bits/stl_algo.h : Fix typos.
321 * testsuite/25_algorithms/unique.cc: New file.
323 2001-07-19 Phil Edwards <pme@sources.redhat.com>
324 Mark Mitchell <mark@codesourcery.com>
326 Merge from cp-parser-branch.
327 * include/bits/basic_string.h: Qualify symbols with 'template'.
328 * include/bits/basic_string.tcc: Likewise.
329 * include/bits/fstream.tcc: Likewise.
330 * include/bits/istream.tcc: Likewise.
331 * include/bits/sstream.tcc: Likewise.
332 * include/bits/std_istream.h: Likewise.
333 * include/bits/stl_iterator.h: Likewise.
334 * include/bits/streambuf.tcc: Likewise.
335 * src/gen-num-limits.cc: Add 'template<>' to specializations.
336 * src/locale.cc: Likewise.
338 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
339 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
341 * src/gen-num-limits.cc (set_signals_handler): New function.
342 Factor out signals setting. Set signal handler for SIGILL.
344 2001-07-18 Phil Edwards <pme@sources.redhat.com>
346 * docs/html/27_io/howto.html: Fix typo.
347 * docs/html/faq/index.html: Minor updates for 3.0 all around.
348 * docs/html/faq/index.txt: Regenerated.
350 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
351 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
354 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
355 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
357 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
359 All occurrences of the __value_type() and __distance_type()
360 functions, which were required to support the HP STL, have been
361 removed along with all the auxiliary forwarding functions that
362 were required to support their use.
364 The __iterator_category() function was pretty much left alone
365 because there was no benefit to removing it and its use made code
366 just a little more readable.
368 Incidences of distance() with nonstandard argument list were
369 replaced by calls to the standard function (only in the files
370 affected by the removal of the other HP functions).
372 The signature of the rotate() algorithm was changed to match the
375 Headers were reformatted under C++STYLE guidelines (indentation,
376 linebreaks, typename keyword).
378 * include/bits/stl_algo.h: replaced __value_type() and
379 __distance_type() with iterator_traits, eliminated auxiliary
380 support functions required to support said function usage.
381 Changed nonstandard distance() call to standard call.
383 * include/bits/stl_algobase.h: Same.
384 * include/bits/stl_heap.h: Same.
385 * include/bits/stl_numeric.h: Same.
386 * include/bits/stl_uninitialized.h: Same.
387 * include/bits/stl_iterator_base_types.h (__value_type()):
389 (__distance_type()): Removed.
390 (value_type()): Gone.
391 (distance_type()): Done in.
392 (iterator_category()): Hasta la vista, baby.
394 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
395 Replaced with __iterator_category().
396 * include/backward/iterator.h: moved definition of value_type(),
397 distance_type(), and iterator_category() out of std:: and into
399 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
400 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
401 * testsuite/25_algorithms/rotate.cc: New testcase.
402 * testsuite/25_algorithms/copy.cc: New testcase.
403 * testsuite/25_algorithms/sort.cc: Same.
404 * testsuite/25_algorithms/heap.cc: Same.
405 * testsuite/25_algorithms/partition.cc: Same.
406 * testsuite/25_algorithms/binary_search.cc: Same.
407 * testsuite/26_numerics/sum_diff.cc: Ditto.
409 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
411 * testsuite/README: Add notes on naming test cases.
412 * testsuite/22_locale/members.cc: Mark as xfail.
413 * testsuite/22_locale/numpunct_char_members.cc: Same.
415 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
417 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
418 setting C_INCLUDE_DIR.
419 * configure.in: Revert yesterday's LN_S change.
420 * aclocal.m4: Regenerate.
421 * configure: Regenerate.
423 2001-07-15 Phil Edwards <pme@sources.redhat.com>
425 * configure.in: Temporarily force LN_S to copy instead of symlink.
426 * configure: Regenerate.
428 2001-07-13 Phil Edwards <pme@sources.redhat.com>
430 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
431 Initialize _M_string with pointer-and-size constructor, not just
432 pointer. Fix some comments.
433 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
434 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
435 (test03): Add embedded-NUL tests.
437 * mkcheck.in: When printing totals, match the order of the tests.
438 * include/bits/stringfwd.h: Use same declaration keywords.
439 * include/bits/std_iosfwd.h: Cosmetic spacing.
441 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
442 Loren J. Rittle <ljrittle@acm.org>
443 Phil Edwards <pme@sources.redhat.com>
445 * include/Makefile.am: New file encapsulating header generation rules.
446 * Makefile.am (SUBDIRS): Prepend 'include' directory.
447 * acinclude.m4: Moved/removed rules for building various headers.
448 * configure.in (AC_OUTPUT): Add include/Makefile.
449 * mkc++config: Removed.
451 * testsuite_flags.in: Changed build-includes to match new scheme.
452 * mknumeric_limits: Likewise.
453 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
454 * libmath/Makefile.am: Likewise.
455 * libsupc++/Makefile.am: Likewise.
456 * src/Makefile.am: Likewise; removed rules to build headers.
457 * libmath/mathconf.h: Changed #include'd header names to match.
458 * libmath/stubs.c: Likewise.
459 * src/gen-num-limits.cc: Likewise.
461 * configure: Regenerated.
462 * config.h.in: Regenerated.
463 * aclocal.m4: Regenerated.
464 * Makefile.in: Regenerated.
465 * include/Makefile.in: Regenerated.
466 * libio/Makefile.in: Regenerated.
467 * libmath/Makefile.in: Regenerated.
468 * libsupc++/Makefile.in: Regenerated.
469 * src/Makefile.in: Regenerated.
470 * testsuite/Makefile.in: Regenerated.
472 2001-07-11 Felix Natter <fnatter@gmx.net>
474 * docs/html/17_intro/porting-howto.xml: Initial checkin of
476 * docs/html/17_intro/porting-howto.html: check in v0.9.3
478 2001-07-11 Phil Edwards <pme@sources.redhat.com>
480 * docs/doxygen/run_doxygen: Don't keep output from previous run.
481 * docs/doxygen/user.cfg.in: Tweaks.
482 * include/bits/c++config: Documentation comments for Doxygen.
483 * include/bits/char_traits.h: Likewise.
484 * include/bits/limits_generic.h: Likewise.
485 * include/bits/std_stdexcept.h: Likewise.
486 * include/bits/stl_pair.h: Likewise.
487 * libsupc++/exception: Likewise.
488 * libsupc++/new: Likewise.
489 * libsupc++/typeinfo: Likewise.
490 * libmath/Makefile.am: Update and correct copyright.
492 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
494 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
495 * aclocal.m4: Regenerate.
498 2001-07-09 Phil Edwards <pme@sources.redhat.com>
500 * docs/html/configopts.html: Fix thinko.
501 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
502 * include/bits/stl_iterator.h: Fix typo.
504 2001-07-09 Phil Edwards <pme@sources.redhat.com>
506 * docs/html/explanations.html: New file.
507 * docs/html/configopts.html: Link to it to provide more notes
508 on cstdio. Minor markup and spacing fixes.
509 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
511 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
513 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
514 for _Expr template template argument.
515 (_Expr::operator-): Likewise.
516 (_Expr::operator~): Likewise.
517 (_Expr::operator!): Likewise.
518 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
520 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
522 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
523 * libmath/Makefile.in: Regenerate.
524 * libmath/expf.c: Remove.
525 * libmath/atan2f.c: Likewise.
527 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
529 * configure.in: Remove NATIVE, NULL_TARGET.
530 Set CANADIAN only for Canadian crosses. Set xcompiling
531 for both Canadian crosses and host-x-host crosses.
532 * configure: Regenerated.
534 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
536 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
538 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
540 * testsuite_flags.in (--build-includes): backward, not backwards.
542 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
544 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
545 Replace destroy by _Destroy.
546 (_Rope_RopeRep::_S_free_string): Likewise.
547 (rope::c_str()): Likewise.
548 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
549 (_Slist_base::_M_erase_after): Likewise.
550 (slist::_M_create_node): Replace construct by _Construct.
551 (slist::pop_front): Replace destroy by _Destroy.
552 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
553 construct by _Construct.
554 (hashtable::_M_delete_node): Replace destroy by _Destroy.
555 * include/ext/stl_rope.h (rope::rope): Replace construct by
557 (rope::copy): Replace destroy by _Destroy.
559 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
561 * include/bits/localefwd.h: Format.
562 * include/bits/locale_facts.tcc (locale::combine): Adjust.
563 * src/locale.cc (locale::locale::(_Impl)): Don't call
565 (locale::facet::_M_remove_reference): Simplify.
566 * src/globals.cc (locale_impl_c): New. Format.
568 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
570 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
572 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
573 expansion (thanks to Alexandre Oliva).
574 * aclocal.m4: Regenerate.
575 * configure: Regenerate.
577 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
579 * src/locale.cc (locale::locale(const char*)): Make sure global
580 locales are initialized.
581 * include/bits/locale_facets.tcc (locale::combine): Refcout should
582 be zero, not one as it's return-by-value.
583 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
585 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
588 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
590 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
593 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
594 * aclocal.m4: Regenerate.
595 * configure: Regenerate.
597 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
600 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
601 staged/installed area to support -I-. Document.
602 * aclocal.m4: Regenerate.
603 * configure: Regenerate.
605 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
608 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
609 __out_bufsize. Add __in_bufsize, document it and use it.
611 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
613 * include/bits/stl_construct.h (construct): Remove.
615 (__destroy): Replaced by use of iterator_traits.
616 * include/bits/stl_deque.h: replaced HP iterator functions with
618 (construct): changed to _Construct.
619 (destroy): changed to _Destroy.
620 * include/bits/stl_tempbuf.h: Same.
621 * include/bits/stl_tree.h: Same.
622 * include/bits/stl_vector.h: Same.
623 * include/backward/iterator.h (construct): moved definition to here.
626 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
628 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
629 before replacing facet.
630 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
632 * src/localename.cc (locale::_Impl): Correct ctor initialization
633 lists. Initialize ref count with one. Simplify.
634 * src/locale.cc: Add comment.
635 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
636 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
637 * testsuite/22_locale/members.cc (test02): Fix.
639 2001-06-27 Phil Edwards <pme@sources.redhat.com>
641 * include/backward/algo.h: Add "GPL plus runtime exception" comment
642 block, this time for real.
643 * include/backward/algobase.h: Likewise.
644 * include/backward/alloc.h: Likewise.
645 * include/backward/bvector.h: Likewise.
646 * include/backward/defalloc.h: Likewise.
647 * include/backward/deque.h: Likewise.
648 * include/backward/function.h: Likewise.
649 * include/backward/hash_map.h: Likewise.
650 * include/backward/hash_set.h: Likewise.
651 * include/backward/hashtable.h: Likewise.
652 * include/backward/heap.h: Likewise.
653 * include/backward/iterator.h: Likewise.
654 * include/backward/list.h: Likewise.
655 * include/backward/map.h: Likewise.
656 * include/backward/multimap.h: Likewise.
657 * include/backward/multiset.h: Likewise.
658 * include/backward/pair.h: Likewise.
659 * include/backward/rope.h: Likewise.
660 * include/backward/set.h: Likewise.
661 * include/backward/slist.h: Likewise.
662 * include/backward/stack.h: Likewise.
663 * include/backward/strstream: Likewise.
664 * include/backward/tempbuf.h: Likewise.
665 * include/backward/tree.h: Likewise.
666 * include/backward/vector.h: Likewise.
667 * include/bits/pthread_allocimpl.h: Likewise.
668 * include/bits/std_algorithm.h: Likewise.
669 * include/bits/std_bitset.h: Likewise.
670 * include/bits/std_deque.h: Likewise.
671 * include/bits/std_functional.h: Likewise.
672 * include/bits/std_iterator.h: Likewise.
673 * include/bits/std_list.h: Likewise.
674 * include/bits/std_map.h: Likewise.
675 * include/bits/std_memory.h: Likewise.
676 * include/bits/std_numeric.h: Likewise.
677 * include/bits/std_queue.h: Likewise.
678 * include/bits/std_set.h: Likewise.
679 * include/bits/std_stack.h: Likewise.
680 * include/bits/std_utility.h: Likewise.
681 * include/bits/std_vector.h: Likewise.
682 * include/bits/stl_algo.h: Likewise.
683 * include/bits/stl_algobase.h: Likewise.
684 * include/bits/stl_alloc.h: Likewise.
685 * include/bits/stl_bvector.h: Likewise.
686 * include/bits/stl_construct.h: Likewise.
687 * include/bits/stl_deque.h: Likewise.
688 * include/bits/stl_function.h: Likewise.
689 * include/bits/stl_heap.h: Likewise.
690 * include/bits/stl_iterator.h: Likewise.
691 * include/bits/stl_iterator_base_funcs.h: Likewise.
692 * include/bits/stl_iterator_base_types.h: Likewise.
693 * include/bits/stl_list.h: Likewise.
694 * include/bits/stl_map.h: Likewise.
695 * include/bits/stl_multimap.h: Likewise.
696 * include/bits/stl_multiset.h: Likewise.
697 * include/bits/stl_numeric.h: Likewise.
698 * include/bits/stl_pair.h: Likewise.
699 * include/bits/stl_pthread_alloc.h: Likewise.
700 * include/bits/stl_queue.h: Likewise.
701 * include/bits/stl_raw_storage_iter.h: Likewise.
702 * include/bits/stl_relops.h: Likewise.
703 * include/bits/stl_set.h: Likewise.
704 * include/bits/stl_stack.h: Likewise.
705 * include/bits/stl_tempbuf.h: Likewise.
706 * include/bits/stl_threads.h: Likewise.
707 * include/bits/stl_tree.h: Likewise.
708 * include/bits/stl_uninitialized.h: Likewise.
709 * include/bits/stl_vector.h: Likewise.
710 * include/bits/type_traits.h: Likewise.
711 * include/ext/hash_map: Likewise.
712 * include/ext/hash_set: Likewise.
713 * include/ext/rope: Likewise.
714 * include/ext/ropeimpl.h: Likewise.
715 * include/ext/slist: Likewise.
716 * include/ext/stl_hash_fun.h: Likewise.
717 * include/ext/stl_hashtable.h: Likewise.
718 * include/ext/stl_rope.h: Likewise.
719 * src/bitset.cc: Likewise.
720 * src/strstream.cc: Likewise.
722 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
723 <vakatov@ncbi.nlm.nih.gov>
726 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
727 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
728 * testsuite/27_io/istream_extractor_other.cc: Fix.
730 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
732 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
733 * aclocal.m4: Regenerate.
734 * configure: Regenerate.
736 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
738 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
739 (ostream_iterator): Same.
740 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
741 Change argument to const_reference.
742 (back_insert_iterator): Same.
744 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
746 * include/bits/sbuf_iter.h: Change to..
747 * include/bits/streambuf_iterator.h: This.
748 * include/bits/stl_iterator.h: Take out of here...
749 * include/bits/stream_iterator.h: Add.
750 * src/Makefile.am (base_headers): Add streambuf_iterator,
752 * src/Makefile.in: Regenerate.
753 * include/bits/std_string.h: Adjust includes.
754 * include/bits/basic_ios.h: Same.
755 * include/bits/locale_facets.tcc: Same.
756 * include/bits/std_iosfwd.h: Same.
758 * include/bits/std_iterator.h: Add istream, ostream includes.
759 * include/bits/stl_iterator.h: Tweak.
760 * testsuite/24_iterators/ostream_iterator.cc: Add test.
761 * testsuite/24_iterators/istream_iterator.cc: Same.
762 * testsuite/23_containers/multiset.cc: Add iterator include.
764 2001-06-26 Phil Edwards <pme@sources.redhat.com>
766 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
767 * aclocal.m4: Regenerate.
768 * configure: Regenerate.
770 2001-06-26 Felix Natter <f.natter@ndh.net>
772 * docs/html/17_intro/porting-howto.html: Fixed some errors.
774 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
776 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
778 (istream_iterator::operator*): Same.
780 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
781 Alexandre Petit-Bianco <apbianco@redhat.com>
783 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
784 is on 41st, not 14th.
786 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
788 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
790 * include/bits/stl_iterator.h (istream_iterator): Inherit from
792 (ostream_iterator): Same.
793 * testsuite/24_iterators/istream_iterator.cc: New file.
794 * testsuite/24_iterators/ostream_iterator.cc: New file.
796 * include/bits/sbuf_iter.h: Remove self typedef.
797 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
798 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
800 * include/bits/stl_iterator.h (reverse_iterator): Remove
801 extraneous typedefs. Add typename.
802 (__normal_iterator): Remove typedefs referring to self. Add typename.
803 (reverse_bidiretional_iterator): Remove, not longer required.
805 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
807 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
808 dependent names with `typename'. Bring in various required
809 iterator_traits members. Can't imagine why that used to work.
811 2001-06-25 Phil Edwards <pme@sources.redhat.com>
812 Kurt Garloff <garloff@suse.de>
815 * src/cmath.cc: New [version of an old] file; instantiate
816 __cmath_power to start with.
817 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
818 * Makefile.in: Regenerate.
819 * libio/Makefile.in: Regenerate.
820 * libmath/Makefile.in: Regenerate.
821 * libsupc++/Makefile.in: Regenerate.
822 * src/Makefile.in: Regenerate.
823 * testsuite/Makefile.in: Regenerate.
825 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
827 * libmath/stubs.c: Fix thinko.
829 2001-06-24 David Edelsohn <dje@watson.ibm.com>
831 * libmath/stubs.c (sqrtf): Define.
832 (tanf): Correct typo.
834 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
836 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
838 (back_insert_iterator): Same.
839 (front_insert_iterator): Same.
840 (insert_iterator): Same.
842 * testsuite/20_util/raw_storage_iterator.cc: Modify.
843 * testsuite/24_iterators/reverse_iterator.cc: New file.
844 * testsuite/24_iterators/back_insert_iterator.cc: New file.
845 * testsuite/24_iterators/front_insert_iterator.cc: New file.
846 * testsuite/24_iterators/insert_iterator.cc: New file.
848 2001-06-22 Phil Edwards <pme@sources.redhat.com>
850 * include/*: Revert comment/license change from yesterday for all
851 except libsupc++/unwind-cxx.h.
852 * src/bitset.cc: Likewise.
853 * src/strstream.cc: Likewise.
855 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
857 * libmath/stubs.c: New file.
861 * libmath/Makefile.am (libmath_la_SOURCES): Add.
862 * libmath/Makefile.in. Regenerate.
864 2001-06-21 Phil Edwards <pme@sources.redhat.com>
866 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
867 * include/backward/algobase.h: Likewise.
868 * include/backward/alloc.h: Likewise.
869 * include/backward/bvector.h: Likewise.
870 * include/backward/defalloc.h: Likewise.
871 * include/backward/deque.h: Likewise.
872 * include/backward/function.h: Likewise.
873 * include/backward/hash_map.h: Likewise.
874 * include/backward/hash_set.h: Likewise.
875 * include/backward/hashtable.h: Likewise.
876 * include/backward/heap.h: Likewise.
877 * include/backward/iterator.h: Likewise.
878 * include/backward/list.h: Likewise.
879 * include/backward/map.h: Likewise.
880 * include/backward/multimap.h: Likewise.
881 * include/backward/multiset.h: Likewise.
882 * include/backward/pair.h: Likewise.
883 * include/backward/rope.h: Likewise.
884 * include/backward/set.h: Likewise.
885 * include/backward/slist.h: Likewise.
886 * include/backward/stack.h: Likewise.
887 * include/backward/strstream: Likewise.
888 * include/backward/tempbuf.h: Likewise.
889 * include/backward/tree.h: Likewise.
890 * include/backward/vector.h: Likewise.
891 * include/bits/pthread_allocimpl.h: Likewise.
892 * include/bits/std_algorithm.h: Likewise.
893 * include/bits/std_bitset.h: Likewise.
894 * include/bits/std_deque.h: Likewise.
895 * include/bits/std_functional.h: Likewise.
896 * include/bits/std_iterator.h: Likewise.
897 * include/bits/std_list.h: Likewise.
898 * include/bits/std_map.h: Likewise.
899 * include/bits/std_memory.h: Likewise.
900 * include/bits/std_numeric.h: Likewise.
901 * include/bits/std_queue.h: Likewise.
902 * include/bits/std_set.h: Likewise.
903 * include/bits/std_stack.h: Likewise.
904 * include/bits/std_utility.h: Likewise.
905 * include/bits/std_vector.h: Likewise.
906 * include/bits/stl_algo.h: Likewise.
907 * include/bits/stl_algobase.h: Likewise.
908 * include/bits/stl_alloc.h: Likewise.
909 * include/bits/stl_bvector.h: Likewise.
910 * include/bits/stl_construct.h: Likewise.
911 * include/bits/stl_deque.h: Likewise.
912 * include/bits/stl_function.h: Likewise.
913 * include/bits/stl_heap.h: Likewise.
914 * include/bits/stl_iterator.h: Likewise.
915 * include/bits/stl_iterator_base_funcs.h: Likewise.
916 * include/bits/stl_iterator_base_types.h: Likewise.
917 * include/bits/stl_list.h: Likewise.
918 * include/bits/stl_map.h: Likewise.
919 * include/bits/stl_multimap.h: Likewise.
920 * include/bits/stl_multiset.h: Likewise.
921 * include/bits/stl_numeric.h: Likewise.
922 * include/bits/stl_pair.h: Likewise.
923 * include/bits/stl_pthread_alloc.h: Likewise.
924 * include/bits/stl_queue.h: Likewise.
925 * include/bits/stl_raw_storage_iter.h: Likewise.
926 * include/bits/stl_relops.h: Likewise.
927 * include/bits/stl_set.h: Likewise.
928 * include/bits/stl_stack.h: Likewise.
929 * include/bits/stl_tempbuf.h: Likewise.
930 * include/bits/stl_threads.h: Likewise.
931 * include/bits/stl_tree.h: Likewise.
932 * include/bits/stl_uninitialized.h: Likewise.
933 * include/bits/stl_vector.h: Likewise.
934 * include/bits/type_traits.h: Likewise.
935 * include/ext/hash_map: Likewise.
936 * include/ext/hash_set: Likewise.
937 * include/ext/rope: Likewise.
938 * include/ext/ropeimpl.h: Likewise.
939 * include/ext/slist: Likewise.
940 * include/ext/stl_hash_fun.h: Likewise.
941 * include/ext/stl_hashtable.h: Likewise.
942 * include/ext/stl_rope.h: Likewise.
943 * libsupc++/unwind-cxx.h: Likewise.
944 * src/bitset.cc: Likewise.
945 * src/strstream.cc: Likewise.
947 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
949 * include/bits/indirect_array.h (indirect_array<>::operator=):
950 Make copy and assignment operator public. Implement. Format.
952 * include/bits/valarray_array.h (__valarray_copy): Add overloads
953 for copy between index arrays. Format.
955 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
957 * mknumeric_limits: Add static definitions, format.
958 * testsuite/18_support/numeric_limits.cc (test02): Add test.
960 * include/c_std/bits/std_cwchar.h: Include ctime.
961 * testsuite/17_intro/header_cwchar.cc : Check.
963 * include/c_std/bits/std_cwctype.h: Inject wctype.
964 * testsuite/17_intro/header_cwctype.cc: Update.
966 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
968 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
969 * testsuite/20_util/raw_storage_iterator.cc: Same.
971 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
973 (__mem_interface): New typedef for switching between malloc and new.
974 * testsuite/20_util/allocator_members.cc: New file.
976 * testsuite/20_util/comparisons.cc: New file.
977 * testsuite/20_util/pairs.cc: New file.
979 2001-06-15 Phil Edwards <pme@sources.redhat.com>
981 * docs/html/documentation.html: Point to new doxygen'ed collection.
983 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
985 * configure.in (auxdir): Replace by ...
986 (toprel): ... new variable.
987 (toplevel_srcdir): Construct from $toprel.
988 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
989 rather than .. to locate gcc source directory.
990 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
991 * aclocal.m4, configure: Rebuilt.
993 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
995 (Approved by Mark and Benjamin. Applied by Loren.)
997 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
998 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
999 and _GLIBCPP_mutex_address.
1000 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
1001 once-only runtime initialization of _M_lock mutex when
1002 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
1003 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
1004 for __GTHREAD_MUTEX_INIT_FUNCTION case.
1006 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1008 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
1010 * include/bits/slice_array.h (slice_array<>::operator=): Make
1011 public and implement.
1012 (slice_array<>::slice_array): Make copy-constructor public.
1014 * include/bits/valarray_array.h (__valarray_copy): Add another
1015 overload to copy between strided arrays.
1017 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
1019 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
1020 * aclocal.m4: Regenerate.
1021 * configure: Regenerate.
1022 * include/bits/c++config (__GLIBCPP__): Update date.
1024 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1026 * include/bits/fpos.h (fpos::operator-): Don't return reference,
1027 return original, non-modified version.
1028 (fpos::operator+): Same.
1029 * testsuite/27_io/fpos.cc: Add test.
1031 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
1034 * porting.texi: Add documentation about libstdc++-v3-specific
1035 macros that are currently included in os_defines.h files.
1037 * config/basic_file_stdio.h (sys_getc): New method.
1038 (sys_ungetc): New method.
1039 * include/bits/basic_file.h: (sys_getc): New method signature.
1040 (sys_ungetc): New method signature.
1042 * include/bits/fstream.tcc (underflow): Add conditional code
1043 paths which avoid using short seeks on streams (especially
1044 useful when the stream might be interactive or a pipe). At
1045 the moment, this alternate path only avoids seeking when the
1046 ``buffer size'' of underflow() is 1 since the C standard only
1047 guarantees buffer space for one ungetc (this technique could
1048 be extended since *-*-solaris* supports buffering for 4 calls
1049 to ungetc and *-*-*bsd* supports buffering limited only by
1050 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
1051 in a port's os_defines.h file for this alternate path to even
1052 be considered. As a bonus, the idiom of using getc/ungetc
1053 requires no system calls whereas fseek maps to one or two
1054 system call(s) on many platforms.
1056 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
1058 * config/os/solaris/solaris2.5/bits/os_defines.h
1059 (_GLIBCPP_AVOID_FSEEK): Likewise.
1060 * config/os/solaris/solaris2.6/bits/os_defines.h
1061 (_GLIBCPP_AVOID_FSEEK): Likewise.
1062 * config/os/solaris/solaris2.7/bits/os_defines.h
1063 (_GLIBCPP_AVOID_FSEEK): Likewise.
1065 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1067 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
1068 AC_TRY_COMPILE, so that the built compiler is checked, and
1069 bootstraps or cross compiles with an older compile still work.
1070 * aclocal.m4: Regenerate.
1071 * configure: Regenerate.
1073 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
1076 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
1079 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
1082 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
1085 * include/bits/limits_generic.h: Fix as per DR 184.
1087 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
1090 * include/bits/basic_string.h (string::compare): Adjust signatures
1092 * include/bits/basic_string.tcc: And here.
1095 * config/c_io_stdio.h: Remove whitespace.
1096 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
1097 (test02): Add regression.
1098 * testsuite/27_io/istream_seeks-3.tst: New file.
1100 2001-06-11 Phil Edwards <pme@sources.redhat.com>
1102 * README: Update to reflect reality.
1103 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
1104 * configure.in: Make certain target_alias is set and subst'd for 2.50.
1105 * aclocal.m4: Regenerate.
1106 * configure: Regenerate (with 2.13).
1108 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
1111 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
1113 * include/bits/istream.tcc (istream::seekg): Same.
1114 * testsuite/27_io/istream_seeks.cc: Fix.
1117 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
1119 * include/bits/std_queue.h: Add c++config.h.
1120 * testsuite/20_util/binders.cc: New test.
1122 2001-06-11 Matthias Klose <doko@debian.org>
1123 Phil Edwards <pme@sources.redhat.com>
1125 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
1126 (main script): Echo more information.
1128 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1130 * include/c_std/bits/std_cwchar.h: Alphabetize.
1131 * include/bits/char_traits.h: Tweak.
1132 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
1133 everything used by std_cwchar.h.
1134 * aclocal.m4: Regenerate.
1135 * configure.in: Regenerate.
1136 * config.h.in: Regenerate.
1138 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1140 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
1141 Add checking for strtof, _Exit in stdlib.h
1142 * aclocal.m4: Regenerate.
1143 * configure.in: Regenerate.
1144 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
1145 (snprintf): Put C99 functions into __gnu_cxx namespace.
1150 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
1151 for C99 functions within _GLIBCPP_USE_C99 guard.
1155 * include/bits/locale_facets.tcc: Check if C99 is enabled.
1156 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
1158 * include/c_std/bits/cmath.tcc: Formatting tweak.
1159 * include/c_std/bits/std_cmath.h: Same.
1161 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
1163 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
1165 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
1166 Stephen L Moshier <moshier@mediaone.net>
1168 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
1169 nothing, as in autoconf 2.50.
1170 * configure: Rebuilt.
1172 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
1174 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
1175 include std_cstddef.
1176 * include/c_std/bits/std_ctime.h: Same.
1177 * include/c_std/bits/std_cstring.h: Same.
1178 * include/c_std/bits/std_cstdlib.h: Same.
1180 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
1181 * include/c_std/bits/std_cctype.h: Remove isblank.
1183 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
1185 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
1187 * aclocal.m4: Regenerate.
1188 * configure: Regenerate.
1189 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
1190 injection, guard fgetwc, fgetws.
1191 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
1192 * include/c_std/bits/std_clocale.h: And here.
1193 * include/c_std/bits/std_cctype.h: And here.
1194 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
1196 * config/basic_file_stdio.h: Don't include unistd.h.
1197 * config/c_io_stdio.h: Don't use compatibility headers.
1198 * libsupc++/eh_terminate.cc: Qualify abort.
1199 (__terminate): And here.
1200 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
1202 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
1204 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
1206 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
1211 * include/std/*: Add copyright notice.
1212 * include/c_std/bits/*: Use using statements instead of extern "C".
1213 * include/c_std/bits/std_cmath.h: Don't overload double versions
1214 of math functions with __buitin versions, use global version to
1215 prevent ambiguities. Remove define hacks.
1216 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
1217 functions that have changed signatures and std::
1218 declarations. Remove define hacks.
1219 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
1220 __builtins in std::. Remove define hacks.
1221 * testsuite/17_intro/headers_c.cc: Add tests.
1222 * testsuite/17_intro/headers_c++.cc: Add test.
1224 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
1225 John David Anglin <dave@hiauly1.hia.nrc.ca>
1228 * libsupc++/eh_alloc.cc: Ensure that required macros are
1229 defined before including gthr.h. Ensure that we get the
1230 version of gthr.h for which we know how to provide a
1232 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
1233 code path into line with the current EH model. Use std, where
1236 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
1237 John David Anglin <dave@hiauly1.hia.nrc.ca>
1239 * config/threads-no.h: Remove file.
1240 * config/threads-posix.h: Remove file.
1242 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
1243 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
1244 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
1245 * config.h.in: Regenerate.
1247 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
1248 setup and use gthr*.h files. In particular, make gthr.h files
1249 namespace-clean in the staging area (they don't have to be for
1251 * aclocal.m4: Regenerate.
1252 * configure: Regenerate.
1254 * src/Makefile.am (build_headers): Remove bits/c++threads.h
1255 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
1256 * src/Makefile.in: Regenerate.
1258 * include/bits/c++config: Cleanup threading configuration macros.
1259 In particular, define __STL_GTHREADS macro which controls...
1260 * include/bits/stl_threads.h: ...a brand new gthr.h-based
1263 * config/c_io_stdio.h: Include staged gthr.h instead of local
1264 thread configuration file. Always use __gthread_mutex_t
1265 instead of __mutext_type (or int).
1266 * include/bits/std_fstream.h: Likewise.
1268 * docs/html/17_intro/howto.html: Remove placeholder comment in
1269 case this configuration patch didn't make it. Add advice that
1270 section only applies if configured with --enable-threads.
1271 * docs/html/23_containers/howto.html: Reword to make clear
1272 that _PTHREADS is no longer required for any port to be
1273 correctly using STL with threads. Add advice that section
1274 only applies if configured with --enable-threads.
1276 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
1278 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
1280 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
1283 * include/bits/basic_ios.tcc: Formatting tweaks.
1284 * include/bits/ios_base.h: Formatting tweaks.
1285 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
1286 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
1287 * src/globals.cc: Allocate filebufs for standard streams here.
1288 (buf_cout, buf_cin, buf_cerr): Like so.
1289 (buf_wcout, buf_wcin, buf_wcerr): And so.
1290 * testsuite/27_io/ios_init.cc: Add.
1292 2001-06-04 Brendan Kehoe <brendan@zen.org>
1293 Benjamin Kosnik <bkoz@redhat.com>
1296 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
1297 for generic ctype virtuals.
1298 * src/locale.cc: Minor tweaks, naming consistency.
1299 * testsuite/22_locale/ctype.cc: Add test.
1301 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
1302 Phil Edwards <pme@sources.redhat.com>
1304 PR libstdc++/3035 and PR libstdc++/3036
1305 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
1306 to LWG DR 181 and 265.
1308 2001-06-04 Phil Edwards <pme@sources.redhat.com>
1311 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
1312 equal_range): Add const overloads as per LWG DR 214.
1313 * include/bits/stl_set.h: Likewise.
1315 2001-06-04 Brendan Kehoe <brendan@zen.org>
1316 Phil Edwards <pme@sources.redhat.com>
1319 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
1320 comparison; all positions must be < _Nb.
1321 * testsuite/23_containers/bitset_members.cc: New file.
1323 2001-06-04 Brendan Kehoe <brendan@zen.org>
1326 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
1327 ctors to match the standard.
1329 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
1331 * include/bits/char_traits.h (move): Reverse qualification of
1333 (copy): Reverse qualification of memcpy with std::.
1335 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
1337 * include/bits/char_traits.h (move): Qualify memmove with std::.
1338 (copy): Qualify memcpy with std::.
1339 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
1342 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
1344 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
1346 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
1347 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
1348 SUN make VPATH peculiarities.
1349 * libsupc++/Makefile.in: Regenerate.
1351 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
1353 * src/Makefile.am (VPATH): Delimit with ":", not space.
1354 * src/Makefile.in: Regenerate.
1356 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
1358 * configure: Regenerate.
1360 2001-05-31 scott snyder <snyder@fnal.gov>
1363 * include/bits/istream.tcc: Include std_ostream.h.
1365 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
1368 * src/bitset.cc: Qualify size_t with std::.
1370 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
1372 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
1373 (_GLIBCPP_BUGGY_COMPLEX): Remove.
1374 * config.h.in: Regenerate.
1375 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
1376 * aclocal.m4: Regenerate.
1377 * configure.in: Don't call it.
1378 * configure: Regenerate.
1381 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
1382 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
1386 * include/bits/std_complex.h: Include sstream. Put definitions for
1387 complex inserters and extractors here, and remove them from...
1388 * src/complex_io.cc: ...here.
1389 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
1391 (basic_ios::__numget_type): Same.
1392 * include/bits/std_istream.h: Same.
1393 * include/bits/std_ostream.h: Same.
1394 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
1395 class iterator template arguments.
1396 * src/locale-inst.cc: Add explicit has_facet instantiations.
1397 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
1398 (_M_get_fnumput): Remove.
1399 (_M_get_fnumget): Remove.
1400 (basic_ios::_M_check_facet): New function.
1401 (basic_ios::_M_cache_facets): New function.
1402 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
1403 (basic_ios::imbue): Call _M_cache_facets.
1404 (basic_ios::init): Same.
1405 * include/bits/istream.tcc: Format, use _M_check_facet.
1406 * include/bits/ostream.tcc: Same.
1407 * include/bits/locale_facets.tcc (__output_float): Change
1408 signature, add _Traits.
1409 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
1412 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
1414 * include/bits/c++config (__USE_MALLOC): Do not define it.
1415 Document why not and give pointers to more information.
1417 * docs/html/23_containers/howto.html: Update documentation
1418 to reflect recent understanding of problem.
1419 * docs/html/17_intro/howto.html: Likewise.
1421 2001-05-30 Phil Edwards <pme@sources.redhat.com>
1423 * docs/doxygen/user.cfg.in: Minor addition.
1424 * docs/html/documentation.html: Reorganize. Put most-looked-at
1426 * docs/html/install.html: Update for 3.0. HTML fixups.
1427 * docs/html/17_intro/howto.html: Likewise.
1428 * docs/html/18_support/howto.html: Likewise.
1429 * docs/html/19_diagnostics/howto.html: Likewise.
1430 * docs/html/20_util/howto.html: Likewise.
1431 * docs/html/23_containers/howto.html: Likewise.
1432 * docs/html/24_iterators/howto.html: Likewise. More notes.
1433 * docs/html/25_algorithms/howto.html: Likewise.
1434 * docs/html/26_numerics/howto.html: Likewise. More notes.
1435 * docs/html/27_io/howto.html: Likewise.
1436 * docs/html/ext/howto.html: Likewise.
1437 * docs/html/faq/index.html: Likewise.
1438 * docs/html/faq/index.txt: Regenerate.
1439 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
1440 Doxygen-created documentation.
1442 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1444 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
1445 get_multilibs to find gcc.
1447 2001-05-30 Phil Edwards <pme@sources.redhat.com>
1449 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
1450 * aclocal.m4: Regenerate.
1451 * configure: Regenerate.
1453 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1455 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
1456 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
1458 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1460 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
1461 * include/c_std/bits/std_cstdlib.h: Same.
1462 * include/c_std/bits/std_cwchar.h: Same.
1464 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
1466 * docs/html/17_intro/howto.html: Update link.
1467 * docs/html/23_containers/howto.html: Likewise. Add new link.
1469 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
1471 * include/c_std/bits/std_cmath.h (sqrt): #undef.
1473 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1475 * mknumeric_limits: Stop if gen-num-limits dies.
1477 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
1480 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
1481 * aclocal.m4: Regenerate.
1484 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1485 Phil Edwards <pme@sources.redhat.com>
1486 Alexandre Oliva <aoliva@redhat.com>
1488 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
1489 in an amd-safe manner. Revert glibcpp_prefixdir.
1491 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
1493 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
1494 fabs, sin, sqrt. They are now implemented in terms of __builtin_
1497 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
1500 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
1501 * include/bits/ostream.tcc: Format to match istream.tcc.
1502 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
1504 2001-05-24 Phil Edwards <pme@sources.redhat.com>
1506 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
1508 (__cxa_free_exception): Likewise with free.
1510 2001-05-24 Mark Mitchell <mark@codesourcery.com>
1512 * include/c_std/bin/std_cstring.h: #define away all global
1513 functions we will redeclare in namespace `std'.
1514 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
1515 std::memset, instead of memset.
1516 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
1518 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
1521 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
1524 * include/bits/basic_ios.tcc: Small tweak.
1525 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
1526 ctors and dtors, and rdbuf settings.
1529 * include/bits/std_sstream.h: Same, but for stringstream classes.
1530 * testsuite/27_io/ostringstream_members.cc: New.
1531 * testsuite/27_io/stringstream_members.cc: New.
1532 * testsuite/27_io/fstream_members.cc: New.
1533 * testsuite/27_io/ifstream_members.cc: Add test.
1534 * testsuite/27_io/istringstream_members.cc: Add test.
1535 * testsuite/27_io/ofstream_members.cc: Add test.
1537 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1539 * include/bits/c++config(__NO_MATH_INLINES): Move to...
1540 * config/os/gnu-linux/bits/os_defines.h: ...here.
1542 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
1544 * include/bits/c++config (__NO_MATH_INLINES): New macro.
1545 * testsuite/26_numerics/fabs_inline.cc (main): New test.
1547 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
1550 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
1552 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
1553 (libstdc++-v3-finish): Remove.
1554 (libstdc++-v3_exit): Remove.
1556 2001-05-22 Phil Edwards <pme@sources.redhat.com>
1558 * docs/html/documentation.html: Point to doxygen output.
1560 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
1562 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
1564 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
1565 arguments to be non-null.
1566 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
1567 try allocations if allocated size is greater than zero.
1568 (filebuf::_M_filebuf_init): Change to
1569 (filebuf::_M_allocate_file): Which is what it does now.
1570 (filebuf::_M_allocate_bufers): Change to
1571 (filebuf::_M_allocate_internal_buffer): This, and create
1572 (filebuf::_M_allocate_pback_buffer): New.
1573 (filebuf::_M_destroy_internal_buffer): New.
1574 (filebuf::_M_buf_allocated): New data member.
1575 (filebuf::setbuf): Use new logic, allow use of external buffer.
1576 * testsuite/27_io/stringbuf_virtuals.cc: New file.
1577 * testsuite/27_io/filebuf_virtuals.cc: New file.
1579 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
1581 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
1583 (strchr): Same, but to __glibcpp_strchr.
1587 * include/c_std/bits/std_cwchar.h (wcschr): Same.
1593 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
1595 * testsuite/21_strings/c_strings.cc (main): Fix.
1597 2001-05-19 Phil Edwards <pme@sources.redhat.com>
1599 * acinclude.m4: Fix --help spacing, correct comments.
1600 * aclocal.m4: Regenerate.
1601 * configure: Regenerate.
1602 * mkcheck.in: Add usage comments.
1603 * docs/html/documentation.html: Point to doxygen'd tarball.
1605 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
1607 * testsuite/README: Add notes.
1609 * src/Makefile.am (libstdc++.INC): Remove.
1610 * src/Makefile.in: Regenerate.
1612 Phil Edwards <pedwards@disaster.jaj.com>
1613 * mkcheck.in: Add missing '#'.
1615 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1617 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
1618 appropriately for remote testing and testing installed files without
1621 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
1623 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
1624 amd glibcpp_prefixdir with absolute paths.
1626 * include/bits/c++config (__GLIBCPP__): Bump.
1627 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
1629 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
1631 * include/bits/std_valarray.h (valarray<>::operator[] const):
1632 Return a const reference.
1633 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
1635 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
1637 * configure.target (ATOMICITYH): Actually use AIX-specific code on
1638 earlier versions of AIX 4.*.
1640 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1642 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
1643 output_file based on the name of the testcase.
1645 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
1647 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
1648 gluefile and use it if needs_status_wrapper is set.
1650 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
1652 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
1655 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
1657 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
1658 on earlier versions of AIX.
1660 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
1662 * testsuite_flags.in (query): Add backwards, ext directories.
1664 2001-05-15 Mark Mitchell <mark@codesourcery.com>
1666 * porting.texi: Correct documentation about handling
1667 _LARRGEFILE_SOURCE and its ilk.
1668 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
1669 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
1671 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
1672 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1674 2001-05-15 Zack Weinberg <zackw@stanford.edu>
1676 * testsuite/21_strings/inserters_extractors.cc,
1677 testsuite/27_io/istream_unformatted.cc,
1678 testsuite/27_io/stringstream.cc:
1679 Replace multi-line string constants with C89-style
1680 concatenated string constants.
1682 2001-05-14 Richard Henderson <rth@redhat.com>
1684 * mknumeric_limits: Build with -fno-exceptions.
1686 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
1688 Switch over to new harness.
1689 * testsuite_flags.in: Tweaks via Gaby.
1690 * testsuite/Makefile.am: Change tool to libstdc++-v3.
1691 (EXPECT): Quote directly.
1693 * configure.in: Output testsuite_flags.
1694 * acinclude.m4: Substitute src, bld, and prefix dirs.
1695 Remove glibcpp_expect, glibcpp_runtestflags.
1696 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
1697 * mkcheck.in: Port to new interface.
1699 * aclocal.m4: Regerate.
1700 * configure: Regnerate.
1701 * Makefile.in: Regnerate.
1702 * */Makefile.in: Regenerate.
1704 * tests_flags.in: Remove.
1705 * testsuite/lib/libstdc++.exp: Remove.
1706 * testsuite/libstdc++.tests/tests.exp: Remove.
1708 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
1710 * configure.target: Remove detection of AIX pthread multilib, now
1711 obtained from `gcc -v'.
1713 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
1715 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
1716 size. Add hpux case for HP size.
1718 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
1720 * testsuite_flags.in: New, simplified interface.
1721 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
1722 * testsuite/libstdc++-v3.dg: Add.
1723 * testsuite/libstdc++-v3.dg/dg.exp: Add.
1725 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
1727 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
1728 * testsuite/config/default.exp: Update bugs email address.
1730 2001-05-11 Richard Henderson <rth@redhat.com>
1732 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
1733 all pointer encoding logic.
1734 (struct lsda_header_info): Add ttype_base.
1735 (get_ttype_entry): Use it instead of a context.
1736 (check_exception_spec): Likewise.
1737 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
1738 the c++ exception header for __cxa_call_unexpected.
1739 (__cxa_call_unexpected): Use it.
1741 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
1743 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
1744 libgloss_link_flags to find crt0.o for targets that use libgloss
1746 Change LDFLAGS to LIBS.
1747 Consistently name procedures libstdc++-XXX.
1748 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
1750 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
1752 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
1757 * include/c_std/bits/std_cwchar.h (wcschr): Same.
1762 * testsuite/21_strings/c_strings.cc: Add tests.
1764 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
1767 * include/bits/std_fstream.h (basic_filebuf): Change signature.
1768 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
1769 to int_type, pass in buffer size info.
1770 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
1771 unbuffered situation.
1772 (underflow): Remove codecvt bits for the time being.
1773 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
1774 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
1775 values from iterators, clean.
1776 * src/locale.cc: Ditto.
1777 * include/bits/sbuf_iter.h: Format.
1778 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
1779 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
1780 * testsuite/27_io/filebuf.cc: Tweaks.
1781 * testsuite/27_io/filebuf_members.cc: Tweaks.
1783 2001-05-07 Mark Mitchell <mark@codesourcery.com>
1785 * config/os/solaris/solaris2.7/bits/os_defines.h
1786 (_LARGEFILE_SOURCE): Define it.
1788 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
1790 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
1791 -prefer-non-pic depending on whether libtool has shared libraries
1792 enabled or disabled.
1793 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
1794 $(LIBSUPCXX_PICFLAGS).
1795 * configure, */Makefile.in: Rebuilt.
1797 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
1799 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
1800 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
1802 * include/bits/std_sstream.h (stringbuf): Leak
1804 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
1806 2001-05-01 Tom Browder <tbrowder@home.com>
1808 * docs/html/ext/howto.html: Fix typo.
1810 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
1812 * testsuite/libstdc++.tests/tests.exp: Add comment.
1814 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
1816 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
1818 2001-04-30 Mark Mitchell <mark@codesourcery.com>
1820 * porting.texi: Use the GFDL.
1822 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
1825 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
1826 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
1829 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
1832 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
1834 2001-04-28 Phil Edwards <pme@sources.redhat.com>
1836 * docs/doxygen/run_doxygen: Minor tweaks.
1837 * docs/doxygen/style.css: New file.
1838 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
1839 latest parameters available. Use style.css.
1841 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
1843 * docs/doxygen/mainpage.doxy: New.
1844 * docs/doxygen/user.cfg.in: Change default configuration. Single
1845 frame, other tweaks.
1847 2001-04-26 Mark Mitchell <mark@codesourcery.com>
1849 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
1850 Indicate obsolete nature of thelist for G++ 3.0.
1852 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
1854 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
1855 target_thread_file with `gcc -v'.
1856 * aclocal.m4, configure: Rebuilt.
1858 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
1860 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
1861 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
1862 * include/c_std/bits/std_cwchar.h (std): Same.
1863 * acconfig.h (std): Remove c99 injection into std.
1864 * config.h.in: Regenerate.
1866 * testsuite/README: Fix typo.
1868 * include/bits/codecvt.h: Remove warnings.
1870 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1872 * include/ext/slist: Include required header files.
1874 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
1876 * include/c_std/bits/std_cerrno.h (errno): Define macro from
1877 identifier declared with external linkage, if needed.
1878 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
1879 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
1881 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
1883 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
1884 re-configures find the build compiler.
1885 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
1887 * aclocal.m4: Regenerate.
1888 * configure: Regenerate.
1890 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
1892 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
1893 support is enabled correctly before long long is activated.
1894 * aclocal.m4: Regenerate.
1895 * configure: Regenerate.
1897 * include/backward/backward_warning.h: Format correctly.
1899 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
1900 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
1901 * testsuite/26_numerics/c99_macros.cc: Remove.
1903 2001-04-20 Phil Edwards <pme@sources.redhat.com>
1905 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
1906 __iterator_category.
1908 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
1910 * acconfig.h (_GLIBCPP_USE_C99): Add.
1911 * config.h.in: Regenerate.
1912 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
1914 * aclocal.m4: Regenerate.
1915 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
1916 * configure: Regenerate.
1917 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
1918 * configure: Regenerate.
1919 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
1921 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
1923 * include/c_std/bits/std_cstdlib.h: Same.
1924 * docs/html/configopts.html: Update.
1925 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
1927 (test_c99_classify): Add.
1928 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
1929 (_ISOC99_SOURCE): Remove.
1931 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
1932 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
1933 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
1934 * aclocal.m4: Regenerate.
1935 * configure: Regenerate.
1937 2001-04-19 Phil Edwards <pme@sources.redhat.com>
1939 * Makefile.am (doxygen): Assume script is missing execute perms.
1940 * Makefile.in: Regenerated.
1941 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
1943 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
1945 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
1947 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
1949 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
1950 * testsuite/23_containers/set_operators.cc: Same.
1952 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
1954 (__GLIBCPP__): Bump from value of last release.
1955 * include/bits/concept_check.h: Default to off, edit comments.
1956 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
1957 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
1958 * src/Makefile.in: Regenerate.
1960 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
1962 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
1963 Properly uglify member.
1965 2001-04-13 Phil Edwards <pme@sources.redhat.com>
1967 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
1971 2001-04-13 Phil Edwards <pme@sources.redhat.com>
1973 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
1974 * include/bits/concept_check.h: Uglify.
1975 * include/bits/stl_algo.h: Likewise.
1976 * include/bits/stl_algobase.h: Likewise.
1977 * include/bits/stl_deque.h: Likewise.
1978 * include/bits/stl_heap.h: Likewise.
1979 * include/bits/stl_iterator_base_funcs.h: Likewise.
1980 * include/bits/stl_list.h: Likewise.
1981 * include/bits/stl_map.h: Likewise.
1982 * include/bits/stl_multimap.h: Likewise.
1983 * include/bits/stl_multiset.h: Likewise.
1984 * include/bits/stl_numeric.h: Likewise.
1985 * include/bits/stl_queue.h: Likewise.
1986 * include/bits/stl_set.h: Likewise.
1987 * include/bits/stl_stack.h: Likewise.
1988 * include/bits/stl_vector.h: Likewise.
1989 * include/ext/hash_map: Likewise.
1990 * include/ext/hash_set: Likewise.
1991 * include/ext/slist: Likewise.
1993 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
1995 * testsuite/23_containers/set_operators.cc: Just try to compile.
1997 * testsuite/23_containers/map_operators.cc: Same.
1999 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
2001 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
2003 (dg-test): Revert rth's change.
2005 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
2007 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
2008 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
2010 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
2012 * testsuite/README: Add DejaGnu specific documentation.
2014 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
2016 * acinclude.m4: AC_CHECK_TOOL for expect.
2017 * aclocal.m4: Regenerate.
2018 * configure: Regenerate.
2019 * testsuite/Makefile.am (RUNTEST): Use substituted.
2022 * configure.in: Remove xcompiling substitution.
2023 * tests_flags.in (CROSS_LIB_PATH): Remove.
2024 (xcompiling): Remove.
2025 (CXX): Use substituted CXX.
2027 2001-04-11 Richard Henderson <rth@redhat.com>
2029 * testsuite/lib/libstdc++.exp: Specify path for output_file.
2031 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
2033 * include/bits/std_valarray.h(valarray<>::operator[]): Make
2036 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
2038 * testsuite/25_algorithms/equal.cc: New test.
2040 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
2042 * stl_algobase.h (std::equal): avoid use of possibly-undefined
2043 operator != (one line patch).
2045 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2047 * include/backward/backward_warning.h: Re-enable.
2049 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2050 Alexandre Oliva <aoliva@redhat.com>
2052 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
2054 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
2056 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
2057 * testsuite/26_numerics/c99_macros.cc: Add test.
2059 2001-04-06 Phil Edwards <pme@sources.redhat.com>
2061 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
2062 * docs/html/faq/index.txt: Regenerated.
2064 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
2066 * include/backward/backward_warning.h: Temporarily disable until
2067 g++ testsuite changes go in.
2068 * tests_flags.in (CROSS_LIB_PATH): Add.
2070 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2072 Warn when using backward headers.
2073 * include/backward/algo.h: Include warning file.
2074 * include/backward/vector.h: Same.
2075 * include/backward/tree.h: Same.
2076 * include/backward/tempbuf.h: Same.
2077 * include/backward/strstream: Same.
2078 * include/backward/streambuf.h: Same.
2079 * include/backward/stream.h: Same.
2080 * include/backward/stack.h: Same.
2081 * include/backward/slist.h: Same.
2082 * include/backward/set.h: Same.
2083 * include/backward/rope.h:
2084 * include/backward/queue.h: Same.
2085 * include/backward/pair.h: Same.
2086 * include/backward/ostream.h: Same.
2087 * include/backward/new.h: Same.
2088 * include/backward/multiset.h: Same.
2089 * include/backward/multimap.h: Same.
2090 * include/backward/map.h: Same.
2091 * include/backward/list.h: Same.
2092 * include/backward/iterator.h: Same.
2093 * include/backward/istream.h: Same.
2094 * include/backward/iostream.h:
2095 * include/backward/iomanip.h:
2096 * include/backward/heap.h: Same.
2097 * include/backward/hashtable.h:
2098 * include/backward/hash_set.h:
2099 * include/backward/hash_map.h:
2100 * include/backward/function.h:
2101 * include/backward/fstream.h:
2102 * include/backward/deque.h:
2103 * include/backward/defalloc.h: Same.
2104 * include/backward/complex.h: Same.
2105 * include/backward/bvector.h:
2106 * include/backward/alloc.h:
2107 * include/backward/algobase.h: Same.
2109 * include/backward/backward_warning.h: New file.
2110 * src/Makefile.am (backward_headers): Add backward_warning.h
2111 * src/Makefile.in: Regenerate.
2113 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2115 * src/Makefile.am (myinstalldirs): Make sure backward directory is
2117 (myinstallheaders): Install backward headers in backward directory.
2118 * src/Makefile.in: Regenerate.
2120 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
2122 Prepare for libstdc++-2.92.
2123 * docs/html/17_intro/RELEASE-NOTES (New): Update.
2124 * docs/html/configopts.html: Fix formatting.
2125 * README (file): Updates.
2126 * include/bits/c++config (__GLIBCPP__): Update.
2128 2001-04-05 Phil Edwards <pme@sources.redhat.com>
2130 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
2132 2001-04-04 Phil Edwards <pme@sources.redhat.com>
2134 * docs/doxygen/user.cfg.in: Extract all non-private members;
2135 reduce confusing documentation output.
2137 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
2139 * include/backward/fstream.h: Add missing semicolons.
2141 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
2143 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
2144 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
2145 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
2146 (ios_base::Init::_S_ios_create): New.
2147 (ios_base::Init::_S_ios_destroy): New.
2148 * include/bits/std_fstream.h: Change ctor args.
2149 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
2150 (ios_base::Init::~Init): Use _S_ios_destroy.
2151 (ios_base::sync_with_stdio): Use new members.
2152 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
2155 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2157 * include/backward/fstream.h: Expose streampos to global
2160 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2162 * include/bits/stl_iterator_base_types.h: Fix typo
2164 2001-04-03 Andreas Schwab <schwab@suse.de>
2166 * include/backward/fstream.h: Define filebuf and wfilebuf.
2168 2001-04-02 Phil Edwards <pme@sources.redhat.com>
2170 New concept checking implementation.
2171 * docs/html/19_diagnostics/howto.html: Document.
2172 * docs/html/17_intro/concept_check.diff: New file, for reference.
2173 * include/bits/boost_concept_check.h: New file from Boost.
2174 * include/bits/c++config: Update comments.
2176 * include/bits/concept_check.h: New file.
2177 * include/bits/concept_checks.h: Removed.
2178 * include/bits/container_concepts.h: Removed.
2179 * include/bits/sequence_concepts.h: Removed.
2180 * include/bits/stl_iterator_base.h: Removed; split into...
2181 * include/bits/stl_iterator_base_funcs.h: ...this new file...
2182 * include/bits/stl_iterator_base_types.h: ...and this new file.
2184 * include/bits/sbuf_iter.h: Update to use new implementation.
2185 * include/bits/std_iterator.h: Likewise.
2186 * include/bits/std_memory.h: Likewise.
2187 * include/bits/stl_algo.h: Likewise.
2188 * include/bits/stl_algobase.h: Likewise.
2189 * include/bits/stl_construct.h: Likewise.
2190 * include/bits/stl_deque.h: Likewise.
2191 * include/bits/stl_heap.h: Likewise.
2192 * include/bits/stl_list.h: Likewise.
2193 * include/bits/stl_map.h: Likewise.
2194 * include/bits/stl_multimap.h: Likewise.
2195 * include/bits/stl_multiset.h: Likewise.
2196 * include/bits/stl_numeric.h: Likewise.
2197 * include/bits/stl_queue.h: Likewise.
2198 * include/bits/stl_set.h: Likewise.
2199 * include/bits/stl_stack.h: Likewise.
2200 * include/bits/stl_uninitialized.h: Likewise.
2201 * include/bits/stl_vector.h: Likewise.
2202 * include/ext/hash_map: Likewise.
2203 * include/ext/hash_set: Likewise.
2204 * include/ext/slist: Likewise.
2205 * include/ext/stl_hashtable.h: Likewise.
2207 * src/Makefile.am (base_headers): Update list of headers.
2208 * Makefile.in: Regenerated.
2209 * src/Makefile.in: Regenerated.
2210 * libio/Makefile.in: Regenerated.
2211 * libmath/Makefile.in: Regenerated.
2212 * libsupc++/Makefile.in: Regenerated.
2213 * testsuite/Makefile.in: Regenerated.
2215 * docs/html/install.html: Update contact information.
2216 * docs/html/17_intro/howto.html: Ditto.
2217 * docs/html/18_support/howto.html: Ditto.
2218 * docs/html/20_util/howto.html: Ditto.
2219 * docs/html/21_strings/howto.html: Ditto.
2220 * docs/html/22_locale/howto.html: Ditto.
2221 * docs/html/23_containers/howto.html: Ditto.
2222 * docs/html/24_iterators/howto.html: Ditto.
2223 * docs/html/25_algorithms/howto.html: Ditto.
2224 * docs/html/26_numerics/howto.html: Ditto.
2225 * docs/html/27_io/howto.html: Ditto.
2226 * docs/html/faq/index.html: Ditto, plus info on new checking code.
2227 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
2228 * docs/html/faq/index.txt: Regenerated.
2230 2001-04-02 Zack Weinberg <zackw@stanford.edu>
2232 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
2233 messages with $which_library as well as $tool_flags and
2234 ${dg-extra-tool-flags}. Factor out annotation text into
2237 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
2239 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
2240 * include/c_std/bits/std_cwchar.h: Same.
2241 * testsuite/21_strings/c_strings.cc: Add.
2243 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
2245 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
2247 2001-04-01 Zack Weinberg <zackw@stanford.edu>
2249 * tests_flags.in: Use test a = b, not test a == b which is not
2252 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
2254 * configure.target: Remove duplicate aix entry.
2256 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
2258 * include/ext/stl_bvector.h: Move to...
2259 * include/bits/stl_vector.h: ...here.
2260 * include/ext/bvector: Move to...
2261 * include/backward/bvector.h: ...here.
2262 * include/bits/std_vector.h: Change stl_bvector include.
2263 * include/bits/std_queue.h: Remove bvector include.
2264 * include/ext/tree: Insert using rb_tree, move to...
2265 * include/backward/tree.h: ...here.
2266 * include/backward/hash_map.h: Include ext/hash_map.
2267 * include/backward/hash_set.h: Include ext/hash_set.
2268 * include/backward/queue.h: New file.
2269 * include/backward/stack.h: Edit.
2270 * include/backward/algo.h: Same.
2271 * include/backward/algobase.h: Same.
2272 * include/backward/alloc.h: Same.
2273 * include/backward/function.h: Same.
2274 * include/backward/iomanip.h: Same.
2275 * include/backward/istream.h: Same.
2276 * include/backward/iterator.h: Same.
2277 * include/backward/list.h: Same.
2278 * include/backward/map.h: Same.
2279 * include/backward/multimap.h: Same.
2280 * include/backward/multiset.h: Same.
2281 * include/backward/ostream.h: Same.
2282 * include/backward/pair.h: Same
2283 * include/backward/rope.h: Same.
2284 * include/backward/set.h: Same.
2285 * include/backward/stream.h: Same.
2286 * include/backward/strstream.h: Same.
2287 * include/backward/tempbuf.h: Same.
2288 * src/Makefile.am (ext_headers): Edit.
2289 * src/Makefile.in: Regenerate.
2290 * testsuite/ext/headers.cc (main): Fix.
2293 2001-03-30 Phil Edwards <pme@sources.redhat.com>
2295 * tests_flags.in (LIBS): Pass correct path for installed testing.
2297 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
2299 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
2300 * tests_flags.in (CXX): Construct here.
2301 (static_fail): Don't remove compile.out. Format with spaces.
2302 (INCLUDES): Deal with xcompiling.
2303 * configure.in (xcompiling): Substitute.
2304 * testsuite/Makefile.am: Snake libjava configury.
2305 * testsuite/Makefile.in: Regenerate.
2306 * testsuite/23_containers/map_operators.cc: Tweaks.
2307 * testsuite/23_containers/set_operators.cc: Tweaks.
2309 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2311 Enable dejagnu testing framework.
2312 * configure.in: Generate testsuite/Makefile.
2313 * configure: Regenerate.
2314 * Makefile.am (check-install): Change rule from this...
2315 (check-script-install): ...to this.
2316 (check): Change rule from this...
2317 (check-script):...to this.
2318 * Makefile.in: Regenerate.
2320 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
2322 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
2324 (LIBTOOL): Let automake take care of its definition.
2325 * libsupc++/Makefile.in: Rebuilt.
2327 2001-03-28 Richard Henderson <rth@redhat.com>
2329 IA-64 ABI Exception Handling:
2330 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
2331 * configure.in: Use it.
2332 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
2333 * libsupc++/Makefile.am (sources): Update files list.
2334 * libsupc++/Makefile.in: Regenerate.
2335 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
2336 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
2337 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
2338 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
2339 * libsupc++/exception_support.cc: Remove.
2340 * libsupc++/exception_support.h: Remove.
2341 * libsupc++/pure.cc: Use std::terminate.
2342 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
2343 (__is_pointer): Remove.
2344 * libsupc++/unwind-cxx.h: New file.
2345 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
2347 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
2349 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
2351 * src/Makefile.am (CXXLINK): Likewise.
2352 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
2354 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
2356 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
2358 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2360 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
2363 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
2365 * include/bits/basic_file.h (get_fileno): Remove.
2366 (_M_fileno): Remove.
2367 (_M_cfile_created): Add.
2368 (basic_file::basic_file(__c_file_type*, openmode): Add.
2369 (basic_file::basic_file(int, const char*, openmode): Remove.
2370 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
2371 const char*, ios_base::openmode): Don't allocate
2372 internal buffers. Turn off internal buffers.
2373 (basic_filebuf::overflow): Remove test for null buffer.
2374 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
2375 * include/bits/streambuf.cc: Tweak.
2376 * include/bits/std_ostream.h: Tweak.
2377 * config/basic_file_libio.h: Same.
2378 * config/basic_file_stdio.h: Same.
2379 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
2380 * testsuite/27_io/filebuf_members.cc: Tweaks.
2381 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
2383 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2385 * Makefile.am: New targets, doxygen and doxygen-maint.
2386 * Makefile.in: Regenerated.
2387 * docs/doxygen/run_doxygen: Finally implemented.
2388 * docs/doxygen/maint.cfg.in: New file.
2389 * docs/doxygen/user.cfg.in: New file.
2391 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2393 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
2394 * src/Makefile.am: Replace leading spaces with tabs on continuation
2396 * aclocal.m4: Regenerated.
2398 * Makefile.in: Ditto.
2399 * src/Makefile.in: Ditto.
2400 * libio/Makefile.in: Ditto.
2401 * libmath/Makefile.in: Ditto.
2402 * libsupc++/Makefile.in: Ditto.
2404 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2406 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
2407 concept-checking code and current status of same.
2408 * docs/html/ext/howto.html: Ditto.
2409 * docs/html/faq/index.html: Ditto.
2410 * docs/html/faq/index.txt: Regenerated.
2412 2001-03-24 Phil Edwards <pme@sources.redhat.com>
2414 * include/bits/std_bitset.h: Include ostream and istream headers
2415 instead of iostream.
2417 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
2419 * include/bits/ostream.tcc: Use __builtin_alloca.
2421 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
2423 * src/misc-inst.cc (__sink_unused_warning): Move to...
2424 * src/locale-inst.cc (__sink_unused_warning): Move to...
2425 * src/stl-inst.cc: Here.
2426 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
2429 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
2431 * intclude/bits/basic_file.h: Fix typos in comments.
2433 2001-03-20 Richard Henderson <rth@redhat.com>
2435 * src/gen-num-limits.cc: Instantiate for wchar_t.
2436 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
2438 2001-03-20 Jason Merrill <jason@redhat.com>
2440 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
2441 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
2442 * libsupc++/cxxabi.h: Declare it.
2444 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
2446 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
2447 signal_func with an unspecified argument list.
2449 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
2451 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
2453 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2455 * include/bits/basic_string.tcc (operator+): Fix thinko.
2457 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
2460 * include/bits/std_streambuf.h: Remove cached locale facets.
2461 (basic_streambuf::_M_buf_fctype): Remove.
2462 (basic_streambuf::~basic_streambuf): Remove here.
2463 (basic_streambuf::basic_streambuf): Same.
2464 (basic_streambuf::imbue): Same.
2465 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
2466 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
2467 (basic_filebuf::~basic_filebuf()): Remove here.
2468 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
2469 (basic_filebuf::imbue): Same.
2470 * include/bits/localefwd.h (_Count_ones): Remove.
2471 (locale::_S_num_categories): Just use 6, since this doesn't
2472 actually change, ever.
2473 * include/bits/locale_facets.tcc (has_facet): Simplify.
2475 * testsuite/27_io/filebuf.cc (test06): Add tests.
2477 2001-03-13 Steve Ellcey <sje@cup.hp.com>
2479 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
2480 match HP-UX ctype.h header file.
2482 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
2484 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
2485 duplicate definitions of __dj_ctype_*
2487 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
2489 * libsupc++/new: Remove pragma interface.
2490 * libsupc++/typeinfo: Same.
2491 * libsupc++/exception: Same.
2492 * libsupc++/new_handler.cc: Remove pragma implementation.
2493 (bad_alloc::~bad_alloc()): Add.
2494 * libsupc++/exception_support.cc: Same.
2495 (exception::~exception): Add.
2496 (bad_exception::~bad_exception): Add.
2497 * libsupc++/tinfo.cc: Same.
2498 (bad_cast::~bad_cast): Add.
2499 (bad_typeid::~bad_typeid): Add.
2501 2001-03-13 Phil Edwards <pme@sources.redhat.com>
2503 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
2505 2001-03-12 Felix Lee <flee@redhat.com>
2507 * mkcheck.in: workaround for bash 2.01 IFS bug.
2509 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
2511 Fixups for -fno-for-scope
2512 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
2513 * src/valarray-inst.cc (__gslice_to_index): Same.
2515 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
2517 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
2518 prior to trapping signal (UnixWare 7 workaround).
2520 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
2522 * include/backward/hashtable.h: Same.
2523 * include/backward/rope.h: Fix include.
2525 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
2527 * include/backward/vector.h: Include std_vector.h.
2529 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
2530 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2533 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2535 * include/ext/stl_hashtable.h: Change type of __n to size_t
2536 * include/backward/bvector.h: Include <ext/stl_bvector.h>
2538 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2540 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
2541 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
2542 Use streamsize, not int_type.
2544 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
2546 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
2549 2001-03-08 Andreas Schwab <schwab@suse.de>
2551 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
2553 * aclocal.m4, configure: Regenerated.
2555 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
2557 * include/bits/std_iosfwd.h: Remove string forward decls here.
2558 * include/bits/stringfwd.h: Add forward decls for char_traits
2560 * config/c_io_libio.h (wstreamoff): Delete.
2561 * config/c_io_stdio.h (wstreamoff): Same.
2562 * include/bits/char_traits.h: Use streamoff not wstreamoff for
2563 char_traits<wchar_t>::off_type.
2564 Remove duplicate typedefs.
2565 * include/bits/fpos.h: Define streampos/wstreampos here.
2566 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
2569 Changeup output files.
2570 * testsuite/27_io/istream_unformatted.cc: Change output files.
2571 * testsuite/27_io/istream_seeks-1.txt: Add.
2572 * testsuite/27_io/istream_seeks-2.tst: Add.
2573 * testsuite/27_io/istream_seeks-1.tst: Add.
2574 * testsuite/27_io/istream_unformatted-2.tst: Delete.
2575 * testsuite/27_io/istream_unformatted-3.tst: Delete.
2576 * testsuite/27_io/istream_unformatted-3.txt: Delete.
2578 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
2580 Add Irix 5.2, 6.3 support.
2581 * config/os/irix/bits: Renamed to...
2582 * config/os/irix/irix6.5/bits: this.
2583 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
2584 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
2585 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
2586 * config/os/irix/irix5.2/bits/ctype_noninline.h
2587 (ctype<char>::ctype): Initialize _M_table with __ctype.
2588 * configure.target: Adjust.
2590 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
2593 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
2594 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
2596 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
2597 (*__pf)(__ios_type&)): Same.
2598 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
2599 (*__pf)(ios_base&))): Same.
2600 * testsuite/27_io/istream_extractor_other.cc: Add tests.
2601 * testsuite/27_io/istream_manip.cc (test01): Fix.
2603 2001-03-06 Nathan Myers <ncm@cantrip.org>
2604 Benjamin Kosnik <bkoz@redhat.com>
2606 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
2607 * testsuite/17_intro/header_cerrno.cc (test01): New file.
2608 * testsuite/17_intro/header_cassert.cc (test01): New file.
2609 * testsuite/17_intro/header_cstddef.cc (test01): New file.
2610 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
2611 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
2613 2001-03-05 scott snyder <snyder@fnal.gov>
2616 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
2618 * include/c_std/bits/std_cstdlib.h: ... to here.
2619 * testsuite/17_intro/header_cstdlib.cc: Add test.
2621 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
2623 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
2625 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
2627 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
2628 definition. Replace enum with static const variables.
2630 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
2631 throw specification, fix typos, use <static_cast>.
2632 (ctype<char>::scan_is): remove throw specification.
2633 (ctype<char>::scan_not): likewise.
2635 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
2636 (ctype<char>::do_toupper(char)): use <static_cast>.
2637 (ctype<char>::do_toupper(char *, const char *)): likewise.
2638 (ctype<char>::do_tolower(char)): likewise.
2639 (ctype<char>::do_tolower(char *, const char *)): likewise.
2641 2001-03-04 Phil Edwards <pme@sources.redhat.com>
2643 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
2644 * include/backward/algo.h: Use std not __STD. Remove unneeded
2645 macros and "never happens" code. Adjust to C++STYLE guidelines.
2646 * include/backward/algobase.h: Likewise.
2647 * include/backward/alloc.h: Likewise.
2648 * include/backward/bvector.h: Likewise.
2649 * include/backward/deque.h: Likewise.
2650 * include/backward/function.h: Likewise.
2651 * include/backward/hash_map.h: Likewise.
2652 * include/backward/hash_set.h: Likewise.
2653 * include/backward/hashtable.h: Likewise.
2654 * include/backward/heap.h: Likewise.
2655 * include/backward/iterator.h: Likewise.
2656 * include/backward/list.h: Likewise.
2657 * include/backward/map.h: Likewise.
2658 * include/backward/multimap.h: Likewise.
2659 * include/backward/multiset.h: Likewise.
2660 * include/backward/pair.h: Likewise.
2661 * include/backward/rope.h: Likewise.
2662 * include/backward/set.h: Likewise.
2663 * include/backward/slist.h: Likewise.
2664 * include/backward/stack.h: Likewise.
2665 * include/backward/strstream: Likewise.
2666 * include/backward/tempbuf.h: Likewise.
2667 * include/backward/tree.h: Likewise.
2668 * include/backward/vector.h: Likewise.
2669 * include/bits/basic_ios.h: Likewise.
2670 * include/bits/basic_ios.tcc: Likewise.
2671 * include/bits/basic_string.h: Likewise.
2672 * include/bits/c++config: Likewise.
2673 * include/bits/concept_checks.h: Likewise.
2674 * include/bits/fpos.h: Likewise.
2675 * include/bits/fstream.tcc: Likewise.
2676 * include/bits/functexcept.h: Likewise.
2677 * include/bits/ios_base.h: Likewise.
2678 * include/bits/istream.tcc: Likewise.
2679 * include/bits/mask_array.h: Likewise.
2680 * include/bits/ostream.tcc: Likewise.
2681 * include/bits/pthread_allocimpl.h: Likewise.
2682 * include/bits/sbuf_iter.h: Likewise.
2683 * include/bits/slice.h: Likewise.
2684 * include/bits/slice_array.h: Likewise.
2685 * include/bits/sstream.tcc: Likewise.
2686 * include/bits/std_bitset.h: Likewise.
2687 * include/bits/std_fstream.h: Likewise.
2688 * include/bits/std_iomanip.h: Likewise.
2689 * include/bits/std_ios.h: Likewise.
2690 * include/bits/std_istream.h: Likewise.
2691 * include/bits/std_iterator.h: Likewise.
2692 * include/bits/std_memory.h: Likewise.
2693 * include/bits/std_ostream.h: Likewise.
2694 * include/bits/std_sstream.h: Likewise.
2695 * include/bits/std_streambuf.h: Likewise.
2696 * include/bits/std_string.h: Likewise.
2697 * include/bits/std_valarray.h: Likewise.
2698 * include/bits/stl_algo.h: Likewise.
2699 * include/bits/stl_algobase.h: Likewise.
2700 * include/bits/stl_alloc.h: Likewise.
2701 * include/bits/stl_construct.h: Likewise.
2702 * include/bits/stl_deque.h: Likewise.
2703 * include/bits/stl_function.h: Likewise.
2704 * include/bits/stl_heap.h: Likewise.
2705 * include/bits/stl_iterator.h: Likewise.
2706 * include/bits/stl_iterator_base.h: Likewise.
2707 * include/bits/stl_list.h: Likewise.
2708 * include/bits/stl_map.h: Likewise.
2709 * include/bits/stl_multimap.h: Likewise.
2710 * include/bits/stl_multiset.h: Likewise.
2711 * include/bits/stl_numeric.h: Likewise.
2712 * include/bits/stl_pair.h: Likewise.
2713 * include/bits/stl_pthread_alloc.h: Likewise.
2714 * include/bits/stl_queue.h: Likewise.
2715 * include/bits/stl_raw_storage_iter.h: Likewise.
2716 * include/bits/stl_relops.h: Likewise.
2717 * include/bits/stl_set.h: Likewise.
2718 * include/bits/stl_stack.h: Likewise.
2719 * include/bits/stl_tempbuf.h: Likewise.
2720 * include/bits/stl_threads.h: Likewise.
2721 * include/bits/stl_tree.h: Likewise.
2722 * include/bits/stl_uninitialized.h: Likewise.
2723 * include/bits/stl_vector.h: Likewise.
2724 * include/bits/streambuf.tcc: Likewise.
2725 * include/bits/type_traits.h: Likewise.
2726 * include/bits/valarray_meta.h: Likewise.
2727 * include/ext/bvector: Likewise.
2728 * include/ext/hash_map: Likewise.
2729 * include/ext/hash_set: Likewise.
2730 * include/ext/ropeimpl.h: Likewise.
2731 * include/ext/slist: Likewise.
2732 * include/ext/stl_bvector.h: Likewise.
2733 * include/ext/stl_hash_fun.h: Likewise.
2734 * include/ext/stl_hashtable.h: Likewise.
2735 * include/ext/stl_rope.h: Likewise.
2736 * src/complex_io.cc: Likewise.
2737 * src/ios.cc: Likewise.
2738 * src/locale-inst.cc: Likewise.
2739 * src/locale.cc: Likewise.
2740 * src/localename.cc: Likewise.
2741 * src/misc-inst.cc: Likewise.
2742 * src/stdexcept.cc: Likewise.
2743 * src/stl-inst.cc: Likewise.
2744 * src/strstream.cc: Likewise.
2745 * src/valarray-inst.cc: Likewise.
2747 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
2749 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
2751 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2753 * include/bits/istream.tcc: change type of __extracted to __size_type
2755 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
2757 * src/wstring-inst.cc: New file.
2758 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
2759 (libinst_wstring_la_SOURCES): Remove.
2760 (libstdc___la_LIBADD): Remove libinst_wstring_la.
2761 (sources): Add wstring-inst.cc
2762 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
2765 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2767 * src/locale.cc: initialise __ret with zero
2768 * src/strstream.cc:cast gptr to int_type
2770 2001-03-01 Phil Edwards <pme@sources.redhat.com>
2772 * docs/html/faq/index.html: Update broken links.
2773 * docs/html/faq/index.txt: Regenerated.
2775 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
2778 * configure.target: Change irix* to irix6.5* in target_os table.
2780 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
2783 * include/bits/c++config (__GLIBCPP__): Bump number in
2784 anticipation of 2.92.
2786 * include/bits/codecvt.h: Fix typo.
2787 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
2789 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
2790 instantiations for stdio model.
2792 2001-02-28 Phil Edwards <pme@sources.redhat.com>
2794 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
2795 and GLIBCPP_CXXFLAGS as unused variables.
2796 * configure.host: Likewise.
2797 * configure.target: Likewise.
2798 * aclocal.m4: Regenerated.
2799 * configure: Regenerated.
2800 * Makefile.in: Regenerated.
2801 * libio/Makefile.in: Regenerated.
2802 * libmath/Makefile.in: Regenerated.
2803 * libsupc++/Makefile.in: Regenerated.
2804 * src/Makefile.in: Regenerated.
2806 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2809 * include/bits/basic_file.h: Include basic_file_model.h.
2810 * config/c_io_libio.cc: Move to...
2811 * config/basic_file_libio.cc: Here.
2812 * config/basic_file_libio.h: New file.
2813 * config/c_io_stdio.cc: Move to...
2814 * config/basic_file_stdio.cc: Here.
2815 * config/basic_file_stdio.h: New file.
2816 * config/c_io_libio.h: Tweak.
2817 * config/c_io_stdio.h: Tweak.
2818 * src/Makefile.am (build_headers): Add basic_file_model.h.
2819 (sources): Add basic_file.cc, remove c++io.cc.
2820 * src/Makefile.in: Regenerate.
2821 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
2822 basic_file_model.h and basic_file.cc.
2823 * aclocal.m4: Regenerate.
2824 * configure: Regenerate.
2825 * testsuite/27_io/filebuf.cc (test05): Add regression.
2827 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2830 * config/cpu/alpha/bits/atomicity.h: Change.
2831 * config/cpu/arm/bits/atomicit3y.h
2832 * config/cpu/generic/bits/atomicity.h
2833 * config/cpu/i386/bits/atomicity.h
2834 * config/cpu/i486/bits/atomicity.h
2835 * config/cpu/ia64/bits/atomicity.h
2836 * config/cpu/powerpc/bits/atomicity.h
2837 * config/cpu/sparc/sparc32/bits/atomicity.h
2838 * config/cpu/sparc/sparc64/bits/atomicity.h
2839 * config/os/aix/bits/atomicity.h
2840 * config/os/irix/bits/atomicity.h
2842 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
2844 * include/bits/std_stdexcept.h (runtime_error): Make string
2846 (logic_error): Same.
2847 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
2850 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
2854 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
2855 string object, not reference.
2856 (runtime_error::runtime_error): Same.
2857 * testsuite/19_diagnostics/stdexceptions.cc: New file.
2859 2001-02-26 Phil Edwards <pme@sources.redhat.com>
2861 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
2862 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
2863 diagnostics. Remove WFMT_FLAGS.
2864 * configure.in: Replace WFMT_FLAGS with diagnostics options.
2865 * libsupc++/Makefile.am: Likewise.
2866 * src/Makefile.am: Likewise.
2867 * aclocal.m4: Regenerated.
2868 * configure: Regenerated.
2869 * Makefile.in: Regenerated.
2870 * libio/Makefile.in: Regenerated.
2871 * libmath/Makefile.in: Regenerated.
2872 * libsupc++/Makefile.in: Regenerated.
2873 * src/Makefile.in: Regenerated.
2875 2001-02-26 Phil Edwards <pme@sources.redhat.com>
2877 Fixes libstdc++/2079
2878 * include/backward/iomanip.h: Expose <ios> manipulators to global
2880 * include/backward/iostream.h: Also expose std::ws.
2882 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
2884 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
2886 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
2888 * include/bits/codecvt.h: Use __builtin_alloca.
2889 * include/bits/ostream.tcc: Same.
2890 * include/bits/fstream.tcc: Same.
2892 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
2894 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
2896 2001-02-23 David Edelsohn <dje@watson.ibm.com>
2898 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
2900 2001-02-23 Phil Edwards <pme@sources.redhat.com>
2903 * include/backward/iostream.h: Expose std::flush in old headers.
2905 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2907 * mknumeric_limits: Remove special-casing on target. Use gcc
2908 instead of g++ to build gen-num-limits.cc
2910 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
2912 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
2914 * include/bits/codecvt.h: Use alloca instead of __extension__ for
2916 * include/bits/ostream.tcc: Same.
2917 * include/bits/std_ostream.h: Same.
2918 * include/bits/fstream.tcc: Same.
2919 * include/bits/locale_facets.tcc: Add typename.
2920 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
2922 2001-02-21 Phil Edwards <pme@sources.redhat.com>
2924 * tests_flags.in: Remove -n flag from call to echo.
2926 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
2928 * config/c_locale_gnu.h: Add clocale include.
2930 2001-02-20 Phil Edwards <pme@sources.redhat.com>
2932 * include/bits/stl_config.h: Remove file.
2933 * src/Makefile.am (base_headers): Remove from list.
2934 * configure: Regenerate.
2935 * Makefile.in: Ditto.
2936 * libio/Makefile.in: Ditto.
2937 * libmath/Makefile.in: Ditto.
2938 * libsupc++/Makefile.in: Ditto.
2939 * src/Makefile.in: Ditto.
2941 * include/bits/c++config: Move relevant macros to here.
2942 * include/backward/alloc.h: Include c++config.h instead.
2943 * include/backward/function.h: Ditto.
2944 * include/backward/heap.h: Ditto.
2945 * include/backward/pair.h: Ditto.
2946 * include/bits/pthread_allocimpl.h: Ditto.
2947 * include/bits/std_functional.h: Ditto.
2948 * include/bits/std_iterator.h: Ditto.
2949 * include/bits/std_numeric.h: Ditto.
2950 * include/bits/std_utility.h: Ditto.
2951 * include/bits/stl_algobase.h: Ditto.
2952 * include/bits/type_traits.h: Ditto.
2953 * src/stl-inst.cc: Ditto.
2955 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2957 * include/bits/basic_file.h: Add #pragma system_header
2958 * include/bits/basic_ios.h: Ditto.
2959 * include/bits/basic_string.h: Ditto.
2960 * include/bits/char_traits.h: Ditto.
2961 * include/bits/codecvt.h: Ditto.
2962 * include/bits/cpp_type_traits.h: Ditto.
2963 * include/bits/fpos.h: Ditto.
2964 * include/bits/gslice.h: Ditto.
2965 * include/bits/gslice_array.h: Ditto.
2966 * include/bits/indirect_array.h: Ditto.
2967 * include/bits/ios_base.h: Ditto.
2968 * include/bits/limits_generic.h: Ditto.
2969 * include/bits/locale_facets.h: Ditto.
2970 * include/bits/localefwd.h: Ditto.
2971 * include/bits/mask_array.h: Ditto.
2972 * include/bits/sbuf_iter.h: Ditto.
2973 * include/bits/sequence_concepts.h: Ditto.
2974 * include/bits/slice.h: Ditto.
2975 * include/bits/slice_array.h: Ditto.
2976 * include/bits/std_algorithm.h: Likewise.
2977 * include/bits/std_bitset.h: Likewise.
2978 * include/bits/std_complex.h: Likewise.
2979 * include/bits/std_deque.h: Likewise.
2980 * include/bits/std_fstream.h: Likewise.
2981 * include/bits/std_functional.h: Likewise.
2982 * include/bits/std_iomanip.h: Likewise.
2983 * include/bits/std_ios.h: Likewise.
2984 * include/bits/std_iosfwd.h: Likewise.
2985 * include/bits/std_iostream.h: Likewise.
2986 * include/bits/std_istream.h: Likewise.
2987 * include/bits/std_iterator.h: Likewise.
2988 * include/bits/std_list.h: Likewise.
2989 * include/bits/std_locale.h: Likewise.
2990 * include/bits/std_map.h: Likewise.
2991 * include/bits/std_memory.h: Likewise.
2992 * include/bits/std_numeric.h: Likewise.
2993 * include/bits/std_ostream.h: Likewise.
2994 * include/bits/std_queue.h: Likewise.
2995 * include/bits/std_set.h: Likewise.
2996 * include/bits/std_sstream.h: Likewise.
2997 * include/bits/std_stack.h: Likewise.
2998 * include/bits/std_stdexcept.h: Likewise.
2999 * include/bits/std_streambuf.h: Likewise.
3000 * include/bits/std_string.h: Likewise.
3001 * include/bits/std_utility.h: Likewise.
3002 * include/bits/std_valarray.h: Likewise.
3003 * include/bits/std_vector.h: Likewise.
3004 * include/bits/stringfwd.h: Likewise.
3005 * include/bits/type_traits.h: Likewise.
3006 * include/bits/valarray_array.h: Likewise.
3007 * include/bits/valarray_meta.h: Likewise.
3009 2001-02-19 Andreas Jaeger <aj@suse.de>
3011 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
3014 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
3017 * include/bits/std_ostream.h: Replaced usage of
3018 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
3019 * include/bits/char_traits.h: Removed non-standard
3020 methods that cannot be used elsewhere.
3023 * include/bits/basic_ios.h: Uncommented #include of
3027 * include/bits/codecvt.h: See next...
3028 * include/bits/fstream.tcc: See next...
3029 * include/bits/ostream.tcc: Add __extension__
3030 to variable-length arrays.
3033 * include/bits/localefwd.h: Changed int counter type to size_t.
3036 * include/bits/std_fstream.h: Added typedef for __ctype_type.
3038 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
3040 * testsuite/21_strings/char_traits.cc: Move to ...
3041 * testsuite/21_strings/char_traits_requirements.cc: ..here.
3042 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
3043 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
3045 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
3047 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
3050 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
3052 * include/bits/c++config: Revert.
3054 2001-02-15 Mark Mitchell <mark@codesourcery.com>
3056 * include/bits/istream.tcc: Use ios_base::iostate in place of
3057 iostate throughout. Insert `typename' keyword where necessary.
3058 * include/bits/ostream.tcc: Insert `typename' keyword where
3061 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
3063 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
3064 Define so library is compliant.
3066 2001-02-15 Anthony Green <green@redhat.com>
3068 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
3070 * aclocal.m4: Regenerate.
3071 * configure: Regenerate.
3073 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
3075 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
3076 Include ieeefp.h for fpclass on UnixWare{2,7}.
3077 * aclocal.m4: Regenerate.
3078 * configure: Regenerate.
3079 * mkcheck.in (size_command): Do without GNU-grep when using
3082 2001-02-15 Mark Mitchell <mark@codesourcery.com>
3084 Remove old ABI support from libsupc++.
3085 * libsupc++/cxxabi.h: Remove conditionally compiled code.
3086 * libsupc++/exception_support.cc: Likewise.
3087 * libsupc++/pure.cc: Likewise.
3088 * libsupc++/tinfo.cc: Likewise.
3089 * libsupc++/tinfo.h: Likewise.
3090 * libsupc++/tinfo2.cc: Likewise.
3091 * libsupc++/typeinfo: Likewise.
3092 * libsupc++/vec.cc: Likewise.
3094 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
3096 Add support for -fno-exceptions.
3097 * include/bits/exception_support.h: Remove.
3098 * include/bits/basic_string.h: Remove exception_support.
3099 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
3101 (string::substr): Same.
3102 * include/bits/basic_string.tcc (string::reserve): Replace
3103 __LENGTHERROR with __throw_length_error.
3104 (string::_S_create): Same.
3105 (string::resize): Same.
3106 (string::_M_replace): Same.
3107 (string::replace): Same.
3108 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
3109 (string::compare): Same.
3110 * include/bits/stl_vector.h: Remove exception_support.
3111 * src/Makefile.am (base_headers): Remove here.
3112 * src/Makefile.in: Regenerate.
3114 * include/bits/stl_range_errors.h: Remove.
3115 * include/bits/stl_deque.h: Use __throw_range_error.
3116 * include/bits/std_deque.h: Include functexcept.h.
3117 * include/bits/std_vector.h: Same.
3118 * src/Makefile.am (base_headers): Remove here.
3119 * src/Makefile.in: Regenerate.
3120 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
3121 * include/ext/bvector: Remove stl_range_errors.h
3123 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
3125 * include/bits/functexcept.h: New file.
3126 * src/functexcept.cc: New file. Definitions for function-based
3128 * src/Makefile.am (sources): Add functexcept.cc.
3129 * src/Makefile.in: Regenerate.
3131 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
3134 * include/bits/localefwd.h: Include functexcept.h.
3135 * include/bits/std_iosfwd.h: Same.
3137 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
3138 throw basic_ios::failure.
3139 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
3140 Use __throw_exception_again.
3141 (filebuf::_M_filebuf_init): Same.
3142 * include/bits/streambuf.tcc (__copy_streambufs): Same.
3143 * include/bits/ostream.tcc (ostream::operator<<): Same.
3144 * include/bits/istream.tcc (istream::operator>>): Same.
3145 * include/bits/basic_string.tcc (string::_M_mutate): Same.
3146 (string::_S_construct): Same.
3147 (string::_M_clone): Same.
3148 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
3150 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
3151 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
3152 __throw_exception_again.
3153 (locale::_Imp::_Imp(string, size_t): Same.
3154 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
3155 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
3156 (locale::locale(const char*)): Use __throw_runtime_error.
3157 (locale::classic): Use __throw_exception_again.
3158 (locale::_S_normalize_category): Use __throw_runtime_error.
3160 * src/stdexcept.cc: Remove cruft.
3162 * libsupc++/exception_defines.h: New file.
3163 * libsupc++/new_opnt.cc: Include exception_defines.h.
3164 * libsupc++/vec.cc: Same.
3165 (__cxa_vec_new2): Use __throw_exception_again.
3166 (__cxa_vec_new3): Same.
3167 (__cxa_vec_ctor): Same.
3168 (__cxa_vec_delete3): Same.
3169 (__cxa_vec_cctor): Same.
3170 (__cxa_vec_delete2): Same.
3171 (__cxa_vec_dtor): Same.
3172 * libsupc++/exception_support.cc: Include exception_defines.h. Only
3173 compile exception-handling bits if __EXCEPTIONS is defined.
3174 Remove old ABI support.
3175 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
3176 std::__throw_bad_alloc() instead of throw bad_alloc.
3177 * libsupc++/Makefile.am: Add exception_defines.h.
3178 * libsupc++/Makefile.in: Reformat.
3179 * libsupc++/*: Format.
3181 2001-02-15 Phil Edwards <pme@sources.redhat.com>
3183 * docs/html/configopts.html: Minor updates and typo fixes.
3184 * docs/html/faq/index.html: Updates of the "not really bugs" list.
3185 * docs/html/faq/index.txt: Regenerated.
3187 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
3189 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
3190 dejagnu/dg.exp. Adapt to log options used to run testcases.
3192 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3194 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
3197 2001-02-13 Dirk Mueller <dmuell@gmx.net>
3198 Phil Edwards <pme@sources.redhat.com>
3200 * include/backward/function.h: Do not use rel_ops for older
3202 * include/backward/pair.h: Likewise.
3204 2001-02-12 Mark Mitchell <mark@codesourcery.com>
3206 * src/locale.cc: Remove bogus locale::id definitions.
3208 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3210 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
3211 not _DEFINE_VALARRAY_OPERATOR which is not existent.
3213 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
3214 thinko in member initialisation.
3216 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3218 * include/bits/std_valarray.h(valarray<>::shift): Avoid
3219 comparaison between signed and unsigned integer types.
3220 (valarray<>::cshift): Reformat.
3222 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
3224 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
3225 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
3226 * configure.in: Test for sigsetjmp.
3227 * configure, config.h.in: Rebuilt.
3229 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3231 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
3232 lengths and strides.
3233 (__gslice_to_index): Document.
3235 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
3237 * include/bits/char_traits.h char_traits<char>::int_type: Change
3238 to `int' to match 21.1.3.1/2.
3240 * testsuite/21_strings/char_traits-int_type.C: New test.
3242 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
3244 * testsuite/Makefile.am: New file.
3246 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
3248 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
3250 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
3252 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
3254 2001-02-08 David Edelsohn <edelsohn@gnu.org>
3256 * configure.target (aix4*): Remove extra set of brackets.
3258 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
3261 * include/bits/stringfwd.h: New file.
3262 * include/bits/stl_string_fwd.h: Remove.
3263 * include/bits/localefwd.h: Remove declaration for allocator.
3264 * include/bits/std_iosfwd: Same.
3265 * include/bits/std_string.h: Include it.
3266 * include/bits/std_ios.h: Remove include.
3267 * include/bits/basic_string.h: Tweak.
3268 * libsupc++/new: Format.
3269 * src/Makefile.am (base_headers): Add stringfwd.h, remove
3271 * src/Makefile.in: Regenerate.
3272 * include/bits/std_stdexcept.h: Rewrite.
3273 * src/stdexcept.cc: Same.
3275 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
3277 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
3278 install locations too.
3279 * aclocal.m4: Regenerate.
3280 * configure.in: Remove USE_LIBDIR.
3281 * configure: Regenerate.
3282 * src/Makefile.am (toolexecdir): Simplify, use
3283 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
3284 * src/Makefile.in: Regenerate.
3285 * libsupc++/Makefile.am: Same.
3286 * libsupc++/Makefile.in: Regenerate.
3288 * src/Makefile.am: Just remove special rules for locale-inst.cc and
3289 misc-inst.cc as no longer necessary.
3291 Follow C++STYLE for naming non-static functions.
3292 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
3294 * include/bits/streambuf.tcc: Same.
3295 * include/bits/ostream.tcc: Same.
3296 * include/bits/istream.tcc: Same.
3297 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
3298 (_S_output_float): To __output_float.
3299 * include/bits/std_streambuf.h (_S_copy_streambufs): To
3301 * include/bits/locale_facets.tcc (_S_build_float_format): To
3302 __build_float_format.
3303 (_S_format): To __output_integer.
3304 (_S_fill): To __pad.
3305 * src/locale.cc: Same.
3306 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
3308 * include/bits/locale_facets.tcc (_S_group_digits): To
3310 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
3311 for collate, numpunct.
3313 2001-02-06 Phil Edwards <pme@sources.redhat.com>
3315 * docs/html/configopts.html: Fix HTML markup.
3316 * docs/html/install.html: Bring up to date.
3317 * docs/html/17_intro/C++STYLE: Add global variable conventions.
3318 * docs/html/21_strings/howto.html: More notes.
3319 * docs/html/22_locale/howto.html: Fix HTML markup.
3320 * docs/html/27_io/howto.html: More notes.
3321 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
3322 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
3324 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
3326 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
3327 to match header files.
3328 (_S_output_float): Likewise.
3329 (_S_copy_streambufs): Likewise.
3331 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
3332 Phil Edwards <pme@sources.redhat.com>
3334 * include/bits/std_istream.h (op>> signed,unsigned char): Must
3335 use reinterpret_cast, not static_cast.
3337 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
3339 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
3340 * aclocal.m4: Regenerate.
3341 * configure: Regenerate.
3343 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3345 * include/bits/locale_facets.h (class moneypunct): Fix typos.
3346 * libsupc++/pure.cc: Revert.
3348 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3350 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
3351 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
3352 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
3353 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
3354 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
3355 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
3356 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
3357 * aclocal.m4: Regenerate.
3358 * configure: Regenerate.
3360 2001-02-05 Mark Mitchell <mark@codesourcery.com>
3362 * include/bits/locale_facets.tcc: Remove `static' keyword on
3363 function definitions.
3364 * include/bits/std_streambuf.h: Likewise.
3365 * src/Makefile.am: Remove use of -fimplicit-templates.
3366 * src/Makefile.in: Regenerated.
3367 * src/locale-inst.cc: Explicitly instantiate more functions.
3368 * src/misc-inst.cc: Likewise.
3369 * src/string-inst.cc: Likewise.
3371 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3373 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
3374 macro. Consolidate all the bits to do with where includes might be
3376 * aclocal.m4: Regenerate.
3377 * configure.in: Use it.
3378 * configure: Regenerate.
3379 * src/Makefile.am (targetincludep): Use simplified rules.
3380 (targetincludep): Rename gxx_target_include_dir.
3381 (myincludep): Rename gxx_include_dir.
3382 * src/Makefile.in: Regenerate.
3383 * libsupc++/Makefile.am: Use simplified rules.
3384 * libsupc++/Makefile.in: Regenerate.
3386 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
3388 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
3389 * include/c_std/bits/std_cctype.h: Same.
3390 * include/c_std/bits/std_cassert.h: Same.
3391 * include/c_std/bits/std_cstdarg.h: Same.
3392 * include/c_std/bits/std_cstddef.h: Same.
3394 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
3396 * include/c_std/bits/std_ctime.h: Same.
3397 * include/c_std/bits/std_clocale.h: Same.
3398 * include/c_std/bits/std_cmath.h: Same.
3399 * include/c_std/bits/std_csetjmp.h: Same.
3400 * include/c_std/bits/std_csignal.h: Same.
3401 * include/c_std/bits/std_cstring.h: Same.
3402 * include/c_std/bits/std_cstdlib.h: Same.
3403 * include/c_std/bits/std_cwchar.h: Same.
3405 2001-02-05 Phil Edwards <pme@sources.redhat.com>
3407 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
3409 2001-02-05 Mark Mitchell <mark@codesourcery.com>
3411 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
3412 (string::_S_construct): Likewise.
3414 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
3416 * testsuite/config/default.exp: New file.
3417 * testsuite/config: New directory.
3419 2001-02-04 Mark Mitchell <mark@codesourcery.com>
3421 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
3422 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
3423 whenever !__GXX_MERGED_TYPEINFO_NAMES.
3424 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
3426 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
3427 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3429 * Makefile.am (mkinstalldirs): Set.
3430 * src/Makefile.am (mkinstalldirs): Set.
3431 * libmath/Makefile.am (mkinstalldirs): Set.
3432 * libsup++/Makefile.am (mkinstalldirs): Set.
3433 * libio/Makefile.am (mkinstalldirs): Set.
3434 * */Makefile.in: Regenerate.
3436 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
3438 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
3439 * include/bits/localefwd.h: More initialization cleanups.
3441 2001-02-03 Jeffrey A Law <law@cygnus.com>
3443 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
3444 correctly targets with 16bit ints.
3445 (_S_ios_openmode_end): Similarly.
3446 (_S_ios_iostate_end): Similarly.
3447 (_S_ios_Seekdir_end): Similarly.
3449 2001-02-02 Phil Edwards <pme@sources.redhat.com>
3451 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
3453 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
3455 * configure.in (toplevel_srcdir, auxdir): Set.
3456 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
3457 * aclocal.m4, configure, Makefile.in: Rebuilt.
3458 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
3459 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
3460 * libsupc++-v3/Makefile.in: Rebuilt.
3461 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
3462 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
3464 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
3466 * config/c_locale_generic.cc: Remove langinfo include.
3468 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
3470 Preliminary named locales.
3471 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
3472 * aclocal.m4: Regenerate.
3473 * configure.in: Use it.
3474 * configure: Regerate.
3475 * src/Makefile.am (sources): Add c++locale.cc.
3476 (build_headers): Add c++locale.h.
3477 * src/Makefile.in: Regenerate.
3478 * config/c_locale_gnu.h: New file.
3479 * config/c_locale_gnu.cc: New file. Non-inline member functions
3480 for named locales, gnu-specific.
3481 * config/c_locale_generic.h: New file.
3482 * config/c_locale_generic.cc: New file. Non-inline member
3483 functions for named locales, generic version.
3484 * docs/html/configopts.html: Add documentation on new options.
3486 * include/bits/locale_facets.h (class _Messages): Remove.
3487 (class _Moneypunct): Remove.
3488 * src/locale-inst.cc: Remove.
3490 * include/bits/locale_facets.h (class _Collate): Remove.
3491 * src/locale-inst.cc (std): Remove.
3492 * src/locale.cc: And here.
3494 * include/bits/localefwd.h (locale::_M_coalesce): New
3495 function. Correctly put together multi-name locales.
3496 (_Impl(const _Impl&, category, size_t)): Remove.
3498 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
3500 (_M_normalize_category_names): Remove.
3501 (_M_replace_categories): Fix.
3503 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
3504 (locale::_Impl::_M_construct_ctype): Remove.
3505 (locale::_Impl::_M_construct_monetary): Remove.
3506 (locale::_Impl::_M_construct_numeric): Remove.
3507 (locale::_Impl::_M_construct_time): Remove.
3508 (locale::_Impl::_M_construct_messages): Remove.
3510 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
3511 (_Use_facet_failure_handle): Remove.
3512 * src/locale.cc: Remove definitions.
3513 * src/locale-inst.cc: And here.
3515 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
3517 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
3518 create and error-check underlying locale object.
3519 (locale::facet::_S_destroy_c_locale): Add, take care of properly
3520 tearing down underlying locale object.
3521 * include/bits/localefwd.h (locale::facet): Declare.
3522 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
3523 correctness, as glibc apparently has incorrect info in it. Test
3524 with it when it works again.....
3526 * include/bits/localefwd.h (locale::_Impl::__vec_string):
3527 Remove. Number of categories is fixed at six, so just simplify and
3528 make this an array of strings.
3529 (locale::_Impl::_M_has_name): Remove.
3530 (locale::_Impl::_M_name): Remove.
3531 (locale::_Impl::_M_category_names): Turns into...
3532 (locale::_Impl::_M_names): ...this.
3533 (locale::_Impl::_M_has_same_name()): New function.
3534 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
3535 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
3537 * src/locale.cc (locale::name()): Construct mangled name
3538 accurately reflecting combined locale categories.
3540 * src/locale.cc (locale::classic()): Don't initialize here.
3541 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
3542 __refs, bool __has_name, string __str): Do it here.
3544 * include/bits/localefwd.h: _S_categories_num to
3545 _S_num_categories. _S_facets_num to _S_num_facets.
3546 (locale::id::id()): Explicitly set _M_index to zero.
3547 * src/locale.cc: Same.
3549 * src/locale.cc: (locale::locale(const char*)): Construct named
3552 * src/locale.cc: Remove numpunct_byname ctors.
3553 * testsuite/22_locale/numpunct_byname.cc: New file.
3554 * testsuite/22_locale/numpunct.cc: New file.
3556 * include/bits/localefwd.h (class locale): Change data members to
3557 protected, from private.
3558 (_Impl::_M_get_c_locale): Add member function.
3559 (locale::facet::_M_get_global_impl()): Add member function.
3560 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
3561 a __c_locale pointer.
3562 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
3564 * testsuite/22_locale/members.cc: New file, test name and combine.
3566 * include/bits/locale_facets.h (class numpunct): Remove class
3567 _Punct and _Numpunct. Rewrite class numpunct to be correct for
3569 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
3570 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
3571 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
3572 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
3573 * testsuite/22_locale/numpunct_char_members.cc: New file.
3575 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
3577 * testsuite/README: Add more comment.
3578 * testsuite/lib/libstdc++.exp: Tweak comment.
3580 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
3582 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
3584 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
3586 * testsuite/21_strings/inserters_extractors.cc: Remove
3587 explicit reference to 'testsuite/'.
3589 2001-01-25 Richard Henderson <rth@redhat.com>
3591 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
3592 bits. Fixes Tru64 build issues.
3594 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3596 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
3597 (use ${MAKE-make}, not ${MAKE:-make}).
3598 * aclocal.m4, configure: Regenerate.
3600 2001-01-25 Mark Mitchell <mark@codesourcery.com>
3602 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
3605 * src/Makefile.am (sources): Add globals.cc.
3606 * src/Makefile.in: Regenerated.
3607 * src/globals.cc: New file.
3608 * src/ios.cc (cin): Don't define here, just declare extern.
3617 2001-01-25 Phil Edwards <pme@sources.redhat.com>
3619 * include/bits/std_iterator.h: Do not include stl_relops.h.
3620 * include/bits/std_numeric.h: Ditto.
3621 * include/bits/stl_algobase.h: Ditto.
3622 * include/bits/stl_relops.h: Add comment warning about problems.
3624 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
3626 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
3627 in testcases. Prepare for the DejaGnu based framework.
3628 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
3629 directory -- it is now mkcheck working directory.
3630 * tests_flags.in: Remove reference to $(top_srcdir). Use
3632 * Makefile.am (check, check-install): Change mkcheck invocation
3634 * Makefile.in: Regenerate.
3636 2001-01-24 Mark Mitchell <mark@codesourcery.com>
3638 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
3639 (__always_swap): Likewise.
3641 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3643 * libsupc++/exception_support.cc (__terminate_func): Remove
3645 (__terminate_func_ptr): New typedef.
3646 (__terminate, __terminate_set_func): New extern function
3648 (std::terminate): Use __terminate function.
3649 (std::set_terminate): Use __terminate_set_func function.
3651 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
3653 * configure.target: Just use os_include_dir always.
3654 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
3655 Link atomicity files and ctype files here.
3656 * configure: Regenerate.
3657 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
3658 (GLIBCPP_ENABLE_ATOMICITY): Remove.
3659 * aclocal.m4: Regenerate.
3661 2001-01-23 Chris Demetriou <cgd@broadcom.com>
3663 * configure.in: Place definition of MULTISUBDIR in
3664 libsupc++/Makefile as is done for src/Makefile.
3665 * configure: Regenerate.
3667 2001-01-23 Phil Edwards <pme@sources.redhat.com>
3669 * acinclude.m4: Cosmetic changes only.
3670 * aclocal.m4: Regenerated.
3671 * configure: Regenerated.
3672 * configure.target: Update documented list of changed variables.
3673 * docs/html/install.html: Fix typo.
3674 * docs/html/20_util/howto.html: More notes on auto_ptr.
3675 * docs/html/27_io/howto.html: More notes on streabufs.
3676 * docs/html/faq/index.html: Add rel_ops problem and mention the
3677 DEC as(1) .subsection difficulty.
3678 * docs/html/faq/index.txt: Regenerated.
3680 2001-01-23 Mark Mitchell <mark@codesourcery.com>
3682 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
3683 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
3684 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
3685 its already provided in config.target.
3686 * aclocal.m4: Regenerated.
3687 * configure: Likewise.
3688 * configure.target: Set ctype_include_dir for lots of systems.
3689 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
3690 * libsupc++/Makefile.in: Regenerated.
3692 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
3694 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
3697 * testsuite/README: Add comment.
3699 2001-01-21 Phil Edwards <pme@sources.redhat.com>
3701 * docs/html/configopts.html: Update for current status. Fix HTML.
3702 * docs/html/install.html: Update for current status.
3704 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3706 * testsuite/libstdc++.tests/tests.exp: New file.
3707 * testsuite/lib/libstdc++.exp: Itou.
3708 * testsuite/README: Itou.
3710 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
3712 * tests_flags.in: Just output the bare minimum to run tests.
3713 Let's the caller do its own arrangement.
3715 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
3718 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
3720 * testsuite/17_intro: Prepare testcases for new style DejaGnu
3723 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
3725 * testsuite/libstdc++.tests, testsuite/lib: New directories.
3727 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
3729 * mkcheck.in: Construct file names that match $objdir structure.
3730 * testsuite/27_io/filebuf_members-1.txt: New file.
3731 * testsuite/27_io/ifstream_members-1.txt: New file.
3732 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
3734 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
3735 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
3737 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3739 * testsuite/27_io/istream_sentry.cc (test02): Fix.
3741 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
3744 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
3745 * src/ios.cc (ios_base::failure): Make definitions match.
3746 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
3747 (class bad_cast): Same.
3748 * libsupc++/exception (class exception): Add throw specs.
3749 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
3750 (set_unexpected): Same.
3751 (uncaught_exception): Same.
3754 * docs/html/17_intro/C++STYLE (classname): Fix.
3756 2001-01-16 Mark Mitchell <mark@codesourcery.com>
3758 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
3759 Use it do explicitly instantiate predicate<T> and value<T> for
3762 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
3764 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
3765 uninitialized thinko in last change.
3767 2001-01-16 Mark Mitchell <mark@codesourcery.com>
3769 * libsupc++/exception_support.cc (__cp_pop_exception): Change
3772 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
3774 * docs/html/17_intro/C++STYLE (classname): Add more existing
3775 and stylish patterns.
3778 * include/bits/istream.tcc (istream::sentry::sentry()): Set
3779 failbit if the state of the stream is not good.
3780 * testsuite/27_io/istream_sentry.cc (test02): Add test.
3781 * testsuite/27_io/istream_manip.cc (test01): Modify.
3784 reported by Paolo Carlini <pcarlini@unitus.it>
3785 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
3786 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
3789 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
3790 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
3791 (xsgetn): Same. Simplify.
3792 * testsuite/27_io/streambuf.cc (test04): Add testcases.
3794 reported by Larry Evans <jcampbell3@prodigy.net>
3795 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
3796 equality with eof on returned value from overflow.
3798 2001-01-14 Andreas Jaeger <aj@suse.de>
3800 * libio/libio.h: Add test for glibc 2.0.
3802 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
3804 * config/os/djgpp/bits/*: Fix dates.
3806 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
3807 _CharT* __end, _CharT __c): Remove.
3808 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
3809 * include/bits/char_traits.h: Tweak.
3811 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
3813 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
3814 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
3816 * aclocal.m4: regenerated.
3817 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
3818 * configure: regenerated.
3819 * config/os/djgpp, config/os/djgpp/bits: new directories.
3820 * config/os/djgpp/bits/ctype_base.h,
3821 config/os/djgpp/bits/ctype_inline.h,
3822 config/os/djgpp/bits/ctype_noninline.h,
3823 config/os/djgpp/bits/os_defines.h: new files.
3825 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
3827 * include/c_std/bits/std_cstdio.h: Undef printf.
3829 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
3831 * src/ios.cc: Fix typo: change cout->wcout.
3833 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
3834 * src/Makefile.in: Regenerate.
3836 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3838 * include/bits/std_complex.h: Fix a typo.
3840 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
3843 Fixes for libstdc++/1576
3844 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
3845 file, move contents into....
3846 * src/ios.cc: ...Here. Put defines for iostreams objects and
3847 initialization routines into one file to simplify DSO interaction.
3848 * include/bits/std_iostream.h: Touch.
3849 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
3850 * src/Makefile.am (sources): Remove stdstreams.cc.
3851 * src/Makefile.in: Regenerate.
3853 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3855 * tests_flags.in (check_directory): Fix typo.
3857 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3859 * include/bits/std_complex.h: Fix a typo.
3861 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
3863 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
3864 code path:) Remove magic constants and restructure to handle
3865 ctype.h bit mask layout changes more gracefully. (Make fast
3866 code path:) Use __maskrune (), if available.
3867 (is): Remove special case for digit and xdigit masks.
3869 2001-01-09 Robert Lipe <robertlipe@usa.net>
3871 * include/c_std/bits/std_ctime.h: Undefine difftime.
3873 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
3875 * src/gen-num-limits.cc (signal_adapter): New template function.
3876 (signal_handler): Use it, instead of signal.
3877 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
3878 require both tests to trap to set trap_flag.
3880 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
3882 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
3883 initialize mbstate_t member, name offset data members *off, not pos.
3884 * include/bits/fstream.tcc (filebuf::filebuf): Same.
3886 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
3888 reported by Chris G. Demetriou <cgd@sibyte.com>
3889 * configure.in: Change -linux-* to -linux*.
3890 * configure: Regenerate.
3892 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
3894 Fix 27_io/filebuf_members.cc
3895 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
3896 const string& __name, category __cat, size_t __refs): Set
3897 _M_has_name with _M_name.
3898 * include/bits/localefwd.h (locale::operator!=): Protect member
3899 function call with this->.
3900 * src/locale.cc (locale::operator==): Make fast checks first.
3901 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
3903 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
3905 * src/ios.cc (ios_base::Init::Init): Initialize here.
3906 (ios_base::sync_with_stdio): Set here.
3908 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
3910 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
3911 systems that support it, call dup() before fdopen().
3913 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
3915 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
3916 * testsuite/17_intro/header_cwctype.cc (main): New file.
3918 * src/Makefile.am (base_headers): Change.
3919 * include/bits/std_string.h: And here.
3920 * include/bits/string.tcc: Tweaks, move to...
3921 * include/bits/basic_string.tcc: ...Here.
3922 * src/string-inst.cc: Simplify, just instantiate the whole class,
3923 not member-by-member.
3925 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
3927 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
3928 * aclocal.m4: Regenerate.
3929 * configure: Regenerate.
3931 * include/bits/c++config (__GLIBCPP__): Bump version number.
3933 * ChangeLog: Start new log for year 2001
3934 * ChangeLog-2000: New file.
3936 * docs/html/configopts.html: Make sure default values are current,
3939 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
3941 * include/c_std/bits/std_cwchar.h: Same.
3942 * testsuite/17_intro/header_cwchar.cc: Same.
3943 * include/c_std/bits/std_ctime.h: Same.
3944 * testsuite/17_intro/header_ctime.cc: Same.
3945 * include/c_std/bits/std_cstdlib.h: Same.
3946 Clean up undefs, make consistent with cwchar and cmath, etc.
3947 * testsuite/17_intro/header_cstdlib.cc: Same.
3948 * include/c_std/bits/std_cstdio.h: Same here.
3949 * testsuite/17_intro/header_cstring.cc: Same.
3950 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
3951 * testsuite/17_intro/header_cstring.cc: New file. Check for
3952 size_t in namespace std.
3954 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
3955 * acconfig.h (HAVE_MBSTATE_T): Add.
3956 * config.h.in: Regenerate.
3957 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
3959 * aclocal.m4: Regenerate.
3960 * configure: Regenerate.
3961 * testsuite/17_intro/headers_c++.cc: New file.
3962 * testsuite/17_intro/headers_c.cc: Small changes.
3964 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
3966 * tests_flags.in: Fix typo in usage.
3968 * tests_flags.in: Set target specific LIBS for cygwin.