1 2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
4 * include/bits/codecvt.h: Add virtual member function declarations.
5 * src/codecvt.cc: Tweaks.
6 * testsuite/22_locale/codecvt.cc: Test compilation only,
7 non-required facets not required to have linkage.
9 2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
12 * include/bits/std_complex.h (complex::operator/=): Correct sign.
14 2001-10-30 Paolo Carlini <pcarlini@unitus.it>
15 Benjamin Kosnik <bkoz@redhat.com>
18 * include/bits/basic_string.h: Tweaks.
19 * include/bits/basic_string.tcc (string::_M_replace(iterator,
20 iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
21 * src/string-inst.cc: Tweaks, add instantiation.
22 * testsuite/21_strings/replace.cc (test02): Add test.
23 * testsuite/21_strings/assign.cc (test01): New file.
25 001-10-30 Jakub Jelinek <jakub@redhat.com>
27 * include/bits/stl_deque.h (_M_new_elements_at_front): Use
28 __throw_exception_again.
29 (_M_new_elements_at_back): Likewise.
31 2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
34 * include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
35 * testsuite/27_io/filebuf.cc (test07): New test.
36 (test03): Modify showmanyc test.
38 2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
41 * config/locale/codecvt_specializations_ieee_1003.1-200x.h
42 (__enc_traits::~__enc_traits): Fix.
43 (__enc_traits::_M_init): Add error checking.
45 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
48 * include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
50 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
53 * include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
55 * include/bits/istream.tcc (istream::operator>>(streambuf*): Make
56 consistent, where possible.
57 * include/bits/streambuf.tcc: Tweak.
59 2001-10-25 Brendan Kehoe <brendan@zen.org>
62 * bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
63 * bits/istream.tcc (seekg): Likewise.
65 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
66 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
67 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
69 * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
71 * include/bits/std_limits.h: Fix wchar_t issues.
72 * config/os/aix/bits/os_defines.h: Fix.
74 2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
76 * include/bits/locale_facets.tcc (collate::do_transform): Fix.
78 2001-10-25 Phil Edwards <pme@gcc.gnu.org>
80 * docs/html/documentation.html: Fix typo.
82 2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
84 Make -fno-exceptions work.
85 * config/locale/c_locale_gnu.cc: Use functexcept.
86 * include/bits/c++config (__stl_assert): Remove.
87 (__STL_USE_EXCEPTIONS): Same.
89 (__STL_CATCH_ALL): Same.
91 (__STL_RETHROW): Same.
92 (__STL_NOTHROW): Same.
94 * include/bits/pthread_allocimpl.h: Fix.
95 * include/bits/std_bitset.h: Same.
96 * include/bits/std_list.h: Same.
97 * include/bits/std_memory.h: Same.
98 * include/bits/std_queue.h: Same.
99 * include/bits/stl_alloc.h: Same.
100 * include/bits/stl_deque.h: Same.
101 * include/bits/stl_list.h: Same.
102 * include/bits/stl_queue.h: Same.
103 * include/bits/stl_tempbuf.h: Same.
104 * include/bits/stl_tree.h: Same.
105 * include/bits/stl_uninitialized.h: Same.
106 * include/bits/stl_vector.h: Same.
107 * include/ext/ropeimpl.h: Same.
108 * include/ext/slist: Same.
109 * include/ext/stl_hashtable.h: Same.
110 * include/ext/stl_rope.h: Same.
111 * libsupc++/new_op.cc: Include cstdlib.
112 * libsupc++/eh_personality.cc: Add exception_defines include. Use
113 __throw_exception_again, tweak.
114 * libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
115 * libsupc++/vec.cc: Tweak.
116 * src/functexcept.cc: Remove unused arguments.
117 * testsuite/23_containers/bitset_members.cc: Tweak.
119 2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
121 * config/cpu/i386/bits/limits.h: Move to...
122 * config/cpu/i386/bits/cpu_limits.h: ...here.
123 * config/cpu/cris/bits/cpu_limits.h: Same.
124 * config/cpu/powerpc/bits/cpu_limits.h: Same.
125 * config/cpu/x86-64/bits/cpu_limits.h: Same.
126 * config/cpu/alpha/bits/cpu_limits.h: New.
127 * config/cpu/m68k/bits/cpu_limits.h: New.
128 * config/cpu/s390/bits/cpu_limits.h: New.
129 * config/os/aix/bits/os_defines.h: Tweaks.
130 * config/os/bsd/freebsd/bits/os_defines.h: Same.
131 * config/os/bsd/netbsd/bits/os_defines.h: Same.
132 * config/os/djgpp/bits/os_defines.h: Same.
133 * config/os/generic/bits/os_defines.h: Same.
134 * config/os/gnu-linux/bits/os_defines.h: Same.
135 * config/os/hpux/bits/os_defines.h: Same.
136 * config/os/irix/irix5.2/bits/os_defines.h: Same.
137 * config/os/irix/irix6.5/bits/os_defines.h: Same.
138 * config/os/newlib/bits/os_defines.h: Same.
139 * config/os/solaris/solaris2.5/bits/os_defines.h: Same.
140 * config/os/solaris/solaris2.6/bits/os_defines.h: Same.
141 * config/os/solaris/solaris2.7/bits/os_defines.h: Same.
143 * include/bits/c++config: Remove include.
144 * include/bits/limits_generic.h: Remove.
145 * include/bits/std_limits.h: Include cpu_limits.h.
146 * include/Makefile.am: Fixup.
147 * src/limits.cc: Tweak.
148 * src/limits_generic.cc: Remove.
149 * src/gen-num-limits.cc: Remove.
150 * mknumeric_limits: Remove.
152 2001-10-20 Brendan Kehoe <brendan@zen.org>
154 * bits/type_traits.h (_Bool): Removed this type.
155 (__true_type, __false_type): Change to be plain structs.
156 * src/string-inst.cc (__destroy_aux): Change third parm to be
157 __false_type instead of _Bool<false>.
158 * src/misc-inst.cc (__uninitialized_fill_n_aux,
159 __uninitialized_copy_aux): Likewise.
161 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
163 * mkcheck.in (static_fail): Remove older memory limit functionality.
164 Disable E_TIME due to formatting issues.
168 2001-10-19 Brendan Kehoe <brendan@zen.org>
170 * include/bits/std_complex.h: Default initialize second argument
171 of polar to 0, as specified in Library DR #79
173 2001-10-19 Brendan Kehoe <brendan@zen.org>
175 * include/bits/stl_raw_storage_iter.h (operator=): Fix to call
176 _Construct instead of construct.
178 2001-10-19 Brendan Kehoe <brendan@zen.org>
180 * include/bits/basic_string.tcc (find_first_not_of): Take out check for
181 __n being non-zero, since the standard does not mandate that.
182 e.g., a search for "" in "" should yield position 0, not npos.
183 (find_last_not_of): Likewise.
185 2001-10-19 Brendan Kehoe <brendan@zen.org>
187 * include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
188 to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
190 2001-10-19 Brendan Kehoe <brendan@zen.org>
192 * include/bits/stl_iterator.h (reverse_iterator::current): Rename
193 member from _M_current, and change all uses; thus sayeth $24.4.1.1.
195 2001-10-19 Brendan Kehoe <brendan@zen.org>
197 * include/bits/stl_algo.h (partial_sort): Add missing `>' on the
198 template parameter _ValueType.
200 2001-10-19 Brendan Kehoe <brendan@zen.org>
202 * include/bits/std_limits.h: Clean up extra semicolons.
203 * include/bits/locale_facets.h: Likewise.
204 * include/bits/type_traits.h: Likewise.
206 2001-10-19 Brendan Kehoe <brendan@zen.org>
208 * include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
209 * include/bits/locale_facets.tcc (locale::combine): Likewise.
211 2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
213 * include/bits/locale_facets.h (__timepunct::_M_put_helper):
214 Declare specializations for char, wchar_t.
216 2001-10-19 Andreas Jaeger <aj@suse.de>
218 * config/cpu/x86-64/bits/limits.h: New file.
219 * config/cpu/x86-64/bits/atomicity.h: New file.
220 * configure.target: Add x86-64.
222 2001-10-17 Phil Edwards <pme@gcc.gnu.org>
224 * docs/html/17_intro/howto.html: Remove 1999 links (and explain
225 why). Add link to recent message.
226 * docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
228 * docs/html/faq/index.txt: Regenerate.
230 2001-10-12 Loren J. Rittle <ljrittle@acm.org>
232 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
233 based on Nathan's review. Use Nathan's words.
235 2001-10-11 Matt Kraai <kraai@alumni.carnegiemellon.edu>
237 * docs/html/configopts.html: Quote StyleSheet attribute values.
238 * docs/html/documentation.html: Likewise.
239 * docs/html/explanations.html: Likewise.
240 * docs/html/install.html: Likewise.
241 * docs/html/17_intro/howto.html: Likewise.
242 * docs/html/17_intro/license.html: Likewise.
243 * docs/html/18_support/howto.html: Likewise.
244 * docs/html/19_diagnostics/howto.html: Likewise.
245 * docs/html/20_util/howto.html: Likewise.
246 * docs/html/21_strings/howto.html: Likewise.
247 * docs/html/22_locale/howto.html: Likewise.
248 * docs/html/23_containers/howto.html: Likewise.
249 * docs/html/24_iterators/howto.html: Likewise.
250 * docs/html/25_algorithms/howto.html: Likewise.
251 * docs/html/26_numerics/howto.html: Likewise.
252 * docs/html/27_io/howto.html: Likewise.
253 * docs/html/ext/howto.html: Likewise.
254 * docs/html/ext/sgiexts.html: Likewise.
255 * docs/html/faq/index.html: Likewise.
257 2001-10-11 Loren J. Rittle <ljrittle@acm.org>
259 * docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
260 * docs/html/23_containers/howto.html (Containers and multithreading):
263 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
265 * docs/html/17_intro/howto.html: Tweak markup and value type.
266 * docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
267 nonzero arguments, add new note on threading.
268 * docs/html/faq/index.html: Update.
269 * docs/html/faq/index.txt: Regenerate.
271 2001-10-09 Phil Edwards <pme@gcc.gnu.org>
273 * docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
274 * docs/html/documentation.html: Likewise.
275 * docs/html/explanations.html: Likewise.
276 * docs/html/install.html: Likewise.
277 * docs/html/17_intro/howto.html: Likewise.
278 * docs/html/17_intro/license.html: Likewise. Tighten up language.
279 * docs/html/18_support/howto.html: Likewise.
280 * docs/html/19_diagnostics/howto.html: Likewise.
281 * docs/html/20_util/howto.html: Likewise.
282 * docs/html/21_strings/howto.html: Likewise.
283 * docs/html/22_locale/howto.html: Likewise.
284 * docs/html/23_containers/howto.html: Likewise.
285 * docs/html/24_iterators/howto.html: Likewise.
286 * docs/html/25_algorithms/howto.html: Likewise.
287 * docs/html/26_numerics/howto.html: Likewise.
288 * docs/html/27_io/howto.html: Likewise.
289 * docs/html/ext/howto.html: Likewise.
290 * docs/html/ext/sgiexts.html: Likewise.
291 * docs/html/faq/index.html: Likewise. Not so many absolute links.
292 * docs/html/faq/index.txt: Regenerate.
294 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
296 * docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
297 spelling errors of "separate" as "seperate", and corresponding
298 spelling errors of related words.
299 * docs/html/faq/index.txt: Regenerate.
301 2001-10-05 Phil Edwards <pme@gcc.gnu.org>
303 * config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
305 * config/cpu/arm/bits/atomicity.h: Likewise.
306 * config/cpu/generic/bits/atomicity.h: Likewise.
307 * config/cpu/i486/bits/atomicity.h: Likewise.
308 * config/cpu/ia64/bits/atomicity.h: Likewise.
309 * config/cpu/mips/bits/atomicity.h: Likewise.
310 * config/cpu/powerpc/bits/atomicity.h: Likewise.
311 * config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
312 * config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
314 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
316 * docs/html/faq/index.html: Describe DR #22, and a workaround.
317 * docs/html/faq/index.txt: Regenerate.
319 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
321 * docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
322 * docs/html/17_intro/license.html: New file. Explain the licenses
325 * docs/html/configopts.html: Link to license.html.
326 * docs/html/documentation.html: Likewise.
327 * docs/html/explanations.html: Likewise.
328 * docs/html/install.html: Likewise.
329 * docs/html/17_intro/howto.html: Likewise.
330 * docs/html/18_support/howto.html: Likewise.
331 * docs/html/19_diagnostics/howto.html: Likewise.
332 * docs/html/20_util/howto.html: Likewise.
333 * docs/html/21_strings/howto.html: Likewise.
334 * docs/html/22_locale/howto.html: Likewise.
335 * docs/html/23_containers/howto.html: Likewise.
336 * docs/html/24_iterators/howto.html: Likewise.
337 * docs/html/25_algorithms/howto.html: Likewise.
338 * docs/html/26_numerics/howto.html: Likewise.
339 * docs/html/27_io/howto.html: Likewise.
340 * docs/html/ext/howto.html: Likewise.
341 * docs/html/ext/sgiexts.html: Likewise.
342 * docs/html/faq/index.html: Likewise. New question, linking to
343 the new license.html.
345 2001-10-04 Phil Edwards <pme@gcc.gnu.org>
347 * docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
348 * docs/html/18_support/howto.html: Likewise.
349 * docs/html/19_diagnostics/howto.html: Likewise.
350 * docs/html/20_util/howto.html: Likewise.
351 * docs/html/21_strings/howto.html: Likewise.
352 * docs/html/22_locale/howto.html: Likewise.
353 * docs/html/23_containers/howto.html: Likewise.
354 * docs/html/24_iterators/howto.html: Likewise.
355 * docs/html/25_algorithms/howto.html: Likewise.
356 * docs/html/26_numerics/howto.html: Likewise.
357 * docs/html/27_io/howto.html: Likewise.
358 * docs/html/ext/howto.html: Likewise.
359 * docs/html/faq/index.html: Likewise. Spacing fix.
361 2001-10-03 Dimitris Vyzovitis <vyzo@media.mit.edu>
363 * include/bits/stl_threads.h (_Atomic_swap): New function.
364 (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
365 * testsuite/ext/rope.cc: New file.
367 2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
369 * config/locale/time_members_gnu.h: Remove.
370 * config/locale/time_members_generic.h: Remove.
371 * config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
372 * config/locale/time_members_generic.cc: Same.
373 * include/bits/locale_facets.h: Add data members.
374 (__timepunct::_M_put_helper): Change signature.
375 (__timepunct::_M_date_formats): Same.
376 (__timepunct::_M_time_formats): Same.
377 (__timepunct::_M_ampm): Add.
378 (__timepunct::_M_date_time_formats): Add.
379 (time_get::_M_extract_via_format): Add.
380 (time_get::_M_extract_time): Change to...
381 (time_get::_M_extract_num): ... this, modify signature.
382 * include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
383 (time_get::do_get_time): Fix.
384 (time_get::do_get_date): Fix.
386 * acinclude.m4: Remove CTIME_H.
387 * aclocal.m4: Regenerate.
388 * include/Makefile.am: Same.
389 * include/Makefile.in: Regenerate.
390 * configure: Regenerate.
392 * testsuite/22_locale/time_get_members_char.cc: Fix.
393 * testsuite/22_locale/time_get_members_wchar_t.cc: Add.
394 * testsuite/22_locale/time_put_members_wchar_t.cc: Add.
396 2001-10-01 Hans-Peter Nilsson <hp@axis.com>
398 * config/cpu/cris/bits/atomicity.h: Correct file header.
400 2001-09-29 Hans-Peter Nilsson <hp@axis.com>
402 * configure.target (LIMITSH): Set for cris.
403 (cpu_include_dir): Set for cris-*-*.
404 * config/cpu/cris/bits/atomicity.h: New file.
405 * config/cpu/cris/bits/limits.h: New file.
407 2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
409 * config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
410 (__timepunct::_M_put_helper): Add.
411 * config/locale/time_members_generic.h: Same.
412 * include/bits/locale_facets.h (__match_parallel): Remove. Format.
413 (__timepunct): Add data members.
414 (__timepunct::_M_days): Add.
415 (__timepunct::_M_days_abbreviated): Add.
416 (__timepunct::_M_months): Add.
417 (__timepunct::_M_months_abbreviated): Add.
418 (__timepunct::_M_initialize_timepunct): Add.
419 * include/bits/locale_facets.tcc: Same.
420 * src/locale-inst.cc: Remove instantiations for __match_parallel.
421 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
422 * aclocal.m4: Regenerate.
423 * configure: Regenerate.
424 * testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
425 * testsuite/22_locale/time_put_members_char.cc (test01): New file.
426 * testsuite/22_locale/time_get.cc: New file.
428 2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
430 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
431 correct multilib builddir.
432 Properly locate libgcc_s.
434 2001-09-27 Phil Edwards <pme@gcc.gnu.org>
436 * include/std/*: Add Doxygen hooks.
437 * docs/doxygen/Intro.3: New file, general intro to the man pages.
438 * docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
439 rather than using a generated index.
440 * docs/doxygen/user.cfg.in: Disable the index, enable man pages.
441 * docs/doxygen/run_doxygen: Massage the generated man pages, using...
442 * docs/doxygen/stdheader.cc: ...this new file.
444 2001-09-26 Stan Shebs <shebs@apple.com>
446 * include/Makefile.am: Remove RCS Id strings.
447 * src/Makefile.am: Ditto.
448 * docs/doxygen/run_doxygen: Ditto.
449 * docs/html/configopts.html: Ditto.
450 * docs/html/documentation.html: Ditto.
451 * docs/html/explanations.html: Ditto.
452 * docs/html/install.html: Ditto.
453 * docs/html/17_intro/howto.html: Ditto.
454 * docs/html/18_support/howto.html: Ditto.
455 * docs/html/19_diagnostics/howto.html: Ditto.
456 * docs/html/20_util/howto.html: Ditto.
457 * docs/html/21_strings/howto.html: Ditto.
458 * docs/html/22_locale/howto.html: Ditto.
459 * docs/html/23_containers/howto.html: Ditto.
460 * docs/html/24_iterators/howto.html: Ditto.
461 * docs/html/25_algorithms/howto.html: Ditto.
462 * docs/html/26_numerics/howto.html: Ditto.
463 * docs/html/27_io/howto.html: Ditto.
464 * docs/html/ext/howto.html: Ditto.
465 * docs/html/ext/sgiexts.html: Ditto.
466 * docs/html/faq/index.html: Ditto.
467 * docs/html/faq/index.txt: Ditto.
469 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
471 * testsuite/21_strings/c_strings.cc (test01, test02): Increase
474 2001-09-25 Phil Edwards <pme@gcc.gnu.org>
476 * docs/html/20_util/howto.html: Add anchor name.
477 * docs/html/23_containers/howto.html: Line wrapping, another link.
478 * docs/html/25_algorithms/howto.html: Another note.
480 * docs/html/ext/howto.html: Link to SGI extensions. List DRs and
482 * docs/html/ext/lwg-active.html: ...in this new file (from R19),
483 * docs/html/ext/lwg-defects.html: and this new file (from R19).
484 * docs/html/ext/sgiexts.html: New file. Mention SGI extensions
485 carried over to libstdc++-v3.
486 * docs/html/faq/index.html: Link to SGI extensions. Mention the
487 "missing .." pseudobug.
488 * docs/html/faq/index.txt: Regenerate.
490 * include/bits/ios_base.h: DR-related comment cleanup.
491 * include/bits/istream.tcc: Likewise.
492 * include/bits/locale_facets.h: Likewise.
493 * include/bits/locale_facets.tcc: Likewise.
494 * include/bits/ostream.tcc: Likewise.
495 * include/bits/std_bitset.h: Likewise.
496 * include/bits/std_iosfwd.h: Likewise.
497 * include/bits/std_istream.h: Likewise.
498 * include/bits/std_ostream.h: Likewise.
499 * include/bits/std_streambuf.h: Likewise.
500 * include/bits/stl_pair.h: Likewise.
501 * include/bits/streambuf_iterator.h: Likewise.
503 * include/bits/std_map.h: Remove unused header inclusion guard
504 _CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
505 * include/bits/std_set.h: Likewise.
507 * include/bits/stl_function.h: Doxygen markup.
508 * docs/doxygen/doxygroups.cc: New file, specifying module grouping.
509 * libsupc++/typeinfo: Doxygen markup tweak.
511 2001-09-20 Scott Johnston <scott@accom.com>
512 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
514 * include/backward/alloc.h: Conditionally define malloc_alloc
515 * testsuite/backward/header_deque_h.cc: New file.
517 2001-09-20 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
519 * libstdc++-v3/include/bits/locale_facets.tcc (money_put::do_put):
520 change variable name so that it works with -fno-for-scope.
522 2001-09-20 Benjamin Kosnik <bkoz@redhat.com>
524 * testsuite/22_locale/numpunct_members_char.cc (test01): Remove
525 redundant sanity checks.
526 * testsuite/22_locale/money_put_members_wchar_t.cc (test01): Same.
528 * testsuite/22_locale/money_put_members_char.cc (test01): Same.
530 * testsuite/22_locale/moneypunct_members_wchar_t.cc (test01): Same.
531 * testsuite/22_locale/moneypunct_members_char.cc (test01): Same.
532 * testsuite/22_locale/money_get_members_wchar_t.cc (test01): Same.
534 * testsuite/22_locale/money_get_members_char.cc (test01): Same.
537 2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
539 Implement std::time_put.
540 * include/bits/locale_facets.h: Include time_members.h.
542 (time_put): Implement.
543 * include/bits/locale_facets.tcc (do_put): Put generic versions here.
544 * include/bits/localefwd.h: Bump number of facets.
545 * config/locale/time_members_generic.h: New file.
546 * config/locale/time_members_gnu.h: New file.
547 * config/locale/c_locale_generic.h: Include clocale.
548 * src/locale-inst.cc: Add use_facet instantiations for __timepunct.
549 * src/locale.cc: Add __timepunct initializations.
550 * src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
551 * include/Makefile.am (stamp-target): Add time_members.h.
552 * include/Makefile.in: Regenerate.
553 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
554 * aclocal.m4: Regenerate.
555 * configure: Regenerate.
556 * testsuite/22_locale/time_put.cc: New file.
557 * testsuite/22_locale/time_put_members_char.cc: New file.
559 * docs/html/22_locale/locale.html: Add note.
561 2001-09-17 Phil Edwards <pme@gcc.gnu.org>
563 * docs/html/configopts.html: HTML to XHTML change. Lowercase tags.
564 * docs/html/documentation.html: Likewise.
565 * docs/html/explanations.html: Likewise.
566 * docs/html/install.html: Likewise.
567 * docs/html/17_intro/howto.html: Likewise.
568 * docs/html/18_support/howto.html: Likewise.
569 * docs/html/19_diagnostics/howto.html: Likewise.
570 * docs/html/20_util/howto.html: Likewise.
571 * docs/html/21_strings/howto.html: Likewise.
572 * docs/html/22_locale/codecvt.html: Likewise.
573 * docs/html/22_locale/ctype.html: Likewise.
574 * docs/html/22_locale/howto.html: Likewise.
575 * docs/html/22_locale/locale.html: Likewise.
576 * docs/html/22_locale/messages.html: Likewise.
577 * docs/html/23_containers/howto.html: Likewise.
578 * docs/html/24_iterators/howto.html: Likewise.
579 * docs/html/25_algorithms/howto.html: Likewise.
580 * docs/html/26_numerics/howto.html: Likewise.
581 * docs/html/27_io/howto.html: Likewise.
582 * docs/html/ext/howto.html: Likewise.
583 * docs/html/faq/index.html: Likewise.
584 * docs/html/faq/index.txt: Regenerated.
586 2001-09-14 Phil Edwards <pme@sources.redhat.com>
588 * docs/html/17_intro/headers_cc.txt: "Sync"/copy real file over.
589 * docs/html/17_intro/howto.html: Spacing and HTML markup fixes.
590 * docs/html/18_support/howto.html: It won't compile; it's not code.
591 * docs/html/19_diagnostics/howto.html: Point diagram seekers to
593 * docs/html/22_locale/howto.html: Comment for future work.
594 * docs/html/23_containers/howto.html: More comments.
595 * docs/html/25_algorithms/howto.html: It's a comment, not a
596 blunt command to the reader. (English grammar.)
598 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
600 * config/locale/moneypunct_members_gnu.cc: Fix initialization of
602 * testsuite/22_locale/money_get_members_wchar_t.cc (test02): New file.
603 * testsuite/22_locale/money_put_members_wchar_t.cc (test02): Fix.
605 2001-09-14 Benjamin Kosnik <bkoz@redhat.com>
607 * include/bits/locale_facets.tcc: Conditionalize use of strtold.
609 2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
611 * testsuite/22_locale/money_get_members_char.cc: Fixed typo in comment.
612 * testsuite/22_locale/money_put_members_char.cc: Likewise.
613 * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
615 2001-09-13 Benjamin Kosnik <bkoz@redhat.com>
617 Implement std::money_get.
618 * include/bits/locale_facets.tcc (money_get::do_get): Implement.
619 * include/bits/locale_facets.h (money_get): Correct signatures.
620 * testsuite/22_locale/money_get.cc: New file.
621 * testsuite/22_locale/money_get_members_char.cc: New file.
623 * include/bits/locale_facets.tcc (__verify_grouping): New
624 function. Consolidate num_get and money_get group checking into
627 * src/locale.cc (num_get::_M_extract): Use it.
628 * src/locale-inst.cc: Add instantiation.
630 2001-09-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
632 * include/bits/std_limits.h (numeric_limits<float>::radix,
633 numeric_limits<float>::epsilon: Fix thinko.
635 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
637 * configure.in: Fix cross compiling math routines. Correct
638 comments for cross compiling and limits. Add floating point math
639 routines found in newlib.
640 * configure: Regenerate.
641 * acconfig.h: Add macros.
642 * config.h.in: Regenerate.
644 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
646 * config/locale/moneypunct_members_generic.cc
647 (money_base::_S_construct_pattern): Remove unused parameters.
649 2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
651 * include/Makefile.am (stamp-target): Remove link to self.
652 * inclulde/Makefile.in: Regenerate.
654 2001-09-09 Benjamin Kosnik <bkoz@redhat.com>
656 Implement std::money_put.
657 * include/bits/locale_facets.h
658 (moneypunct::_M_initialize_moneypunct): Split up specializations
659 to account for _Intl. More grody hacking to get around the
660 ill-considered use of const bool as a template parameter.
661 * config/locale/moneypunct_members_gnu.cc: And here.
662 * config/locale/moneypunct_members_generic.cc: And here.
663 * testsuite/22_locale/moneypunct_members_char.cc: Add tests.
664 * testsuite/22_locale/moneypunct.cc: Add tests.
665 * testsuite/22_locale/money_put_members_wchar_t.cc: New file.
666 * testsuite/22_locale/moneypunct_members_wchar_t.cc: New file.
668 * src/locale.cc (money_base::_S_construct_pattern): Move into
670 * config/locale/moneypunct_members_gnu.cc: Add here.
671 * config/locale/moneypunct_members_generic.cc: Add generic version
674 * include/bits/locale_facets.tcc (money_put::do_put): Move member
675 function definitions here.
676 * include/bits/locale_facets.h (money_put): Implement.
677 * src/locale-inst.cc: Add use_facet instantiations for moneypunct.
678 Correct money_get, money_put instantiations.
679 * src/locale.cc (money_base::_S_construct_pattern): Handle case
681 * testsuite/22_locale/money_put_members_char.cc: Add tests.
683 2001-09-05 Phil Edwards <pme@sources.redhat.com>
685 * testsuite_flags.in: No longer need to search testsuite builddir.
686 * src/stl-inst.cc (__sink_unused_warning): Unused, remove.
687 * Makefile.am: The testsuite directory never needs to be made here.
688 * Makefile.in: Regenerate.
689 * include/Makefile.in: Regenerate.
690 * libio/Makefile.in: Regenerate.
691 * libmath/Makefile.in: Regenerate.
692 * libsupc++/Makefile.in: Regenerate.
693 * po/Makefile.in: Regenerate.
694 * src/Makefile.in: Regenerate.
695 * testsuite/Makefile.in: Regenerate.
697 2001-09-04 Scott Johnston <scott@accom.com>
698 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
700 * include/backward/iterator.h: Include <bits/std_iterator.h>,
701 remove reverse_bidirectional_iterator.
702 * testsuite/backward: New directory.
703 * testsuite/backward/header_iterator_h.cc: New file.
705 2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
707 * include/c_std/bits/std_c*.h: Don't use include_next.
709 2001-09-03 Richard Sandiford <rsandifo@redhat.com>
711 * libsupc++/eh_personality.cc (parse_lsda_header): Change type of
712 tmp from _Unwind_Ptr to _Unwind_Word.
714 2001-08-31 Jason Merrill <jason_merrill@redhat.com>
716 * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Simplify
719 2001-08-28 Loren J. Rittle <ljrittle@acm.org>
721 * include/Makefile.am: Use toplevel_srcdir to refer to src files
722 outside this component.
723 * include/Makefile.in: Regenerate.
725 2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
727 * config/locale/c_locale_gnu.cc: Move facet info to separate files...
728 * config/locale/c_locale_generic.cc: Same.
729 * config/locale/moneypunct_members_gnu.cc: New file.
730 * config/locale/moneypunct_members_generic.cc: New file.
731 * config/locale/numpunct_members_gnu.cc: New file.
732 * config/locale/numpunct_members_generic.cc: New file.
733 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
735 * aclocal.m4: Regenerate.
736 * configure: Regenerate.
737 * src/Makefile.am (sources): And here.
738 * src/Makefile.in: Regenerate.
740 Rename for consistency with rest of testsuite.
741 * testsuite/22_locale/codecvt.cc: New file.
742 * testsuite/22_locale/money_put.cc: New file.
743 * testsuite/22_locale/money_put_members_char.cc: New file.
745 2001-08-27 Phil Edwards <pme@sources.redhat.com>
748 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
749 correctly for version-specific-runtime-libs.
750 * aclocal.m4: Regenerate.
751 * configure: Regenerate.
753 2001-08-24 Loren J. Rittle <ljrittle@acm.org>
755 * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
756 define if not already provided by per-OS file.
757 * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
760 2001-08-24 Jan van Male <jan.vanmale@fenk.wau.nl>
762 * docs/html/17_intro/C++STYLE: Fix typo.
764 2001-08-24 Phil Edwards <pme@sources.redhat.com>
766 * docs/html/23_containers/howto.html: Describe implementation of
767 insertion with hints.
769 2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
772 * include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
774 2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
775 Phil Edwards <pme@sources.redhat.com>
778 * include/bits/stl_tree.h (insert_unique): Revert last change.
779 Values inserted at begin() must be less, not greater, than *begin()'s.
780 * testsuite/23_containers/map_insert.cc: New file.
782 2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
784 * config/locale/c_locale_gnu.cc: Minor tweaks.
785 (moneypunct<wchar_t>): Implement.
786 * include/bits/locale_facets.h: Same.
787 * testsuite/22_locale/moneypunct.cc: New file.
788 * testsuite/22_locale/moneypunct_byname.cc: New file.
789 * testsuite/22_locale/moneypunct_char_members.cc: New file.
791 2001-08-23 David Edelsohn <edelsohn@gnu.org>
793 * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
794 Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
796 2001-08-23 Jason Merrill <jason_merrill@redhat.com>
798 * testsuite_flags.in (build-includes): Re-add backward.
800 2001-08-22 Benjamin Kosnik <bkoz@redhat.com>
802 * testsuite/22_locale/collate_wchar_t_members.cc: Guard
803 with _GLIBCPP_USE_WCHAR_T.
805 2001-08-21 Benjamin Kosnik <bkoz@redhat.com>
807 * testsuite/22_locale/collate_byname.cc (test01): Fix.
809 2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
811 * include/bits/locale_facets.tcc (collate::do_transform): Add typename.
813 2001-08-18 Benjamin Kosnik <bkoz@redhat.com>
815 * testsuite/22_locale/operators.cc: Add test.
817 2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
819 Implement std::collate.
820 * config/locale/collate_specializations_gnu.cc: Add here, implement in
822 * config/locale/collate_specializations_generic.cc: Add here, but
823 in a less sophisticated manner.
824 * include/bits/locale_facets.tcc (collate): Add generic definition.
825 * include/bits/locale_facets.h (~collate): Mark virtual.
826 (collate::_M_compare_helper): New.
827 (collate::_M_transform_helper): New.
828 * src/locale.cc: Remove unnecessary specializations.
829 * src/string-inst.cc: Tweak instantiation of ctors.
831 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
832 * aclocal.m4: Regenerate.
833 * configure: Regenerate.
834 * src/Makefile.am (sources): Add collate.cc.
835 * src/Makefile.in: Regenerate.
837 * testsuite/22_locale/collate_byname.cc: New.
838 * testsuite/22_locale/collate.cc: New file.
839 * testsuite/22_locale/collate_char_members.cc: New file.
840 * testsuite/22_locale/collate_wchar_t_members.cc: New file.
842 2001-08-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
844 * configure.target: Set LIMITSH for powerpc-*-*.
845 * config/cpu/powerpc/bits/limits.h: New file.
847 2001-08-16 Marc Espie <espie@openbsd.org>
849 * configure.in: Check for <sys/types.h>.
850 * configure: Rebuild.
851 * config.h.in: Rebuild.
852 * libmath/mathconf.h: Include <sys/types.h> prior to
853 <machine/endian.h> if available.
855 2001-08-15 Andreas Schwab <schwab@suse.de>
857 * configure.target (cpu_include_dir): Set to `config/cpu/m68k' for
859 * config/cpu/m68k/bits/atomicity.h: New file.
861 * include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
862 Define appropriate long double limits for m68k extended floating
864 (__glibcpp_f32_digits10): Corrected, off by one.
865 (__glibcpp_f80_digits10): Likewise.
866 (__glibcpp_f128_digits10): Likewise.
867 * config/os/gnu-linux/bits/os_defines.h
868 (__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
870 2001-08-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
872 * testsuite/18_support/numeric_limits.cc: Add more tests.
873 * include/bits/std_limits.h (numeric_limits<char>::max): Fix
876 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com>
878 * configure.target (cpu_include_dir): Set to `config/cpu/s390'
881 * config/cpu/s390/bits/atomicity.h: New.
883 2001-08-14 Gabriel Dos Reis <gdr@codesourcery.com>
885 * include/bits/std_limits.h: Fix thinko.
887 2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
889 * include/Makefile.am: Consolidate target rules. Don't clean stamp
890 files. Tweak target build directory stamp.
891 * include/Makefile.in: Regenerate.
893 2001-08-14 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
895 * libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
896 _GBLICPP_HAVE_LOGL with HAVE_LOGL
898 2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
900 * configure.in (libtool_VERSION): Add.
902 (release_VERSION): This.
903 * configure: Regenerate.
904 * src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
906 * src/Makefile.in: Regenerate.
908 * intl/Makefile.am: Remove.
909 * intl/Makefile.in: Remove.
911 * Makefile.am (SUBDIRS): Remove intl.
912 * po/Makefile.am (DISTFILES): Add string_literals.cc
914 * po/string_literals.cc: Add.
915 * po/POTFILES.in: Fix path.
916 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
917 * aclocal.m4: Regenerate.
918 * configure.in: Remove AC_OUTPUT of intl/Makefile.
920 * include/backward/backward_warning.h: Clarify message.
922 * testsuite_flags.in (--cxxflags): Use same debug flags for
923 library and testsuite.
925 * include/Makefile.am (c_compatibility): Remove.
926 * include/Makefile.in: Regenerate.
928 2001-08-13 Mark Mitchell <mark@codesourcery.com>
930 * configure.in (LIMITS_INC_SRCDIR): New variable.
931 * configure.target (LIMITSH): New variable.
932 * porting.texi: Discuss numeric limits.
933 * config/cpu/generic/bits/limits.h: New file.
934 * config/cpu/i386/bits/limits.h: New file.
935 * include/Makefile.am: Install bits/limits.h.
936 * include/bits/c++config: Include bits/limits.h.
938 2001-08-13 H.J. Lu (hjl@gnu.org)
940 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
942 (libstdc++-v3-init ): Use it.
944 2001-08-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
946 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
947 to '__adjust' to avoid shadowing in nested scope.
949 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
951 * include/bits/std_limits.h(__glibcpp_char_is_signed): Use
954 * config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
956 * config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
959 2001-08-10 Loren J. Rittle <ljrittle@acm.org>
961 * testsuite/testsuite_hooks.h (__set_testsuite_memlimit): Add
962 dummy default argument to the non-limit implementation.
965 * include/Makefile.am: Use relative file path in rule to allow
967 * include/Makefile.in: Rebuilt.
969 2001-08-10 Gunter Winkler <gunter.winkler@mathematik.tu-chemnitz.de>
971 * include/bits/std_complex.h (complex<long double>::operator*=,
972 complex<long double>::operator/=): Fix thinko.
974 2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
976 * include/bits/std_limits.h: New file.
977 * include/Makefile.am (bits_headers): Add std_limits.h
978 (all-local): std_limits.h is no longer built.
979 (${target_builddir}/std_limits.h): Remove.
980 * include/Makefile.in: Regenerate.
981 * src/limits.cc: New file.
982 * src/Makefile.am (sources): Add limits.cc in replacement of
984 * src/Makefile.in: Regenerate.
986 2001-08-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
988 * src/gen-num-limits.cc (digits10): Fix thinko.
990 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
992 * po/Makefile.am (check-no): Add.
994 * po/Makefile.in: Regenerate.
996 2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
998 * acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
999 * config.h.in: Regenerate.
1000 * acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
1002 * aclocal.m4: Regenerate.
1003 * configure.in: Remove duplicate AM_CONFIG_HEADER.
1004 (AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
1005 Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
1006 * configure: Regenerate.
1007 * testsuite_hooks.h.in: Move to...
1008 * testsuite_hooks.h: Here, include c++config.h. Use it.
1010 * Makefile.am (SUBDIRS): Move testsuite to last directory.
1011 * Makefile.in: Regenerate.
1012 * po/Makefile.am (stamp-po): Add.
1014 2001-08-09 David Edelsohn <edelsohn@gnu.org>
1016 * config/os/aix/bits/os_defines.h: Define std_limits.h macros.
1017 * config/os/generic/bits/os_defines.h: Likewise.
1018 * config/os/gnu-linux/bits/os_defines.h: Likewise.
1019 * config/os/hpux/bits/os_defines.h: Likewise.
1020 * config/os/irix/irix6.5/bits/os_defines.h: Likewise.
1021 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
1023 2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
1025 * src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of
1026 -version-info, use substituted VERSION info.
1027 * src/Makefile.in: Regenerate.
1029 2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
1031 Implement std::messages.
1032 Make config a fully-nested directory.
1033 * config/locale: New directory.
1034 * config/c_locale_generic.cc: Move into locale subdirectory.
1035 * config/c_locale_generic.h: Same.
1036 * config/c_locale_gnu.cc: Same.
1037 * config/c_locale_gnu.h: Same.
1038 * config/c_locale_ieee_1003.1-200x.cc: Same.
1039 * config/c_locale_ieee_1003.1-200x_.h: Same.
1040 * config/codecvt_specializations_generic.h: Same.
1041 * config/codecvt_specializations_ieee_1003.1-200x.h: Same.
1042 * config/messages_members_gnu.h: Same.
1043 * config/messaages_members_gnu.cc: Same.
1044 * config/messages_members_generic.h: Same.
1045 * config/messaages_members_generic.cc: Same.
1046 * config/messages_members_ieee_1003.1-200x.h: Same.
1047 * config/messaages_members_ieee_1003.1-200x.cc: Same.
1048 * config/io: New directory.
1049 * config/basic_file_libio.h: Move into io subdirectory.
1050 * config/basic_file_libio.cc: Same.
1051 * config/c_io_libio.h: Same.
1052 * config/c_io_libio_codecvt.c: Same.
1053 * config/basic_file_stdio.h: Same.
1054 * config/basic_file_stdio.cc: Same.
1055 * config/c_io_stdio.h: Same.
1057 * po: New directory.
1058 * po/POTFILES.in: New file.
1059 * po/Makefile.am: New file.
1060 * po/Makefile.in: New file.
1061 * po/libstdc++.pot: Generic translation file.
1062 * po/fr.po: Preliminary French translation.
1063 * po/de.po: Preliminary German translation.
1064 * intl: New directory.
1065 * intl/Makefile.am: New file.
1066 * intl/Makefile.in: New file.
1067 * intl/string_literals.cc: New file.
1068 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
1069 requisite setup for gettext. Re-arrange.
1070 * aclocal.m4: Regenerate.
1071 * configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
1072 Output Makefile bits for po and intl.
1073 * configure: Regenerate.
1074 * Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
1075 * Makefile.in: Regenerate.
1076 * acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
1077 * config.h.in: Regenerate.
1079 * acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
1081 * include/Makefile.am (install-data-local): Don't install Makefile.
1082 * include/Makefile.in: Regenerate.
1084 * include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
1086 * config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
1087 * config/locale/c_locale_generic.cc: Same.
1088 * config/locale/c_locale_ieee_1003.1-200x.cc: Same.
1090 * include/bits/codecvt.h: Excise non-standard, non-required
1091 bits. This includes __enc_traits, and partial specializations of
1092 codecvt for __enc_traits.
1093 * src/codecvt.cc (__enc_traits::_S_max_size): Guard
1094 * config/codecvt_partials_ieee_1003.1-200x.h: New file.
1095 * config/codecvt_partials_generic.h: New file.
1096 * include/Makefile.am (allstamps): Add stamp-codecvt_model.
1097 (stamp-codecvt_model): Add.
1098 * include/Makefile.in: Regenerate.
1099 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
1100 * aclocal.m4: Regenerate.
1101 * configure: Regenerate.
1102 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
1103 * testsuite/22_locale/codecvt_unicode_char.cc: Same.
1104 * testsuite/22_locale/ctor_copy_dtor.cc: And here.
1106 * include/bits/localefwd.h (class locale::facet): Add __enc_traits
1107 as a friend for _S_*_c_locale functions.
1108 * include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
1109 argument to default constructor so that CODESET information can be
1111 * include/bits/locale_facets.h (messages_byname):
1112 Re-implement. Remove specializations.
1113 * src/locale.cc (messages_byname<char>): Remove specialization.
1114 (messages_byname<wchar_t>): Same.
1115 * config/locale/c_locale_ieee_1003.1-200x.cc: New file.
1116 * config/locale/c_locale_ieee_1003.1-200x.h: New file.
1117 * config/locale/messages_members_ieee_1003.1-200x.cc: New file.
1118 * config/locale/messages_members_ieee_1003.1-200x.h: New file.
1119 * config/locale/messages_members_gnu.cc: New file.
1120 * config/locale/messages_members_gnu.h: New file.
1121 * config/locale/messages_members_generic.cc: New file.
1122 * config/locale/messages_members_generic.h: New file.
1124 * docs/html/configopts.html: Add documentation for new locale
1125 model, ieee_1003.1. Adjust other flags for current defaults.
1126 * docs/html/22_locale/locale.html: Update.
1127 * docs/html/22_locale/howto.html: Add link to messages.html. Organize.
1128 * docs/html/22_locale/messages.html: New.
1130 * src/Makefile.am (sources): Add messages_virtuals.cc.
1131 * src/Makefile.in: Regenerate.
1132 * include/Makefile.am (allstamps): Add stamp-messages_model.
1133 (stamp-messages_model): Add.
1134 * include/Makefile.in: Regenerate.
1135 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
1136 * aclocal.m4: Regenerate.
1137 * configure: Regenerate.
1139 * testsuite_flags.in (--cxxflags): Add LOCALEDIR.
1140 * testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
1142 * acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
1143 build directories message catalog base directory, and export.
1144 Eventually this should probably be made to deal with build and
1145 install directories. For now, punt on this as the library itself
1146 doesn't use message catalogs (yet).
1147 * testsuite/22_locale/messages.cc: New file.
1148 * testsuite/22_locale/messages_char_members.cc: New file.
1149 * testsuite/22_locale/messages_byname.cc: New file.
1151 2001-08-06 Phil Edwards <pme@sources.redhat.com>
1153 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
1154 (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
1155 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
1156 * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
1157 Call GLIBCPP_CONFIGURE_TESTSUITE.
1158 * aclocal.m4: Regenerate.
1159 * config.h.in: Regenerate.
1160 * configure: Regenerate.
1162 * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
1165 * testsuite_flags.in: Add build dir's testsuite to INCLUDES.
1166 * testsuite/debug_assert.h: Removed; contents merged into...
1167 * testsuite/testsuite_hooks.h.in: ...here. New file.
1168 * testsuite/17_intro/header_ciso646.cc: No longer include
1169 debug_assert.h, include testsuite_hooks.h instead.
1170 * testsuite/17_intro/header_fstream.cc: Likewise.
1171 * testsuite/17_intro/header_iomanip.cc: Likewise.
1172 * testsuite/17_intro/header_ios.cc: Likewise.
1173 * testsuite/17_intro/header_iosfwd.cc: Likewise.
1174 * testsuite/17_intro/header_iostream.cc: Likewise.
1175 * testsuite/17_intro/header_istream.cc: Likewise.
1176 * testsuite/17_intro/header_ostream.cc: Likewise.
1177 * testsuite/17_intro/header_sstream.cc: Likewise.
1178 * testsuite/17_intro/header_streambuf.cc: Likewise.
1179 * testsuite/18_support/numeric_limits.cc: Likewise.
1180 * testsuite/19_diagnostics/stdexceptions.cc: Likewise.
1181 * testsuite/20_util/allocator_members.cc: Likewise.
1182 * testsuite/20_util/auto_ptr.cc: Likewise.
1183 * testsuite/20_util/pairs.cc: Likewise.
1184 * testsuite/21_strings/append.cc: Likewise.
1185 * testsuite/21_strings/capacity.cc: Likewise.
1186 * testsuite/21_strings/char_traits_requirements.cc: Likewise.
1187 * testsuite/21_strings/compare.cc: Likewise.
1188 * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
1189 call to (disabled) __set_testsuite_memlimit() wrapper.
1190 * testsuite/21_strings/element_access.cc: Likewise.
1191 * testsuite/21_strings/find.cc: Likewise.
1192 * testsuite/21_strings/insert.cc: Likewise. Also set up call to
1193 (disabled) __set_testsuite_memlimit() wrapper.
1194 * testsuite/21_strings/inserters_extractors.cc: Likewise.
1195 * testsuite/21_strings/invariants.cc: Likewise.
1196 * testsuite/21_strings/nonmember.cc: Likewise.
1197 * testsuite/21_strings/operations.cc: Likewise.
1198 * testsuite/21_strings/replace.cc: Likewise.
1199 * testsuite/21_strings/rfind.cc: Likewise.
1200 * testsuite/21_strings/substr.cc: Likewise.
1201 * testsuite/22_locale/codecvt_char_char.cc: Likewise.
1202 * testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
1203 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
1204 * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
1205 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
1206 * testsuite/22_locale/ctype_char_members.cc: Likewise.
1207 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
1208 * testsuite/22_locale/facet.cc: Likewise.
1209 * testsuite/22_locale/global_templates.cc: Likewise.
1210 * testsuite/22_locale/members.cc: Likewise.
1211 * testsuite/22_locale/numpunct_byname.cc: Likewise.
1212 * testsuite/22_locale/numpunct_char_members.cc: Likewise.
1213 * testsuite/22_locale/operators.cc: Likewise.
1214 * testsuite/22_locale/static_members.cc: Likewise.
1215 * testsuite/23_containers/bitset_ctor.cc: Likewise.
1216 * testsuite/23_containers/bitset_members.cc: Likewise.
1217 * testsuite/23_containers/bitset_shift.cc: Likewise.
1218 * testsuite/23_containers/vector_capacity.cc: Likewise.
1219 * testsuite/23_containers/vector_ctor.cc: Likewise.
1220 * testsuite/23_containers/vector_element_access.cc: Likewise.
1221 * testsuite/23_containers/vector_modifiers.cc: Likewise.
1222 * testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
1223 * testsuite/24_iterators/iterator.cc: Likewise.
1224 * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
1225 * testsuite/25_algorithms/binary_search.cc: Likewise.
1226 * testsuite/25_algorithms/copy.cc: Likewise.
1227 * testsuite/25_algorithms/heap.cc: Likewise.
1228 * testsuite/25_algorithms/lower_bound.cc: Likewise.
1229 * testsuite/25_algorithms/min_max.cc: Likewise.
1230 * testsuite/25_algorithms/partition.cc: Likewise.
1231 * testsuite/25_algorithms/rotate.cc: Likewise.
1232 * testsuite/25_algorithms/sort.cc: Likewise.
1233 * testsuite/26_numerics/c_math.cc: Likewise.
1234 * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
1235 * testsuite/26_numerics/complex_value.cc: Likewise.
1236 * testsuite/27_io/filebuf.cc: Likewise.
1237 * testsuite/27_io/filebuf_members.cc: Likewise.
1238 * testsuite/27_io/filebuf_virtuals.cc: Likewise.
1239 * testsuite/27_io/fpos.cc: Likewise.
1240 * testsuite/27_io/fstream_members.cc: Likewise.
1241 * testsuite/27_io/ifstream_members.cc: Likewise.
1242 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
1243 * testsuite/27_io/ios_base_members_static.cc: Likewise.
1244 * testsuite/27_io/ios_base_storage.cc: Likewise.
1245 * testsuite/27_io/ios_ctor.cc: Likewise.
1246 * testsuite/27_io/ios_init.cc: Likewise.
1247 * testsuite/27_io/ios_manip_basefield.cc: Likewise.
1248 * testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
1249 * testsuite/27_io/ios_members.cc: Likewise.
1250 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
1251 * testsuite/27_io/istream_extractor_char.cc: Likewise.
1252 * testsuite/27_io/istream_extractor_other.cc: Likewise.
1253 * testsuite/27_io/istream_manip.cc: Likewise.
1254 * testsuite/27_io/istream_seeks.cc: Likewise.
1255 * testsuite/27_io/istream_sentry.cc: Likewise.
1256 * testsuite/27_io/istream_unformatted.cc: Likewise.
1257 * testsuite/27_io/istringstream_members.cc: Likewise.
1258 * testsuite/27_io/narrow_stream_objects.cc: Likewise.
1259 * testsuite/27_io/ofstream_members.cc: Likewise.
1260 * testsuite/27_io/ostream_inserter_arith.cc: Likewise.
1261 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
1262 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
1263 * testsuite/27_io/ostream_manip.cc: Likewise.
1264 * testsuite/27_io/ostream_seeks.cc: Likewise.
1265 * testsuite/27_io/ostream_unformatted.cc: Likewise.
1266 * testsuite/27_io/ostringstream_members.cc: Likewise.
1267 * testsuite/27_io/streambuf.cc: Likewise.
1268 * testsuite/27_io/stringbuf.cc: Likewise.
1269 * testsuite/27_io/stringbuf_virtuals.cc: Likewise.
1270 * testsuite/27_io/stringstream.cc: Likewise.
1271 * testsuite/27_io/stringstream_members.cc: Likewise.
1272 * testsuite/27_io/wide_stream_objects.cc: Likewise.
1274 2001-07-31 Loren J. Rittle <ljrittle@acm.org>
1276 * src/gen-num-limits.cc: Use __LONG_LONG_MAX__.
1278 2001-07-30 Benjamin Kosnik <bkoz@redhat.com>
1280 * configure.target: Remove mips from cpu table.
1281 * config/cpu/mips/bits/atomicity.h: Remove generic
1282 versions. Comment sgidefs include.
1284 2001-07-25 H.J. Lu <hjl@gnu.org>
1286 * configure.target (cpu_include_dir): Set to `config/cpu/mips'
1289 * config/cpu/mips/bits/atomicity.h: New.
1291 2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1293 * acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
1294 hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
1295 * aclocal.m4: Regenerate.
1296 * config.h.in: Likewise.
1297 * configure: Likewise.
1298 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
1299 (EXTRA_DIST): Remove hypot.c hypotf.c.
1300 * libmath/Makefile.am: Regenerate.
1301 * libmath/hypotf.c: Remove.
1302 * libmath/hypot.c: Likewise.
1303 * libmath/hypotl.c: Likewise.
1304 * libmath/stubs.c: The macros seen here are HAVE_xxx, not
1305 _GLIBCPP_HAVE_xxx. Add long double versions.
1307 2001-07-23 David Edelsohn <edelsohn@gnu.org>
1309 * include/bits/limits_generic.h (int): Set digits and digits10
1310 appropriately for word size.
1311 (unsigned int,long,unsigned long): Likewise.
1313 2001-07-19 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1315 * include/bits/stl_algo.h : Fix typos.
1316 * testsuite/25_algorithms/unique.cc: New file.
1318 2001-07-19 Phil Edwards <pme@sources.redhat.com>
1319 Mark Mitchell <mark@codesourcery.com>
1321 Merge from cp-parser-branch.
1322 * include/bits/basic_string.h: Qualify symbols with 'template'.
1323 * include/bits/basic_string.tcc: Likewise.
1324 * include/bits/fstream.tcc: Likewise.
1325 * include/bits/istream.tcc: Likewise.
1326 * include/bits/sstream.tcc: Likewise.
1327 * include/bits/std_istream.h: Likewise.
1328 * include/bits/stl_iterator.h: Likewise.
1329 * include/bits/streambuf.tcc: Likewise.
1330 * src/gen-num-limits.cc: Add 'template<>' to specializations.
1331 * src/locale.cc: Likewise.
1333 2001-07-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1334 Bert De Knuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1336 * src/gen-num-limits.cc (set_signals_handler): New function.
1337 Factor out signals setting. Set signal handler for SIGILL.
1339 2001-07-18 Phil Edwards <pme@sources.redhat.com>
1341 * docs/html/27_io/howto.html: Fix typo.
1342 * docs/html/faq/index.html: Minor updates for 3.0 all around.
1343 * docs/html/faq/index.txt: Regenerated.
1345 2001-07-18 Stephen M. Webb <stephen@bregmasoft..com>
1346 Roman Sulzhyk <roman_sulzhyk@yahoo.com>
1349 * include/bits/ostream.tcc (ostream::put): Fixed error condition check.
1350 * testsuite/27_io/streambuf.cc (test07): Added new regression test.
1352 2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
1354 All occurrences of the __value_type() and __distance_type()
1355 functions, which were required to support the HP STL, have been
1356 removed along with all the auxiliary forwarding functions that
1357 were required to support their use.
1359 The __iterator_category() function was pretty much left alone
1360 because there was no benefit to removing it and its use made code
1361 just a little more readable.
1363 Incidences of distance() with nonstandard argument list were
1364 replaced by calls to the standard function (only in the files
1365 affected by the removal of the other HP functions).
1367 The signature of the rotate() algorithm was changed to match the
1370 Headers were reformatted under C++STYLE guidelines (indentation,
1371 linebreaks, typename keyword).
1373 * include/bits/stl_algo.h: replaced __value_type() and
1374 __distance_type() with iterator_traits, eliminated auxiliary
1375 support functions required to support said function usage.
1376 Changed nonstandard distance() call to standard call.
1378 * include/bits/stl_algobase.h: Same.
1379 * include/bits/stl_heap.h: Same.
1380 * include/bits/stl_numeric.h: Same.
1381 * include/bits/stl_uninitialized.h: Same.
1382 * include/bits/stl_iterator_base_types.h (__value_type()):
1384 (__distance_type()): Removed.
1385 (value_type()): Gone.
1386 (distance_type()): Done in.
1387 (iterator_category()): Hasta la vista, baby.
1389 * include/bits/stl_iterator_base_funcs.h (iterator_category()):
1390 Replaced with __iterator_category().
1391 * include/backward/iterator.h: moved definition of value_type(),
1392 distance_type(), and iterator_category() out of std:: and into
1394 * testsuite/23_containers/vector_ctor.cc (test03): New testcases.
1395 * testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
1396 * testsuite/25_algorithms/rotate.cc: New testcase.
1397 * testsuite/25_algorithms/copy.cc: New testcase.
1398 * testsuite/25_algorithms/sort.cc: Same.
1399 * testsuite/25_algorithms/heap.cc: Same.
1400 * testsuite/25_algorithms/partition.cc: Same.
1401 * testsuite/25_algorithms/binary_search.cc: Same.
1402 * testsuite/26_numerics/sum_diff.cc: Ditto.
1404 001-07-17 Benjamin Kosnik <bkoz@redhat.com>
1406 * testsuite/README: Add notes on naming test cases.
1407 * testsuite/22_locale/members.cc: Mark as xfail.
1408 * testsuite/22_locale/numpunct_char_members.cc: Same.
1410 2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
1412 * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
1413 setting C_INCLUDE_DIR.
1414 * configure.in: Revert yesterday's LN_S change.
1415 * aclocal.m4: Regenerate.
1416 * configure: Regenerate.
1418 2001-07-15 Phil Edwards <pme@sources.redhat.com>
1420 * configure.in: Temporarily force LN_S to copy instead of symlink.
1421 * configure: Regenerate.
1423 2001-07-13 Phil Edwards <pme@sources.redhat.com>
1425 * include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
1426 Initialize _M_string with pointer-and-size constructor, not just
1427 pointer. Fix some comments.
1428 * testsuite/21_strings/ctor_copy_dtor.cc (test03): New test.
1429 * testsuite/27_io/stringbuf.cc (test02): Remove unused variable.
1430 (test03): Add embedded-NUL tests.
1432 * mkcheck.in: When printing totals, match the order of the tests.
1433 * include/bits/stringfwd.h: Use same declaration keywords.
1434 * include/bits/std_iosfwd.h: Cosmetic spacing.
1436 2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
1437 Loren J. Rittle <ljrittle@acm.org>
1438 Phil Edwards <pme@sources.redhat.com>
1440 * include/Makefile.am: New file encapsulating header generation rules.
1441 * Makefile.am (SUBDIRS): Prepend 'include' directory.
1442 * acinclude.m4: Moved/removed rules for building various headers.
1443 * configure.in (AC_OUTPUT): Add include/Makefile.
1444 * mkc++config: Removed.
1446 * testsuite_flags.in: Changed build-includes to match new scheme.
1447 * mknumeric_limits: Likewise.
1448 * libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
1449 * libmath/Makefile.am: Likewise.
1450 * libsupc++/Makefile.am: Likewise.
1451 * src/Makefile.am: Likewise; removed rules to build headers.
1452 * libmath/mathconf.h: Changed #include'd header names to match.
1453 * libmath/stubs.c: Likewise.
1454 * src/gen-num-limits.cc: Likewise.
1456 * configure: Regenerated.
1457 * config.h.in: Regenerated.
1458 * aclocal.m4: Regenerated.
1459 * Makefile.in: Regenerated.
1460 * include/Makefile.in: Regenerated.
1461 * libio/Makefile.in: Regenerated.
1462 * libmath/Makefile.in: Regenerated.
1463 * libsupc++/Makefile.in: Regenerated.
1464 * src/Makefile.in: Regenerated.
1465 * testsuite/Makefile.in: Regenerated.
1467 2001-07-11 Felix Natter <fnatter@gmx.net>
1469 * docs/html/17_intro/porting-howto.xml: Initial checkin of
1471 * docs/html/17_intro/porting-howto.html: check in v0.9.3
1473 2001-07-11 Phil Edwards <pme@sources.redhat.com>
1475 * docs/doxygen/run_doxygen: Don't keep output from previous run.
1476 * docs/doxygen/user.cfg.in: Tweaks.
1477 * include/bits/c++config: Documentation comments for Doxygen.
1478 * include/bits/char_traits.h: Likewise.
1479 * include/bits/limits_generic.h: Likewise.
1480 * include/bits/std_stdexcept.h: Likewise.
1481 * include/bits/stl_pair.h: Likewise.
1482 * libsupc++/exception: Likewise.
1483 * libsupc++/new: Likewise.
1484 * libsupc++/typeinfo: Likewise.
1485 * libmath/Makefile.am: Update and correct copyright.
1487 2001-07-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1489 * acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
1490 * aclocal.m4: Regenerate.
1493 2001-07-09 Phil Edwards <pme@sources.redhat.com>
1495 * docs/html/configopts.html: Fix thinko.
1496 * docs/html/27_io/howto.html: Fix thinko and HTML markup.
1497 * include/bits/stl_iterator.h: Fix typo.
1499 2001-07-09 Phil Edwards <pme@sources.redhat.com>
1501 * docs/html/explanations.html: New file.
1502 * docs/html/configopts.html: Link to it to provide more notes
1503 on cstdio. Minor markup and spacing fixes.
1504 * docs/html/27_io/howto.html: Talk about sync_with_stdio.
1506 2001-07-09 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
1508 * include/bits/valarray_meta.h (_Expr::operator+): Use qualified id
1509 for _Expr template template argument.
1510 (_Expr::operator-): Likewise.
1511 (_Expr::operator~): Likewise.
1512 (_Expr::operator!): Likewise.
1513 (_DEFINE_EXPR_UNARY_OPERATOR): Likewise.
1515 2001-07-06 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1517 * libmath/Makefile.am (EXTRA_DIST): Remove atan2f.c and expf.c
1518 * libmath/Makefile.in: Regenerate.
1519 * libmath/expf.c: Remove.
1520 * libmath/atan2f.c: Likewise.
1522 2001-07-06 Daniel Jacobowitz <drow@mvista.com>
1524 * configure.in: Remove NATIVE, NULL_TARGET.
1525 Set CANADIAN only for Canadian crosses. Set xcompiling
1526 for both Canadian crosses and host-x-host crosses.
1527 * configure: Regenerated.
1529 2001-07-06 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1531 * include/bits/stl_vector.h (vector::_M_initialize_aux): Fix typo.
1533 2001-07-05 Jason Merrill <jason_merrill@redhat.com>
1535 * testsuite_flags.in (--build-includes): backward, not backwards.
1537 2001-07-04 Jeffrey Oldham <oldham@codesourcery.com>
1539 * include/ext/ropeimpl.h (_Rope_RopeRep::_M_free_c_string):
1540 Replace destroy by _Destroy.
1541 (_Rope_RopeRep::_S_free_string): Likewise.
1542 (rope::c_str()): Likewise.
1543 * include/ext/slist (_Slist_base::_M_erase_after>): Likewise.
1544 (_Slist_base::_M_erase_after): Likewise.
1545 (slist::_M_create_node): Replace construct by _Construct.
1546 (slist::pop_front): Replace destroy by _Destroy.
1547 * include/ext/stl_hashtable.h (hashtable::_M_new_node): Replace
1548 construct by _Construct.
1549 (hashtable::_M_delete_node): Replace destroy by _Destroy.
1550 * include/ext/stl_rope.h (rope::rope): Replace construct by
1552 (rope::copy): Replace destroy by _Destroy.
1554 2001-07-03 Benjamin Kosnik <bkoz@redhat.com>
1556 * include/bits/localefwd.h: Format.
1557 * include/bits/locale_facts.tcc (locale::combine): Adjust.
1558 * src/locale.cc (locale::locale::(_Impl)): Don't call
1560 (locale::facet::_M_remove_reference): Simplify.
1561 * src/globals.cc (locale_impl_c): New. Format.
1563 * src/ios.cc (ios_base::Init::Init): Increment _S_ios_base_init last.
1565 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
1567 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
1568 expansion (thanks to Alexandre Oliva).
1569 * aclocal.m4: Regenerate.
1570 * configure: Regenerate.
1572 2001-07-02 Benjamin Kosnik <bkoz@redhat.com>
1574 * src/locale.cc (locale::locale(const char*)): Make sure global
1575 locales are initialized.
1576 * include/bits/locale_facets.tcc (locale::combine): Refcout should
1577 be zero, not one as it's return-by-value.
1578 * testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
1580 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
1583 * libsupc++/eh_alloc.cc: Use climits, not limits.h.
1585 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
1588 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
1589 * aclocal.m4: Regenerate.
1590 * configure: Regenerate.
1592 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
1595 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
1596 staged/installed area to support -I-. Document.
1597 * aclocal.m4: Regenerate.
1598 * configure: Regenerate.
1600 2001-07-02 Loren J. Rittle <ljrittle@acm.org>
1603 * src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
1604 __out_bufsize. Add __in_bufsize, document it and use it.
1606 2001-07-01 Stephen M. Webb <stephen@bregmasoft.com>
1608 * include/bits/stl_construct.h (construct): Remove.
1610 (__destroy): Replaced by use of iterator_traits.
1611 * include/bits/stl_deque.h: replaced HP iterator functions with
1613 (construct): changed to _Construct.
1614 (destroy): changed to _Destroy.
1615 * include/bits/stl_tempbuf.h: Same.
1616 * include/bits/stl_tree.h: Same.
1617 * include/bits/stl_vector.h: Same.
1618 * include/backward/iterator.h (construct): moved definition to here.
1621 2001-06-29 Benjamin Kosnik <bkoz@redhat.com>
1623 * include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
1624 before replacing facet.
1625 * include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
1627 * src/localename.cc (locale::_Impl): Correct ctor initialization
1628 lists. Initialize ref count with one. Simplify.
1629 * src/locale.cc: Add comment.
1630 * testsuite/22_locale/numpunct.cc (test01): Add derivation test.
1631 * testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
1632 * testsuite/22_locale/members.cc (test02): Fix.
1634 2001-06-27 Phil Edwards <pme@sources.redhat.com>
1636 * include/backward/algo.h: Add "GPL plus runtime exception" comment
1637 block, this time for real.
1638 * include/backward/algobase.h: Likewise.
1639 * include/backward/alloc.h: Likewise.
1640 * include/backward/bvector.h: Likewise.
1641 * include/backward/defalloc.h: Likewise.
1642 * include/backward/deque.h: Likewise.
1643 * include/backward/function.h: Likewise.
1644 * include/backward/hash_map.h: Likewise.
1645 * include/backward/hash_set.h: Likewise.
1646 * include/backward/hashtable.h: Likewise.
1647 * include/backward/heap.h: Likewise.
1648 * include/backward/iterator.h: Likewise.
1649 * include/backward/list.h: Likewise.
1650 * include/backward/map.h: Likewise.
1651 * include/backward/multimap.h: Likewise.
1652 * include/backward/multiset.h: Likewise.
1653 * include/backward/pair.h: Likewise.
1654 * include/backward/rope.h: Likewise.
1655 * include/backward/set.h: Likewise.
1656 * include/backward/slist.h: Likewise.
1657 * include/backward/stack.h: Likewise.
1658 * include/backward/strstream: Likewise.
1659 * include/backward/tempbuf.h: Likewise.
1660 * include/backward/tree.h: Likewise.
1661 * include/backward/vector.h: Likewise.
1662 * include/bits/pthread_allocimpl.h: Likewise.
1663 * include/bits/std_algorithm.h: Likewise.
1664 * include/bits/std_bitset.h: Likewise.
1665 * include/bits/std_deque.h: Likewise.
1666 * include/bits/std_functional.h: Likewise.
1667 * include/bits/std_iterator.h: Likewise.
1668 * include/bits/std_list.h: Likewise.
1669 * include/bits/std_map.h: Likewise.
1670 * include/bits/std_memory.h: Likewise.
1671 * include/bits/std_numeric.h: Likewise.
1672 * include/bits/std_queue.h: Likewise.
1673 * include/bits/std_set.h: Likewise.
1674 * include/bits/std_stack.h: Likewise.
1675 * include/bits/std_utility.h: Likewise.
1676 * include/bits/std_vector.h: Likewise.
1677 * include/bits/stl_algo.h: Likewise.
1678 * include/bits/stl_algobase.h: Likewise.
1679 * include/bits/stl_alloc.h: Likewise.
1680 * include/bits/stl_bvector.h: Likewise.
1681 * include/bits/stl_construct.h: Likewise.
1682 * include/bits/stl_deque.h: Likewise.
1683 * include/bits/stl_function.h: Likewise.
1684 * include/bits/stl_heap.h: Likewise.
1685 * include/bits/stl_iterator.h: Likewise.
1686 * include/bits/stl_iterator_base_funcs.h: Likewise.
1687 * include/bits/stl_iterator_base_types.h: Likewise.
1688 * include/bits/stl_list.h: Likewise.
1689 * include/bits/stl_map.h: Likewise.
1690 * include/bits/stl_multimap.h: Likewise.
1691 * include/bits/stl_multiset.h: Likewise.
1692 * include/bits/stl_numeric.h: Likewise.
1693 * include/bits/stl_pair.h: Likewise.
1694 * include/bits/stl_pthread_alloc.h: Likewise.
1695 * include/bits/stl_queue.h: Likewise.
1696 * include/bits/stl_raw_storage_iter.h: Likewise.
1697 * include/bits/stl_relops.h: Likewise.
1698 * include/bits/stl_set.h: Likewise.
1699 * include/bits/stl_stack.h: Likewise.
1700 * include/bits/stl_tempbuf.h: Likewise.
1701 * include/bits/stl_threads.h: Likewise.
1702 * include/bits/stl_tree.h: Likewise.
1703 * include/bits/stl_uninitialized.h: Likewise.
1704 * include/bits/stl_vector.h: Likewise.
1705 * include/bits/type_traits.h: Likewise.
1706 * include/ext/hash_map: Likewise.
1707 * include/ext/hash_set: Likewise.
1708 * include/ext/rope: Likewise.
1709 * include/ext/ropeimpl.h: Likewise.
1710 * include/ext/slist: Likewise.
1711 * include/ext/stl_hash_fun.h: Likewise.
1712 * include/ext/stl_hashtable.h: Likewise.
1713 * include/ext/stl_rope.h: Likewise.
1714 * src/bitset.cc: Likewise.
1715 * src/strstream.cc: Likewise.
1717 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1718 <vakatov@ncbi.nlm.nih.gov>
1721 * include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
1722 * testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
1723 * testsuite/27_io/istream_extractor_other.cc: Fix.
1725 2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
1727 * acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
1728 * aclocal.m4: Regenerate.
1729 * configure: Regenerate.
1731 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1733 * include/bits/stream_iterator.h (istream_iterator): Add copy ctor.
1734 (ostream_iterator): Same.
1735 * include/bits/stl_iterator.h (front_insert_iterator::operator=):
1736 Change argument to const_reference.
1737 (back_insert_iterator): Same.
1739 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1741 * include/bits/sbuf_iter.h: Change to..
1742 * include/bits/streambuf_iterator.h: This.
1743 * include/bits/stl_iterator.h: Take out of here...
1744 * include/bits/stream_iterator.h: Add.
1745 * src/Makefile.am (base_headers): Add streambuf_iterator,
1747 * src/Makefile.in: Regenerate.
1748 * include/bits/std_string.h: Adjust includes.
1749 * include/bits/basic_ios.h: Same.
1750 * include/bits/locale_facets.tcc: Same.
1751 * include/bits/std_iosfwd.h: Same.
1753 * include/bits/std_iterator.h: Add istream, ostream includes.
1754 * include/bits/stl_iterator.h: Tweak.
1755 * testsuite/24_iterators/ostream_iterator.cc: Add test.
1756 * testsuite/24_iterators/istream_iterator.cc: Same.
1757 * testsuite/23_containers/multiset.cc: Add iterator include.
1759 2001-06-26 Phil Edwards <pme@sources.redhat.com>
1761 * acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
1762 * aclocal.m4: Regenerate.
1763 * configure: Regenerate.
1765 2001-06-26 Felix Natter <f.natter@ndh.net>
1767 * docs/html/17_intro/porting-howto.html: Fixed some errors.
1769 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1771 * include/bits/stl_iterator.h (istream_iterator::operator->): Fix
1773 (istream_iterator::operator*): Same.
1775 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1776 Alexandre Petit-Bianco <apbianco@redhat.com>
1778 * testsuite/21_strings/element_access.cc (test01): Chill Out Cafe
1779 is on 41st, not 14th.
1781 2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
1783 * include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.
1785 * include/bits/stl_iterator.h (istream_iterator): Inherit from
1787 (ostream_iterator): Same.
1788 * testsuite/24_iterators/istream_iterator.cc: New file.
1789 * testsuite/24_iterators/ostream_iterator.cc: New file.
1791 * include/bits/sbuf_iter.h: Remove self typedef.
1792 * testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
1793 * testsuite/24_iterators/istreambuf_iterator.cc: Add test.
1795 * include/bits/stl_iterator.h (reverse_iterator): Remove
1796 extraneous typedefs. Add typename.
1797 (__normal_iterator): Remove typedefs referring to self. Add typename.
1798 (reverse_bidiretional_iterator): Remove, not longer required.
1800 2001-06-26 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1802 * include/bits/stl_iterator.h (__normal_iterator<>): Qualify
1803 dependent names with `typename'. Bring in various required
1804 iterator_traits members. Can't imagine why that used to work.
1806 2001-06-25 Phil Edwards <pme@sources.redhat.com>
1807 Kurt Garloff <garloff@suse.de>
1810 * src/cmath.cc: New [version of an old] file; instantiate
1811 __cmath_power to start with.
1812 * src/Makefile.am (sources): Add cmath.cc (and alphabetize).
1813 * Makefile.in: Regenerate.
1814 * libio/Makefile.in: Regenerate.
1815 * libmath/Makefile.in: Regenerate.
1816 * libsupc++/Makefile.in: Regenerate.
1817 * src/Makefile.in: Regenerate.
1818 * testsuite/Makefile.in: Regenerate.
1820 2001-06-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1822 * libmath/stubs.c: Fix thinko.
1824 2001-06-24 David Edelsohn <dje@watson.ibm.com>
1826 * libmath/stubs.c (sqrtf): Define.
1827 (tanf): Correct typo.
1829 2001-06-22 Benjamin Kosnik <bkoz@redhat.com>
1831 * include/bits/stl_iterator.h (reverse_iterator): Inherit from
1833 (back_insert_iterator): Same.
1834 (front_insert_iterator): Same.
1835 (insert_iterator): Same.
1837 * testsuite/20_util/raw_storage_iterator.cc: Modify.
1838 * testsuite/24_iterators/reverse_iterator.cc: New file.
1839 * testsuite/24_iterators/back_insert_iterator.cc: New file.
1840 * testsuite/24_iterators/front_insert_iterator.cc: New file.
1841 * testsuite/24_iterators/insert_iterator.cc: New file.
1843 2001-06-22 Phil Edwards <pme@sources.redhat.com>
1845 * include/*: Revert comment/license change from yesterday for all
1846 except libsupc++/unwind-cxx.h.
1847 * src/bitset.cc: Likewise.
1848 * src/strstream.cc: Likewise.
1850 2001-06-22 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1852 * libmath/stubs.c: New file.
1856 * libmath/Makefile.am (libmath_la_SOURCES): Add.
1857 * libmath/Makefile.in. Regenerate.
1859 2001-06-21 Phil Edwards <pme@sources.redhat.com>
1861 * include/backward/algo.h: Add "GPL plus runtime exception" comment.
1862 * include/backward/algobase.h: Likewise.
1863 * include/backward/alloc.h: Likewise.
1864 * include/backward/bvector.h: Likewise.
1865 * include/backward/defalloc.h: Likewise.
1866 * include/backward/deque.h: Likewise.
1867 * include/backward/function.h: Likewise.
1868 * include/backward/hash_map.h: Likewise.
1869 * include/backward/hash_set.h: Likewise.
1870 * include/backward/hashtable.h: Likewise.
1871 * include/backward/heap.h: Likewise.
1872 * include/backward/iterator.h: Likewise.
1873 * include/backward/list.h: Likewise.
1874 * include/backward/map.h: Likewise.
1875 * include/backward/multimap.h: Likewise.
1876 * include/backward/multiset.h: Likewise.
1877 * include/backward/pair.h: Likewise.
1878 * include/backward/rope.h: Likewise.
1879 * include/backward/set.h: Likewise.
1880 * include/backward/slist.h: Likewise.
1881 * include/backward/stack.h: Likewise.
1882 * include/backward/strstream: Likewise.
1883 * include/backward/tempbuf.h: Likewise.
1884 * include/backward/tree.h: Likewise.
1885 * include/backward/vector.h: Likewise.
1886 * include/bits/pthread_allocimpl.h: Likewise.
1887 * include/bits/std_algorithm.h: Likewise.
1888 * include/bits/std_bitset.h: Likewise.
1889 * include/bits/std_deque.h: Likewise.
1890 * include/bits/std_functional.h: Likewise.
1891 * include/bits/std_iterator.h: Likewise.
1892 * include/bits/std_list.h: Likewise.
1893 * include/bits/std_map.h: Likewise.
1894 * include/bits/std_memory.h: Likewise.
1895 * include/bits/std_numeric.h: Likewise.
1896 * include/bits/std_queue.h: Likewise.
1897 * include/bits/std_set.h: Likewise.
1898 * include/bits/std_stack.h: Likewise.
1899 * include/bits/std_utility.h: Likewise.
1900 * include/bits/std_vector.h: Likewise.
1901 * include/bits/stl_algo.h: Likewise.
1902 * include/bits/stl_algobase.h: Likewise.
1903 * include/bits/stl_alloc.h: Likewise.
1904 * include/bits/stl_bvector.h: Likewise.
1905 * include/bits/stl_construct.h: Likewise.
1906 * include/bits/stl_deque.h: Likewise.
1907 * include/bits/stl_function.h: Likewise.
1908 * include/bits/stl_heap.h: Likewise.
1909 * include/bits/stl_iterator.h: Likewise.
1910 * include/bits/stl_iterator_base_funcs.h: Likewise.
1911 * include/bits/stl_iterator_base_types.h: Likewise.
1912 * include/bits/stl_list.h: Likewise.
1913 * include/bits/stl_map.h: Likewise.
1914 * include/bits/stl_multimap.h: Likewise.
1915 * include/bits/stl_multiset.h: Likewise.
1916 * include/bits/stl_numeric.h: Likewise.
1917 * include/bits/stl_pair.h: Likewise.
1918 * include/bits/stl_pthread_alloc.h: Likewise.
1919 * include/bits/stl_queue.h: Likewise.
1920 * include/bits/stl_raw_storage_iter.h: Likewise.
1921 * include/bits/stl_relops.h: Likewise.
1922 * include/bits/stl_set.h: Likewise.
1923 * include/bits/stl_stack.h: Likewise.
1924 * include/bits/stl_tempbuf.h: Likewise.
1925 * include/bits/stl_threads.h: Likewise.
1926 * include/bits/stl_tree.h: Likewise.
1927 * include/bits/stl_uninitialized.h: Likewise.
1928 * include/bits/stl_vector.h: Likewise.
1929 * include/bits/type_traits.h: Likewise.
1930 * include/ext/hash_map: Likewise.
1931 * include/ext/hash_set: Likewise.
1932 * include/ext/rope: Likewise.
1933 * include/ext/ropeimpl.h: Likewise.
1934 * include/ext/slist: Likewise.
1935 * include/ext/stl_hash_fun.h: Likewise.
1936 * include/ext/stl_hashtable.h: Likewise.
1937 * include/ext/stl_rope.h: Likewise.
1938 * libsupc++/unwind-cxx.h: Likewise.
1939 * src/bitset.cc: Likewise.
1940 * src/strstream.cc: Likewise.
1942 2001-06-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1944 * include/bits/indirect_array.h (indirect_array<>::operator=):
1945 Make copy and assignment operator public. Implement. Format.
1947 * include/bits/valarray_array.h (__valarray_copy): Add overloads
1948 for copy between index arrays. Format.
1950 2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
1952 * mknumeric_limits: Add static definitions, format.
1953 * testsuite/18_support/numeric_limits.cc (test02): Add test.
1955 * include/c_std/bits/std_cwchar.h: Include ctime.
1956 * testsuite/17_intro/header_cwchar.cc : Check.
1958 * include/c_std/bits/std_cwctype.h: Inject wctype.
1959 * testsuite/17_intro/header_cwctype.cc: Update.
1961 2001-06-18 Benjamin Kosnik <bkoz@redhat.com>
1963 * include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
1964 * testsuite/20_util/raw_storage_iterator.cc: Same.
1966 * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
1968 (__mem_interface): New typedef for switching between malloc and new.
1969 * testsuite/20_util/allocator_members.cc: New file.
1971 * testsuite/20_util/comparisons.cc: New file.
1972 * testsuite/20_util/pairs.cc: New file.
1974 2001-06-15 Phil Edwards <pme@sources.redhat.com>
1976 * docs/html/documentation.html: Point to new doxygen'ed collection.
1978 2001-06-14 Nathan Sidwell <nathan@codesourcery.com>
1980 * configure.in (auxdir): Replace by ...
1981 (toprel): ... new variable.
1982 (toplevel_srcdir): Construct from $toprel.
1983 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
1984 rather than .. to locate gcc source directory.
1985 (GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
1986 * aclocal.m4, configure: Rebuilt.
1988 2001-06-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
1990 (Approved by Mark and Benjamin. Applied by Loren.)
1992 * src/globals.cc: Define globals _GLIBCPP_mutex_init (),
1993 _GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
1994 and _GLIBCPP_mutex_address.
1995 * include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
1996 once-only runtime initialization of _M_lock mutex when
1997 __GTHREAD_MUTEX_INIT_FUNCTION is defined.
1998 (__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
1999 for __GTHREAD_MUTEX_INIT_FUNCTION case.
2001 2001-06-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2003 * testsuite/26_numerics/slice_array_assignment.cc (main): New test.
2005 * include/bits/slice_array.h (slice_array<>::operator=): Make
2006 public and implement.
2007 (slice_array<>::slice_array): Make copy-constructor public.
2009 * include/bits/valarray_array.h (__valarray_copy): Add another
2010 overload to copy between strided arrays.
2012 2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
2014 * acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
2015 * aclocal.m4: Regenerate.
2016 * configure: Regenerate.
2017 * include/bits/c++config (__GLIBCPP__): Update date.
2019 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2021 * include/bits/fpos.h (fpos::operator-): Don't return reference,
2022 return original, non-modified version.
2023 (fpos::operator+): Same.
2024 * testsuite/27_io/fpos.cc: Add test.
2026 2001-06-12 Loren J. Rittle <ljrittle@acm.org>
2029 * porting.texi: Add documentation about libstdc++-v3-specific
2030 macros that are currently included in os_defines.h files.
2032 * config/basic_file_stdio.h (sys_getc): New method.
2033 (sys_ungetc): New method.
2034 * include/bits/basic_file.h: (sys_getc): New method signature.
2035 (sys_ungetc): New method signature.
2037 * include/bits/fstream.tcc (underflow): Add conditional code
2038 paths which avoid using short seeks on streams (especially
2039 useful when the stream might be interactive or a pipe). At
2040 the moment, this alternate path only avoids seeking when the
2041 ``buffer size'' of underflow() is 1 since the C standard only
2042 guarantees buffer space for one ungetc (this technique could
2043 be extended since *-*-solaris* supports buffering for 4 calls
2044 to ungetc and *-*-*bsd* supports buffering limited only by
2045 memory resources). Also, _GLIBCPP_AVOID_FSEEK must be defined
2046 in a port's os_defines.h file for this alternate path to even
2047 be considered. As a bonus, the idiom of using getc/ungetc
2048 requires no system calls whereas fseek maps to one or two
2049 system call(s) on many platforms.
2051 * config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
2053 * config/os/solaris/solaris2.5/bits/os_defines.h
2054 (_GLIBCPP_AVOID_FSEEK): Likewise.
2055 * config/os/solaris/solaris2.6/bits/os_defines.h
2056 (_GLIBCPP_AVOID_FSEEK): Likewise.
2057 * config/os/solaris/solaris2.7/bits/os_defines.h
2058 (_GLIBCPP_AVOID_FSEEK): Likewise.
2060 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2062 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change to
2063 AC_TRY_COMPILE, so that the built compiler is checked, and
2064 bootstraps or cross compiles with an older compile still work.
2065 * aclocal.m4: Regenerate.
2066 * configure: Regenerate.
2068 2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
2071 * include/bits/std_sstream.h: Add allocator_type, as per DR 251.
2074 * include/bits/istream.tcc (getline, get): Fix as per DR 243.
2077 * include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
2080 * include/bits/limits_generic.h: Fix as per DR 184.
2082 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
2085 * include/bits/basic_string.h (string::compare): Adjust signatures
2087 * include/bits/basic_string.tcc: And here.
2090 * config/c_io_stdio.h: Remove whitespace.
2091 * testsuite/27_io/istream_seeks.cc (test03): Add regression.
2092 (test02): Add regression.
2093 * testsuite/27_io/istream_seeks-3.tst: New file.
2095 2001-06-11 Phil Edwards <pme@sources.redhat.com>
2097 * README: Update to reflect reality.
2098 * acinclude.m4: Update descriptions, fix typos. Comment changes only.
2099 * configure.in: Make certain target_alias is set and subst'd for 2.50.
2100 * aclocal.m4: Regenerate.
2101 * configure: Regenerate (with 2.13).
2103 2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
2106 * include/bits/ostream.tcc (ostream::seekp): Add error checking as
2108 * include/bits/istream.tcc (istream::seekg): Same.
2109 * testsuite/27_io/istream_seeks.cc: Fix.
2112 * include/bits/stl_function.h (binder2nd): Fix as per DR 109.
2114 * include/bits/std_queue.h: Add c++config.h.
2115 * testsuite/20_util/binders.cc: New test.
2117 2001-06-11 Matthias Klose <doko@debian.org>
2118 Phil Edwards <pme@sources.redhat.com>
2120 * docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
2121 (main script): Echo more information.
2123 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2125 * include/c_std/bits/std_cwchar.h: Alphabetize.
2126 * include/bits/char_traits.h: Tweak.
2127 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
2128 everything used by std_cwchar.h.
2129 * aclocal.m4: Regenerate.
2130 * configure.in: Regenerate.
2131 * config.h.in: Regenerate.
2133 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2135 * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
2136 Add checking for strtof, _Exit in stdlib.h
2137 * aclocal.m4: Regenerate.
2138 * configure.in: Regenerate.
2139 * include/c_std/bits/std_cstdio.h: Alphabetize lists.
2140 (snprintf): Put C99 functions into __gnu_cxx namespace.
2145 * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
2146 for C99 functions within _GLIBCPP_USE_C99 guard.
2150 * include/bits/locale_facets.tcc: Check if C99 is enabled.
2151 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
2153 * include/c_std/bits/cmath.tcc: Formatting tweak.
2154 * include/c_std/bits/std_cmath.h: Same.
2156 2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
2158 * include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
2160 2001-06-09 Alexandre Oliva <aoliva@redhat.com>
2161 Stephen L Moshier <moshier@mediaone.net>
2163 * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
2164 nothing, as in autoconf 2.50.
2165 * configure: Rebuilt.
2167 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
2169 * include/c_std/bits/std_cwchar.h: Remove size_t injection,
2170 include std_cstddef.
2171 * include/c_std/bits/std_ctime.h: Same.
2172 * include/c_std/bits/std_cstring.h: Same.
2173 * include/c_std/bits/std_cstdlib.h: Same.
2175 * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
2176 * include/c_std/bits/std_cctype.h: Remove isblank.
2178 2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
2180 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
2182 * aclocal.m4: Regenerate.
2183 * configure: Regenerate.
2184 * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
2185 injection, guard fgetwc, fgetws.
2186 * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
2187 * include/c_std/bits/std_clocale.h: And here.
2188 * include/c_std/bits/std_cctype.h: And here.
2189 * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
2191 * config/basic_file_stdio.h: Don't include unistd.h.
2192 * config/c_io_stdio.h: Don't use compatibility headers.
2193 * libsupc++/eh_terminate.cc: Qualify abort.
2194 (__terminate): And here.
2195 * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
2197 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
2199 * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
2201 2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
2206 * include/std/*: Add copyright notice.
2207 * include/c_std/bits/*: Use using statements instead of extern "C".
2208 * include/c_std/bits/std_cmath.h: Don't overload double versions
2209 of math functions with __buitin versions, use global version to
2210 prevent ambiguities. Remove define hacks.
2211 * include/c_std/bits/std_cwchar.h: Using declarations for "C"
2212 functions that have changed signatures and std::
2213 declarations. Remove define hacks.
2214 * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
2215 __builtins in std::. Remove define hacks.
2216 * testsuite/17_intro/headers_c.cc: Add tests.
2217 * testsuite/17_intro/headers_c++.cc: Add test.
2219 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
2220 John David Anglin <dave@hiauly1.hia.nrc.ca>
2223 * libsupc++/eh_alloc.cc: Ensure that required macros are
2224 defined before including gthr.h. Ensure that we get the
2225 version of gthr.h for which we know how to provide a
2227 * libsupc++/eh_globals.cc: Likewise. And, bring the threading
2228 code path into line with the current EH model. Use std, where
2231 2001-06-07 Loren J. Rittle <ljrittle@acm.org>
2232 John David Anglin <dave@hiauly1.hia.nrc.ca>
2234 * config/threads-no.h: Remove file.
2235 * config/threads-posix.h: Remove file.
2237 * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
2238 (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
2239 (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
2240 * config.h.in: Regenerate.
2242 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
2243 setup and use gthr*.h files. In particular, make gthr.h files
2244 namespace-clean in the staging area (they don't have to be for
2246 * aclocal.m4: Regenerate.
2247 * configure: Regenerate.
2249 * src/Makefile.am (build_headers): Remove bits/c++threads.h
2250 and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
2251 * src/Makefile.in: Regenerate.
2253 * include/bits/c++config: Cleanup threading configuration macros.
2254 In particular, define __STL_GTHREADS macro which controls...
2255 * include/bits/stl_threads.h: ...a brand new gthr.h-based
2258 * config/c_io_stdio.h: Include staged gthr.h instead of local
2259 thread configuration file. Always use __gthread_mutex_t
2260 instead of __mutext_type (or int).
2261 * include/bits/std_fstream.h: Likewise.
2263 * docs/html/17_intro/howto.html: Remove placeholder comment in
2264 case this configuration patch didn't make it. Add advice that
2265 section only applies if configured with --enable-threads.
2266 * docs/html/23_containers/howto.html: Reword to make clear
2267 that _PTHREADS is no longer required for any port to be
2268 correctly using STL with threads. Add advice that section
2269 only applies if configured with --enable-threads.
2271 2001-06-06 Benjamin Kosnik <bkoz@redhat.com>
2273 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
2275 2001-06-05 Benjamin Kosnik <bkoz@redhat.com>
2278 * include/bits/basic_ios.tcc: Formatting tweaks.
2279 * include/bits/ios_base.h: Formatting tweaks.
2280 * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here.
2281 (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors.
2282 * src/globals.cc: Allocate filebufs for standard streams here.
2283 (buf_cout, buf_cin, buf_cerr): Like so.
2284 (buf_wcout, buf_wcin, buf_wcerr): And so.
2285 * testsuite/27_io/ios_init.cc: Add.
2287 2001-06-04 Brendan Kehoe <brendan@zen.org>
2288 Benjamin Kosnik <bkoz@redhat.com>
2291 * include/bits/locale_facets.h (ctype<_CharT>): Add definitions
2292 for generic ctype virtuals.
2293 * src/locale.cc: Minor tweaks, naming consistency.
2294 * testsuite/22_locale/ctype.cc: Add test.
2296 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com>
2297 Phil Edwards <pme@sources.redhat.com>
2299 PR libstdc++/3035 and PR libstdc++/3036
2300 * include/bits/stl_pair.h: Fix pair ctor and make_pair according
2301 to LWG DR 181 and 265.
2303 2001-06-04 Phil Edwards <pme@sources.redhat.com>
2306 * include/bits/stl_multiset.h (find, lower_bound, upper_bound,
2307 equal_range): Add const overloads as per LWG DR 214.
2308 * include/bits/stl_set.h: Likewise.
2310 2001-06-04 Brendan Kehoe <brendan@zen.org>
2311 Phil Edwards <pme@sources.redhat.com>
2314 * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb
2315 comparison; all positions must be < _Nb.
2316 * testsuite/23_containers/bitset_members.cc: New file.
2318 2001-06-04 Brendan Kehoe <brendan@zen.org>
2321 * include/bits/stl_queue.h (classes queue, priority_queue): Fix
2322 ctors to match the standard.
2324 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
2326 * include/bits/char_traits.h (move): Reverse qualification of
2328 (copy): Reverse qualification of memcpy with std::.
2330 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com>
2332 * include/bits/char_traits.h (move): Qualify memmove with std::.
2333 (copy): Qualify memcpy with std::.
2334 * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and
2337 * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise.
2339 2001-06-04 Hans-Peter Nilsson <hp@axis.com>
2341 * libsupc++/Makefile.am (install-glibcppinstallHEADERS,
2342 uninstall-glibcppinstallHEADERS): Have explicit rules catering to
2343 SUN make VPATH peculiarities.
2344 * libsupc++/Makefile.in: Regenerate.
2346 2001-06-01 Hans-Peter Nilsson <hp@axis.com>
2348 * src/Makefile.am (VPATH): Delimit with ":", not space.
2349 * src/Makefile.in: Regenerate.
2351 * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
2353 * configure: Regenerate.
2355 2001-05-31 scott snyder <snyder@fnal.gov>
2358 * include/bits/istream.tcc: Include std_ostream.h.
2360 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
2363 * src/bitset.cc: Qualify size_t with std::.
2365 2001-05-30 Benjamin Kosnik <bkoz@redhat.com>
2367 * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
2368 (_GLIBCPP_BUGGY_COMPLEX): Remove.
2369 * config.h.in: Regenerate.
2370 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
2371 * aclocal.m4: Regenerate.
2372 * configure.in: Don't call it.
2373 * configure: Regenerate.
2376 * src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
2377 * testsuite/26_numerics/complex_inserters_extractors.cc (test01):
2381 * include/bits/std_complex.h: Include sstream. Put definitions for
2382 complex inserters and extractors here, and remove them from...
2383 * src/complex_io.cc: ...here.
2384 * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
2386 (basic_ios::__numget_type): Same.
2387 * include/bits/std_istream.h: Same.
2388 * include/bits/std_ostream.h: Same.
2389 * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
2390 class iterator template arguments.
2391 * src/locale-inst.cc: Add explicit has_facet instantiations.
2392 * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
2393 (_M_get_fnumput): Remove.
2394 (_M_get_fnumget): Remove.
2395 (basic_ios::_M_check_facet): New function.
2396 (basic_ios::_M_cache_facets): New function.
2397 * include/bits/basic_ios.tcc: Definition for _M_cache_facets.
2398 (basic_ios::imbue): Call _M_cache_facets.
2399 (basic_ios::init): Same.
2400 * include/bits/istream.tcc: Format, use _M_check_facet.
2401 * include/bits/ostream.tcc: Same.
2402 * include/bits/locale_facets.tcc (__output_float): Change
2403 signature, add _Traits.
2404 * testsuite/26_numerics/complex_inserters_extractors.cc (test02):
2407 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
2409 * include/bits/c++config (__USE_MALLOC): Do not define it.
2410 Document why not and give pointers to more information.
2412 * docs/html/23_containers/howto.html: Update documentation
2413 to reflect recent understanding of problem.
2414 * docs/html/17_intro/howto.html: Likewise.
2416 2001-05-30 Phil Edwards <pme@sources.redhat.com>
2418 * docs/doxygen/user.cfg.in: Minor addition.
2419 * docs/html/documentation.html: Reorganize. Put most-looked-at
2421 * docs/html/install.html: Update for 3.0. HTML fixups.
2422 * docs/html/17_intro/howto.html: Likewise.
2423 * docs/html/18_support/howto.html: Likewise.
2424 * docs/html/19_diagnostics/howto.html: Likewise.
2425 * docs/html/20_util/howto.html: Likewise.
2426 * docs/html/23_containers/howto.html: Likewise.
2427 * docs/html/24_iterators/howto.html: Likewise. More notes.
2428 * docs/html/25_algorithms/howto.html: Likewise.
2429 * docs/html/26_numerics/howto.html: Likewise. More notes.
2430 * docs/html/27_io/howto.html: Likewise.
2431 * docs/html/ext/howto.html: Likewise.
2432 * docs/html/faq/index.html: Likewise.
2433 * docs/html/faq/index.txt: Regenerate.
2434 * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of
2435 Doxygen-created documentation.
2437 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2439 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
2440 get_multilibs to find gcc.
2442 2001-05-30 Phil Edwards <pme@sources.redhat.com>
2444 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
2445 * aclocal.m4: Regenerate.
2446 * configure: Regenerate.
2448 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2450 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
2451 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
2453 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2455 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
2456 * include/c_std/bits/std_cstdlib.h: Same.
2457 * include/c_std/bits/std_cwchar.h: Same.
2459 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
2461 * docs/html/17_intro/howto.html: Update link.
2462 * docs/html/23_containers/howto.html: Likewise. Add new link.
2464 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
2466 * include/c_std/bits/std_cmath.h (sqrt): #undef.
2468 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2470 * mknumeric_limits: Stop if gen-num-limits dies.
2472 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
2475 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
2476 * aclocal.m4: Regenerate.
2479 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2480 Phil Edwards <pme@sources.redhat.com>
2481 Alexandre Oliva <aoliva@redhat.com>
2483 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
2484 in an amd-safe manner. Revert glibcpp_prefixdir.
2486 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
2488 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
2489 fabs, sin, sqrt. They are now implemented in terms of __builtin_
2492 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
2495 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
2496 * include/bits/ostream.tcc: Format to match istream.tcc.
2497 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
2499 2001-05-24 Phil Edwards <pme@sources.redhat.com>
2501 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
2503 (__cxa_free_exception): Likewise with free.
2505 2001-05-24 Mark Mitchell <mark@codesourcery.com>
2507 * include/c_std/bin/std_cstring.h: #define away all global
2508 functions we will redeclare in namespace `std'.
2509 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
2510 std::memset, instead of memset.
2511 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
2513 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
2516 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
2519 * include/bits/basic_ios.tcc: Small tweak.
2520 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
2521 ctors and dtors, and rdbuf settings.
2524 * include/bits/std_sstream.h: Same, but for stringstream classes.
2525 * testsuite/27_io/ostringstream_members.cc: New.
2526 * testsuite/27_io/stringstream_members.cc: New.
2527 * testsuite/27_io/fstream_members.cc: New.
2528 * testsuite/27_io/ifstream_members.cc: Add test.
2529 * testsuite/27_io/istringstream_members.cc: Add test.
2530 * testsuite/27_io/ofstream_members.cc: Add test.
2532 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2534 * include/bits/c++config(__NO_MATH_INLINES): Move to...
2535 * config/os/gnu-linux/bits/os_defines.h: ...here.
2537 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
2539 * include/bits/c++config (__NO_MATH_INLINES): New macro.
2540 * testsuite/26_numerics/fabs_inline.cc (main): New test.
2542 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
2545 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
2547 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
2548 (libstdc++-v3-finish): Remove.
2549 (libstdc++-v3_exit): Remove.
2551 2001-05-22 Phil Edwards <pme@sources.redhat.com>
2553 * docs/html/documentation.html: Point to doxygen output.
2555 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
2557 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
2559 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
2560 arguments to be non-null.
2561 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
2562 try allocations if allocated size is greater than zero.
2563 (filebuf::_M_filebuf_init): Change to
2564 (filebuf::_M_allocate_file): Which is what it does now.
2565 (filebuf::_M_allocate_bufers): Change to
2566 (filebuf::_M_allocate_internal_buffer): This, and create
2567 (filebuf::_M_allocate_pback_buffer): New.
2568 (filebuf::_M_destroy_internal_buffer): New.
2569 (filebuf::_M_buf_allocated): New data member.
2570 (filebuf::setbuf): Use new logic, allow use of external buffer.
2571 * testsuite/27_io/stringbuf_virtuals.cc: New file.
2572 * testsuite/27_io/filebuf_virtuals.cc: New file.
2574 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
2576 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
2578 (strchr): Same, but to __glibcpp_strchr.
2582 * include/c_std/bits/std_cwchar.h (wcschr): Same.
2588 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
2590 * testsuite/21_strings/c_strings.cc (main): Fix.
2592 2001-05-19 Phil Edwards <pme@sources.redhat.com>
2594 * acinclude.m4: Fix --help spacing, correct comments.
2595 * aclocal.m4: Regenerate.
2596 * configure: Regenerate.
2597 * mkcheck.in: Add usage comments.
2598 * docs/html/documentation.html: Point to doxygen'd tarball.
2600 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
2602 * testsuite/README: Add notes.
2604 * src/Makefile.am (libstdc++.INC): Remove.
2605 * src/Makefile.in: Regenerate.
2607 Phil Edwards <pedwards@disaster.jaj.com>
2608 * mkcheck.in: Add missing '#'.
2610 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
2612 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
2613 appropriately for remote testing and testing installed files without
2616 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
2618 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
2619 amd glibcpp_prefixdir with absolute paths.
2621 * include/bits/c++config (__GLIBCPP__): Bump.
2622 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
2624 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
2626 * include/bits/std_valarray.h (valarray<>::operator[] const):
2627 Return a const reference.
2628 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
2630 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
2632 * configure.target (ATOMICITYH): Actually use AIX-specific code on
2633 earlier versions of AIX 4.*.
2635 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
2637 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
2638 output_file based on the name of the testcase.
2640 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
2642 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
2643 gluefile and use it if needs_status_wrapper is set.
2645 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
2647 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
2650 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
2652 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
2653 on earlier versions of AIX.
2655 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
2657 * testsuite_flags.in (query): Add backwards, ext directories.
2659 2001-05-15 Mark Mitchell <mark@codesourcery.com>
2661 * porting.texi: Correct documentation about handling
2662 _LARRGEFILE_SOURCE and its ilk.
2663 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
2664 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
2666 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
2667 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2669 2001-05-15 Zack Weinberg <zackw@stanford.edu>
2671 * testsuite/21_strings/inserters_extractors.cc,
2672 testsuite/27_io/istream_unformatted.cc,
2673 testsuite/27_io/stringstream.cc:
2674 Replace multi-line string constants with C89-style
2675 concatenated string constants.
2677 2001-05-14 Richard Henderson <rth@redhat.com>
2679 * mknumeric_limits: Build with -fno-exceptions.
2681 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
2683 Switch over to new harness.
2684 * testsuite_flags.in: Tweaks via Gaby.
2685 * testsuite/Makefile.am: Change tool to libstdc++-v3.
2686 (EXPECT): Quote directly.
2688 * configure.in: Output testsuite_flags.
2689 * acinclude.m4: Substitute src, bld, and prefix dirs.
2690 Remove glibcpp_expect, glibcpp_runtestflags.
2691 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
2692 * mkcheck.in: Port to new interface.
2694 * aclocal.m4: Regerate.
2695 * configure: Regnerate.
2696 * Makefile.in: Regnerate.
2697 * */Makefile.in: Regenerate.
2699 * tests_flags.in: Remove.
2700 * testsuite/lib/libstdc++.exp: Remove.
2701 * testsuite/libstdc++.tests/tests.exp: Remove.
2703 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
2705 * configure.target: Remove detection of AIX pthread multilib, now
2706 obtained from `gcc -v'.
2708 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
2710 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
2711 size. Add hpux case for HP size.
2713 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
2715 * testsuite_flags.in: New, simplified interface.
2716 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
2717 * testsuite/libstdc++-v3.dg: Add.
2718 * testsuite/libstdc++-v3.dg/dg.exp: Add.
2720 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
2722 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
2723 * testsuite/config/default.exp: Update bugs email address.
2725 2001-05-11 Richard Henderson <rth@redhat.com>
2727 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
2728 all pointer encoding logic.
2729 (struct lsda_header_info): Add ttype_base.
2730 (get_ttype_entry): Use it instead of a context.
2731 (check_exception_spec): Likewise.
2732 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
2733 the c++ exception header for __cxa_call_unexpected.
2734 (__cxa_call_unexpected): Use it.
2736 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
2738 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
2739 libgloss_link_flags to find crt0.o for targets that use libgloss
2741 Change LDFLAGS to LIBS.
2742 Consistently name procedures libstdc++-XXX.
2743 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
2745 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
2747 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
2752 * include/c_std/bits/std_cwchar.h (wcschr): Same.
2757 * testsuite/21_strings/c_strings.cc: Add tests.
2759 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
2762 * include/bits/std_fstream.h (basic_filebuf): Change signature.
2763 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
2764 to int_type, pass in buffer size info.
2765 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
2766 unbuffered situation.
2767 (underflow): Remove codecvt bits for the time being.
2768 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
2769 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
2770 values from iterators, clean.
2771 * src/locale.cc: Ditto.
2772 * include/bits/sbuf_iter.h: Format.
2773 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
2774 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
2775 * testsuite/27_io/filebuf.cc: Tweaks.
2776 * testsuite/27_io/filebuf_members.cc: Tweaks.
2778 2001-05-07 Mark Mitchell <mark@codesourcery.com>
2780 * config/os/solaris/solaris2.7/bits/os_defines.h
2781 (_LARGEFILE_SOURCE): Define it.
2783 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
2785 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
2786 -prefer-non-pic depending on whether libtool has shared libraries
2787 enabled or disabled.
2788 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
2789 $(LIBSUPCXX_PICFLAGS).
2790 * configure, */Makefile.in: Rebuilt.
2792 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
2794 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
2795 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
2797 * include/bits/std_sstream.h (stringbuf): Leak
2799 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
2801 2001-05-01 Tom Browder <tbrowder@home.com>
2803 * docs/html/ext/howto.html: Fix typo.
2805 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
2807 * testsuite/libstdc++.tests/tests.exp: Add comment.
2809 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
2811 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
2813 2001-04-30 Mark Mitchell <mark@codesourcery.com>
2815 * porting.texi: Use the GFDL.
2817 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
2820 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
2821 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
2824 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
2827 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
2829 2001-04-28 Phil Edwards <pme@sources.redhat.com>
2831 * docs/doxygen/run_doxygen: Minor tweaks.
2832 * docs/doxygen/style.css: New file.
2833 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
2834 latest parameters available. Use style.css.
2836 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
2838 * docs/doxygen/mainpage.doxy: New.
2839 * docs/doxygen/user.cfg.in: Change default configuration. Single
2840 frame, other tweaks.
2842 2001-04-26 Mark Mitchell <mark@codesourcery.com>
2844 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
2845 Indicate obsolete nature of thelist for G++ 3.0.
2847 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
2849 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
2850 target_thread_file with `gcc -v'.
2851 * aclocal.m4, configure: Rebuilt.
2853 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
2855 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
2856 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
2857 * include/c_std/bits/std_cwchar.h (std): Same.
2858 * acconfig.h (std): Remove c99 injection into std.
2859 * config.h.in: Regenerate.
2861 * testsuite/README: Fix typo.
2863 * include/bits/codecvt.h: Remove warnings.
2865 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2867 * include/ext/slist: Include required header files.
2869 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
2871 * include/c_std/bits/std_cerrno.h (errno): Define macro from
2872 identifier declared with external linkage, if needed.
2873 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
2874 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
2876 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
2878 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
2879 re-configures find the build compiler.
2880 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
2882 * aclocal.m4: Regenerate.
2883 * configure: Regenerate.
2885 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
2887 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
2888 support is enabled correctly before long long is activated.
2889 * aclocal.m4: Regenerate.
2890 * configure: Regenerate.
2892 * include/backward/backward_warning.h: Format correctly.
2894 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
2895 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
2896 * testsuite/26_numerics/c99_macros.cc: Remove.
2898 2001-04-20 Phil Edwards <pme@sources.redhat.com>
2900 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
2901 __iterator_category.
2903 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
2905 * acconfig.h (_GLIBCPP_USE_C99): Add.
2906 * config.h.in: Regenerate.
2907 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
2909 * aclocal.m4: Regenerate.
2910 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
2911 * configure: Regenerate.
2912 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
2913 * configure: Regenerate.
2914 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
2916 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
2918 * include/c_std/bits/std_cstdlib.h: Same.
2919 * docs/html/configopts.html: Update.
2920 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
2922 (test_c99_classify): Add.
2923 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
2924 (_ISOC99_SOURCE): Remove.
2926 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
2927 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
2928 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
2929 * aclocal.m4: Regenerate.
2930 * configure: Regenerate.
2932 2001-04-19 Phil Edwards <pme@sources.redhat.com>
2934 * Makefile.am (doxygen): Assume script is missing execute perms.
2935 * Makefile.in: Regenerated.
2936 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
2938 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
2940 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
2942 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
2944 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
2945 * testsuite/23_containers/set_operators.cc: Same.
2947 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
2949 (__GLIBCPP__): Bump from value of last release.
2950 * include/bits/concept_check.h: Default to off, edit comments.
2951 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
2952 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
2953 * src/Makefile.in: Regenerate.
2955 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
2957 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
2958 Properly uglify member.
2960 2001-04-13 Phil Edwards <pme@sources.redhat.com>
2962 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
2966 2001-04-13 Phil Edwards <pme@sources.redhat.com>
2968 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
2969 * include/bits/concept_check.h: Uglify.
2970 * include/bits/stl_algo.h: Likewise.
2971 * include/bits/stl_algobase.h: Likewise.
2972 * include/bits/stl_deque.h: Likewise.
2973 * include/bits/stl_heap.h: Likewise.
2974 * include/bits/stl_iterator_base_funcs.h: Likewise.
2975 * include/bits/stl_list.h: Likewise.
2976 * include/bits/stl_map.h: Likewise.
2977 * include/bits/stl_multimap.h: Likewise.
2978 * include/bits/stl_multiset.h: Likewise.
2979 * include/bits/stl_numeric.h: Likewise.
2980 * include/bits/stl_queue.h: Likewise.
2981 * include/bits/stl_set.h: Likewise.
2982 * include/bits/stl_stack.h: Likewise.
2983 * include/bits/stl_vector.h: Likewise.
2984 * include/ext/hash_map: Likewise.
2985 * include/ext/hash_set: Likewise.
2986 * include/ext/slist: Likewise.
2988 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
2990 * testsuite/23_containers/set_operators.cc: Just try to compile.
2992 * testsuite/23_containers/map_operators.cc: Same.
2994 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
2996 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
2998 (dg-test): Revert rth's change.
3000 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
3002 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
3003 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
3005 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
3007 * testsuite/README: Add DejaGnu specific documentation.
3009 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
3011 * acinclude.m4: AC_CHECK_TOOL for expect.
3012 * aclocal.m4: Regenerate.
3013 * configure: Regenerate.
3014 * testsuite/Makefile.am (RUNTEST): Use substituted.
3017 * configure.in: Remove xcompiling substitution.
3018 * tests_flags.in (CROSS_LIB_PATH): Remove.
3019 (xcompiling): Remove.
3020 (CXX): Use substituted CXX.
3022 2001-04-11 Richard Henderson <rth@redhat.com>
3024 * testsuite/lib/libstdc++.exp: Specify path for output_file.
3026 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
3028 * include/bits/std_valarray.h(valarray<>::operator[]): Make
3031 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
3033 * testsuite/25_algorithms/equal.cc: New test.
3035 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
3037 * stl_algobase.h (std::equal): avoid use of possibly-undefined
3038 operator != (one line patch).
3040 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3042 * include/backward/backward_warning.h: Re-enable.
3044 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3045 Alexandre Oliva <aoliva@redhat.com>
3047 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
3049 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
3051 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
3052 * testsuite/26_numerics/c99_macros.cc: Add test.
3054 2001-04-06 Phil Edwards <pme@sources.redhat.com>
3056 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
3057 * docs/html/faq/index.txt: Regenerated.
3059 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
3061 * include/backward/backward_warning.h: Temporarily disable until
3062 g++ testsuite changes go in.
3063 * tests_flags.in (CROSS_LIB_PATH): Add.
3065 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3067 Warn when using backward headers.
3068 * include/backward/algo.h: Include warning file.
3069 * include/backward/vector.h: Same.
3070 * include/backward/tree.h: Same.
3071 * include/backward/tempbuf.h: Same.
3072 * include/backward/strstream: Same.
3073 * include/backward/streambuf.h: Same.
3074 * include/backward/stream.h: Same.
3075 * include/backward/stack.h: Same.
3076 * include/backward/slist.h: Same.
3077 * include/backward/set.h: Same.
3078 * include/backward/rope.h:
3079 * include/backward/queue.h: Same.
3080 * include/backward/pair.h: Same.
3081 * include/backward/ostream.h: Same.
3082 * include/backward/new.h: Same.
3083 * include/backward/multiset.h: Same.
3084 * include/backward/multimap.h: Same.
3085 * include/backward/map.h: Same.
3086 * include/backward/list.h: Same.
3087 * include/backward/iterator.h: Same.
3088 * include/backward/istream.h: Same.
3089 * include/backward/iostream.h:
3090 * include/backward/iomanip.h:
3091 * include/backward/heap.h: Same.
3092 * include/backward/hashtable.h:
3093 * include/backward/hash_set.h:
3094 * include/backward/hash_map.h:
3095 * include/backward/function.h:
3096 * include/backward/fstream.h:
3097 * include/backward/deque.h:
3098 * include/backward/defalloc.h: Same.
3099 * include/backward/complex.h: Same.
3100 * include/backward/bvector.h:
3101 * include/backward/alloc.h:
3102 * include/backward/algobase.h: Same.
3104 * include/backward/backward_warning.h: New file.
3105 * src/Makefile.am (backward_headers): Add backward_warning.h
3106 * src/Makefile.in: Regenerate.
3108 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3110 * src/Makefile.am (myinstalldirs): Make sure backward directory is
3112 (myinstallheaders): Install backward headers in backward directory.
3113 * src/Makefile.in: Regenerate.
3115 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
3117 Prepare for libstdc++-2.92.
3118 * docs/html/17_intro/RELEASE-NOTES (New): Update.
3119 * docs/html/configopts.html: Fix formatting.
3120 * README (file): Updates.
3121 * include/bits/c++config (__GLIBCPP__): Update.
3123 2001-04-05 Phil Edwards <pme@sources.redhat.com>
3125 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
3127 2001-04-04 Phil Edwards <pme@sources.redhat.com>
3129 * docs/doxygen/user.cfg.in: Extract all non-private members;
3130 reduce confusing documentation output.
3132 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
3134 * include/backward/fstream.h: Add missing semicolons.
3136 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
3138 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
3139 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
3140 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
3141 (ios_base::Init::_S_ios_create): New.
3142 (ios_base::Init::_S_ios_destroy): New.
3143 * include/bits/std_fstream.h: Change ctor args.
3144 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
3145 (ios_base::Init::~Init): Use _S_ios_destroy.
3146 (ios_base::sync_with_stdio): Use new members.
3147 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
3150 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3152 * include/backward/fstream.h: Expose streampos to global
3155 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3157 * include/bits/stl_iterator_base_types.h: Fix typo
3159 2001-04-03 Andreas Schwab <schwab@suse.de>
3161 * include/backward/fstream.h: Define filebuf and wfilebuf.
3163 2001-04-02 Phil Edwards <pme@sources.redhat.com>
3165 New concept checking implementation.
3166 * docs/html/19_diagnostics/howto.html: Document.
3167 * docs/html/17_intro/concept_check.diff: New file, for reference.
3168 * include/bits/boost_concept_check.h: New file from Boost.
3169 * include/bits/c++config: Update comments.
3171 * include/bits/concept_check.h: New file.
3172 * include/bits/concept_checks.h: Removed.
3173 * include/bits/container_concepts.h: Removed.
3174 * include/bits/sequence_concepts.h: Removed.
3175 * include/bits/stl_iterator_base.h: Removed; split into...
3176 * include/bits/stl_iterator_base_funcs.h: ...this new file...
3177 * include/bits/stl_iterator_base_types.h: ...and this new file.
3179 * include/bits/sbuf_iter.h: Update to use new implementation.
3180 * include/bits/std_iterator.h: Likewise.
3181 * include/bits/std_memory.h: Likewise.
3182 * include/bits/stl_algo.h: Likewise.
3183 * include/bits/stl_algobase.h: Likewise.
3184 * include/bits/stl_construct.h: Likewise.
3185 * include/bits/stl_deque.h: Likewise.
3186 * include/bits/stl_heap.h: Likewise.
3187 * include/bits/stl_list.h: Likewise.
3188 * include/bits/stl_map.h: Likewise.
3189 * include/bits/stl_multimap.h: Likewise.
3190 * include/bits/stl_multiset.h: Likewise.
3191 * include/bits/stl_numeric.h: Likewise.
3192 * include/bits/stl_queue.h: Likewise.
3193 * include/bits/stl_set.h: Likewise.
3194 * include/bits/stl_stack.h: Likewise.
3195 * include/bits/stl_uninitialized.h: Likewise.
3196 * include/bits/stl_vector.h: Likewise.
3197 * include/ext/hash_map: Likewise.
3198 * include/ext/hash_set: Likewise.
3199 * include/ext/slist: Likewise.
3200 * include/ext/stl_hashtable.h: Likewise.
3202 * src/Makefile.am (base_headers): Update list of headers.
3203 * Makefile.in: Regenerated.
3204 * src/Makefile.in: Regenerated.
3205 * libio/Makefile.in: Regenerated.
3206 * libmath/Makefile.in: Regenerated.
3207 * libsupc++/Makefile.in: Regenerated.
3208 * testsuite/Makefile.in: Regenerated.
3210 * docs/html/install.html: Update contact information.
3211 * docs/html/17_intro/howto.html: Ditto.
3212 * docs/html/18_support/howto.html: Ditto.
3213 * docs/html/20_util/howto.html: Ditto.
3214 * docs/html/21_strings/howto.html: Ditto.
3215 * docs/html/22_locale/howto.html: Ditto.
3216 * docs/html/23_containers/howto.html: Ditto.
3217 * docs/html/24_iterators/howto.html: Ditto.
3218 * docs/html/25_algorithms/howto.html: Ditto.
3219 * docs/html/26_numerics/howto.html: Ditto.
3220 * docs/html/27_io/howto.html: Ditto.
3221 * docs/html/faq/index.html: Ditto, plus info on new checking code.
3222 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
3223 * docs/html/faq/index.txt: Regenerated.
3225 2001-04-02 Zack Weinberg <zackw@stanford.edu>
3227 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
3228 messages with $which_library as well as $tool_flags and
3229 ${dg-extra-tool-flags}. Factor out annotation text into
3232 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
3234 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
3235 * include/c_std/bits/std_cwchar.h: Same.
3236 * testsuite/21_strings/c_strings.cc: Add.
3238 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
3240 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
3242 2001-04-01 Zack Weinberg <zackw@stanford.edu>
3244 * tests_flags.in: Use test a = b, not test a == b which is not
3247 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
3249 * configure.target: Remove duplicate aix entry.
3251 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
3253 * include/ext/stl_bvector.h: Move to...
3254 * include/bits/stl_vector.h: ...here.
3255 * include/ext/bvector: Move to...
3256 * include/backward/bvector.h: ...here.
3257 * include/bits/std_vector.h: Change stl_bvector include.
3258 * include/bits/std_queue.h: Remove bvector include.
3259 * include/ext/tree: Insert using rb_tree, move to...
3260 * include/backward/tree.h: ...here.
3261 * include/backward/hash_map.h: Include ext/hash_map.
3262 * include/backward/hash_set.h: Include ext/hash_set.
3263 * include/backward/queue.h: New file.
3264 * include/backward/stack.h: Edit.
3265 * include/backward/algo.h: Same.
3266 * include/backward/algobase.h: Same.
3267 * include/backward/alloc.h: Same.
3268 * include/backward/function.h: Same.
3269 * include/backward/iomanip.h: Same.
3270 * include/backward/istream.h: Same.
3271 * include/backward/iterator.h: Same.
3272 * include/backward/list.h: Same.
3273 * include/backward/map.h: Same.
3274 * include/backward/multimap.h: Same.
3275 * include/backward/multiset.h: Same.
3276 * include/backward/ostream.h: Same.
3277 * include/backward/pair.h: Same
3278 * include/backward/rope.h: Same.
3279 * include/backward/set.h: Same.
3280 * include/backward/stream.h: Same.
3281 * include/backward/strstream.h: Same.
3282 * include/backward/tempbuf.h: Same.
3283 * src/Makefile.am (ext_headers): Edit.
3284 * src/Makefile.in: Regenerate.
3285 * testsuite/ext/headers.cc (main): Fix.
3288 2001-03-30 Phil Edwards <pme@sources.redhat.com>
3290 * tests_flags.in (LIBS): Pass correct path for installed testing.
3292 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
3294 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
3295 * tests_flags.in (CXX): Construct here.
3296 (static_fail): Don't remove compile.out. Format with spaces.
3297 (INCLUDES): Deal with xcompiling.
3298 * configure.in (xcompiling): Substitute.
3299 * testsuite/Makefile.am: Snake libjava configury.
3300 * testsuite/Makefile.in: Regenerate.
3301 * testsuite/23_containers/map_operators.cc: Tweaks.
3302 * testsuite/23_containers/set_operators.cc: Tweaks.
3304 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3306 Enable dejagnu testing framework.
3307 * configure.in: Generate testsuite/Makefile.
3308 * configure: Regenerate.
3309 * Makefile.am (check-install): Change rule from this...
3310 (check-script-install): ...to this.
3311 (check): Change rule from this...
3312 (check-script):...to this.
3313 * Makefile.in: Regenerate.
3315 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
3317 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
3319 (LIBTOOL): Let automake take care of its definition.
3320 * libsupc++/Makefile.in: Rebuilt.
3322 2001-03-28 Richard Henderson <rth@redhat.com>
3324 IA-64 ABI Exception Handling:
3325 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
3326 * configure.in: Use it.
3327 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
3328 * libsupc++/Makefile.am (sources): Update files list.
3329 * libsupc++/Makefile.in: Regenerate.
3330 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
3331 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
3332 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
3333 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
3334 * libsupc++/exception_support.cc: Remove.
3335 * libsupc++/exception_support.h: Remove.
3336 * libsupc++/pure.cc: Use std::terminate.
3337 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
3338 (__is_pointer): Remove.
3339 * libsupc++/unwind-cxx.h: New file.
3340 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
3342 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
3344 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
3346 * src/Makefile.am (CXXLINK): Likewise.
3347 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
3349 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
3351 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
3353 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3355 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
3358 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
3360 * include/bits/basic_file.h (get_fileno): Remove.
3361 (_M_fileno): Remove.
3362 (_M_cfile_created): Add.
3363 (basic_file::basic_file(__c_file_type*, openmode): Add.
3364 (basic_file::basic_file(int, const char*, openmode): Remove.
3365 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
3366 const char*, ios_base::openmode): Don't allocate
3367 internal buffers. Turn off internal buffers.
3368 (basic_filebuf::overflow): Remove test for null buffer.
3369 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
3370 * include/bits/streambuf.cc: Tweak.
3371 * include/bits/std_ostream.h: Tweak.
3372 * config/basic_file_libio.h: Same.
3373 * config/basic_file_stdio.h: Same.
3374 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
3375 * testsuite/27_io/filebuf_members.cc: Tweaks.
3376 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
3378 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3380 * Makefile.am: New targets, doxygen and doxygen-maint.
3381 * Makefile.in: Regenerated.
3382 * docs/doxygen/run_doxygen: Finally implemented.
3383 * docs/doxygen/maint.cfg.in: New file.
3384 * docs/doxygen/user.cfg.in: New file.
3386 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3388 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
3389 * src/Makefile.am: Replace leading spaces with tabs on continuation
3391 * aclocal.m4: Regenerated.
3393 * Makefile.in: Ditto.
3394 * src/Makefile.in: Ditto.
3395 * libio/Makefile.in: Ditto.
3396 * libmath/Makefile.in: Ditto.
3397 * libsupc++/Makefile.in: Ditto.
3399 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3401 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
3402 concept-checking code and current status of same.
3403 * docs/html/ext/howto.html: Ditto.
3404 * docs/html/faq/index.html: Ditto.
3405 * docs/html/faq/index.txt: Regenerated.
3407 2001-03-24 Phil Edwards <pme@sources.redhat.com>
3409 * include/bits/std_bitset.h: Include ostream and istream headers
3410 instead of iostream.
3412 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
3414 * include/bits/ostream.tcc: Use __builtin_alloca.
3416 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
3418 * src/misc-inst.cc (__sink_unused_warning): Move to...
3419 * src/locale-inst.cc (__sink_unused_warning): Move to...
3420 * src/stl-inst.cc: Here.
3421 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
3424 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
3426 * intclude/bits/basic_file.h: Fix typos in comments.
3428 2001-03-20 Richard Henderson <rth@redhat.com>
3430 * src/gen-num-limits.cc: Instantiate for wchar_t.
3431 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
3433 2001-03-20 Jason Merrill <jason@redhat.com>
3435 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
3436 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
3437 * libsupc++/cxxabi.h: Declare it.
3439 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
3441 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
3442 signal_func with an unspecified argument list.
3444 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
3446 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
3448 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3450 * include/bits/basic_string.tcc (operator+): Fix thinko.
3452 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
3455 * include/bits/std_streambuf.h: Remove cached locale facets.
3456 (basic_streambuf::_M_buf_fctype): Remove.
3457 (basic_streambuf::~basic_streambuf): Remove here.
3458 (basic_streambuf::basic_streambuf): Same.
3459 (basic_streambuf::imbue): Same.
3460 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
3461 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
3462 (basic_filebuf::~basic_filebuf()): Remove here.
3463 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
3464 (basic_filebuf::imbue): Same.
3465 * include/bits/localefwd.h (_Count_ones): Remove.
3466 (locale::_S_num_categories): Just use 6, since this doesn't
3467 actually change, ever.
3468 * include/bits/locale_facets.tcc (has_facet): Simplify.
3470 * testsuite/27_io/filebuf.cc (test06): Add tests.
3472 2001-03-13 Steve Ellcey <sje@cup.hp.com>
3474 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
3475 match HP-UX ctype.h header file.
3477 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
3479 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
3480 duplicate definitions of __dj_ctype_*
3482 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
3484 * libsupc++/new: Remove pragma interface.
3485 * libsupc++/typeinfo: Same.
3486 * libsupc++/exception: Same.
3487 * libsupc++/new_handler.cc: Remove pragma implementation.
3488 (bad_alloc::~bad_alloc()): Add.
3489 * libsupc++/exception_support.cc: Same.
3490 (exception::~exception): Add.
3491 (bad_exception::~bad_exception): Add.
3492 * libsupc++/tinfo.cc: Same.
3493 (bad_cast::~bad_cast): Add.
3494 (bad_typeid::~bad_typeid): Add.
3496 2001-03-13 Phil Edwards <pme@sources.redhat.com>
3498 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
3500 2001-03-12 Felix Lee <flee@redhat.com>
3502 * mkcheck.in: workaround for bash 2.01 IFS bug.
3504 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
3506 Fixups for -fno-for-scope
3507 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
3508 * src/valarray-inst.cc (__gslice_to_index): Same.
3510 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
3512 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
3513 prior to trapping signal (UnixWare 7 workaround).
3515 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
3517 * include/backward/hashtable.h: Same.
3518 * include/backward/rope.h: Fix include.
3520 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
3522 * include/backward/vector.h: Include std_vector.h.
3524 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
3525 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
3528 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3530 * include/ext/stl_hashtable.h: Change type of __n to size_t
3531 * include/backward/bvector.h: Include <ext/stl_bvector.h>
3533 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3535 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
3536 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
3537 Use streamsize, not int_type.
3539 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
3541 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
3544 2001-03-08 Andreas Schwab <schwab@suse.de>
3546 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
3548 * aclocal.m4, configure: Regenerated.
3550 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
3552 * include/bits/std_iosfwd.h: Remove string forward decls here.
3553 * include/bits/stringfwd.h: Add forward decls for char_traits
3555 * config/c_io_libio.h (wstreamoff): Delete.
3556 * config/c_io_stdio.h (wstreamoff): Same.
3557 * include/bits/char_traits.h: Use streamoff not wstreamoff for
3558 char_traits<wchar_t>::off_type.
3559 Remove duplicate typedefs.
3560 * include/bits/fpos.h: Define streampos/wstreampos here.
3561 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
3564 Changeup output files.
3565 * testsuite/27_io/istream_unformatted.cc: Change output files.
3566 * testsuite/27_io/istream_seeks-1.txt: Add.
3567 * testsuite/27_io/istream_seeks-2.tst: Add.
3568 * testsuite/27_io/istream_seeks-1.tst: Add.
3569 * testsuite/27_io/istream_unformatted-2.tst: Delete.
3570 * testsuite/27_io/istream_unformatted-3.tst: Delete.
3571 * testsuite/27_io/istream_unformatted-3.txt: Delete.
3573 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
3575 Add Irix 5.2, 6.3 support.
3576 * config/os/irix/bits: Renamed to...
3577 * config/os/irix/irix6.5/bits: this.
3578 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
3579 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
3580 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
3581 * config/os/irix/irix5.2/bits/ctype_noninline.h
3582 (ctype<char>::ctype): Initialize _M_table with __ctype.
3583 * configure.target: Adjust.
3585 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
3588 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
3589 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
3591 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
3592 (*__pf)(__ios_type&)): Same.
3593 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
3594 (*__pf)(ios_base&))): Same.
3595 * testsuite/27_io/istream_extractor_other.cc: Add tests.
3596 * testsuite/27_io/istream_manip.cc (test01): Fix.
3598 2001-03-06 Nathan Myers <ncm@cantrip.org>
3599 Benjamin Kosnik <bkoz@redhat.com>
3601 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
3602 * testsuite/17_intro/header_cerrno.cc (test01): New file.
3603 * testsuite/17_intro/header_cassert.cc (test01): New file.
3604 * testsuite/17_intro/header_cstddef.cc (test01): New file.
3605 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
3606 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
3608 2001-03-05 scott snyder <snyder@fnal.gov>
3611 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
3613 * include/c_std/bits/std_cstdlib.h: ... to here.
3614 * testsuite/17_intro/header_cstdlib.cc: Add test.
3616 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
3618 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
3620 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
3622 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
3623 definition. Replace enum with static const variables.
3625 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
3626 throw specification, fix typos, use <static_cast>.
3627 (ctype<char>::scan_is): remove throw specification.
3628 (ctype<char>::scan_not): likewise.
3630 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
3631 (ctype<char>::do_toupper(char)): use <static_cast>.
3632 (ctype<char>::do_toupper(char *, const char *)): likewise.
3633 (ctype<char>::do_tolower(char)): likewise.
3634 (ctype<char>::do_tolower(char *, const char *)): likewise.
3636 2001-03-04 Phil Edwards <pme@sources.redhat.com>
3638 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
3639 * include/backward/algo.h: Use std not __STD. Remove unneeded
3640 macros and "never happens" code. Adjust to C++STYLE guidelines.
3641 * include/backward/algobase.h: Likewise.
3642 * include/backward/alloc.h: Likewise.
3643 * include/backward/bvector.h: Likewise.
3644 * include/backward/deque.h: Likewise.
3645 * include/backward/function.h: Likewise.
3646 * include/backward/hash_map.h: Likewise.
3647 * include/backward/hash_set.h: Likewise.
3648 * include/backward/hashtable.h: Likewise.
3649 * include/backward/heap.h: Likewise.
3650 * include/backward/iterator.h: Likewise.
3651 * include/backward/list.h: Likewise.
3652 * include/backward/map.h: Likewise.
3653 * include/backward/multimap.h: Likewise.
3654 * include/backward/multiset.h: Likewise.
3655 * include/backward/pair.h: Likewise.
3656 * include/backward/rope.h: Likewise.
3657 * include/backward/set.h: Likewise.
3658 * include/backward/slist.h: Likewise.
3659 * include/backward/stack.h: Likewise.
3660 * include/backward/strstream: Likewise.
3661 * include/backward/tempbuf.h: Likewise.
3662 * include/backward/tree.h: Likewise.
3663 * include/backward/vector.h: Likewise.
3664 * include/bits/basic_ios.h: Likewise.
3665 * include/bits/basic_ios.tcc: Likewise.
3666 * include/bits/basic_string.h: Likewise.
3667 * include/bits/c++config: Likewise.
3668 * include/bits/concept_checks.h: Likewise.
3669 * include/bits/fpos.h: Likewise.
3670 * include/bits/fstream.tcc: Likewise.
3671 * include/bits/functexcept.h: Likewise.
3672 * include/bits/ios_base.h: Likewise.
3673 * include/bits/istream.tcc: Likewise.
3674 * include/bits/mask_array.h: Likewise.
3675 * include/bits/ostream.tcc: Likewise.
3676 * include/bits/pthread_allocimpl.h: Likewise.
3677 * include/bits/sbuf_iter.h: Likewise.
3678 * include/bits/slice.h: Likewise.
3679 * include/bits/slice_array.h: Likewise.
3680 * include/bits/sstream.tcc: Likewise.
3681 * include/bits/std_bitset.h: Likewise.
3682 * include/bits/std_fstream.h: Likewise.
3683 * include/bits/std_iomanip.h: Likewise.
3684 * include/bits/std_ios.h: Likewise.
3685 * include/bits/std_istream.h: Likewise.
3686 * include/bits/std_iterator.h: Likewise.
3687 * include/bits/std_memory.h: Likewise.
3688 * include/bits/std_ostream.h: Likewise.
3689 * include/bits/std_sstream.h: Likewise.
3690 * include/bits/std_streambuf.h: Likewise.
3691 * include/bits/std_string.h: Likewise.
3692 * include/bits/std_valarray.h: Likewise.
3693 * include/bits/stl_algo.h: Likewise.
3694 * include/bits/stl_algobase.h: Likewise.
3695 * include/bits/stl_alloc.h: Likewise.
3696 * include/bits/stl_construct.h: Likewise.
3697 * include/bits/stl_deque.h: Likewise.
3698 * include/bits/stl_function.h: Likewise.
3699 * include/bits/stl_heap.h: Likewise.
3700 * include/bits/stl_iterator.h: Likewise.
3701 * include/bits/stl_iterator_base.h: Likewise.
3702 * include/bits/stl_list.h: Likewise.
3703 * include/bits/stl_map.h: Likewise.
3704 * include/bits/stl_multimap.h: Likewise.
3705 * include/bits/stl_multiset.h: Likewise.
3706 * include/bits/stl_numeric.h: Likewise.
3707 * include/bits/stl_pair.h: Likewise.
3708 * include/bits/stl_pthread_alloc.h: Likewise.
3709 * include/bits/stl_queue.h: Likewise.
3710 * include/bits/stl_raw_storage_iter.h: Likewise.
3711 * include/bits/stl_relops.h: Likewise.
3712 * include/bits/stl_set.h: Likewise.
3713 * include/bits/stl_stack.h: Likewise.
3714 * include/bits/stl_tempbuf.h: Likewise.
3715 * include/bits/stl_threads.h: Likewise.
3716 * include/bits/stl_tree.h: Likewise.
3717 * include/bits/stl_uninitialized.h: Likewise.
3718 * include/bits/stl_vector.h: Likewise.
3719 * include/bits/streambuf.tcc: Likewise.
3720 * include/bits/type_traits.h: Likewise.
3721 * include/bits/valarray_meta.h: Likewise.
3722 * include/ext/bvector: Likewise.
3723 * include/ext/hash_map: Likewise.
3724 * include/ext/hash_set: Likewise.
3725 * include/ext/ropeimpl.h: Likewise.
3726 * include/ext/slist: Likewise.
3727 * include/ext/stl_bvector.h: Likewise.
3728 * include/ext/stl_hash_fun.h: Likewise.
3729 * include/ext/stl_hashtable.h: Likewise.
3730 * include/ext/stl_rope.h: Likewise.
3731 * src/complex_io.cc: Likewise.
3732 * src/ios.cc: Likewise.
3733 * src/locale-inst.cc: Likewise.
3734 * src/locale.cc: Likewise.
3735 * src/localename.cc: Likewise.
3736 * src/misc-inst.cc: Likewise.
3737 * src/stdexcept.cc: Likewise.
3738 * src/stl-inst.cc: Likewise.
3739 * src/strstream.cc: Likewise.
3740 * src/valarray-inst.cc: Likewise.
3742 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
3744 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
3746 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3748 * include/bits/istream.tcc: change type of __extracted to __size_type
3750 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
3752 * src/wstring-inst.cc: New file.
3753 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
3754 (libinst_wstring_la_SOURCES): Remove.
3755 (libstdc___la_LIBADD): Remove libinst_wstring_la.
3756 (sources): Add wstring-inst.cc
3757 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
3760 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
3762 * src/locale.cc: initialise __ret with zero
3763 * src/strstream.cc:cast gptr to int_type
3765 2001-03-01 Phil Edwards <pme@sources.redhat.com>
3767 * docs/html/faq/index.html: Update broken links.
3768 * docs/html/faq/index.txt: Regenerated.
3770 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
3773 * configure.target: Change irix* to irix6.5* in target_os table.
3775 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
3778 * include/bits/c++config (__GLIBCPP__): Bump number in
3779 anticipation of 2.92.
3781 * include/bits/codecvt.h: Fix typo.
3782 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
3784 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
3785 instantiations for stdio model.
3787 2001-02-28 Phil Edwards <pme@sources.redhat.com>
3789 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
3790 and GLIBCPP_CXXFLAGS as unused variables.
3791 * configure.host: Likewise.
3792 * configure.target: Likewise.
3793 * aclocal.m4: Regenerated.
3794 * configure: Regenerated.
3795 * Makefile.in: Regenerated.
3796 * libio/Makefile.in: Regenerated.
3797 * libmath/Makefile.in: Regenerated.
3798 * libsupc++/Makefile.in: Regenerated.
3799 * src/Makefile.in: Regenerated.
3801 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
3804 * include/bits/basic_file.h: Include basic_file_model.h.
3805 * config/c_io_libio.cc: Move to...
3806 * config/basic_file_libio.cc: Here.
3807 * config/basic_file_libio.h: New file.
3808 * config/c_io_stdio.cc: Move to...
3809 * config/basic_file_stdio.cc: Here.
3810 * config/basic_file_stdio.h: New file.
3811 * config/c_io_libio.h: Tweak.
3812 * config/c_io_stdio.h: Tweak.
3813 * src/Makefile.am (build_headers): Add basic_file_model.h.
3814 (sources): Add basic_file.cc, remove c++io.cc.
3815 * src/Makefile.in: Regenerate.
3816 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
3817 basic_file_model.h and basic_file.cc.
3818 * aclocal.m4: Regenerate.
3819 * configure: Regenerate.
3820 * testsuite/27_io/filebuf.cc (test05): Add regression.
3822 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
3825 * config/cpu/alpha/bits/atomicity.h: Change.
3826 * config/cpu/arm/bits/atomicit3y.h
3827 * config/cpu/generic/bits/atomicity.h
3828 * config/cpu/i386/bits/atomicity.h
3829 * config/cpu/i486/bits/atomicity.h
3830 * config/cpu/ia64/bits/atomicity.h
3831 * config/cpu/powerpc/bits/atomicity.h
3832 * config/cpu/sparc/sparc32/bits/atomicity.h
3833 * config/cpu/sparc/sparc64/bits/atomicity.h
3834 * config/os/aix/bits/atomicity.h
3835 * config/os/irix/bits/atomicity.h
3837 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
3839 * include/bits/std_stdexcept.h (runtime_error): Make string
3841 (logic_error): Same.
3842 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
3845 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
3849 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
3850 string object, not reference.
3851 (runtime_error::runtime_error): Same.
3852 * testsuite/19_diagnostics/stdexceptions.cc: New file.
3854 2001-02-26 Phil Edwards <pme@sources.redhat.com>
3856 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
3857 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
3858 diagnostics. Remove WFMT_FLAGS.
3859 * configure.in: Replace WFMT_FLAGS with diagnostics options.
3860 * libsupc++/Makefile.am: Likewise.
3861 * src/Makefile.am: Likewise.
3862 * aclocal.m4: Regenerated.
3863 * configure: Regenerated.
3864 * Makefile.in: Regenerated.
3865 * libio/Makefile.in: Regenerated.
3866 * libmath/Makefile.in: Regenerated.
3867 * libsupc++/Makefile.in: Regenerated.
3868 * src/Makefile.in: Regenerated.
3870 2001-02-26 Phil Edwards <pme@sources.redhat.com>
3872 Fixes libstdc++/2079
3873 * include/backward/iomanip.h: Expose <ios> manipulators to global
3875 * include/backward/iostream.h: Also expose std::ws.
3877 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
3879 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
3881 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
3883 * include/bits/codecvt.h: Use __builtin_alloca.
3884 * include/bits/ostream.tcc: Same.
3885 * include/bits/fstream.tcc: Same.
3887 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
3889 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
3891 2001-02-23 David Edelsohn <dje@watson.ibm.com>
3893 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
3895 2001-02-23 Phil Edwards <pme@sources.redhat.com>
3898 * include/backward/iostream.h: Expose std::flush in old headers.
3900 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3902 * mknumeric_limits: Remove special-casing on target. Use gcc
3903 instead of g++ to build gen-num-limits.cc
3905 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
3907 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
3909 * include/bits/codecvt.h: Use alloca instead of __extension__ for
3911 * include/bits/ostream.tcc: Same.
3912 * include/bits/std_ostream.h: Same.
3913 * include/bits/fstream.tcc: Same.
3914 * include/bits/locale_facets.tcc: Add typename.
3915 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
3917 2001-02-21 Phil Edwards <pme@sources.redhat.com>
3919 * tests_flags.in: Remove -n flag from call to echo.
3921 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
3923 * config/c_locale_gnu.h: Add clocale include.
3925 2001-02-20 Phil Edwards <pme@sources.redhat.com>
3927 * include/bits/stl_config.h: Remove file.
3928 * src/Makefile.am (base_headers): Remove from list.
3929 * configure: Regenerate.
3930 * Makefile.in: Ditto.
3931 * libio/Makefile.in: Ditto.
3932 * libmath/Makefile.in: Ditto.
3933 * libsupc++/Makefile.in: Ditto.
3934 * src/Makefile.in: Ditto.
3936 * include/bits/c++config: Move relevant macros to here.
3937 * include/backward/alloc.h: Include c++config.h instead.
3938 * include/backward/function.h: Ditto.
3939 * include/backward/heap.h: Ditto.
3940 * include/backward/pair.h: Ditto.
3941 * include/bits/pthread_allocimpl.h: Ditto.
3942 * include/bits/std_functional.h: Ditto.
3943 * include/bits/std_iterator.h: Ditto.
3944 * include/bits/std_numeric.h: Ditto.
3945 * include/bits/std_utility.h: Ditto.
3946 * include/bits/stl_algobase.h: Ditto.
3947 * include/bits/type_traits.h: Ditto.
3948 * src/stl-inst.cc: Ditto.
3950 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
3952 * include/bits/basic_file.h: Add #pragma system_header
3953 * include/bits/basic_ios.h: Ditto.
3954 * include/bits/basic_string.h: Ditto.
3955 * include/bits/char_traits.h: Ditto.
3956 * include/bits/codecvt.h: Ditto.
3957 * include/bits/cpp_type_traits.h: Ditto.
3958 * include/bits/fpos.h: Ditto.
3959 * include/bits/gslice.h: Ditto.
3960 * include/bits/gslice_array.h: Ditto.
3961 * include/bits/indirect_array.h: Ditto.
3962 * include/bits/ios_base.h: Ditto.
3963 * include/bits/limits_generic.h: Ditto.
3964 * include/bits/locale_facets.h: Ditto.
3965 * include/bits/localefwd.h: Ditto.
3966 * include/bits/mask_array.h: Ditto.
3967 * include/bits/sbuf_iter.h: Ditto.
3968 * include/bits/sequence_concepts.h: Ditto.
3969 * include/bits/slice.h: Ditto.
3970 * include/bits/slice_array.h: Ditto.
3971 * include/bits/std_algorithm.h: Likewise.
3972 * include/bits/std_bitset.h: Likewise.
3973 * include/bits/std_complex.h: Likewise.
3974 * include/bits/std_deque.h: Likewise.
3975 * include/bits/std_fstream.h: Likewise.
3976 * include/bits/std_functional.h: Likewise.
3977 * include/bits/std_iomanip.h: Likewise.
3978 * include/bits/std_ios.h: Likewise.
3979 * include/bits/std_iosfwd.h: Likewise.
3980 * include/bits/std_iostream.h: Likewise.
3981 * include/bits/std_istream.h: Likewise.
3982 * include/bits/std_iterator.h: Likewise.
3983 * include/bits/std_list.h: Likewise.
3984 * include/bits/std_locale.h: Likewise.
3985 * include/bits/std_map.h: Likewise.
3986 * include/bits/std_memory.h: Likewise.
3987 * include/bits/std_numeric.h: Likewise.
3988 * include/bits/std_ostream.h: Likewise.
3989 * include/bits/std_queue.h: Likewise.
3990 * include/bits/std_set.h: Likewise.
3991 * include/bits/std_sstream.h: Likewise.
3992 * include/bits/std_stack.h: Likewise.
3993 * include/bits/std_stdexcept.h: Likewise.
3994 * include/bits/std_streambuf.h: Likewise.
3995 * include/bits/std_string.h: Likewise.
3996 * include/bits/std_utility.h: Likewise.
3997 * include/bits/std_valarray.h: Likewise.
3998 * include/bits/std_vector.h: Likewise.
3999 * include/bits/stringfwd.h: Likewise.
4000 * include/bits/type_traits.h: Likewise.
4001 * include/bits/valarray_array.h: Likewise.
4002 * include/bits/valarray_meta.h: Likewise.
4004 2001-02-19 Andreas Jaeger <aj@suse.de>
4006 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
4009 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
4012 * include/bits/std_ostream.h: Replaced usage of
4013 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
4014 * include/bits/char_traits.h: Removed non-standard
4015 methods that cannot be used elsewhere.
4018 * include/bits/basic_ios.h: Uncommented #include of
4022 * include/bits/codecvt.h: See next...
4023 * include/bits/fstream.tcc: See next...
4024 * include/bits/ostream.tcc: Add __extension__
4025 to variable-length arrays.
4028 * include/bits/localefwd.h: Changed int counter type to size_t.
4031 * include/bits/std_fstream.h: Added typedef for __ctype_type.
4033 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
4035 * testsuite/21_strings/char_traits.cc: Move to ...
4036 * testsuite/21_strings/char_traits_requirements.cc: ..here.
4037 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
4038 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
4040 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
4042 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
4045 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
4047 * include/bits/c++config: Revert.
4049 2001-02-15 Mark Mitchell <mark@codesourcery.com>
4051 * include/bits/istream.tcc: Use ios_base::iostate in place of
4052 iostate throughout. Insert `typename' keyword where necessary.
4053 * include/bits/ostream.tcc: Insert `typename' keyword where
4056 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
4058 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
4059 Define so library is compliant.
4061 2001-02-15 Anthony Green <green@redhat.com>
4063 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
4065 * aclocal.m4: Regenerate.
4066 * configure: Regenerate.
4068 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
4070 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
4071 Include ieeefp.h for fpclass on UnixWare{2,7}.
4072 * aclocal.m4: Regenerate.
4073 * configure: Regenerate.
4074 * mkcheck.in (size_command): Do without GNU-grep when using
4077 2001-02-15 Mark Mitchell <mark@codesourcery.com>
4079 Remove old ABI support from libsupc++.
4080 * libsupc++/cxxabi.h: Remove conditionally compiled code.
4081 * libsupc++/exception_support.cc: Likewise.
4082 * libsupc++/pure.cc: Likewise.
4083 * libsupc++/tinfo.cc: Likewise.
4084 * libsupc++/tinfo.h: Likewise.
4085 * libsupc++/tinfo2.cc: Likewise.
4086 * libsupc++/typeinfo: Likewise.
4087 * libsupc++/vec.cc: Likewise.
4089 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
4091 Add support for -fno-exceptions.
4092 * include/bits/exception_support.h: Remove.
4093 * include/bits/basic_string.h: Remove exception_support.
4094 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
4096 (string::substr): Same.
4097 * include/bits/basic_string.tcc (string::reserve): Replace
4098 __LENGTHERROR with __throw_length_error.
4099 (string::_S_create): Same.
4100 (string::resize): Same.
4101 (string::_M_replace): Same.
4102 (string::replace): Same.
4103 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
4104 (string::compare): Same.
4105 * include/bits/stl_vector.h: Remove exception_support.
4106 * src/Makefile.am (base_headers): Remove here.
4107 * src/Makefile.in: Regenerate.
4109 * include/bits/stl_range_errors.h: Remove.
4110 * include/bits/stl_deque.h: Use __throw_range_error.
4111 * include/bits/std_deque.h: Include functexcept.h.
4112 * include/bits/std_vector.h: Same.
4113 * src/Makefile.am (base_headers): Remove here.
4114 * src/Makefile.in: Regenerate.
4115 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
4116 * include/ext/bvector: Remove stl_range_errors.h
4118 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
4120 * include/bits/functexcept.h: New file.
4121 * src/functexcept.cc: New file. Definitions for function-based
4123 * src/Makefile.am (sources): Add functexcept.cc.
4124 * src/Makefile.in: Regenerate.
4126 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
4129 * include/bits/localefwd.h: Include functexcept.h.
4130 * include/bits/std_iosfwd.h: Same.
4132 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
4133 throw basic_ios::failure.
4134 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
4135 Use __throw_exception_again.
4136 (filebuf::_M_filebuf_init): Same.
4137 * include/bits/streambuf.tcc (__copy_streambufs): Same.
4138 * include/bits/ostream.tcc (ostream::operator<<): Same.
4139 * include/bits/istream.tcc (istream::operator>>): Same.
4140 * include/bits/basic_string.tcc (string::_M_mutate): Same.
4141 (string::_S_construct): Same.
4142 (string::_M_clone): Same.
4143 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
4145 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
4146 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
4147 __throw_exception_again.
4148 (locale::_Imp::_Imp(string, size_t): Same.
4149 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
4150 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
4151 (locale::locale(const char*)): Use __throw_runtime_error.
4152 (locale::classic): Use __throw_exception_again.
4153 (locale::_S_normalize_category): Use __throw_runtime_error.
4155 * src/stdexcept.cc: Remove cruft.
4157 * libsupc++/exception_defines.h: New file.
4158 * libsupc++/new_opnt.cc: Include exception_defines.h.
4159 * libsupc++/vec.cc: Same.
4160 (__cxa_vec_new2): Use __throw_exception_again.
4161 (__cxa_vec_new3): Same.
4162 (__cxa_vec_ctor): Same.
4163 (__cxa_vec_delete3): Same.
4164 (__cxa_vec_cctor): Same.
4165 (__cxa_vec_delete2): Same.
4166 (__cxa_vec_dtor): Same.
4167 * libsupc++/exception_support.cc: Include exception_defines.h. Only
4168 compile exception-handling bits if __EXCEPTIONS is defined.
4169 Remove old ABI support.
4170 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
4171 std::__throw_bad_alloc() instead of throw bad_alloc.
4172 * libsupc++/Makefile.am: Add exception_defines.h.
4173 * libsupc++/Makefile.in: Reformat.
4174 * libsupc++/*: Format.
4176 2001-02-15 Phil Edwards <pme@sources.redhat.com>
4178 * docs/html/configopts.html: Minor updates and typo fixes.
4179 * docs/html/faq/index.html: Updates of the "not really bugs" list.
4180 * docs/html/faq/index.txt: Regenerated.
4182 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
4184 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
4185 dejagnu/dg.exp. Adapt to log options used to run testcases.
4187 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4189 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
4192 2001-02-13 Dirk Mueller <dmuell@gmx.net>
4193 Phil Edwards <pme@sources.redhat.com>
4195 * include/backward/function.h: Do not use rel_ops for older
4197 * include/backward/pair.h: Likewise.
4199 2001-02-12 Mark Mitchell <mark@codesourcery.com>
4201 * src/locale.cc: Remove bogus locale::id definitions.
4203 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4205 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
4206 not _DEFINE_VALARRAY_OPERATOR which is not existent.
4208 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
4209 thinko in member initialisation.
4211 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4213 * include/bits/std_valarray.h(valarray<>::shift): Avoid
4214 comparaison between signed and unsigned integer types.
4215 (valarray<>::cshift): Reformat.
4217 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
4219 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
4220 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
4221 * configure.in: Test for sigsetjmp.
4222 * configure, config.h.in: Rebuilt.
4224 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4226 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
4227 lengths and strides.
4228 (__gslice_to_index): Document.
4230 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
4232 * include/bits/char_traits.h char_traits<char>::int_type: Change
4233 to `int' to match 21.1.3.1/2.
4235 * testsuite/21_strings/char_traits-int_type.C: New test.
4237 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
4239 * testsuite/Makefile.am: New file.
4241 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
4243 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
4245 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
4247 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
4249 2001-02-08 David Edelsohn <edelsohn@gnu.org>
4251 * configure.target (aix4*): Remove extra set of brackets.
4253 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
4256 * include/bits/stringfwd.h: New file.
4257 * include/bits/stl_string_fwd.h: Remove.
4258 * include/bits/localefwd.h: Remove declaration for allocator.
4259 * include/bits/std_iosfwd: Same.
4260 * include/bits/std_string.h: Include it.
4261 * include/bits/std_ios.h: Remove include.
4262 * include/bits/basic_string.h: Tweak.
4263 * libsupc++/new: Format.
4264 * src/Makefile.am (base_headers): Add stringfwd.h, remove
4266 * src/Makefile.in: Regenerate.
4267 * include/bits/std_stdexcept.h: Rewrite.
4268 * src/stdexcept.cc: Same.
4270 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
4272 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
4273 install locations too.
4274 * aclocal.m4: Regenerate.
4275 * configure.in: Remove USE_LIBDIR.
4276 * configure: Regenerate.
4277 * src/Makefile.am (toolexecdir): Simplify, use
4278 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
4279 * src/Makefile.in: Regenerate.
4280 * libsupc++/Makefile.am: Same.
4281 * libsupc++/Makefile.in: Regenerate.
4283 * src/Makefile.am: Just remove special rules for locale-inst.cc and
4284 misc-inst.cc as no longer necessary.
4286 Follow C++STYLE for naming non-static functions.
4287 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
4289 * include/bits/streambuf.tcc: Same.
4290 * include/bits/ostream.tcc: Same.
4291 * include/bits/istream.tcc: Same.
4292 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
4293 (_S_output_float): To __output_float.
4294 * include/bits/std_streambuf.h (_S_copy_streambufs): To
4296 * include/bits/locale_facets.tcc (_S_build_float_format): To
4297 __build_float_format.
4298 (_S_format): To __output_integer.
4299 (_S_fill): To __pad.
4300 * src/locale.cc: Same.
4301 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
4303 * include/bits/locale_facets.tcc (_S_group_digits): To
4305 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
4306 for collate, numpunct.
4308 2001-02-06 Phil Edwards <pme@sources.redhat.com>
4310 * docs/html/configopts.html: Fix HTML markup.
4311 * docs/html/install.html: Bring up to date.
4312 * docs/html/17_intro/C++STYLE: Add global variable conventions.
4313 * docs/html/21_strings/howto.html: More notes.
4314 * docs/html/22_locale/howto.html: Fix HTML markup.
4315 * docs/html/27_io/howto.html: More notes.
4316 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
4317 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
4319 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
4321 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
4322 to match header files.
4323 (_S_output_float): Likewise.
4324 (_S_copy_streambufs): Likewise.
4326 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
4327 Phil Edwards <pme@sources.redhat.com>
4329 * include/bits/std_istream.h (op>> signed,unsigned char): Must
4330 use reinterpret_cast, not static_cast.
4332 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
4334 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
4335 * aclocal.m4: Regenerate.
4336 * configure: Regenerate.
4338 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4340 * include/bits/locale_facets.h (class moneypunct): Fix typos.
4341 * libsupc++/pure.cc: Revert.
4343 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4345 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
4346 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
4347 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
4348 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
4349 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
4350 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
4351 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
4352 * aclocal.m4: Regenerate.
4353 * configure: Regenerate.
4355 2001-02-05 Mark Mitchell <mark@codesourcery.com>
4357 * include/bits/locale_facets.tcc: Remove `static' keyword on
4358 function definitions.
4359 * include/bits/std_streambuf.h: Likewise.
4360 * src/Makefile.am: Remove use of -fimplicit-templates.
4361 * src/Makefile.in: Regenerated.
4362 * src/locale-inst.cc: Explicitly instantiate more functions.
4363 * src/misc-inst.cc: Likewise.
4364 * src/string-inst.cc: Likewise.
4366 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4368 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
4369 macro. Consolidate all the bits to do with where includes might be
4371 * aclocal.m4: Regenerate.
4372 * configure.in: Use it.
4373 * configure: Regenerate.
4374 * src/Makefile.am (targetincludep): Use simplified rules.
4375 (targetincludep): Rename gxx_target_include_dir.
4376 (myincludep): Rename gxx_include_dir.
4377 * src/Makefile.in: Regenerate.
4378 * libsupc++/Makefile.am: Use simplified rules.
4379 * libsupc++/Makefile.in: Regenerate.
4381 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
4383 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
4384 * include/c_std/bits/std_cctype.h: Same.
4385 * include/c_std/bits/std_cassert.h: Same.
4386 * include/c_std/bits/std_cstdarg.h: Same.
4387 * include/c_std/bits/std_cstddef.h: Same.
4389 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
4391 * include/c_std/bits/std_ctime.h: Same.
4392 * include/c_std/bits/std_clocale.h: Same.
4393 * include/c_std/bits/std_cmath.h: Same.
4394 * include/c_std/bits/std_csetjmp.h: Same.
4395 * include/c_std/bits/std_csignal.h: Same.
4396 * include/c_std/bits/std_cstring.h: Same.
4397 * include/c_std/bits/std_cstdlib.h: Same.
4398 * include/c_std/bits/std_cwchar.h: Same.
4400 2001-02-05 Phil Edwards <pme@sources.redhat.com>
4402 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
4404 2001-02-05 Mark Mitchell <mark@codesourcery.com>
4406 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
4407 (string::_S_construct): Likewise.
4409 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
4411 * testsuite/config/default.exp: New file.
4412 * testsuite/config: New directory.
4414 2001-02-04 Mark Mitchell <mark@codesourcery.com>
4416 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
4417 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
4418 whenever !__GXX_MERGED_TYPEINFO_NAMES.
4419 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
4421 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
4422 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4424 * Makefile.am (mkinstalldirs): Set.
4425 * src/Makefile.am (mkinstalldirs): Set.
4426 * libmath/Makefile.am (mkinstalldirs): Set.
4427 * libsup++/Makefile.am (mkinstalldirs): Set.
4428 * libio/Makefile.am (mkinstalldirs): Set.
4429 * */Makefile.in: Regenerate.
4431 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
4433 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
4434 * include/bits/localefwd.h: More initialization cleanups.
4436 2001-02-03 Jeffrey A Law <law@cygnus.com>
4438 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
4439 correctly targets with 16bit ints.
4440 (_S_ios_openmode_end): Similarly.
4441 (_S_ios_iostate_end): Similarly.
4442 (_S_ios_Seekdir_end): Similarly.
4444 2001-02-02 Phil Edwards <pme@sources.redhat.com>
4446 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
4448 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
4450 * configure.in (toplevel_srcdir, auxdir): Set.
4451 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
4452 * aclocal.m4, configure, Makefile.in: Rebuilt.
4453 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
4454 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
4455 * libsupc++-v3/Makefile.in: Rebuilt.
4456 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
4457 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
4459 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
4461 * config/c_locale_generic.cc: Remove langinfo include.
4463 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
4465 Preliminary named locales.
4466 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
4467 * aclocal.m4: Regenerate.
4468 * configure.in: Use it.
4469 * configure: Regerate.
4470 * src/Makefile.am (sources): Add c++locale.cc.
4471 (build_headers): Add c++locale.h.
4472 * src/Makefile.in: Regenerate.
4473 * config/c_locale_gnu.h: New file.
4474 * config/c_locale_gnu.cc: New file. Non-inline member functions
4475 for named locales, gnu-specific.
4476 * config/c_locale_generic.h: New file.
4477 * config/c_locale_generic.cc: New file. Non-inline member
4478 functions for named locales, generic version.
4479 * docs/html/configopts.html: Add documentation on new options.
4481 * include/bits/locale_facets.h (class _Messages): Remove.
4482 (class _Moneypunct): Remove.
4483 * src/locale-inst.cc: Remove.
4485 * include/bits/locale_facets.h (class _Collate): Remove.
4486 * src/locale-inst.cc (std): Remove.
4487 * src/locale.cc: And here.
4489 * include/bits/localefwd.h (locale::_M_coalesce): New
4490 function. Correctly put together multi-name locales.
4491 (_Impl(const _Impl&, category, size_t)): Remove.
4493 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
4495 (_M_normalize_category_names): Remove.
4496 (_M_replace_categories): Fix.
4498 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
4499 (locale::_Impl::_M_construct_ctype): Remove.
4500 (locale::_Impl::_M_construct_monetary): Remove.
4501 (locale::_Impl::_M_construct_numeric): Remove.
4502 (locale::_Impl::_M_construct_time): Remove.
4503 (locale::_Impl::_M_construct_messages): Remove.
4505 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
4506 (_Use_facet_failure_handle): Remove.
4507 * src/locale.cc: Remove definitions.
4508 * src/locale-inst.cc: And here.
4510 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
4512 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
4513 create and error-check underlying locale object.
4514 (locale::facet::_S_destroy_c_locale): Add, take care of properly
4515 tearing down underlying locale object.
4516 * include/bits/localefwd.h (locale::facet): Declare.
4517 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
4518 correctness, as glibc apparently has incorrect info in it. Test
4519 with it when it works again.....
4521 * include/bits/localefwd.h (locale::_Impl::__vec_string):
4522 Remove. Number of categories is fixed at six, so just simplify and
4523 make this an array of strings.
4524 (locale::_Impl::_M_has_name): Remove.
4525 (locale::_Impl::_M_name): Remove.
4526 (locale::_Impl::_M_category_names): Turns into...
4527 (locale::_Impl::_M_names): ...this.
4528 (locale::_Impl::_M_has_same_name()): New function.
4529 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
4530 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
4532 * src/locale.cc (locale::name()): Construct mangled name
4533 accurately reflecting combined locale categories.
4535 * src/locale.cc (locale::classic()): Don't initialize here.
4536 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
4537 __refs, bool __has_name, string __str): Do it here.
4539 * include/bits/localefwd.h: _S_categories_num to
4540 _S_num_categories. _S_facets_num to _S_num_facets.
4541 (locale::id::id()): Explicitly set _M_index to zero.
4542 * src/locale.cc: Same.
4544 * src/locale.cc: (locale::locale(const char*)): Construct named
4547 * src/locale.cc: Remove numpunct_byname ctors.
4548 * testsuite/22_locale/numpunct_byname.cc: New file.
4549 * testsuite/22_locale/numpunct.cc: New file.
4551 * include/bits/localefwd.h (class locale): Change data members to
4552 protected, from private.
4553 (_Impl::_M_get_c_locale): Add member function.
4554 (locale::facet::_M_get_global_impl()): Add member function.
4555 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
4556 a __c_locale pointer.
4557 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
4559 * testsuite/22_locale/members.cc: New file, test name and combine.
4561 * include/bits/locale_facets.h (class numpunct): Remove class
4562 _Punct and _Numpunct. Rewrite class numpunct to be correct for
4564 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
4565 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
4566 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
4567 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
4568 * testsuite/22_locale/numpunct_char_members.cc: New file.
4570 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
4572 * testsuite/README: Add more comment.
4573 * testsuite/lib/libstdc++.exp: Tweak comment.
4575 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
4577 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
4579 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
4581 * testsuite/21_strings/inserters_extractors.cc: Remove
4582 explicit reference to 'testsuite/'.
4584 2001-01-25 Richard Henderson <rth@redhat.com>
4586 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
4587 bits. Fixes Tru64 build issues.
4589 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4591 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
4592 (use ${MAKE-make}, not ${MAKE:-make}).
4593 * aclocal.m4, configure: Regenerate.
4595 2001-01-25 Mark Mitchell <mark@codesourcery.com>
4597 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
4600 * src/Makefile.am (sources): Add globals.cc.
4601 * src/Makefile.in: Regenerated.
4602 * src/globals.cc: New file.
4603 * src/ios.cc (cin): Don't define here, just declare extern.
4612 2001-01-25 Phil Edwards <pme@sources.redhat.com>
4614 * include/bits/std_iterator.h: Do not include stl_relops.h.
4615 * include/bits/std_numeric.h: Ditto.
4616 * include/bits/stl_algobase.h: Ditto.
4617 * include/bits/stl_relops.h: Add comment warning about problems.
4619 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
4621 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
4622 in testcases. Prepare for the DejaGnu based framework.
4623 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
4624 directory -- it is now mkcheck working directory.
4625 * tests_flags.in: Remove reference to $(top_srcdir). Use
4627 * Makefile.am (check, check-install): Change mkcheck invocation
4629 * Makefile.in: Regenerate.
4631 2001-01-24 Mark Mitchell <mark@codesourcery.com>
4633 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
4634 (__always_swap): Likewise.
4636 2001-01-23 Chris Demetriou <cgd@broadcom.com>
4638 * libsupc++/exception_support.cc (__terminate_func): Remove
4640 (__terminate_func_ptr): New typedef.
4641 (__terminate, __terminate_set_func): New extern function
4643 (std::terminate): Use __terminate function.
4644 (std::set_terminate): Use __terminate_set_func function.
4646 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
4648 * configure.target: Just use os_include_dir always.
4649 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
4650 Link atomicity files and ctype files here.
4651 * configure: Regenerate.
4652 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
4653 (GLIBCPP_ENABLE_ATOMICITY): Remove.
4654 * aclocal.m4: Regenerate.
4656 2001-01-23 Chris Demetriou <cgd@broadcom.com>
4658 * configure.in: Place definition of MULTISUBDIR in
4659 libsupc++/Makefile as is done for src/Makefile.
4660 * configure: Regenerate.
4662 2001-01-23 Phil Edwards <pme@sources.redhat.com>
4664 * acinclude.m4: Cosmetic changes only.
4665 * aclocal.m4: Regenerated.
4666 * configure: Regenerated.
4667 * configure.target: Update documented list of changed variables.
4668 * docs/html/install.html: Fix typo.
4669 * docs/html/20_util/howto.html: More notes on auto_ptr.
4670 * docs/html/27_io/howto.html: More notes on streabufs.
4671 * docs/html/faq/index.html: Add rel_ops problem and mention the
4672 DEC as(1) .subsection difficulty.
4673 * docs/html/faq/index.txt: Regenerated.
4675 2001-01-23 Mark Mitchell <mark@codesourcery.com>
4677 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
4678 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
4679 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
4680 its already provided in config.target.
4681 * aclocal.m4: Regenerated.
4682 * configure: Likewise.
4683 * configure.target: Set ctype_include_dir for lots of systems.
4684 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
4685 * libsupc++/Makefile.in: Regenerated.
4687 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
4689 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
4692 * testsuite/README: Add comment.
4694 2001-01-21 Phil Edwards <pme@sources.redhat.com>
4696 * docs/html/configopts.html: Update for current status. Fix HTML.
4697 * docs/html/install.html: Update for current status.
4699 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4701 * testsuite/libstdc++.tests/tests.exp: New file.
4702 * testsuite/lib/libstdc++.exp: Itou.
4703 * testsuite/README: Itou.
4705 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
4707 * tests_flags.in: Just output the bare minimum to run tests.
4708 Let's the caller do its own arrangement.
4710 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
4713 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
4715 * testsuite/17_intro: Prepare testcases for new style DejaGnu
4718 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
4720 * testsuite/libstdc++.tests, testsuite/lib: New directories.
4722 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
4724 * mkcheck.in: Construct file names that match $objdir structure.
4725 * testsuite/27_io/filebuf_members-1.txt: New file.
4726 * testsuite/27_io/ifstream_members-1.txt: New file.
4727 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
4729 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
4730 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
4732 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4734 * testsuite/27_io/istream_sentry.cc (test02): Fix.
4736 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
4739 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
4740 * src/ios.cc (ios_base::failure): Make definitions match.
4741 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
4742 (class bad_cast): Same.
4743 * libsupc++/exception (class exception): Add throw specs.
4744 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
4745 (set_unexpected): Same.
4746 (uncaught_exception): Same.
4749 * docs/html/17_intro/C++STYLE (classname): Fix.
4751 2001-01-16 Mark Mitchell <mark@codesourcery.com>
4753 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
4754 Use it do explicitly instantiate predicate<T> and value<T> for
4757 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
4759 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
4760 uninitialized thinko in last change.
4762 2001-01-16 Mark Mitchell <mark@codesourcery.com>
4764 * libsupc++/exception_support.cc (__cp_pop_exception): Change
4767 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
4769 * docs/html/17_intro/C++STYLE (classname): Add more existing
4770 and stylish patterns.
4773 * include/bits/istream.tcc (istream::sentry::sentry()): Set
4774 failbit if the state of the stream is not good.
4775 * testsuite/27_io/istream_sentry.cc (test02): Add test.
4776 * testsuite/27_io/istream_manip.cc (test01): Modify.
4779 reported by Paolo Carlini <pcarlini@unitus.it>
4780 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
4781 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
4784 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
4785 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
4786 (xsgetn): Same. Simplify.
4787 * testsuite/27_io/streambuf.cc (test04): Add testcases.
4789 reported by Larry Evans <jcampbell3@prodigy.net>
4790 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
4791 equality with eof on returned value from overflow.
4793 2001-01-14 Andreas Jaeger <aj@suse.de>
4795 * libio/libio.h: Add test for glibc 2.0.
4797 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
4799 * config/os/djgpp/bits/*: Fix dates.
4801 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
4802 _CharT* __end, _CharT __c): Remove.
4803 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
4804 * include/bits/char_traits.h: Tweak.
4806 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
4808 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
4809 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
4811 * aclocal.m4: regenerated.
4812 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
4813 * configure: regenerated.
4814 * config/os/djgpp, config/os/djgpp/bits: new directories.
4815 * config/os/djgpp/bits/ctype_base.h,
4816 config/os/djgpp/bits/ctype_inline.h,
4817 config/os/djgpp/bits/ctype_noninline.h,
4818 config/os/djgpp/bits/os_defines.h: new files.
4820 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
4822 * include/c_std/bits/std_cstdio.h: Undef printf.
4824 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
4826 * src/ios.cc: Fix typo: change cout->wcout.
4828 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
4829 * src/Makefile.in: Regenerate.
4831 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4833 * include/bits/std_complex.h: Fix a typo.
4835 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
4838 Fixes for libstdc++/1576
4839 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
4840 file, move contents into....
4841 * src/ios.cc: ...Here. Put defines for iostreams objects and
4842 initialization routines into one file to simplify DSO interaction.
4843 * include/bits/std_iostream.h: Touch.
4844 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
4845 * src/Makefile.am (sources): Remove stdstreams.cc.
4846 * src/Makefile.in: Regenerate.
4848 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
4850 * tests_flags.in (check_directory): Fix typo.
4852 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
4854 * include/bits/std_complex.h: Fix a typo.
4856 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
4858 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
4859 code path:) Remove magic constants and restructure to handle
4860 ctype.h bit mask layout changes more gracefully. (Make fast
4861 code path:) Use __maskrune (), if available.
4862 (is): Remove special case for digit and xdigit masks.
4864 2001-01-09 Robert Lipe <robertlipe@usa.net>
4866 * include/c_std/bits/std_ctime.h: Undefine difftime.
4868 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
4870 * src/gen-num-limits.cc (signal_adapter): New template function.
4871 (signal_handler): Use it, instead of signal.
4872 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
4873 require both tests to trap to set trap_flag.
4875 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
4877 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
4878 initialize mbstate_t member, name offset data members *off, not pos.
4879 * include/bits/fstream.tcc (filebuf::filebuf): Same.
4881 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
4883 reported by Chris G. Demetriou <cgd@sibyte.com>
4884 * configure.in: Change -linux-* to -linux*.
4885 * configure: Regenerate.
4887 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
4889 Fix 27_io/filebuf_members.cc
4890 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
4891 const string& __name, category __cat, size_t __refs): Set
4892 _M_has_name with _M_name.
4893 * include/bits/localefwd.h (locale::operator!=): Protect member
4894 function call with this->.
4895 * src/locale.cc (locale::operator==): Make fast checks first.
4896 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
4898 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
4900 * src/ios.cc (ios_base::Init::Init): Initialize here.
4901 (ios_base::sync_with_stdio): Set here.
4903 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
4905 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
4906 systems that support it, call dup() before fdopen().
4908 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
4910 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
4911 * testsuite/17_intro/header_cwctype.cc (main): New file.
4913 * src/Makefile.am (base_headers): Change.
4914 * include/bits/std_string.h: And here.
4915 * include/bits/string.tcc: Tweaks, move to...
4916 * include/bits/basic_string.tcc: ...Here.
4917 * src/string-inst.cc: Simplify, just instantiate the whole class,
4918 not member-by-member.
4920 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
4922 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
4923 * aclocal.m4: Regenerate.
4924 * configure: Regenerate.
4926 * include/bits/c++config (__GLIBCPP__): Bump version number.
4928 * ChangeLog: Start new log for year 2001
4929 * ChangeLog-2000: New file.
4931 * docs/html/configopts.html: Make sure default values are current,
4934 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
4936 * include/c_std/bits/std_cwchar.h: Same.
4937 * testsuite/17_intro/header_cwchar.cc: Same.
4938 * include/c_std/bits/std_ctime.h: Same.
4939 * testsuite/17_intro/header_ctime.cc: Same.
4940 * include/c_std/bits/std_cstdlib.h: Same.
4941 Clean up undefs, make consistent with cwchar and cmath, etc.
4942 * testsuite/17_intro/header_cstdlib.cc: Same.
4943 * include/c_std/bits/std_cstdio.h: Same here.
4944 * testsuite/17_intro/header_cstring.cc: Same.
4945 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
4946 * testsuite/17_intro/header_cstring.cc: New file. Check for
4947 size_t in namespace std.
4949 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
4950 * acconfig.h (HAVE_MBSTATE_T): Add.
4951 * config.h.in: Regenerate.
4952 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
4954 * aclocal.m4: Regenerate.
4955 * configure: Regenerate.
4956 * testsuite/17_intro/headers_c++.cc: New file.
4957 * testsuite/17_intro/headers_c.cc: Small changes.
4959 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
4961 * tests_flags.in: Fix typo in usage.
4963 * tests_flags.in: Set target specific LIBS for cygwin.