1 1.1 mrg 2003-12-31 Paolo Carlini <pcarlini (a] suse.de> 2 1.1 mrg 3 1.1 mrg * include/bits/locale_facets.tcc (num_get::_M_extract_int, 4 1.1 mrg num_get::_M_extract_float): According to 22.2.2.1.2, p8-9, 5 1.1 mrg _first_ look for thousands_sep, then for decimal_point and 6 1.1 mrg finally for digits. 7 1.1 mrg (num_get::_M_extract_float): After the decimal_point or 8 1.1 mrg 'e'/'E', decimal_point and thousands_sep just break out the 9 1.1 mrg parsing loop. 10 1.1 mrg * testsuite/22_locale/num_get/get/char/11.cc: Add tests. 11 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise. 12 1.1 mrg 13 1.1 mrg 2003-12-30 Paolo Carlini <pcarlini (a] suse.de> 14 1.1 mrg 15 1.1 mrg PR libstdc++/13369 16 1.1 mrg * include/bits/locale_facets.tcc (__verify_grouping): 17 1.1 mrg Fix to deal properly with __grouping_tmp.size() > 18 1.1 mrg __grouping.size(). 19 1.1 mrg * testsuite/22_locale/num_get/get/char/13.cc: New. 20 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/13.cc: Ditto. 21 1.1 mrg 22 1.1 mrg 2003-12-29 Jerry Quinn <jlquinn (a] optonline.net> 23 1.1 mrg 24 1.1 mrg * include/bits/locale_facets.h (ctype.narrow,widen): Add cast. 25 1.1 mrg 26 1.1 mrg 2003-12-29 Paolo Carlini <pcarlini (a] suse.de> 27 1.1 mrg 28 1.1 mrg * acinclude.m4 (GLIBCXX_CHECK_LFS): Add -fno-exceptions 29 1.1 mrg to CXXFLAGS. 30 1.1 mrg * aclocal.m4: Regenerate. 31 1.1 mrg * configure: Likewise. 32 1.1 mrg 33 1.1 mrg 2003-12-29 Mark Mitchell <mark (a] codesourcery.com> 34 1.1 mrg 35 1.1 mrg * acconfig.h: Add _GLIBCXX_USE_C99_MATH. 36 1.1 mrg * acinclude.m4 (GLIBCXX_ENABLE_C99): Define GLIBCXX_USE_C99_MATH. 37 1.1 mrg * configure.ac: Define HAVE_S_ISREG and HAVE_S_IFREG when 38 1.1 mrg targeting newlib. 39 1.1 mrg * aclocal.m4: Regenerated. 40 1.1 mrg * config.h.in: Likewise. 41 1.1 mrg * configure: Likewise. 42 1.1 mrg * Makefile.in: Likewise. 43 1.1 mrg * include/Makefile.in: Likewise. 44 1.1 mrg * libmath/Makefile.in: Likewise. 45 1.1 mrg * libsupc++/Makefile.in: Likewise. 46 1.1 mrg * testsuite/Makefile.in: Likewise. 47 1.1 mrg * src/Makefile.in: Likewise. 48 1.1 mrg * po/Makefile.in: Likewise. 49 1.1 mrg * include/c_std/std_cmath.h (_GLIBCXX_USE_C99): Replace with ... 50 1.1 mrg (_GLIBCXX_USE_C99_MATH): ... this. 51 1.1 mrg 52 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: XFAIL for 53 1.1 mrg arm-none-elf. 54 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Likewise. 55 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Likewise. 56 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Likewise. 57 1.1 mrg * testsuite/27_io/basic_istream/readsome/char/6476-2.cc: Likewise. 58 1.1 mrg * testsuite/27_io/objects/char/9.cc: Likewise. 59 1.1 mrg * testsuite/ext/stdio_filebuf/char/10063-2.cc: Likewise. 60 1.1 mrg 61 1.1 mrg 2003-12-28 Paolo Carlini <pcarlini (a] suse.de> 62 1.1 mrg 63 1.1 mrg * include/ext/pool_allocator.h (class __pool_alloc): Use 64 1.1 mrg operator new and operator delete. 65 1.1 mrg 66 1.1 mrg 2003-12-24 Andrew Pinski <pinskia (a] physics.uc.edu> 67 1.1 mrg 68 1.1 mrg * config/cpu/i386/atomicity.h (__exchange_and_add): Fix output 69 1.1 mrg constraint. 70 1.1 mrg 71 1.1 mrg PR libstdc++/13480 72 1.1 mrg * config/cpu/i386/atomicity.h: Split up read-write memory operand. 73 1.1 mrg 74 1.1 mrg 2003-12-23 Benjamin Kosnik <bkoz (a] redhat.com> 75 1.1 mrg 76 1.1 mrg * include/ext/new_allocator.h (new_allocator): Proper allocator class. 77 1.1 mrg (__new_alloc): Delete. 78 1.1 mrg * include/ext/malloc_allocator.h (malloc_allocator): Same. 79 1.1 mrg (__malloc_alloc): Delete. 80 1.1 mrg * include/ext/mt_allocator.h: Same, but weakly. 81 1.1 mrg * include/ext/debug_allocator.h: Convert to the new style. 82 1.1 mrg * include/ext/pool_allocator.h: Use global new and delete directly. 83 1.1 mrg * include/backward/alloc.h: Don't inject malloc_allocator, or 84 1.1 mrg debug_allocator. 85 1.1 mrg * testsuite/ext/allocators.cc: Minimal fixups for usage of new 86 1.1 mrg classes. Comment out tests with __pool_alloc for now. 87 1.1 mrg * testsuite/performance/allocator.cc: Same. 88 1.1 mrg 89 1.1 mrg 2003-12-22 Matt Austern <austern (a] apple.com> 90 1.1 mrg 91 1.1 mrg * include/bits/stl_bvector.h (_Bvector_alloc_base): Eliminate. 92 1.1 mrg (_Bvector_base): Inherit directly from word allocator. 93 1.1 mrg * include/bits/stl_tree.h (_Rb_tree_alloc_base): Eliminate. 94 1.1 mrg (_Rb_tree_base): Eliminate. 95 1.1 mrg (_Rb_tree): Inherit directly from node allocator. 96 1.1 mrg * include/ext/slist (_Alist_alloc_base): Eliminate. 97 1.1 mrg (_Slist_base): Inherit direcly from node allocator. 98 1.1 mrg 99 1.1 mrg 2003-12-22 Benjamin Kosnik <bkoz (a] redhat.com> 100 1.1 mrg 101 1.1 mrg * testsuite/18_support/numeric_limits.cc: Add _GLIBCXX_ASSERT to 102 1.1 mrg dg-options in testcases that use VERIFY. 103 1.1 mrg * testsuite/23_containers/vector/invalidation/1.cc: Same. 104 1.1 mrg * testsuite/23_containers/vector/invalidation/2.cc: Same. 105 1.1 mrg * testsuite/23_containers/vector/invalidation/3.cc: Same. 106 1.1 mrg * testsuite/23_containers/vector/invalidation/4.cc: Same. 107 1.1 mrg * testsuite/23_containers/vector/resize/1.cc: Same. 108 1.1 mrg * testsuite/26_numerics/complex_value.cc: Same. 109 1.1 mrg * testsuite/27_io/ios_base/storage/1.cc: Same. 110 1.1 mrg * testsuite/27_io/ios_base/storage/2.cc: Same. 111 1.1 mrg * testsuite/27_io/ios_base/storage/3.cc: Same. 112 1.1 mrg * testsuite/27_io/manipulators/standard/char/2.cc: Same. 113 1.1 mrg * testsuite/backward/11460.cc: Same. 114 1.1 mrg * testsuite/backward/strstream_members.cc: Same. 115 1.1 mrg 116 1.1 mrg * include/ext/hash_set (class hash_multiset): Fix typo. 117 1.1 mrg 118 1.1 mrg 2003-12-22 Benjamin Kosnik <bkoz (a] redhat.com> 119 1.1 mrg 120 1.1 mrg * testsuite/27_io/objects/char/5.cc: Don't use stdc++.h.gch. 121 1.1 mrg * testsuite/27_io/objects/wchar_t/5.cc: Same. 122 1.1 mrg * docs/html/test.html: Add docs for constructing test files that 123 1.1 mrg don't use stdc++.h.gch. 124 1.1 mrg * scripts/testsuite_flags.in (PCHFLAGS): Move to --cxxpchflags. 125 1.1 mrg * testsuite/libstdc++-dg/normal.exp: Compute DEFAULT_CXXFLAGS 126 1.1 mrg differently. 127 1.1 mrg 128 1.1 mrg * include/bits/ios_base.h (ios_base::Init::_S_initialized): Remove. 129 1.1 mrg * src/ios_init.cc: Same. 130 1.1 mrg * config/linker-map.gnu: Same. 131 1.1 mrg * testsuite/27_io/ios_base/cons/copy_neg.cc: Adjust line numbers. 132 1.1 mrg * testsuite/27_io/ios_base/cons/assign_neg.cc: Same. 133 1.1 mrg 134 1.1 mrg 2003-12-22 Andrew Pinski <pinskia (a] physics.uc.edu> 135 1.1 mrg 136 1.1 mrg PR libstdc++/13462 137 1.1 mrg * include/bits/stl_multiset.h (__gnu_norm::multiset): Define pointer 138 1.1 mrg as allocator's pointer, likewise for reference, const_pointer, and 139 1.1 mrg const_reference. 140 1.1 mrg * include/bits/stl_set.h (__gnu_norm::set): Likewise. 141 1.1 mrg * include/ext/hash_set (__gnu_ext::hash_set): Likewise. 142 1.1 mrg (__gnu_ext::hash_multiset): Likewise. 143 1.1 mrg 144 1.1 mrg 2003-12-22 Paolo Carlini <pcarlini (a] suse.de> 145 1.1 mrg 146 1.1 mrg * include/bits/locale_facets.tcc (num_get::_M_extract_int, 147 1.1 mrg num_get::_M_extract_float): According to 22.2.2.1.2, p8-9, 148 1.1 mrg first look for decimal_point and thousands_sep, when parsing 149 1.1 mrg sign, leading zeros (and 0, Ox, 0X for integer types) too. 150 1.1 mrg * testsuite/22_locale/num_get/get/char/12.cc: New. 151 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise. 152 1.1 mrg 153 1.1 mrg * testsuite/22_locale/num_get/get/char/11.cc: Add a comment. 154 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise. 155 1.1 mrg 156 1.1 mrg 2003-12-20 Jason Merrill <jason (a] redhat.com> 157 1.1 mrg 158 1.1 mrg * config/cpu/powerpc/atomicity.h: Fix oversight in previous 159 1.1 mrg change. 160 1.1 mrg 161 1.1 mrg 2003-12-20 Jerry Quinn <jlquinn (a] optonline.net> 162 1.1 mrg 163 1.1 mrg * docs/doxygen/TODO: Update. 164 1.1 mrg * include/bits/locale_classes.h (locale, facet, id): Document. 165 1.1 mrg * include/bits/locale_facets.tcc (has_facet, use_facet): Document. 166 1.1 mrg 167 1.1 mrg 2003-12-19 Jason Merrill <jason (a] redhat.com> 168 1.1 mrg 169 1.1 mrg * config/cpu/cris/atomicity.h: Remove memory clobbers. 170 1.1 mrg * config/cpu/mips/atomicity.h: Likewise. 171 1.1 mrg * config/cpu/i486/atomicity.h: Remove memory clobbers. 172 1.1 mrg Split up read-write memory operand. 173 1.1 mrg * config/cpu/m68k/atomicity.h: Likewise. 174 1.1 mrg * config/cpu/powerpc/atomicity.h: Make memory I/O explicit. 175 1.1 mrg * config/cpu/s390/atomicity.h: Likewise. 176 1.1 mrg * config/cpu/sparc/atomicity.h: Likewise. 177 1.1 mrg 178 1.1 mrg 2003-12-20 Carlo Wood <carlo (a] alinoe.com> 179 1.1 mrg 180 1.1 mrg * bits/demangle.h 181 1.1 mrg namespace __gnu_cxx::demangler 182 1.1 mrg (session<Allocator>::decode_encoding): Put the postfix 183 1.1 mrg of the return type of (member) functions after the function 184 1.1 mrg instead of after the return type. 185 1.1 mrg 186 1.1 mrg 2003-12-19 Jerry Quinn <jlquinn (a] optonline.net> 187 1.1 mrg 188 1.1 mrg * include/bits/locale_facet.h 189 1.1 mrg (__ctype_abstract_base,ctype<charT>,ctype<char>,ctype<wchar_t>): 190 1.1 mrg Document. 191 1.1 mrg 192 1.1 mrg 2003-12-19 Paolo Carlini <pcarlini (a] suse.de> 193 1.1 mrg 194 1.1 mrg * include/bits/locale_facets.tcc (num_get::_M_extract_int, 195 1.1 mrg num_get::_M_extract_float): According to 22.2.2.1.2, p8-9, 196 1.1 mrg first look for decimal_point and thousands_sep. 197 1.1 mrg * testsuite/22_locale/num_get/get/char/11.cc: New. 198 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise. 199 1.1 mrg 200 1.1 mrg 2003-12-19 Paolo Carlini <pcarlini (a] suse.de> 201 1.1 mrg 202 1.1 mrg * include/bits/locale_facets.tcc (num_get::_M_extract_float): 203 1.1 mrg When __found_sci becomes true stop eating thousands separators 204 1.1 mrg and the decimal radix separator. 205 1.1 mrg * testsuite/22_locale/num_get/get/char/9.cc: New. 206 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise. 207 1.1 mrg 208 1.1 mrg * config/locale/generic/c_locale.cc (__convert_to_v): Don't 209 1.1 mrg check that *__sanity == '\0': parsing may stop earlier, still 210 1.1 mrg be successful. 211 1.1 mrg * config/locale/gnu/c_locale.cc: Likewise. 212 1.1 mrg * testsuite/22_locale/num_get/get/char/10.cc: New. 213 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise. 214 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: 215 1.1 mrg Tweak in one place accordingly. 216 1.1 mrg 217 1.1 mrg * testsuite/22_locale/money_get/get/char/1.cc: Fix typo. 218 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise. 219 1.1 mrg 220 1.1 mrg 2003-12-18 Benjamin Kosnik <bkoz (a] redhat.com> 221 1.1 mrg 222 1.1 mrg * include/bits/stl_list.h: Formatting tweaks. 223 1.1 mrg * include/bits/list.tcc: Same. 224 1.1 mrg 225 1.1 mrg 2003-12-18 Matt Austern <austern (a] apple.com> 226 1.1 mrg 227 1.1 mrg * include/bits/demangle.h: Fix allocator type correctness, 228 1.1 mrg i.e. make sure that when we instantiate a container with a value 229 1.1 mrg type and an allocator, the allocator's value type matches the 230 1.1 mrg container's. 231 1.1 mrg * include/bits/stl_deque.h (_Deque_alloc_base): Eliminate. 232 1.1 mrg (_Deque_base): inherit directly from the deque's allocator. Use 233 1.1 mrg rebinding instead of _Alloc_traits. Pick up data members from 234 1.1 mrg _Deque_alloc_base. 235 1.1 mrg * include/bits/stl_list.h (_List_alloc_base): Eliminate. 236 1.1 mrg (_List_base): Inherit directly from the list's allocator. Use 237 1.1 mrg rebinding instead of _Alloc_traits. Pick up data members from 238 1.1 mrg _List_alloc_base. 239 1.1 mrg * include/bits/stl_vector.h (_Vector_alloc_base): Eliminate 240 1.1 mrg (_Vector_base): Inherit directly from the vector's allocator. Use 241 1.1 mrg rebinding instead of _Alloc_traits. Pick up data members from 242 1.1 mrg _Vector_alloc_base. 243 1.1 mrg * include/ext/hashtable.h: Fix allocator type correctness (the 244 1.1 mrg vector of buckets must be passed an allocator for objects of 245 1.1 mrg type _Node*). Use rebinding instead of _Alloc_traits. 246 1.1 mrg 247 1.1 mrg 2003-12-17 Paolo Carlini <pcarlini (a] suse.de> 248 1.1 mrg 249 1.1 mrg * include/bits/locale_facets.tcc (time_get::_M_extract_via_format): 250 1.1 mrg Use narrow to get from __format[__i] a char __c representing a 251 1.1 mrg formatting code, don't use it to compare *__beg to __format[__i]. 252 1.1 mrg * testsuite/22_locale/time_get/get_date/wchar_t/4.cc: New. 253 1.1 mrg 254 1.1 mrg 2003-12-17 Paolo Carlini <pcarlini (a] suse.de> 255 1.1 mrg 256 1.1 mrg * testsuite/performance/container_benchmark.cc: Tweak outputs. 257 1.1 mrg 258 1.1 mrg * testsuite/performance/list_create_fill_sort.cc: Shrink a 259 1.1 mrg bit some outputs. 260 1.1 mrg 261 1.1 mrg * testsuite/testsuite_performance.h: Widen a few output fields. 262 1.1 mrg 263 1.1 mrg * testsuite/performance/ifstream_extract_int.cc: New. 264 1.1 mrg 265 1.1 mrg 2003-12-16 Phil Edwards <phil (a] codesourcery.com> 266 1.1 mrg 267 1.1 mrg * configure.ac (AM_INIT_AUTOMAKE): Don't warn about GNU Make. 268 1.1 mrg * configure: Regenerated. 269 1.1 mrg * Makefile.am (check-%): New catch-all forwarding target. 270 1.1 mrg * Makefile.in: Regenerated. 271 1.1 mrg 272 1.1 mrg 2003-12-16 Paolo Carlini <pcarlini (a] suse.de> 273 1.1 mrg 274 1.1 mrg * testsuite/performance/container_benchmark.cc: New, a 275 1.1 mrg benchmark developed by Bjarne Stroustrup and Alexander 276 1.1 mrg Stepanov and made available with no restrictions. 277 1.1 mrg 278 1.1 mrg * testsuite/testsuite_performance.h (report_header): New, 279 1.1 mrg useful to produce header lines in the reports. 280 1.1 mrg 281 1.1 mrg 2003-12-16 Jonathan Wakely <redi (a] gcc.gnu.org> 282 1.1 mrg 283 1.1 mrg * docs/html/21_strings/howto.html: Document shrink-to-fit reserve(). 284 1.1 mrg * docs/html/faq/index.html: Reducing vector's capacity() to size(). 285 1.1 mrg * docs/html/documentation.html, docs/html/faq/index.txt: Regenerate. 286 1.1 mrg 287 1.1 mrg 2003-12-16 Paolo Carlini <pcarlini (a] suse.de> 288 1.1 mrg 289 1.1 mrg * testsuite/performance/narrow_widen_char.cc: Tweak the 290 1.1 mrg number of iterations for each test. 291 1.1 mrg * testsuite/performance/narrow_widen_wchar_t.cc: Add a 292 1.1 mrg missing clear_counters. 293 1.1 mrg 294 1.1 mrg 2003-12-16 Paolo Carlini <pcarlini (a] suse.de> 295 1.1 mrg 296 1.1 mrg PR libstdc++/11723 297 1.1 mrg * include/bits/locale_facets.h: Add _M_bit and _M_wmask, 298 1.1 mrg used to speed up the computation of ctype::do_is. 299 1.1 mrg * config/locale/generic/ctype_members.cc 300 1.1 mrg (_M_initialize_ctype): Fill _M_bit and _M_wmask. 301 1.1 mrg (ctype::do_is): Use _M_bit and _M_wmask. 302 1.1 mrg * config/locale/gnu/ctype_members.cc: Likewise. 303 1.1 mrg * testsuite/performance/is_wchar_t.cc: New. 304 1.1 mrg 305 1.1 mrg * testsuite/performance/narrow_widen_wchar_t.cc: Tweak 306 1.1 mrg string literal (incorrect citation ;) 307 1.1 mrg 308 1.1 mrg * include/bits/locale_facets.h: Minor tweaks, const 309 1.1 mrg correctness, unsigned -> size_t. 310 1.1 mrg 311 1.1 mrg 2003-12-16 Jerry Quinn <jlquinn (a] optonline.net> 312 1.1 mrg 313 1.1 mrg * include/bits/locale_facets.h (widen, narrow): Uncomment the 314 1.1 mrg intended code. 315 1.1 mrg 316 1.1 mrg 2003-12-15 Jerry Quinn <jlquinn (a] optonline.net> 317 1.1 mrg 318 1.1 mrg * config/os/aix/ctype_noninline.h, 319 1.1 mrg config/os/bsd/freebsd/ctype_noninline.h, 320 1.1 mrg config/os/bsd/netbsd/ctype_noninline.h, 321 1.1 mrg config/os/djgpp/ctype_noninline.h, 322 1.1 mrg config/os/generic/ctype_noninline.h, 323 1.1 mrg config/os/gnu-linux/ctype_noninline.h, 324 1.1 mrg config/os/hpux/ctype_noninline.h, 325 1.1 mrg config/os/irix/irix5.2/ctype_noninline.h, 326 1.1 mrg config/os/irix/irix6.5/ctype_noninline.h, 327 1.1 mrg config/os/mingw32/ctype_noninline.h, 328 1.1 mrg config/os/newlib/ctype_noninline.h, 329 1.1 mrg config/os/qnx/qnx6.1/ctype_noninline.h, 330 1.1 mrg config/os/solaris/solaris2.5/ctype_noninline.h, 331 1.1 mrg config/os/solaris/solaris2.6/ctype_noninline.h, 332 1.1 mrg config/os/solaris/solaris2.7/ctype_noninline.h, 333 1.1 mrg config/os/vxworks/ctype_noninline.h, 334 1.1 mrg config/os/windiss/ctype_noninline.h (ctype): Initialize 335 1.1 mrg _M_narrow, _M_widen. 336 1.1 mrg * include/bits/locale_facets.h (_M_widen, _M_widen_ok, 337 1.1 mrg _M_narrow, _M_narrow_ok): New. 338 1.1 mrg (widen, narrow): Use tables to bypass virtual functions. 339 1.1 mrg (_M_widen_init, _M_narrow_init): New. 340 1.1 mrg 341 1.1 mrg 2003-12-15 Carlo Wood <carlo (a] alinoe.com> 342 1.1 mrg 343 1.1 mrg * include/bits/ios_base.h (Init::_S_initialized): Change into 344 1.1 mrg declaration. 345 1.1 mrg * src/ios_init.cc (Init::_S_initialized): Add definition. 346 1.1 mrg 347 1.1 mrg 2003-12-15 Benjamin Kosnik <bkoz (a] redhat.com> 348 1.1 mrg 349 1.1 mrg PR libstdc++/12658 350 1.1 mrg * include/Makefile.am (bits_headers): Add concurrence.h. 351 1.1 mrg * include/Makefile.in: Regenerated. 352 1.1 mrg * include/bits/concurrence.h: New. 353 1.1 mrg * src/locale_init.cc: Use it. 354 1.1 mrg (locale::locale): Lock critical regions. 355 1.1 mrg (locale::global): Same. 356 1.1 mrg 357 1.1 mrg 2003-12-15 Benjamin Kosnik <bkoz (a] redhat.com> 358 1.1 mrg 359 1.1 mrg * include/bits/basic_string.h: Change _*_references to _*_refcount. 360 1.1 mrg * include/bits/locale_classes.h: Same. 361 1.1 mrg * src/locale.cc: Same. 362 1.1 mrg * src/locale_name.cc: Same. 363 1.1 mrg * src/locale_init.cc: Same. 364 1.1 mrg 365 1.1 mrg 2003-12-15 Benjamin Kosnik <bkoz (a] redhat.com> 366 1.1 mrg 367 1.1 mrg PR libstdc++/12855 368 1.1 mrg * include/bits/ios_base.h (Init::_S_ios_base_init): Change to 369 1.1 mrg _S_refcount, make atomic. 370 1.1 mrg * src/ios.cc: Adjust definition. 371 1.1 mrg * src/ios_init.cc (ios_base::Init::Init): Use __exchange_and_add, 372 1.1 mrg and __atomic_add. 373 1.1 mrg (ios_base::Init::~Init): Same. 374 1.1 mrg * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers. 375 1.1 mrg * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. 376 1.1 mrg 377 1.1 mrg 2003-12-15 Paolo Carlini <pcarlini (a] suse.de> 378 1.1 mrg 379 1.1 mrg * include/bits/locale_facets.tcc (num_get::do_get(bool&)): 380 1.1 mrg Fail as soon as the begins of both truename and falsename 381 1.1 mrg stop to match; always leave __beg one position beyond the 382 1.1 mrg last char successfully matched. 383 1.1 mrg * testsuite/22_locale/num_get/get/char/8.cc: New. 384 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/8.cc: Likewise. 385 1.1 mrg 386 1.1 mrg 2003-12-15 Paolo Carlini <pcarlini (a] suse.de> 387 1.1 mrg 388 1.1 mrg * include/bits/locale_facets.h (_M_widen): Reserve space 389 1.1 mrg for all the possible widened chars. 390 1.1 mrg * config/locale/generic/ctype_members.cc (_M_initialize_ctype): 391 1.1 mrg Compute at construction time all the possible widened chars. 392 1.1 mrg (do_widen): Tweak, simplify. 393 1.1 mrg * config/locale/gnu/ctype_members.cc: Likewise. 394 1.1 mrg * testsuite/performance/narrow_widen_wchar_t.cc: Add tests 395 1.1 mrg for the array versions. 396 1.1 mrg 397 1.1 mrg 2003-12-12 Paolo Carlini <pcarlini (a] suse.de> 398 1.1 mrg Benjamin Kosnik <bkoz (a] redhat.com> 399 1.1 mrg 400 1.1 mrg PR libstdc++/13341 401 1.1 mrg * include/bits/locale_facets.h (ctype<wchar_t>): Declare 402 1.1 mrg _M_initialize_ctype() and _M_narrow_ok, _M_narrow and _M_widen. 403 1.1 mrg * src/ctype.cc (ctype<wchar_t>::ctype(size_t), 404 1.1 mrg ctype<wchar_t>::ctype(__c_locale, size_t)): Use 405 1.1 mrg _M_initialize_ctype to fill _M_narrow and _M_widen. 406 1.1 mrg (ctype_byname<wchar_t>::ctype_byname(const char*, size_t)): 407 1.1 mrg Likewise. 408 1.1 mrg * config/locale/generic/ctype_members.cc (do_narrow, do_widen) 409 1.1 mrg Use _M_narrow and _M_widen when possible, instead of calling 410 1.1 mrg wctob and btowc, respectively. 411 1.1 mrg (_M_initialize_ctype): Define, it fills at construction time 412 1.1 mrg _M_narrow and _M_widen. 413 1.1 mrg * config/locale/gnu/ctype_members.cc: Likewise. 414 1.1 mrg * testsuite/performance/narrow_widen_wchar_t.cc: New. 415 1.1 mrg 416 1.1 mrg 2003-12-12 Jonathan Wakely <redi (a] gcc.gnu.org> 417 1.1 mrg 418 1.1 mrg * docs/html/faq/index.txt: Regenerate after adding <link> tags. 419 1.1 mrg 420 1.1 mrg 2003-12-11 Neil Ferguson <nferguso (a] eso.org> 421 1.1 mrg Paolo Carlini <pcarlini (a] suse.de> 422 1.1 mrg 423 1.1 mrg * include/bits/basic_string.tcc (reserve): Allow shrink-to-fit. 424 1.1 mrg * testsuite/21_strings/basic_string/capacity/1.cc: Tweak. 425 1.1 mrg * testsuite/21_strings/basic_string/capacity/char/1.cc: Ditto. 426 1.1 mrg * testsuite/21_strings/basic_string/capacity/wchar_t/1.cc: Ditto. 427 1.1 mrg 428 1.1 mrg 2003-12-10 Benjamin Kosnik <bkoz (a] redhat.com> 429 1.1 mrg 430 1.1 mrg PR libstdc++/6243 431 1.1 mrg * testsuite/lib/libstdc++.exp (v3-init): Add 432 1.1 mrg original_ld_library_path, calculate ld_library path, set 433 1.1 mrg LD_LIBRARY_PATH to both. Based on libjava.exp. 434 1.1 mrg 435 1.1 mrg 2003-12-10 Benjamin Kosnik <bkoz (a] redhat.com> 436 1.1 mrg Alexandre Oliva <aoliva (a] redhat.com> 437 1.1 mrg 438 1.1 mrg PR libstdc++/11612 439 1.1 mrg * testsuite/Makefile.am (GLIBCXX_DIR): New. 440 1.1 mrg (GLIBGCC_DIR): New. 441 1.1 mrg (CXXLINK): Use both with -R so libtool links the correct libs. 442 1.1 mrg 443 1.1 mrg 2003-12-10 Paolo Carlini <pcarlini (a] suse.de> 444 1.1 mrg 445 1.1 mrg PR libstdc++/13217 446 1.1 mrg * include/bits/fstream.tcc (underflow): Deal gracefully with 447 1.1 mrg read errors: throw ios_base::failure. 448 1.1 mrg 449 1.1 mrg 2003-12-10 Benjamin Kosnik <bkoz (a] redhat.com> 450 1.1 mrg 451 1.1 mrg PR libstdc++/10063 452 1.1 mrg * config/io/basic_file_stdio.cc (__basic_file::sys_open): Sync. 453 1.1 mrg * testsuite/ext/stdio_filebuf/char/10063-1.cc: New. 454 1.1 mrg * testsuite/ext/stdio_filebuf/char/10063-2.cc: New. 455 1.1 mrg 456 1.1 mrg 2003-12-10 Paolo Carlini <pcarlini (a] suse.de> 457 1.1 mrg 458 1.1 mrg * include/bits/locale_facets.tcc (num_put::do_put(void*)): 459 1.1 mrg Remove the try/catch, not necessary. 460 1.1 mrg 461 1.1 mrg 2003-12-10 Paolo Carlini <pcarlini (a] suse.de> 462 1.1 mrg 463 1.1 mrg * testsuite/22_locale/locale/cons/12438.cc: Tweak memory 464 1.1 mrg limit and iterations to avoid spurious failures on some 465 1.1 mrg 64 bit machines. 466 1.1 mrg 467 1.1 mrg 2003-12-09 Benjamin Kosnik <bkoz (a] redhat.com> 468 1.1 mrg 469 1.1 mrg * config/linker-map.gnu: Remove private ios_base members from 470 1.1 mrg export list. 471 1.1 mrg 472 1.1 mrg * config/cpu/alpha/atomicity.h: Consistently format. 473 1.1 mrg * config/cpu/cris/atomicity.h: Same. 474 1.1 mrg * config/cpu/generic/atomicity.h: Same. 475 1.1 mrg * config/cpu/hppa/atomicity.h: Same. 476 1.1 mrg * config/cpu/i386/atomicity.h: Same. 477 1.1 mrg * config/cpu/i486/atomicity.h: Same. 478 1.1 mrg * config/cpu/ia64/atomicity.h: Same. 479 1.1 mrg * config/cpu/m68k/atomicity.h: Same. 480 1.1 mrg * config/cpu/mips/atomicity.h: Same. 481 1.1 mrg * config/cpu/powerpc/atomicity.h: Same. 482 1.1 mrg * config/cpu/s390/atomicity.h: Same. 483 1.1 mrg * config/cpu/sparc/atomicity.h: Same. 484 1.1 mrg 485 1.1 mrg 2003-12-09 Benjamin Kosnik <bkoz (a] redhat.com> 486 1.1 mrg 487 1.1 mrg PR libstdc++/13296 488 1.1 mrg * acinclude.m4 (GLIBCXX_ENABLE_LIBUNWIND_EXCEPTIONS): Remove. 489 1.1 mrg * aclocal.m4: Regenerate. 490 1.1 mrg * configure.ac: Remove call to GLIBCXX_ENABLE_LIBUNWIND_EXCEPTIONS. 491 1.1 mrg * conigure: Regenerate. 492 1.1 mrg * src/Makefile.am (libstdc___la_LDFLAGS): Remove LIBUNWIND_FLAGS. 493 1.1 mrg * src/Makefile.in: Regenerate. 494 1.1 mrg * docs/html/17_intro/configury.html: Modify. 495 1.1 mrg 496 1.1 mrg 2003-12-09 Paolo Carlini <pcaelini (a] suse.de> 497 1.1 mrg 498 1.1 mrg * include/bits/demangle.h (struct implementation_details): 499 1.1 mrg Keep in comments the names of the unused parameters. 500 1.1 mrg 501 1.1 mrg 2003-12-09 Paolo Carlini <pcaelini (a] suse.de> 502 1.1 mrg 503 1.1 mrg * include/bits/demangle.h (struct implementation_details): 504 1.1 mrg Fix unused parameters warning. 505 1.1 mrg 506 1.1 mrg 2003-12-09 Paolo Carlini <pcarlini (a] suse.de> 507 1.1 mrg 508 1.1 mrg * include/bits/locale_facets.tcc (num_get::_M_extract_int): 509 1.1 mrg Slightly streamline the code dealing with overflows and the 510 1.1 mrg parsing of the sign. 511 1.1 mrg 512 1.1 mrg 2003-12-09 Bernardo Innocenti <bernie (a] develer.com> 513 1.1 mrg 514 1.1 mrg * include/ext/algorithm, include/ext/debug_allocator.h, 515 1.1 mrg include/ext/enc_filebuf.h, include/ext/functional, 516 1.1 mrg include/ext/hash_fun.h, include/ext/hash_map, include/ext/hash_set, 517 1.1 mrg include/ext/hashtable.h, include/ext/iterator, 518 1.1 mrg include/ext/malloc_allocator.h, include/ext/memory, 519 1.1 mrg include/ext/mt_allocator.h, include/ext/numeric, 520 1.1 mrg include/ext/pod_char_traits.h, include/ext/pool_allocator.h, 521 1.1 mrg include/ext/rb_tree, include/ext/rope, include/ext/ropeimpl.h, 522 1.1 mrg include/ext/slist, include/ext/stdio_filebuf.h, 523 1.1 mrg include/ext/stdio_sync_filebuf.h: Remove trailing whitespace. 524 1.1 mrg 525 1.1 mrg 2003-12-09 Bernardo Innocenti <bernie (a] develer.com> 526 1.1 mrg 527 1.1 mrg * include/debug/bitset, include/debug/debug.h, include/debug/deque, 528 1.1 mrg include/debug/formatter.h, include/debug/hash_map.h, 529 1.1 mrg include/debug/hash_multimap.h, include/debug/hash_multiset.h, 530 1.1 mrg include/debug/hash_set, include/debug/hash_set.h, include/debug/list, 531 1.1 mrg include/debug/map.h, include/debug/multimap.h, 532 1.1 mrg include/debug/multiset.h, include/debug/safe_base.h, 533 1.1 mrg include/debug/safe_iterator.h, include/debug/safe_iterator.tcc, 534 1.1 mrg include/debug/safe_sequence.h, include/debug/set.h, 535 1.1 mrg include/debug/string, include/debug/vector: Remove trailing whitespace. 536 1.1 mrg 537 1.1 mrg 2003-12-09 Bernardo Innocenti <bernie (a] develer.com> 538 1.1 mrg 539 1.1 mrg * include/c_compatibility/iso646.h, include/c_compatibility/limits.h, 540 1.1 mrg include/c_compatibility/locale.h, include/c_compatibility/stdio.h, 541 1.1 mrg include/c_compatibility/string.h, include/c_compatibility/time.h, 542 1.1 mrg include/c_compatibility/wchar.h, include/c_compatibility/wctype.h: 543 1.1 mrg Remove trailing whitespace. 544 1.1 mrg 545 1.1 mrg 2003-12-09 Bernardo Innocenti <bernie (a] develer.com> 546 1.1 mrg 547 1.1 mrg * include/c_std/cmath.tcc, include/c_std/std_cassert.h, 548 1.1 mrg include/c_std/std_cctype.h, include/c_std/std_cmath.h, 549 1.1 mrg include/c_std/std_cstddef.h, include/c_std/std_cstdio.h, 550 1.1 mrg include/c_std/std_cstdlib.h, include/c_std/std_cstring.h, 551 1.1 mrg include/c_std/std_cwchar.h, include/c_std/std_cwctype.h: 552 1.1 mrg Remove trailing whitespace. 553 1.1 mrg 554 1.1 mrg 2003-12-09 Bernardo Innocenti <bernie (a] develer.com> 555 1.1 mrg 556 1.1 mrg * include/c/std_cctype.h, include/c/std_cmath.h, 557 1.1 mrg include/c/std_cstdlib.h include/c/std_cwchar.h, 558 1.1 mrg include/c/std_cwctype.h: Remove trailing whitespace. 559 1.1 mrg 560 1.1 mrg 2003-12-09 Bernardo Innocenti <bernie (a] develer.com> 561 1.1 mrg 562 1.1 mrg * include/backward/algo.h, include/backward/algobase.h, 563 1.1 mrg include/backward/alloc.h, include/backward/complex.h, 564 1.1 mrg include/backward/defalloc.h, include/backward/function.h, 565 1.1 mrg include/backward/iterator.h, include/backward/new.h, 566 1.1 mrg include/backward/ostream.h, include/backward/queue.h, 567 1.1 mrg include/backward/rope.h, include/backward/stream.h, 568 1.1 mrg include/backward/streambuf.h, include/backward/strstream, 569 1.1 mrg include/backward/tempbuf.h, include/backward/tree.h, 570 1.1 mrg include/backward/vector.h: Remove trailing whitespace. 571 1.1 mrg 572 1.1 mrg 2003-12-08 Paolo Carlini <pcarlini (a] suse.de> 573 1.1 mrg 574 1.1 mrg * config/locale/generic/c_locale.cc (__convert_to_v(long&), 575 1.1 mrg __convert_to_v(unsigned long&), __convert_to_v(long long&), 576 1.1 mrg __convert_to_v(unsigned long long&): Remove. 577 1.1 mrg (__convert_to_v(float&), __convert_to_v(double&), 578 1.1 mrg __convert_to_v(long double&)): Remove last unused parameter. 579 1.1 mrg * config/locale/gnu/c_locale.cc: Likewise. 580 1.1 mrg * include/bits/locale_facets.h: Likewise. 581 1.1 mrg (num_get::_M_extract_int): Update declaration. 582 1.1 mrg (class __num_base): Tweak _S_ie and _S_iE according to the 583 1.1 mrg _S_atoms_in changes. 584 1.1 mrg * include/bits/locale_facets.tcc (num_get::_M_extract_int): 585 1.1 mrg Provide directly the final _ValueT, not a string: accumulate 586 1.1 mrg the result checking for overflow at each digit. 587 1.1 mrg (num_get::do_get(bool&), num_get::do_get(long&), 588 1.1 mrg num_get::do_get(unsigned short&), num_get::do_get(unsigned int&), 589 1.1 mrg num_get::do_get(unsigned long&), num_get::do_get(long long&), 590 1.1 mrg num_get::do_get(unsigned long long&), num_get::do_get(void*&)): 591 1.1 mrg Use the new _M_extract_int, simplify. 592 1.1 mrg * src/locale-inst.cc (num_get::_M_extract_int(long&), 593 1.1 mrg num_get::_M_extract_int(unsigned short&), 594 1.1 mrg num_get::_M_extract_int(unsigned int&), 595 1.1 mrg num_get::_M_extract_int(unsigned long&), 596 1.1 mrg num_get::_M_extract_int(long long&), 597 1.1 mrg num_get::_M_extract_int(unsigned long long&): Instantiate. 598 1.1 mrg * src/locale_facets.cc (__num_base::_S_atoms_in): Reorder 599 1.1 mrg the chars in the natural order: abcdefABCDEF. 600 1.1 mrg 601 1.1 mrg 2003-12-08 David S. Miller <davem (a] redhat.com> 602 1.1 mrg 603 1.1 mrg PR libstdc++/12496 604 1.1 mrg * config/cpu/sparc/atomicity.h (__exchange_and_add, __atomic_add): 605 1.1 mrg Extend increment to _Atomic_word before giving to assembler. 606 1.1 mrg 607 1.1 mrg 2003-12-06 Benjamin Kosnik <bkoz (a] redhat.com> 608 1.1 mrg 609 1.1 mrg * testsuite/ext/enc_filebuf/char/13189.cc: Guard for __enc_traits. 610 1.1 mrg * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same. 611 1.1 mrg 612 1.1 mrg 2003-12-06 Benjamin Kosnik <bkoz (a] redhat.com> 613 1.1 mrg 614 1.1 mrg PR libstdc++/11691 615 1.1 mrg * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): 616 1.1 mrg Remove __del argument to file descriptor constructor. 617 1.1 mrg * config/io/basic_file_stdio.h (__basic_file::sys_open): Remove 618 1.1 mrg bool argument. 619 1.1 mrg * config/io/basic_file_stdio.cc: Same. 620 1.1 mrg 621 1.1 mrg 2003-12-05 Benjamin Kosnik <bkoz (a] redhat.com> 622 1.1 mrg 623 1.1 mrg PR libstdc++/13189 624 1.1 mrg * include/ext/enc_filebuf.h: Fix. 625 1.1 mrg * include/bits/fstream.tcc: Tweak formatting. 626 1.1 mrg * include/bits/postypes.h: Same. 627 1.1 mrg * include/bits/sstream.tcc: Same. 628 1.1 mrg * include/bits/streambuf.tcc: Same. 629 1.1 mrg * testsuite/ext/stdio_filebuf.cc: Split. 630 1.1 mrg * testsuite/ext/stdio_filebuf_2.cc: Split. 631 1.1 mrg * testsuite/ext/stdio_sync_filebuf_char.cc: Split. 632 1.1 mrg * testsuite/ext/stdio_sync_filebuf_wchar_t.cc: Split. 633 1.1 mrg * testsuite/ext/enc_filebuf/char/13189.cc: New. 634 1.1 mrg * testsuite/ext/enc_filebuf/wchar_t/13189.cc: New. 635 1.1 mrg * testsuite/ext/stdio_filebuf/char/1.cc: New. 636 1.1 mrg * testsuite/ext/stdio_filebuf/char/2.cc: New. 637 1.1 mrg * testsuite/ext/stdio_sync_filebuf/char/1.cc: New. 638 1.1 mrg * testsuite/ext/stdio_sync_filebuf/char/12048-1.cc: New. 639 1.1 mrg * testsuite/ext/stdio_sync_filebuf/char/12048-2.cc: New. 640 1.1 mrg * testsuite/ext/stdio_sync_filebuf/char/12048-3.cc: New. 641 1.1 mrg * testsuite/ext/stdio_sync_filebuf/char/12048-4.cc: New. 642 1.1 mrg * testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc: New. 643 1.1 mrg * testsuite/ext/stdio_sync_filebuf/wchar_t/12948-1.cc: New. 644 1.1 mrg * testsuite/ext/stdio_sync_filebuf/wchar_t/12948-2.cc: New. 645 1.1 mrg * testsuite/ext/stdio_sync_filebuf/wchar_t/12948-3.cc: New. 646 1.1 mrg * testsuite/ext/stdio_sync_filebuf/wchar_t/12948-4.cc: New. 647 1.1 mrg 648 1.1 mrg 2003-12-05 Carlo Wood <carlo (a] alinoe.com> 649 1.1 mrg 650 1.1 mrg PR libstdc++/13045 651 1.1 mrg * bits/demangle.h 652 1.1 mrg namespace __gnu_cxx::demangler 653 1.1 mrg (enum substitution_nt): Removed trailing comma. 654 1.1 mrg (implementation_details): Added. 655 1.1 mrg (session<Allocator>::M_implementation_details): Added. 656 1.1 mrg (session<Allocator>::session): Pass implementation_details. 657 1.1 mrg (session<Allocator>::decode_encoding): Same. 658 1.1 mrg (session<Allocator>::decode_real): Added. 659 1.1 mrg (_GLIBCXX_DEMANGLER_STYLE_VOID _GLIBCXX_DEMANGLER_STYLE_LITERAL 660 1.1 mrg _GLIBCXX_DEMANGLER_STYLE_LITERAL_INT 661 1.1 mrg _GLIBCXX_DEMANGLER_STYLE_COMPACT_EXPR_OPS 662 1.1 mrg _GLIBCXX_DEMANGLER_STYLE_SIZEOF_TYPENAME): Replaced with 663 1.1 mrg implementation_details equivalent. 664 1.1 mrg (session<Allocator>::decode_expression): 665 1.1 mrg Use M_implementation_details instead of macros. Add extra parentheses 666 1.1 mrg around 'larger than' operator in expressions in template arguments. 667 1.1 mrg (session<Allocator>::decode_bare_function_type): Idem. 668 1.1 mrg (session<Allocator>::decode_literal): 669 1.1 mrg Idem, and call decode_real for floating literals. 670 1.1 mrg (session<Allocator>::decode_type_with_postfix): Put the postfix 671 1.1 mrg of the return type of (member) functions after the function 672 1.1 mrg instead of after the return type. Also, put a space after the 673 1.1 mrg prefix of qualified function pointers: "int (* const<space>". 674 1.1 mrg * src/demangle.cc: include most dependent header file first. 675 1.1 mrg * testsuite/demangle/regression/cw-16.cc: Updated two 676 1.1 mrg and added three tests. 677 1.1 mrg 678 1.1 mrg 2003-12-04 Benjamin Kosnik <bkoz (a] redhat.com> 679 1.1 mrg 680 1.1 mrg PR libstdc++/13284 681 1.1 mrg * include/bits/stl_algo.h (__random_number): Remove. 682 1.1 mrg (random_shuffle): Use rand, as permitted by DR 395. 683 1.1 mrg * include/ext/algorithm: Same. 684 1.1 mrg * linkage.m4 (GLIBCXX_CHECK_STDLIB_SUPPORT): Remove lrand48. 685 1.1 mrg * acconfig.h: Same. 686 1.1 mrg * crossconfig.m4: Remove HAVE_DRAND48, HAVE_LRAND48. 687 1.1 mrg * config.h.in: Regenerated. 688 1.1 mrg * configure: Same. 689 1.1 mrg * aclocal.m4: Same. 690 1.1 mrg 691 1.1 mrg 2003-12-04 Paolo Carlini <pcarlini (a] suse.de> 692 1.1 mrg 693 1.1 mrg PR libstdc++/12653 694 1.1 mrg * include/std/std_bitset.h (operator>>): Implement resolution 695 1.1 mrg of DR 303 [WP]: use widen('0') and widen('1'). 696 1.1 mrg * docs/html/ext/howto.html: Add an entry for DR 303. 697 1.1 mrg 698 1.1 mrg * include/std/std_bitset.h (operator>>): Implement the common 699 1.1 mrg requirements of formatted input functions (27.6.1.2.1). 700 1.1 mrg 701 1.1 mrg * include/std/std_bitset.h (operator>>): Set the failbit when 702 1.1 mrg nothing was extracted and _Nb != 0. 703 1.1 mrg * testsuite/23_containers/bitset/input/1.cc: New. 704 1.1 mrg 705 1.1 mrg 2003-12-03 Paolo Carlini <pcarlini (a] suse.de> 706 1.1 mrg 707 1.1 mrg PR libstdc++/12791 708 1.1 mrg * include/bits/locale_facets.tcc (time_get::_M_extract_num): 709 1.1 mrg Rewrite, stop the parsing as soon as a digit cannot possibly 710 1.1 mrg lead to a final number within the bounds; otherwise, simplify, 711 1.1 mrg avoiding __ctype.is() and atoi(). 712 1.1 mrg * testsuite/22_locale/time_get/get_date/char/12791.cc: New. 713 1.1 mrg * testsuite/22_locale/time_get/get_date/wchar_t/12791.cc: New. 714 1.1 mrg 715 1.1 mrg * include/bits/locale_facets.tcc (time_get::_M_extract_via_format): 716 1.1 mrg Minor tweak: a 4-digit integer cannot be bigger than 9999. 717 1.1 mrg 718 1.1 mrg * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Use 719 1.1 mrg type-correct wchar_t string literals. 720 1.1 mrg * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Ditto. 721 1.1 mrg * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Ditto. 722 1.1 mrg * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Ditto. 723 1.1 mrg * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Ditto. 724 1.1 mrg 725 1.1 mrg 2003-12-02 Paolo Carlini <pcarlini (a] suse.de> 726 1.1 mrg 727 1.1 mrg * include/bits/locale_facets.tcc (time_get::do_get_year): 728 1.1 mrg Avoid using a basic_string and calling a full blown strtol 729 1.1 mrg (via __convert_to_v) for simple 2 or 4 digits, base 10, 730 1.1 mrg positive integers; simplify. 731 1.1 mrg 732 1.1 mrg 2003-12-02 Paolo Carlini <pcarlini (a] suse.de> 733 1.1 mrg 734 1.1 mrg * config/locale/gnu/monetary_members.cc 735 1.1 mrg (money_base::_S_construct_pattern): For case 3: and 4: 736 1.1 mrg exchanging 'if (__precedes)' and 'if (__space)' allows 737 1.1 mrg to factor out a few more assignments. 738 1.1 mrg 739 1.1 mrg 2003-12-01 Benjamin Kosnik <bkoz (a] redhat.com> 740 1.1 mrg 741 1.1 mrg * include/bits/basic_ios.h (basic_ios::setstate): Revert. 742 1.1 mrg * include/bits/istream.tcc: Only call setstate if __err != goodbit. 743 1.1 mrg * include/bits/ostream.tcc: Same. 744 1.1 mrg * testsuite/27_io/basic_ios/exceptions/char/2.cc: New. 745 1.1 mrg 746 1.1 mrg * testsuite/testsuite_io.h (__gnu_test::fail_streambuf): Make 747 1.1 mrg internal buffer non-static. 748 1.1 mrg 749 1.1 mrg 2003-12-01 Benjamin Kosnik <bkoz (a] redhat.com> 750 1.1 mrg 751 1.1 mrg * docs/html/17_intro/C++STYLE: Add exception bits. 752 1.1 mrg * include/bits/fstream.tcc: Add location info to exception strings. 753 1.1 mrg 754 1.1 mrg * include/bits/stl_construct.h: Formatting tweaks. 755 1.1 mrg 756 1.1 mrg 2003-12-01 Paolo Carlini <pcarlini (a] suse.de> 757 1.1 mrg 758 1.1 mrg PR libstdc++/10378 759 1.1 mrg * include/bits/allocator.h (allocator::construct): Implement 760 1.1 mrg resolution of DR 402 [Ready] (in Revision 28). 761 1.1 mrg * include/bits/allocator_traits.h (__allocator::construct): 762 1.1 mrg Likewise. 763 1.1 mrg * include/bits/stl_construct.h (_Construct): Likewise. 764 1.1 mrg * testsuite/20_util/allocator_members.cc: Move to... 765 1.1 mrg * testsuite/20_util/allocator/1.cc: ... here. 766 1.1 mrg * testsuite/20_util/allocator/10378.cc: New. 767 1.1 mrg * docs/html/ext/howto.html: Add an entry for DR 402. 768 1.1 mrg 769 1.1 mrg 2003-11-30 Paolo Carlini <pcarlini (a] suse.de> 770 1.1 mrg 771 1.1 mrg * config/locale/gnu/codecvt_members.cc (codecvt::do_in, 772 1.1 mrg codecvt::do_length): More minor tweaks. 773 1.1 mrg 774 1.1 mrg 2003-11-30 Paolo Carlini <pcarlini (a] suse.de> 775 1.1 mrg 776 1.1 mrg * config/locale/gnu/codecvt_members.cc (codecvt::do_in): 777 1.1 mrg Minor stylistic tweak. 778 1.1 mrg 779 1.1 mrg 2003-11-30 Paolo Carlini <pcarlini (a] suse.de> 780 1.1 mrg 781 1.1 mrg * include/bits/locale_facets.tcc (num_put::do_put(..., bool)): 782 1.1 mrg Minor tweaks, consistent with the style used in other facets. 783 1.1 mrg 784 1.1 mrg 2003-11-29 Paolo Carlini <pcarlini (a] suse.de> 785 1.1 mrg 786 1.1 mrg * include/bits/fstream.tcc (underflow): Minor tweaks in 787 1.1 mrg preparation for libstdc++/13217. 788 1.1 mrg 789 1.1 mrg 2003-11-29 Paolo Carlini <pcarlini (a] suse.de> 790 1.1 mrg 791 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: 792 1.1 mrg Tweak for a few small problems (fix timings, use VERIFY..) 793 1.1 mrg 794 1.1 mrg 2003-11-28 Paolo Carlini <pcarlini (a] suse.de> 795 1.1 mrg 796 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc: Remove. 797 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: New, 798 1.1 mrg the original third testcase for libstdc++/13171 belong here. 799 1.1 mrg 800 1.1 mrg 2003-11-28 Paolo Carlini <pcarlini (a] suse.de> 801 1.1 mrg 802 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc: 803 1.1 mrg Remove extraneous wchar_t lines. 804 1.1 mrg 805 1.1 mrg 2003-11-27 Paolo Carlini <pcarlini (a] suse.de> 806 1.1 mrg 807 1.1 mrg PR libstdc++/11544 808 1.1 mrg PR libstdc++/11603 809 1.1 mrg * include/bits/fstream.tcc (underflow): Throw ios_base::failure 810 1.1 mrg upon incomplete or invalid byte sequences in the file. 811 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-1.cc: New. 812 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-2.cc: New. 813 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc: New. 814 1.1 mrg 815 1.1 mrg 2003-11-27 Paolo Carlini <pcarlini (a] suse.de> 816 1.1 mrg 817 1.1 mrg * include/std/std_streambuf.h (__copy_streambufs): Remove 818 1.1 mrg the first, unused, basic_ios<> parameter. 819 1.1 mrg * src/streambuf-inst.cc: Likewise. 820 1.1 mrg * include/bits/streambuf.tcc: Likewise. 821 1.1 mrg * include/bits/istream.tcc (operator>>(__streambuf_type*)): 822 1.1 mrg Tweak accordingly the call. 823 1.1 mrg * include/bits/ostream.tcc (operator<<(__streambuf_type*)): 824 1.1 mrg Likewise. 825 1.1 mrg 826 1.1 mrg * include/bits/streambuf.tcc (__copy_streambufs): Remove 827 1.1 mrg redundant try/catch. 828 1.1 mrg 829 1.1 mrg 2003-11-26 Benjamin Kosnik <bkoz (a] redhat.com> 830 1.1 mrg 831 1.1 mrg PR libstdc++/9371 832 1.1 mrg PR libstdc++/9546 833 1.1 mrg PR libstdc++/10093 834 1.1 mrg PR libstdc++/10095 835 1.1 mrg * include/bits/basic_ios.h (basic_ios::setstate): Elide if goodbit. 836 1.1 mrg (basic_ios::_M_setstate): Consolidate common error handling code. 837 1.1 mrg * include/bits/basic_ios.tcc: Tweak. 838 1.1 mrg * include/bits/fstream.tcc: Tweak. 839 1.1 mrg * include/bits/istream.tcc: Use _M_setstate for common exception 840 1.1 mrg handling. Move setstate calls after catch. 841 1.1 mrg (basic_istream::tellg): Check for exceptions thrown by streambuf 842 1.1 mrg virtual functions. 843 1.1 mrg (basic_istream::seekg): Same. 844 1.1 mrg * include/bits/ostream.tcc: Same, but for ostream. 845 1.1 mrg (basic_ostream::flush): Check for exceptions thrown by streambuf 846 1.1 mrg virtual functions. 847 1.1 mrg (basic_istream::tellp): Same. 848 1.1 mrg (basic_istream::seekp): Same. 849 1.1 mrg * include/bits/locale_facets.tcc: Tweak. 850 1.1 mrg * include/bits/streambuf.tcc: Tweak. 851 1.1 mrg (__copy_streambufs): Propagate exceptions. 852 1.1 mrg * testsuite/testsuite_io.h (fail_streambuf): New. 853 1.1 mrg (fail_num_get): New. 854 1.1 mrg (fail_num_put): New. 855 1.1 mrg (facet_error): New. 856 1.1 mrg (underflow_error): New. 857 1.1 mrg (overflow_error): New. 858 1.1 mrg (positioning_error): New. 859 1.1 mrg * testsuite/27_io/basic_istream/exceptions/char/9561.cc: Tweak. 860 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/ 861 1.1 mrg exceptions_badbit_throw.cc, exceptions_failbit.cc, 862 1.1 mrg exceptions_failbit_throw.cc: New. 863 1.1 mrg * testsuite/27_io/basic_istream/extractors_other/char/ 864 1.1 mrg error_failbit.cc, exceptions_badbit_throw.cc, 865 1.1 mrg exceptions_failbit_throw.cc, exceptions_null.cc: New. 866 1.1 mrg * testsuite/27_io/basic_istream/seekg/char/exceptions_badbit_throw.cc: 867 1.1 mrg New. 868 1.1 mrg * testsuite/27_io/basic_istream/tellg/char/exceptions_badbit_throw.cc: 869 1.1 mrg New. 870 1.1 mrg * testsuite/27_io/basic_ostream/flush/char/exceptions_badbit_throw.cc: 871 1.1 mrg New. 872 1.1 mrg * testsuite/27_io/basic_ostream/inserters_arithmetic/char/ 873 1.1 mrg exceptions_badbit_throw.cc, exceptions_failbit_throw.cc: New. 874 1.1 mrg * testsuite/27_io/basic_ostream/inserters_other/char/ 875 1.1 mrg error_failbit.cc, exceptions_badbit_throw.cc, 876 1.1 mrg exceptions_failbit_throw.cc, exceptions_null.cc: New. 877 1.1 mrg * testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc: 878 1.1 mrg New. 879 1.1 mrg * testsuite/27_io/basic_ostream/tellp/char/exceptions_badbit_throw.cc: 880 1.1 mrg New. 881 1.1 mrg 882 1.1 mrg 2003-11-26 Benjamin Kosnik <bkoz (a] redhat.com> 883 1.1 mrg 884 1.1 mrg PR libstdc++/12297 885 1.1 mrg * include/bits/istream.tcc 886 1.1 mrg (basic_istream::sentry::sentry): Set failbit and eofbit when eof. 887 1.1 mrg * testsuite/27_io/basic_istream/sentry/char/12297.cc: New. 888 1.1 mrg 889 1.1 mrg 2003-11-26 Paolo Carlini <pcarlini (a] suse.de> 890 1.1 mrg Petur Runolfsson <peturr02 (a] ru.is> 891 1.1 mrg 892 1.1 mrg PR libstdc++/13171 893 1.1 mrg * include/bits/fstream.tcc (imbue): Relax the conditions under 894 1.1 mrg which the function succeeds: allow for two consecutive calls with 895 1.1 mrg the same name; state dependent encodings are ok even after open 896 1.1 mrg if at the beginning of the file; don't check seekoff return value 897 1.1 mrg (pipes, cin, cout, etc...) 898 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: New. 899 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: New. 900 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc: New. 901 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: New. 902 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Tweak comment. 903 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/char/3.cc: Likewise. 904 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Tweak comment. 905 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: Likewise. 906 1.1 mrg 907 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: More 908 1.1 mrg correctly use the UTF-8 locale appearing in the PR. 909 1.1 mrg 910 1.1 mrg 2003-11-26 Paolo Carlini <pcarlini (a] suse.de> 911 1.1 mrg 912 1.1 mrg * include/bits/locale_facets.h 913 1.1 mrg (__numpunct_cache<>::_M_cache): Avoid zeroing _M_grouping, 914 1.1 mrg _M_truename and _M_falsename: the constructor always does 915 1.1 mrg it immediately before the _M_cache call. 916 1.1 mrg 917 1.1 mrg 2003-11-25 Paolo Carlini <pcarlini (a] suse.de> 918 1.1 mrg 919 1.1 mrg * config/locale/gnu/codecvt_members.cc (codecvt::do_length): 920 1.1 mrg Rewrite, using both mbsnrtowcs and mbrtowc in a loop: the 921 1.1 mrg former is very fast, but stops if encounters a NUL. 922 1.1 mrg (codecvt::do_out): Tweaks. 923 1.1 mrg (codecvt::do_in): Tweaks, improve the code dealing with errors. 924 1.1 mrg * testsuite/performance/wchar_t_length.cc: New. 925 1.1 mrg 926 1.1 mrg 2003-11-24 Paolo Carlini <pcarlini (a] suse.de> 927 1.1 mrg 928 1.1 mrg * config/locale/gnu/codecvt_members.cc (codecvt::do_in): 929 1.1 mrg Rewrite, using both mbsnrtowcs and mbrtowc in a loop: the 930 1.1 mrg former is very fast, but stops if encounters a NUL. 931 1.1 mrg (codecvt::do_out): Tweak. 932 1.1 mrg * testsuite/performance/wchar_t_in.cc: New. 933 1.1 mrg 934 1.1 mrg 2003-11-24 Paolo Carlini <pcarlini (a] suse.de> 935 1.1 mrg 936 1.1 mrg * include/bits/locale_facets.h 937 1.1 mrg (__numpunct_cache<>::_M_cache): Set _M_allocated at the beginning 938 1.1 mrg in order to avoid memory leaks; simplify a bit. 939 1.1 mrg 940 1.1 mrg 2003-11-24 Benjamin Kosnik <bkoz (a] redhat.com> 941 1.1 mrg 942 1.1 mrg * include/bits/streambuf_iterator.h (ostreambuf_iterator): Remove 943 1.1 mrg non-standard throw specs. 944 1.1 mrg * testsuite/24_iterators/istreambuf_iterator.cc: Split into... 945 1.1 mrg * testsuite/24_iterators/istreambuf_iterator/1.cc 946 1.1 mrg * testsuite/24_iterators/istreambuf_iterator/2.cc 947 1.1 mrg * testsuite/24_iterators/istreambuf_iterator/2627.cc 948 1.1 mrg * testsuite/24_iterators/ostreambuf_iterator.cc: Split into... 949 1.1 mrg * testsuite/24_iterators/ostreambuf_iterator/1.cc 950 1.1 mrg * testsuite/24_iterators/ostreambuf_iterator/2.cc 951 1.1 mrg 952 1.1 mrg * testsuite/24_iterators/reverse_iterator/1.cc: Just compile, 953 1.1 mrg don't link. 954 1.1 mrg 955 1.1 mrg * include/bits/allocator.h: Formatting tweak. 956 1.1 mrg 957 1.1 mrg 2003-11-24 Paolo Carlini <pcarlini (a] suse.de> 958 1.1 mrg 959 1.1 mrg * src/locale_init.cc: Cosmetic reformatting. 960 1.1 mrg 961 1.1 mrg 2003-11-23 Paolo Carlini <pcarlini (a] suse.de> 962 1.1 mrg 963 1.1 mrg * include/bits/locale_facets.tcc (__add_grouping): 964 1.1 mrg Cosmetic reformatting. 965 1.1 mrg 966 1.1 mrg 2003-11-23 Paolo Carlini <pcarlini (a] suse.de> 967 1.1 mrg 968 1.1 mrg * include/bits/locale_facets.tcc (_M_extract_float, 969 1.1 mrg _M_extract_int): Remove a wrong comment and simplify 970 1.1 mrg the corresponding code using char_traits::find(). 971 1.1 mrg 972 1.1 mrg 2003-11-22 Paolo Carlini <pcarlini (a] suse.de> 973 1.1 mrg 974 1.1 mrg * config/locale/gnu/monetary_members.cc 975 1.1 mrg (money_base::_S_construct_pattern): Factor out two assignments. 976 1.1 mrg 977 1.1 mrg 2003-11-22 Paolo Carlini <pcarlini (a] suse.de> 978 1.1 mrg 979 1.1 mrg * include/bits/istream.tcc (getline(basic_string<>&)): 980 1.1 mrg Fix error in comment of the previous commit. 981 1.1 mrg 982 1.1 mrg 2003-11-22 Paolo Carlini <pcarlini (a] suse.de> 983 1.1 mrg 984 1.1 mrg PR libstdc++/12593 985 1.1 mrg * include/bits/istream.tcc (operator>>(basic_string<>&), 986 1.1 mrg getline(basic_string<>&)): Implement resolution of DR 91 [WP]; 987 1.1 mrg fix some minor issues with the exit conditions. 988 1.1 mrg * docs/html/ext/howto.html: Add an entry for DR 91. 989 1.1 mrg 990 1.1 mrg 2003-11-21 Paolo Carlini <pcarlini (a] suse.de> 991 1.1 mrg 992 1.1 mrg * config/locale/gnu/monetary_members.cc 993 1.1 mrg (money_base::_S_construct_pattern): Factor out an assignment. 994 1.1 mrg 995 1.1 mrg 2003-11-21 Paolo Carlini <pcarlini (a] suse.de> 996 1.1 mrg 997 1.1 mrg PR libstdc++/12882 (partial) 998 1.1 mrg * acinclude.m4 (GLIBCXX_CHECK_LFS): Check fseeko64 999 1.1 mrg and ftello64 too. 1000 1.1 mrg * include/ext/stdio_sync_filebuf.h (seekoff): Use fseeko64 1001 1.1 mrg and ftello64 if available. 1002 1.1 mrg * aclocal.m4: Regenerate. 1003 1.1 mrg * configure: Ditto. 1004 1.1 mrg 1005 1.1 mrg 2003-11-20 Benjamin Kosnik <bkoz (a] redhat.com> 1006 1.1 mrg 1007 1.1 mrg * include/debug/formatter.h: Use _Tp as template argument. 1008 1.1 mrg * src/debug.cc: Same, instantiate std::size_t. 1009 1.1 mrg 1010 1.1 mrg 2003-11-20 Benjamin Kosnik <bkoz (a] redhat.com> 1011 1.1 mrg 1012 1.1 mrg PR libstdc++/13109 1013 1.1 mrg * include/debug/formatter.h (_Error_formatter::_M_format_word): New. 1014 1.1 mrg * src/debug.cc (__gnu_debug): Format. 1015 1.1 mrg (_Error_formatter::_M_format_word): Define, use, instantiate. 1016 1.1 mrg 1017 1.1 mrg 2003-11-20 Paolo Carlini <pcarlini (a] suse.de> 1018 1.1 mrg 1019 1.1 mrg PR libstdc++/11602 1020 1.1 mrg * config/locale/gnu/codecvt_members.cc (codecvt::do_out): 1021 1.1 mrg Rewrite, using both wcsnrtombs and wcrtomb in a loop: the 1022 1.1 mrg former is very fast, but stops if encounters a NUL. 1023 1.1 mrg * testsuite/performance/wchar_t_out.cc: New, from the PR. 1024 1.1 mrg 1025 1.1 mrg 2003-11-19 Paolo Carlini <pcarlini (a] suse.de> 1026 1.1 mrg 1027 1.1 mrg * config/locale/gnu/codecvt_members.cc (do_out): If 1028 1.1 mrg we can upper bound the total number of external chars 1029 1.1 mrg to something smaller than __to_end - __to, avoid the 1030 1.1 mrg temporary buffer, the memcopy and simplify the loop. 1031 1.1 mrg * config/locale/generic/codecvt_members.cc (do_out): 1032 1.1 mrg Likewise. 1033 1.1 mrg 1034 1.1 mrg 2003-11-19 Andreas Tobler <a.tobler (a] schweiz.ch> 1035 1.1 mrg 1036 1.1 mrg * testsuite/lib/libstdc++.exp: Add DYLD_LIBRARY_PATH for darwin. 1037 1.1 mrg * testsuite/libstdc++-dg/normal.exp: Add -multiply_defined suppress 1038 1.1 mrg flag. 1039 1.1 mrg 1040 1.1 mrg 2003-11-18 Jonathan Wakely <redi (a] gcc.gnu.org> 1041 1.1 mrg 1042 1.1 mrg * docs/html/configopts.html, docs/html/debug.html, 1043 1.1 mrg docs/html/documentation.html, docs/html/explanations.html, 1044 1.1 mrg docs/html/install.html, docs/html/17_intro/contribute.html, 1045 1.1 mrg docs/html/17_intro/howto.html, docs/html/17_intro/license.html, 1046 1.1 mrg docs/html/18_support/howto.html, docs/html/19_diagnostics/howto.html, 1047 1.1 mrg docs/html/20_util/howto.html, docs/html/21_strings/howto.html, 1048 1.1 mrg docs/html/22_locale/codecvt.html, docs/html/22_locale/ctype.html, 1049 1.1 mrg docs/html/22_locale/howto.html, docs/html/22_locale/locale.html, 1050 1.1 mrg docs/html/22_locale/messages.html, docs/html/23_containers/howto.html, 1051 1.1 mrg docs/html/24_iterators/howto.html, docs/html/25_algorithms/howto.html, 1052 1.1 mrg docs/html/26_numerics/howto.html, docs/html/27_io/howto.html, 1053 1.1 mrg docs/html/ext/howto.html, docs/html/ext/sgiexts.html: Add <link> tags. 1054 1.1 mrg 1055 1.1 mrg 2003-11-18 Paolo Carlini <pcarlini (a] suse.de> 1056 1.1 mrg 1057 1.1 mrg PR libstdc++/12868 1058 1.1 mrg * include/bits/fstream.tcc (imbue): For encodings != -1 it's 1059 1.1 mrg always ok to imbue a new locale, provided seekoff(0, cur, ...) 1060 1.1 mrg doesn't fail, of course. 1061 1.1 mrg (underflow): In order for the above to work, deal gracefully 1062 1.1 mrg with _M_codecvt->in returning codecvt_base::error while 1063 1.1 mrg (__ilen = __iend - this->eback()) > 0: it just means __ilen 1064 1.1 mrg correctly converted internal characters before an error. 1065 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: New. 1066 1.1 mrg 1067 1.1 mrg 2003-11-17 Paolo Carlini <pcarlini (a] suse.de> 1068 1.1 mrg 1069 1.1 mrg * include/bits/locale_facets.tcc: Fix typo in comment. 1070 1.1 mrg 1071 1.1 mrg 2003-11-17 Paolo Carlini <pcarlini (a] suse.de> 1072 1.1 mrg 1073 1.1 mrg * testsuite/22_locale/num_put/put/char/8.cc: New test, 1074 1.1 mrg summarizing the discussion ensuing libstdc++/12988. 1075 1.1 mrg * testsuite/22_locale/num_put/put/wchar_t/8.cc: Ditto. 1076 1.1 mrg 1077 1.1 mrg 2003-11-15 Paolo Carlini <pcarlini (a] suse.de> 1078 1.1 mrg 1079 1.1 mrg * include/std/std_fstream.h: Tweak a comment. 1080 1.1 mrg 1081 1.1 mrg 2003-11-15 Roger Sayle <roger (a] eyesopen.com> 1082 1.1 mrg 1083 1.1 mrg * include/c_std/std_cmath.h: Don't import C99's float transcendentals 1084 1.1 mrg into the __gnu_cxx::__c99_binding namespace. 1085 1.1 mrg (acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp, 1086 1.1 mrg ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using 1087 1.1 mrg GCC's math builtins, i.e. __builtin_foo. 1088 1.1 mrg * libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl, 1089 1.1 mrg ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl, 1090 1.1 mrg ldexpf, ldexpl, modff, modfl): Provide stub implementations. 1091 1.1 mrg 1092 1.1 mrg 2003-11-14 Paolo Carlini <pcarlini (a] suse.de> 1093 1.1 mrg 1094 1.1 mrg * testsuite/22_locale/locale/cons/12352.cc: Use 1095 1.1 mrg __gnu_test::try_named_locale. 1096 1.1 mrg 1097 1.1 mrg 2003-11-14 Paolo Carlini <pcarlini (a] suse.de> 1098 1.1 mrg 1099 1.1 mrg * docs/html/ext/howto.html: Add entries for DR 63, 75 1100 1.1 mrg and 305; tweak entries for DR 60 and 328. 1101 1.1 mrg 1102 1.1 mrg 2003-11-13 Douglas Gregor <gregod (a] cs.rpi.edu> 1103 1.1 mrg 1104 1.1 mrg * docs/html/debug.html: Users are allowed to specialize in 1105 1.1 mrg namespace __gnu_debug, unlike in the Apple version of the debug 1106 1.1 mrg mode. Clear up a confusing double-negative. Note that 1107 1.1 mrg std::basic_string does provide extra debugging capabilities, but 1108 1.1 mrg not safe iterators. 1109 1.1 mrg * include/bits/basic_string.tcc: Make sure there's never an 1110 1.1 mrg ambiguity when calling __is_null_pointer. 1111 1.1 mrg * include/debug/deque: (deque::erase) Properly handle invalidation 1112 1.1 mrg when erasing at the end of the deque. 1113 1.1 mrg * include/debug/vector: (vector::swap): Swap _M_guaranteed_capacity. 1114 1.1 mrg (vector::clear): Set the guaranteed capacity to 0. 1115 1.1 mrg * testsuite/23_containers/deque/invalidation/4.cc: (test04): Test 1116 1.1 mrg iterator invalidation when erasing at the end of the deque. 1117 1.1 mrg 1118 1.1 mrg 2003-11-13 Paolo Carlini <pcarlini (a] suse.de> 1119 1.1 mrg Petur Runolfsson <peturr02 (a] ru.is> 1120 1.1 mrg 1121 1.1 mrg PR libstdc++/13007 1122 1.1 mrg * include/bits/fstream.tcc (imbue): Don't touch the stored 1123 1.1 mrg locale. 1124 1.1 mrg * include/std/std_streambuf.h (imbue): According to the 1125 1.1 mrg standard, base class version does nothing. 1126 1.1 mrg (pubimbue): Store the locale. 1127 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: New. 1128 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: New. 1129 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Tweak. 1130 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise. 1131 1.1 mrg * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: New. 1132 1.1 mrg * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: New. 1133 1.1 mrg * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: New. 1134 1.1 mrg * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: New. 1135 1.1 mrg 1136 1.1 mrg 2003-11-13 Petur Runolfsson <peturr02 (a] ru.is> 1137 1.1 mrg 1138 1.1 mrg PR libstdc++/12594 1139 1.1 mrg * include/bits/ostream.tcc 1140 1.1 mrg (basic_ostream::operator<<(basic_ostream& (*)(basic_ostream&)), 1141 1.1 mrg basic_ostream::operator<<(basic_ios& (*)(basic_ios&)), 1142 1.1 mrg basic_ostream::operator<<(ios_base& (*)(ios_base&))): 1143 1.1 mrg Implement the resolution of DR 60 (TC): These are not formatted 1144 1.1 mrg output functions so don't construct sentry objects and don't 1145 1.1 mrg catch exceptions. 1146 1.1 mrg (basic_ostream::put, basic_ostream::write): Implement the 1147 1.1 mrg resolution of DR 63 (TC) by catching exceptions and setting 1148 1.1 mrg badbit. 1149 1.1 mrg (basic_ostream::flush): Implement the resolution of DR 60 (TC): 1150 1.1 mrg This is not an unformatted output function so don't construct 1151 1.1 mrg a sentry object. 1152 1.1 mrg * testsuite/testsuite_io.h (sync_streambuf): Define. 1153 1.1 mrg * testsuite/27_io/basic_ostream/flush/char/2.cc: New test. 1154 1.1 mrg * testsuite/27_io/basic_ostream/inserters_other/char/5.cc: New test. 1155 1.1 mrg * testsuite/27_io/basic_ostream/put/char/1.cc: New test. 1156 1.1 mrg * testsuite/27_io/basic_ostream/write/char/1.cc: New test. 1157 1.1 mrg 1158 1.1 mrg 2003-11-13 Paolo Carlini <pcarlini (a] suse.de> 1159 1.1 mrg 1160 1.1 mrg * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: 1161 1.1 mrg Fix, closely following the testcase included in the PR. 1162 1.1 mrg * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: Ditto. 1163 1.1 mrg * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: Ditto. 1164 1.1 mrg * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: Ditto. 1165 1.1 mrg 1166 1.1 mrg 2003-11-13 Jonathan Wakely <redi (a] gcc.gnu.org> 1167 1.1 mrg 1168 1.1 mrg * docs/html/17_intro/configury.html: XHTML tweak. 1169 1.1 mrg 1170 1.1 mrg 2003-11-13 Jonathan Wakely <redi (a] gcc.gnu.org> 1171 1.1 mrg 1172 1.1 mrg * docs/html/debug_mode.html: XHTML fixes. 1173 1.1 mrg 1174 1.1 mrg 2003-11-12 Benjamin Kosnik <bkoz (a] redhat.com> 1175 1.1 mrg 1176 1.1 mrg * docs/html/debug_mode.html: Update. 1177 1.1 mrg * docs/html/17_intro/TODO: Update. 1178 1.1 mrg 1179 1.1 mrg 2003-11-12 Benjamin Kosnik <bkoz (a] redhat.com> 1180 1.1 mrg 1181 1.1 mrg * include/bits/c++config: Move using directive... 1182 1.1 mrg * include/debug/formatter.h: ...here. 1183 1.1 mrg 1184 1.1 mrg 2003-11-12 Carlo Wood <carlo (a] alinoe.com> 1185 1.1 mrg 1186 1.1 mrg PR libstdc++/12947 1187 1.1 mrg * bits/demangle.h 1188 1.1 mrg (_GLIBCXX_DEMANGLER_STYLE_COMPACT_EXPR_OPS): Added. 1189 1.1 mrg (_GLIBCXX_DEMANGLER_STYLE_SIZEOF_TYPENAME): Added. 1190 1.1 mrg (session<Allocator>::next_peek() const): Added. 1191 1.1 mrg (decode_non_negative_decimal_integer(string_type&)): 1192 1.1 mrg Renamed from decode_decimal_integer(string_type&). 1193 1.1 mrg (session<Allocator>::decode_nested_name): 1194 1.1 mrg Decode <template_param> as well. 1195 1.1 mrg (session<Allocator>::add_substitution): 1196 1.1 mrg Handle <template-param> for <nested-name>'s. 1197 1.1 mrg (enum xary_nt): Added. 1198 1.1 mrg (struct entry_st): Added member `xary_nt type' instead of `bool unary'. 1199 1.1 mrg (symbol_name_table_c): Updated for `entry_st::type' and additional 1200 1.1 mrg operators (unary `operator+' and `sizeof(type)'). 1201 1.1 mrg (offset_table_c): Updated for new operators (causing a new hash map). 1202 1.1 mrg (decode_operator_name): Match the updated hash map. 1203 1.1 mrg (session<Allocator>::decode_expression): 1204 1.1 mrg Support for `sizeof ([typename] type)' (st), 1205 1.1 mrg dependent names (sr) and casting operator (cv). Handle 1206 1.1 mrg `entry_st::type'. Handle _GLIBCXX_DEMANGLER_STYLE_COMPACT_EXPR_OPS 1207 1.1 mrg and _GLIBCXX_DEMANGLER_STYLE_SIZEOF_TYPENAME. 1208 1.1 mrg (session<Allocator>::decode_type_with_postfix): 1209 1.1 mrg Support `extern "C"' function types (FY). 1210 1.1 mrg * testsuite/demangle/regression/cw-16.cc: Added tests for the 1211 1.1 mrg added functionality. 1212 1.1 mrg * testsuite/demangle/regression/3111-2.cc: sizeof now has a space 1213 1.1 mrg appended. 1214 1.1 mrg 1215 1.1 mrg 2003-11-11 Paolo Carlini <pcarlini (a] suse.de> 1216 1.1 mrg 1217 1.1 mrg PR libstdc++/12875 1218 1.1 mrg * include/bits/fstream.tcc (setbuf): Don't do anything 1219 1.1 mrg after open(), in particular don't discard data. 1220 1.1 mrg (_M_allocate_internal_buffer): Tweak to not allocate memory 1221 1.1 mrg in case the buffer is provided by the user via setbuf. 1222 1.1 mrg * include/ext/stdio_filebuf.h: Tweak comment. 1223 1.1 mrg * testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc: New. 1224 1.1 mrg * testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc: Likewise. 1225 1.1 mrg * testsuite/27_io/basic_filebuf/setbuf/char/2.cc: Tweak, now 1226 1.1 mrg setbuf does nothing after open(). 1227 1.1 mrg * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Likewise. 1228 1.1 mrg 1229 1.1 mrg 2003-11-11 Doug Gregor <gregod (a] cs.rpi.edu> 1230 1.1 mrg 1231 1.1 mrg * docs/html/debug.html: Document libstdc++ debug mode. 1232 1.1 mrg * docs/html/debug_mode.html: Document libstdc++ debug mode design. 1233 1.1 mrg * docs/html/test.html: Document how to test under debug mode. 1234 1.1 mrg * docs/html/17_intro/howto.html: Document debug-mode macros. 1235 1.1 mrg * include/Makefile.am: Install debug-mode headers. 1236 1.1 mrg * src/Makefile.am: Include debug.cc. 1237 1.1 mrg * include/bits/basic_string.tcc: 1238 1.1 mrg (basic_string::_S_construct): Fix NULL pointer check. 1239 1.1 mrg (__is_null_pointer): New. 1240 1.1 mrg Add precondition annotations. 1241 1.1 mrg * include/bits/stream_iterator.h (istream_iterator, 1242 1.1 mrg ostream_iterator): Added precondition annotations. 1243 1.1 mrg * include/bits/streambuf_iterator.h (istreambuf_iterator): Ditto. 1244 1.1 mrg * include/bits/stl_queue.h (queue, priority_queue): Ditto. 1245 1.1 mrg * include/bits/stl_stack.h (stack): Ditto. 1246 1.1 mrg * include/bits/basic_string.h (basic_string): Ditto. 1247 1.1 mrg * include/bits/basic_string.tcc (basic_string): Ditto. 1248 1.1 mrg * include/std/std_memory.h (auto_ptr): Ditto. 1249 1.1 mrg * include/std/std_valarray.h (valarray): Ditto. 1250 1.1 mrg * include/bits/stl_algo.h: Added algorithm precondition 1251 1.1 mrg annotations. 1252 1.1 mrg * include/bits/stl_algobase.h: Added algorithm precondition 1253 1.1 mrg annotations. 1254 1.1 mrg * include/bits/stl_numeric.h: Ditto. 1255 1.1 mrg * include/ext/algorithm: Added algorithm precondition 1256 1.1 mrg annotations. 1257 1.1 mrg (__is_heap): Moved away from here. 1258 1.1 mrg * include/bits/stl_heap.h: Added algorithm precondition 1259 1.1 mrg annotations. 1260 1.1 mrg (__is_heap): Moved to the top of this file. 1261 1.1 mrg (__is_heap): Added iterator range overloads. 1262 1.1 mrg * testsuite/20_util/auto_ptr_neg.cc: Fix line numbers to match up 1263 1.1 mrg with changes in std_memory.h. 1264 1.1 mrg * testsuite/23_containers/list/operators/4.cc: Don't verify 1265 1.1 mrg performance guarantees when in debug mode. 1266 1.1 mrg * testsuite/23_containers/bitset/invalidation/1.cc: New. 1267 1.1 mrg * testsuite/23_containers/deque/invalidation/1.cc: New. 1268 1.1 mrg * testsuite/23_containers/deque/invalidation/2.cc: New. 1269 1.1 mrg * testsuite/23_containers/deque/invalidation/3.cc: New. 1270 1.1 mrg * testsuite/23_containers/deque/invalidation/4.cc: New. 1271 1.1 mrg * testsuite/23_containers/list/invalidation/1.cc: New. 1272 1.1 mrg * testsuite/23_containers/list/invalidation/2.cc: New. 1273 1.1 mrg * testsuite/23_containers/list/invalidation/3.cc: New. 1274 1.1 mrg * testsuite/23_containers/list/invalidation/4.cc: New. 1275 1.1 mrg * testsuite/23_containers/map/invalidation/1.cc: New. 1276 1.1 mrg * testsuite/23_containers/map/invalidation/2.cc: New. 1277 1.1 mrg * testsuite/23_containers/multimap/invalidation/1.cc: New. 1278 1.1 mrg * testsuite/23_containers/multimap/invalidation/2.cc: New. 1279 1.1 mrg * testsuite/23_containers/multiset/invalidation/1.cc: New. 1280 1.1 mrg * testsuite/23_containers/multiset/invalidation/2.cc: New. 1281 1.1 mrg * testsuite/23_containers/set/invalidation/1.cc: New. 1282 1.1 mrg * testsuite/23_containers/set/invalidation/2.cc: New. 1283 1.1 mrg * testsuite/23_containers/vector/invalidation/1.cc: New. 1284 1.1 mrg * testsuite/23_containers/vector/invalidation/2.cc: New. 1285 1.1 mrg * testsuite/23_containers/vector/invalidation/3.cc: New. 1286 1.1 mrg * testsuite/23_containers/vector/invalidation/4.cc: New. 1287 1.1 mrg * testsuite/25_algorithms/heap.cc: Don't verify 1288 1.1 mrg performance guarantees when in debug mode. 1289 1.1 mrg * include/debug/bitset: New. 1290 1.1 mrg * include/debug/debug.h: New. 1291 1.1 mrg * include/debug/deque: New. 1292 1.1 mrg * include/debug/formatter.h: New. 1293 1.1 mrg * include/debug/hash_map: New. 1294 1.1 mrg * include/debug/hash_map.h: New. 1295 1.1 mrg * include/debug/hash_multimap.h: New. 1296 1.1 mrg * include/debug/hash_set: New. 1297 1.1 mrg * include/debug/hash_set.h: New. 1298 1.1 mrg * include/debug/hash_multiset.h: New. 1299 1.1 mrg * include/debug/list: New. 1300 1.1 mrg * include/debug/map: New. 1301 1.1 mrg * include/debug/map.h: New. 1302 1.1 mrg * include/debug/multimap.h: New. 1303 1.1 mrg * include/debug/multiset.h: New. 1304 1.1 mrg * include/debug/safe_base.h: New. 1305 1.1 mrg * include/debug/safe_iterator.h: New. 1306 1.1 mrg * include/debug/safe_iterator.tcc: New. 1307 1.1 mrg * include/debug/safe_sequence.h: New. 1308 1.1 mrg * include/debug/set: New. 1309 1.1 mrg * include/debug/set.h: New. 1310 1.1 mrg * include/debug/string: New. 1311 1.1 mrg * include/debug/vector: New. 1312 1.1 mrg * src/debug.cc: New. 1313 1.1 mrg * config/linker-map.gnu: Add debug mode symbols. 1314 1.1 mrg 1315 1.1 mrg 2003-11-11 Benjamin Kosnik <bkoz (a] redhat.com> 1316 1.1 mrg 1317 1.1 mrg * src/string-inst.cc: Tweak namespaces. 1318 1.1 mrg * src/misc-inst.cc: Same. 1319 1.1 mrg * docs/html/debug.html: Edits. 1320 1.1 mrg * config/link-map.gnu: Remove cruft. 1321 1.1 mrg 1322 1.1 mrg * include/bits/c++config: Add in namespace associations. 1323 1.1 mrg * include/std/std_bitset.h: Adjust namespace to __gnu_norm, 1324 1.1 mrg comment tweaks. 1325 1.1 mrg * include/bits/deque.tcc: Same. 1326 1.1 mrg * include/bits/list.tcc: Same. 1327 1.1 mrg * include/bits/stl_bvector.h: Same. 1328 1.1 mrg * include/bits/stl_deque.h: Same. 1329 1.1 mrg * include/bits/stl_list.h: Same. 1330 1.1 mrg * include/bits/stl_map.h: Same. 1331 1.1 mrg * include/bits/stl_multimap.h: Same. 1332 1.1 mrg * include/bits/stl_multiset.h: Same. 1333 1.1 mrg * include/bits/stl_set.h: Same. 1334 1.1 mrg * include/bits/stl_vector.h: Same. 1335 1.1 mrg * include/bits/vector.tcc: Same. 1336 1.1 mrg 1337 1.1 mrg * include/std/std_algorithm.h: Remove markup comments. 1338 1.1 mrg * include/std/std_functional.h: Same. 1339 1.1 mrg * include/std/std_iterator.h: Same. 1340 1.1 mrg * include/std/std_numeric.h: Same. 1341 1.1 mrg * include/std/std_utility.h: Same. 1342 1.1 mrg * include/bits/stl_queue.h: Formatting tweaks. 1343 1.1 mrg * include/bits/stl_stack.h: Same. 1344 1.1 mrg * include/std/std_deque.h: Include debugging version in debug mode. 1345 1.1 mrg * include/std/std_list.h: Same. 1346 1.1 mrg * include/std/std_map.h: Same. 1347 1.1 mrg * include/std/std_set.h: Same. 1348 1.1 mrg * include/std/std_vector.h: Same. 1349 1.1 mrg * include/std/std_queue.h: Use deque, vector. 1350 1.1 mrg * include/std/std_stack.h: Same. 1351 1.1 mrg 1352 1.1 mrg 2003-11-09 Paolo Carlini <pcarlini (a] suse.de> 1353 1.1 mrg 1354 1.1 mrg * include/bits/locale_facets.tcc (_M_insert_int, 1355 1.1 mrg _M_insert_float): Move a couple of vars inside an if block. 1356 1.1 mrg 1357 1.1 mrg 2003-11-09 Paolo Carlini <pcarlini (a] suse.de> 1358 1.1 mrg 1359 1.1 mrg PR libstdc++/12971 1360 1.1 mrg * include/bits/locale_facets.tcc 1361 1.1 mrg (money_put::do_put(..., long double)): Fix conversion 1362 1.1 mrg specification as per DR 328 [WP]. 1363 1.1 mrg * testsuite/22_locale/money_put/put/char/12971.cc: Add. 1364 1.1 mrg * testsuite/22_locale/money_put/put/wchar_t/12971.cc: Ditto. 1365 1.1 mrg * docs/html/ext/howto.html: Add entry for DR 328. 1366 1.1 mrg 1367 1.1 mrg 2003-11-08 Paolo Carlini <pcarlini (a] suse.de> 1368 1.1 mrg 1369 1.1 mrg PR libstdc++/12967 1370 1.1 mrg * include/bits/list.tcc (merge): Implement resolution of 1371 1.1 mrg DR 300 [WP]. 1372 1.1 mrg * docs/html/ext/howto.html: Add entry for DR 300; tweak entry 1373 1.1 mrg for DR 231. 1374 1.1 mrg 1375 1.1 mrg * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html: 1376 1.1 mrg Import R27. 1377 1.1 mrg 1378 1.1 mrg 2003-11-07 Jonathan Wakely <redi (a] gcc.gnu.org> 1379 1.1 mrg 1380 1.1 mrg * libsupc++/vec.cc: Conform to C++STYLE. 1381 1.1 mrg 1382 1.1 mrg 2003-11-07 Carlo Wood <carlo (a] alinoe.com> 1383 1.1 mrg 1384 1.1 mrg PR libstdc++/12736 1385 1.1 mrg * bits/demangle.h (qualifier_list<Allocator>::decode_KVrA): Added. 1386 1.1 mrg (qualifier_list<Allocator>::decode_qualifiers): Collect concatenated 1387 1.1 mrg K, V, r and A qualifiers before processing them as a group. 1388 1.1 mrg * testsuite/demangle/abi_text/01.cc: Reordered CV-qualifiers. 1389 1.1 mrg * testsuite/demangle/regression/cw-16.cc: New. 1390 1.1 mrg 1391 1.1 mrg 2003-11-07 Robert Millan <robertmh (a] gnu.org> 1392 1.1 mrg 1393 1.1 mrg * configure.host: Add kfreebsd*-gnu and knetbsd*-gnu. 1394 1.1 mrg * crossconfig.m4: Likewise. 1395 1.1 mrg * configure: Regenerate. 1396 1.1 mrg 1397 1.1 mrg 2003-11-07 Carlo Wood <carlo (a] alinoe.com> 1398 1.1 mrg 1399 1.1 mrg * include/bits/demangle.h 1400 1.1 mrg (qualifier_list<Allocator>::decode_qualifiers(string_type&, 1401 1.1 mrg string_type&, bool member_function_pointer_qualifiers): 1402 1.1 mrg Always separate the '[' of an array type with a space from 1403 1.1 mrg what is left of it, except when that is the closing bracket 1404 1.1 mrg of another array dimension. 1405 1.1 mrg 1406 1.1 mrg 2003-11-07 Carlo Wood <carlo (a] alinoe.com> 1407 1.1 mrg 1408 1.1 mrg * include/bits/demangle.h 1409 1.1 mrg (qualifier_list<Allocator>::decode_qualifiers(string_type&, 1410 1.1 mrg string_type&, bool) const): Made const. 1411 1.1 mrg (qualifier_list<Allocator>::M_printing_suppressed): Added mutable. 1412 1.1 mrg (_GLIBCXX_DEMANGLER_DOUT_ENTERING3, _GLIBCXX_DEMANGLER_RETURN3, 1413 1.1 mrg std::ostream& operator<<(std::ostream&, qualifier const&), 1414 1.1 mrg std::ostream& operator<<(std::ostream&, qualifier_list const&), 1415 1.1 mrg qualifier_list<Allocator>::decode_qualifiers(string_type&, 1416 1.1 mrg string_type&, bool) const, 1417 1.1 mrg session<Allocator>::decode_type_with_postfix(string_type&, 1418 1.1 mrg string_type&, qualifier_list<Allocator>*)) 1419 1.1 mrg Added and/or changed debug-only hooks and code. 1420 1.1 mrg 1421 1.1 mrg 2003-11-04 Jeffrey D. Oldham <oldham (a] codesourcery.com> 1422 1.1 mrg 1423 1.1 mrg * libsupc++/vec.cc (__cxa_vec_delete2): If given a NULL pointer, 1424 1.1 mrg immediately return. This reflects a C++ ABI change 2003 Nov 03. 1425 1.1 mrg (__cxa_vec_delete3): Likewise. 1426 1.1 mrg 1427 1.1 mrg 2003-11-03 Petur Runolfsson <peturr02 (a] ru.is> 1428 1.1 mrg 1429 1.1 mrg PR libstdc++/12790 1430 1.1 mrg * include/bits/fstream.tcc: Delete _M_last_overflowed. 1431 1.1 mrg (basic_filebuf::basic_filebuf): Initialize _M_state_last. 1432 1.1 mrg (basic_filebuf::open, basic_filebuf::close): Assign 1433 1.1 mrg _M_state_beg to _M_state_cur and _M_state_last. 1434 1.1 mrg (basic_filebuf::close): Call _M_terminate_output to handle 1435 1.1 mrg unshift and flushing. 1436 1.1 mrg (basic_filebuf::underflow): Assign _M_state_last, throw 1437 1.1 mrg exception instead of calling abort when codecvt::max_length() 1438 1.1 mrg is bad. 1439 1.1 mrg (basic_filebuf::seekoff): Use _M_state_last when calling 1440 1.1 mrg codecvt::length(), pass correct state to _M_seek. 1441 1.1 mrg (basic_filebuf::seekpos): Pass __pos.state() to _M_seek. 1442 1.1 mrg (basic_filebuf::_M_seek): Add __state_type parameter, 1443 1.1 mrg set _M_state_cur correctly, store the resulting state in 1444 1.1 mrg the return value and use _M_terminate_output to handle 1445 1.1 mrg flushing and unshift. 1446 1.1 mrg (basic_filebuf::_M_terminate_output): Flush contents of 1447 1.1 mrg output buffer, if any, then call codecvt::unshift as 1448 1.1 mrg needed and output the result. 1449 1.1 mrg (basic_filebuf::sync): Move here, don't modify _M_writing 1450 1.1 mrg or _M_reading. 1451 1.1 mrg 1452 1.1 mrg * include/std/std_fstream.h 1453 1.1 mrg (basic_filebuf::_M_state_last): Declare it. 1454 1.1 mrg (basic_filebuf::_M_last_overflowed): Delete. 1455 1.1 mrg (basic_filebuf::_M_seek): Add __state_type parameter. 1456 1.1 mrg (basic_filebuf::sync): Declare only. 1457 1.1 mrg (basic_filebuf::_M_output_unshift): Delete. 1458 1.1 mrg (basic_filebuf::_M_terminate_output): Declare it. 1459 1.1 mrg 1460 1.1 mrg * testsuite/testsuite_character.h: 1461 1.1 mrg Define character class and state class plus char_traits and 1462 1.1 mrg codecvt specializations for same for testing support for 1463 1.1 mrg stateful encodings. 1464 1.1 mrg 1465 1.1 mrg * testsuite/27_io/basic_filebuf/close/12790-1.cc, 1466 1.1 mrg * testsuite/27_io/basic_filebuf/close/char/12790-1.cc, 1467 1.1 mrg * testsuite/27_io/basic_filebuf/close/char/12790-2.cc, 1468 1.1 mrg * testsuite/27_io/basic_filebuf/close/char/12790-3.cc, 1469 1.1 mrg * testsuite/27_io/basic_filebuf/close/char/12790-4.cc, 1470 1.1 mrg * testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc, 1471 1.1 mrg * testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc, 1472 1.1 mrg * testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc, 1473 1.1 mrg * testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc, 1474 1.1 mrg * testsuite/27_io/basic_filebuf/open/12790-1.cc, 1475 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc, 1476 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc, 1477 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc, 1478 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc, 1479 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc, 1480 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc, 1481 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc, 1482 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc, 1483 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc, 1484 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc, 1485 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc, 1486 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc, 1487 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc, 1488 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc, 1489 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc, 1490 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc, 1491 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc, 1492 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc, 1493 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/char/12790-3.cc, 1494 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc, 1495 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc, 1496 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc, 1497 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc, 1498 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-3.cc, 1499 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc, 1500 1.1 mrg * testsuite/27_io/basic_filebuf/sync/char/1.cc, 1501 1.1 mrg * testsuite/27_io/basic_filebuf/sync/wchar_t/1.cc: 1502 1.1 mrg New tests. 1503 1.1 mrg 1504 1.1 mrg * testsuite/27_io/basic_filebuf/3.cc, 1505 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc, 1506 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc, 1507 1.1 mrg * testsuite/27_io/basic_fstream/3.cc, 1508 1.1 mrg * testsuite/27_io/basic_ifstream/3.cc, 1509 1.1 mrg * testsuite/27_io/basic_ofstream/3.cc: 1510 1.1 mrg Use streamoff as off_type and fpos<state_type> as pos_type. 1511 1.1 mrg 1512 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc, 1513 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: 1514 1.1 mrg Check that sync does *not* set _M_writing to false. 1515 1.1 mrg 1516 1.1 mrg 2003-11-03 Anthony Green <green (a] redhat.com> 1517 1.1 mrg 1518 1.1 mrg * libmath/stubs.c (sqrtf, sqrtl): Reorder so they appear before 1519 1.1 mrg they're used. 1520 1.1 mrg 1521 1.1 mrg 2003-11-03 Benjamin Kosnik <bkoz (a] redhat.com> 1522 1.1 mrg 1523 1.1 mrg * include/bits/locale_facets.h (time_get::_M_extract_name): Add 1524 1.1 mrg ctype argument. 1525 1.1 mrg * include/bits/locale_facets.tcc: Same, use it to allow 1526 1.1 mrg capitalized names. 1527 1.1 mrg 1528 1.1 mrg * include/bits/fstream.tcc: Spacing tweak. 1529 1.1 mrg * include/bits/istream.tcc: Same. 1530 1.1 mrg * include/bits/ostream.tcc: Same. 1531 1.1 mrg 1532 1.1 mrg 2003-10-30 Paolo Carlini <pcarlini (a] suse.de> 1533 1.1 mrg 1534 1.1 mrg * include/bits/locale_facets.tcc (time_get::_M_extract_via_format): 1535 1.1 mrg __mod is only assigned, never used its value, remove it. 1536 1.1 mrg 1537 1.1 mrg 2003-10-29 Paolo Carlini <pcarlini (a] suse.de> 1538 1.1 mrg 1539 1.1 mrg * include/bits/locale_facets.tcc (time_get::do_get_year): 1540 1.1 mrg Absolutely avoid dereferencing end iterators. 1541 1.1 mrg (time_put::put): Minor clean up. 1542 1.1 mrg 1543 1.1 mrg * include/bits/locale_facets.tcc: Cosmetic reformattings. 1544 1.1 mrg 1545 1.1 mrg 2003-10-29 Paolo Carlini <pcarlini (a] suse.de> 1546 1.1 mrg 1547 1.1 mrg * include/bits/locale_facets.tcc (num_get::_M_extract_float): 1548 1.1 mrg Revert the last commit, is not correct, sorry. 1549 1.1 mrg 1550 1.1 mrg 2003-10-29 Paolo Carlini <pcarlini (a] suse.de> 1551 1.1 mrg 1552 1.1 mrg * config/locale/generic/c_locale.cc: Add back <cmath> and 1553 1.1 mrg <cstdlib>. 1554 1.1 mrg 1555 1.1 mrg * include/bits/locale_facets.tcc (num_get::_M_extract_float): 1556 1.1 mrg Clean up. 1557 1.1 mrg 1558 1.1 mrg 2003-10-29 Paolo Carlini <pcarlini (a] suse.de> 1559 1.1 mrg 1560 1.1 mrg * include/bits/locale_facets.tcc (time_put::put): Absolutely 1561 1.1 mrg avoid dereferencing end iterators; clean up. 1562 1.1 mrg 1563 1.1 mrg * include/bits/locale_facets.tcc (num_get::_M_extract_float, 1564 1.1 mrg num_get::_M_extract_int): Minor tweak. 1565 1.1 mrg 1566 1.1 mrg 2003-10-29 Paolo Carlini <pcarlini (a] suse.de> 1567 1.1 mrg 1568 1.1 mrg * include/bits/locale_facets.tcc: Remove some unnecessary 1569 1.1 mrg includes. 1570 1.1 mrg * config/locale/generic/c_locale.cc: Include <cerrno> here. 1571 1.1 mrg * config/locale/gnu/c_locale.cc: Likewise. 1572 1.1 mrg 1573 1.1 mrg 2003-10-28 Paolo Carlini <pcarlini (a] suse.de> 1574 1.1 mrg 1575 1.1 mrg * include/bits/locale_facets.tcc 1576 1.1 mrg (money_get<>::do_get(..., string_type&)): Absolutely avoid 1577 1.1 mrg dereferencing end iterators; general clean up. 1578 1.1 mrg 1579 1.1 mrg 2003-10-28 Paolo Carlini <pcarlini (a] suse.de> 1580 1.1 mrg 1581 1.1 mrg * include/bits/locale_facets.tcc (time_get::_M_extract_num): 1582 1.1 mrg Absolutely avoid dereferencing end iterators. 1583 1.1 mrg (time_get::_M_extract_name): Likewise. 1584 1.1 mrg 1585 1.1 mrg * include/bits/locale_facets.tcc 1586 1.1 mrg (time_get::_M_extract_via_format, case 'e'): Don't try to 1587 1.1 mrg be smart wrt returning the right __beg in case of parse 1588 1.1 mrg error, time_get::_M_extract_num must be fixed instead. 1589 1.1 mrg 1590 1.1 mrg 2003-10-27 Paolo Carlini <pcarlini (a] suse.de> 1591 1.1 mrg 1592 1.1 mrg PR libstdc++/12778 1593 1.1 mrg * acinclude.m4 (GLIBCXX_CHECK_LFS): Use the C++ compiler. 1594 1.1 mrg * aclocal.m4: Regenerate. 1595 1.1 mrg * configure: Regenerate. 1596 1.1 mrg 1597 1.1 mrg 2003-10-27 Benjamin Kosnik <bkoz (a] redhat.com> 1598 1.1 mrg 1599 1.1 mrg * docs/html/17_intro/TODO: Add links. 1600 1.1 mrg * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc: 1601 1.1 mrg Uncomment. 1602 1.1 mrg 1603 1.1 mrg 2003-10-27 Paolo Carlini <pcarlini (a] suse.de> 1604 1.1 mrg 1605 1.1 mrg PR libstdc++/12750 1606 1.1 mrg * include/bits/locale_facets.tcc 1607 1.1 mrg (time_get::_M_extract_via_format): Deal with code 'e'. 1608 1.1 mrg * testsuite/22_locale/time_get/get_date/char/12750.cc: New. 1609 1.1 mrg * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Ditto. 1610 1.1 mrg 1611 1.1 mrg * include/bits/locale_facets.tcc 1612 1.1 mrg (time_get::_M_extract_via_format): Tweak to absolutely avoid 1613 1.1 mrg dereferencing end iterators. 1614 1.1 mrg 1615 1.1 mrg * include/bits/locale_facets.h (__verify_grouping): 1616 1.1 mrg Const-ify second parameter. 1617 1.1 mrg * include/bits/locale_facets.tcc (__verify_grouping): Ditto. 1618 1.1 mrg * src/locale-inst.cc (__verify_grouping): Ditto. 1619 1.1 mrg 1620 1.1 mrg 2003-10-27 Paolo Carlini <pcarlini (a] suse.de> 1621 1.1 mrg 1622 1.1 mrg * include/bits/locale_facets.tcc (num_get::_M_extract_float): 1623 1.1 mrg Various things: 1- Avoid absolutely end iterator dereferences; 1624 1.1 mrg 2- Improve performance-wise the code skipping leading zeros; 1625 1.1 mrg 3- Fix two bugs wrt early bail out in case of parsing errors 1626 1.1 mrg (see testcases); 4- General clean up. 1627 1.1 mrg (num_get::_M_extract_int): Likewise, except 3-. Additionally, 1628 1.1 mrg use __builtin_expect to favor base 10 inputs. 1629 1.1 mrg * testsuite/22_locale/num_get/get/char/7.cc: New. 1630 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/7.cc: Ditto. 1631 1.1 mrg 1632 1.1 mrg 2003-10-26 Paolo Carlini <pcarlini (a] suse.de> 1633 1.1 mrg 1634 1.1 mrg * testsuite/22_locale/money_put/put/char/1.cc: Clean up. 1635 1.1 mrg * testsuite/22_locale/money_put/put/wchar_t/1.cc: Ditto. 1636 1.1 mrg 1637 1.1 mrg 2003-10-25 Paolo Carlini <pcarlini (a] suse.de> 1638 1.1 mrg 1639 1.1 mrg * include/bits/locale_facets.tcc (num_get::_M_extract_int): 1640 1.1 mrg __pos in only incremented, never used its value, remove it. 1641 1.1 mrg 1642 1.1 mrg 2003-10-24 Robert Millan <robertmh (a] gnu.org> 1643 1.1 mrg 1644 1.1 mrg * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add kfreebsd*-gnu 1645 1.1 mrg and knetbsd*-gnu. 1646 1.1 mrg * aclocal.m4: Regenerated. 1647 1.1 mrg * configure: Regenerated. 1648 1.1 mrg 1649 1.1 mrg 2003-10-24 Paolo Carlini <pcarlini (a] suse.de> 1650 1.1 mrg 1651 1.1 mrg * include/bits/locale_facets.tcc (money_get::do_get(..., 1652 1.1 mrg long double&): Properly size the temporary buffer. 1653 1.1 mrg * testsuite/22_locale/money_get/get/char/11.cc: New. 1654 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/11.cc: Ditto. 1655 1.1 mrg 1656 1.1 mrg * include/bits/locale_facets.tcc (num_put::_M_group_int, 1657 1.1 mrg num_put::_M_group_float, money_put::do_put(..., const 1658 1.1 mrg string_type&), collate::do_compare, collate::do_transform): 1659 1.1 mrg Prefer basic_string::data() to c_str() when the '\0' 1660 1.1 mrg terminator is not really needed. 1661 1.1 mrg 1662 1.1 mrg 2003-10-24 Paolo Carlini <pcarlini (a] suse.de> 1663 1.1 mrg 1664 1.1 mrg * include/bits/locale_facets.tcc (__verify_grouping): 1665 1.1 mrg Prefer '=' to an unnecessary '&='. 1666 1.1 mrg 1667 1.1 mrg 2003-10-24 Paolo Carlini <pcarlini (a] suse.de> 1668 1.1 mrg 1669 1.1 mrg * include/bits/basic_ios.tcc (copyfmt(const basic_ios&)): 1670 1.1 mrg Tweak my fix for libstdc++/12657. 1671 1.1 mrg 1672 1.1 mrg 2003-10-24 Paolo Carlini <pcarlini (a] suse.de> 1673 1.1 mrg 1674 1.1 mrg * include/bits/locale_facets.tcc (money_get::do_get(..., 1675 1.1 mrg string_type&): Minor tweak to the previous commit. 1676 1.1 mrg 1677 1.1 mrg 2003-10-24 Paolo Carlini <pcarlini (a] suse.de> 1678 1.1 mrg 1679 1.1 mrg * include/bits/locale_facets.tcc (money_get::do_get(..., 1680 1.1 mrg string_type&): Disregard the previous commit: doesn't hurt but 1681 1.1 mrg doesn't accomplish anything useful either. This is the right 1682 1.1 mrg one, speeding up greatly the function in case of early fail. 1683 1.1 mrg 1684 1.1 mrg 2003-10-24 Paolo Carlini <pcarlini (a] suse.de> 1685 1.1 mrg 1686 1.1 mrg * include/bits/locale_facets.tcc (money_get::do_get(..., 1687 1.1 mrg string_type&): Move an if block, thus minimizing the amount 1688 1.1 mrg of code processed anyway when __tmp_units.size() == 0. 1689 1.1 mrg 1690 1.1 mrg 2003-10-24 Paolo Carlini <pcarlini (a] suse.de> 1691 1.1 mrg 1692 1.1 mrg * include/bits/locale_facets.tcc 1693 1.1 mrg (time_get<>::_M_extract_via_format): Deal with case 'C' too, 1694 1.1 mrg equivalent to 'y'. 1695 1.1 mrg 1696 1.1 mrg 2003-10-23 Benjamin Kosnik <bkoz (a] redhat.com> 1697 1.1 mrg 1698 1.1 mrg * docs/html/documentation.html: Add a pointer to the doxygen style 1699 1.1 mrg guide. 1700 1.1 mrg * docs/html/17_intro/TODO: Update. 1701 1.1 mrg * docs/html/test.html: Add instructions for running a subset of 1702 1.1 mrg tests, update. 1703 1.1 mrg 1704 1.1 mrg 2003-10-23 Paolo Carlini <pcarlini (a] suse.de> 1705 1.1 mrg 1706 1.1 mrg * include/bits/locale_facets.tcc (money_get<>::do_get(..., 1707 1.1 mrg string_type&)): Use find_first_not_of to strip leading 1708 1.1 mrg zeros; if __tmp_units == "0" never prefix it with '-'; 1709 1.1 mrg always fail if __tmp_units is empty. 1710 1.1 mrg * testsuite/22_locale/money_get/get/char/10.cc: New. 1711 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/10.cc: Ditto. 1712 1.1 mrg 1713 1.1 mrg 2003-10-23 Phil Edwards <phil (a] codesourcery.com> 1714 1.1 mrg 1715 1.1 mrg * config/os/vxworks/ctype_noninline.h: Adjust ctor to match 1716 1.1 mrg 2003-10-21 change. 1717 1.1 mrg 1718 1.1 mrg 2003-10-22 Paolo Carlini <pcarlini (a] suse.de> 1719 1.1 mrg 1720 1.1 mrg * include/bits/locale_facets.tcc (__int_to_char): Remove 1721 1.1 mrg the const int parameter. 1722 1.1 mrg (_M_insert_int): Update caller. 1723 1.1 mrg * src/locale-inst.cc (__int_to_char): Update instantiations. 1724 1.1 mrg 1725 1.1 mrg 2003-10-22 Benjamin Kosnik <bkoz (a] redhat.com> 1726 1.1 mrg 1727 1.1 mrg * include/bits/locale_facets.h: Correct byname facets for "C" 1728 1.1 mrg locale. 1729 1.1 mrg * config/locale/generic/ctype_members.cc: Same. 1730 1.1 mrg * config/locale/generic/messages_members.h: Same. 1731 1.1 mrg * config/locale/gnu/ctype_members.cc: Same. 1732 1.1 mrg * config/locale/gnu/messages_members.h: Same. 1733 1.1 mrg * include/bits/codecvt.h: Same. 1734 1.1 mrg * src/ctype.cc: Same. 1735 1.1 mrg * testsuite/22_locale/codecvt_byname/1.cc: New. 1736 1.1 mrg * testsuite/22_locale/collate/1.cc: Edit. 1737 1.1 mrg * testsuite/22_locale/collate_byname/1.cc: Derivation tests, move to... 1738 1.1 mrg * testsuite/22_locale/collate_byname/named_equivalence.cc: ...here. 1739 1.1 mrg * testsuite/22_locale/ctype/1.cc: Derivation tests. 1740 1.1 mrg * testsuite/22_locale/ctype/11844.cc: Move... 1741 1.1 mrg * testsuite/22_locale/ctype_base/11844.cc: ...here. 1742 1.1 mrg * testsuite/22_locale/ctype_base/1.cc: Move mask bits here. 1743 1.1 mrg * testsuite/22_locale/ctype_byname/1.cc: Name. 1744 1.1 mrg * testsuite/22_locale/messages_byname/1.cc: New. 1745 1.1 mrg * testsuite/22_locale/messages_byname/named_equivalence.cc: New. 1746 1.1 mrg * testsuite/22_locale/moneypunct_byname/1.cc: Derivation test. 1747 1.1 mrg * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: New. 1748 1.1 mrg * testsuite/22_locale/numpunct/1.cc: Edit. 1749 1.1 mrg * testsuite/22_locale/numpunct_byname/2.cc: Move... 1750 1.1 mrg * testsuite/22_locale/numpunct/members/char/3.cc: ...here. 1751 1.1 mrg * testsuite/22_locale/numpunct_byname/1.cc: Derivation tests. 1752 1.1 mrg * testsuite/22_locale/numpunct_byname/named_equivalence.cc: New. 1753 1.1 mrg 1754 1.1 mrg 2003-10-22 Paolo Carlini <pcarlini (a] suse.de> 1755 1.1 mrg 1756 1.1 mrg PR libstdc++/8610 1757 1.1 mrg * acinclude.m4 (GLIBCXX_CHECK_INT64_T): New macro, 1758 1.1 mrg checking for the availability of int64_t. 1759 1.1 mrg (GLIBCXX_CHECK_LFS): New macro, checking for LFS support. 1760 1.1 mrg * configure.ac: Call here. 1761 1.1 mrg * acconfig.h: Add undef for the corresponding symbols. 1762 1.1 mrg * config/io/basic_file_stdio.cc (__basic_file<char>::open): 1763 1.1 mrg Depending on _GLIBCXX_USE_LFS, call fopen64 or fopen. 1764 1.1 mrg (__basic_file<char>::seekoff): Likewise, call lseek64 when 1765 1.1 mrg available, otherwise lseek, checking the __off parameter. 1766 1.1 mrg * include/bits/postypes.h: Typedef __streamoff_base_type 1767 1.1 mrg to int64_t if available, otherwise long long. 1768 1.1 mrg * aclocal.m4: Regenerate. 1769 1.1 mrg * config.h.in: Likewise. 1770 1.1 mrg * configure: Likewise. 1771 1.1 mrg 1772 1.1 mrg * acinclude.m4 (GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_WRITEV): 1773 1.1 mrg Use AC_TRY_LINK instead of AC_TRY_COMPILE. 1774 1.1 mrg 1775 1.1 mrg 2003-10-22 Paolo Carlini <pcarlini (a] suse.de> 1776 1.1 mrg 1777 1.1 mrg PR libstdc++/12657 1778 1.1 mrg * include/bits/basic_ios.tcc (copyfmt(const basic_ios&)): 1779 1.1 mrg Implement resolution of DR 292 (WP). 1780 1.1 mrg * docs/html/ext/howto.html: Add entry for DR 292. 1781 1.1 mrg 1782 1.1 mrg 2003-10-21 Benjamin Kosnik <bkoz (a] redhat.com> 1783 1.1 mrg 1784 1.1 mrg * include/ext/mt_allocator.h: Change include to gthr.h. 1785 1.1 mrg * include/ext/rope: Same. Add _Refcount_base definitions. 1786 1.1 mrg * include/ext/pool_allocator.h: Adjust namespaces. 1787 1.1 mrg * include/bits/stl_threads.h (_Refcount_base): Move. 1788 1.1 mrg Put remaining into namespace __gnu_cxx. 1789 1.1 mrg 1790 1.1 mrg 2003-10-21 Benjamin Kosnik <bkoz (a] redhat.com> 1791 1.1 mrg 1792 1.1 mrg PR libstdc++/9858 1793 1.1 mrg * include/bits/locale_facets.h (ctype<char>): Remove 1794 1.1 mrg __ctype_abstract_base. 1795 1.1 mrg (ctype<char>::do_is): Remove. 1796 1.1 mrg (ctype<char>::do_scan_is): Remove. 1797 1.1 mrg * src/ctype.cc: Same. Inline the rest. 1798 1.1 mrg * testsuite/22_locale/ctype/is/char/9858.cc: New. 1799 1.1 mrg * config/os/aix/ctype_noninline.h: Adjust ctor. 1800 1.1 mrg * config/os/bsd/freebsd/ctype_noninline.h: Same. 1801 1.1 mrg * config/os/bsd/netbsd/ctype_noninline.h: Same. 1802 1.1 mrg * config/os/djgpp/ctype_noninline.h: Same. 1803 1.1 mrg * config/os/generic/ctype_noninline.h: Same. 1804 1.1 mrg * config/os/gnu-linux/ctype_noninline.h: Same. 1805 1.1 mrg * config/os/hpux/ctype_noninline.h: Same. 1806 1.1 mrg * config/os/irix/irix5.2/ctype_noninline.h: Same. 1807 1.1 mrg * config/os/irix/irix6.5/ctype_noninline.h: Same. 1808 1.1 mrg * config/os/mingw32/ctype_noninline.h: Same. 1809 1.1 mrg * config/os/newlib/ctype_noninline.h: Same. 1810 1.1 mrg * config/os/qnx/qnx6.1/ctype_noninline.h: Same. 1811 1.1 mrg * config/os/solaris/solaris2.5/ctype_noninline.h: Same. 1812 1.1 mrg * config/os/solaris/solaris2.6/ctype_noninline.h: Same. 1813 1.1 mrg * config/os/solaris/solaris2.7/ctype_noninline.h: Same. 1814 1.1 mrg * config/os/windiss/ctype_noninline.h: Same. 1815 1.1 mrg 1816 1.1 mrg 2003-10-21 Paolo Carlini <pcarlini (a] suse.de> 1817 1.1 mrg 1818 1.1 mrg * src/locale.cc: Tweak a comment. 1819 1.1 mrg * src/localename.cc: Move a comment. 1820 1.1 mrg 1821 1.1 mrg 2003-10-20 Benjamin Kosnik <bkoz (a] redhat.com> 1822 1.1 mrg 1823 1.1 mrg PR libstdc++/10081 1824 1.1 mrg * testsuite_hooks.h: Add pod_type, ctype and numpunct specializations. 1825 1.1 mrg * testsuite_hooks.cc: Same. 1826 1.1 mrg * 22_locale/numpunct/members/pod/1.cc: Edit. 1827 1.1 mrg * 22_locale/numpunct/members/pod/2.cc: Same. 1828 1.1 mrg * 27_io/basic_istream/sentry/char/3983-fstream.cc: Move ... 1829 1.1 mrg * 27_io/basic_istream/sentry/char/3983-sstream.cc: Move ... 1830 1.1 mrg * 27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc: Here. 1831 1.1 mrg * 27_io/basic_istream/extractors_character/pod/3983-2.cc: Here. 1832 1.1 mrg * 27_io/basic_istream/extractors_other/pod/3983-3.cc: Here. 1833 1.1 mrg * 27_io/basic_ostream/sentry/char/3983-fstream.cc: Remove. 1834 1.1 mrg * 27_io/basic_ostream/sentry/char/3983-sstream.cc: Remove. 1835 1.1 mrg * 27_io/basic_istream/sentry/pod/1.cc: New. 1836 1.1 mrg * 27_io/basic_ostream/sentry/pod/1.cc: New. 1837 1.1 mrg * 21_strings/basic_string/inserters_extractors/pod/10081-in.cc: New. 1838 1.1 mrg * 21_strings/basic_string/inserters_extractors/pod/10081-out.cc: New. 1839 1.1 mrg 1840 1.1 mrg 2003-10-20 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 1841 1.1 mrg 1842 1.1 mrg * config/cpu/mips/atomicity.h (__atomic_add): Use _ABIO32 instead 1843 1.1 mrg of external _MIPS_SIM_ABI32. 1844 1.1 mrg 1845 1.1 mrg 2003-10-20 Phil Edwards <phil (a] codesourcery.com> 1846 1.1 mrg 1847 1.1 mrg * configure.ac: Fix comment typo. 1848 1.1 mrg * configure.host: Add vxworks to host_os switch. 1849 1.1 mrg * crossconfig.m4: Remove old commented os_include_dir variables 1850 1.1 mrg left over from autotools transition. 1851 1.1 mrg (*-vxworks): New stanza. 1852 1.1 mrg (*-windiss): Add missing symbols. 1853 1.1 mrg * configure: Regenerate. 1854 1.1 mrg * config/os/vxworks/ctype_base.h, config/os/vxworks/ctype_inline.h, 1855 1.1 mrg config/os/vxworks/ctype_noninline.h, config/os/vxworks/os_defines.h: 1856 1.1 mrg New files. 1857 1.1 mrg * config/os/windiss/os_defines.h: Define __C9X__. 1858 1.1 mrg 1859 1.1 mrg 2003-10-19 David Edelsohn <edelsohn (a] gnu.org> 1860 1.1 mrg 1861 1.1 mrg PR other/12506 1862 1.1 mrg * configure.host (aix4,aix*): Define os_include_dir to os/generic. 1863 1.1 mrg 1864 1.1 mrg 2003-10-18 Andreas Tobler <a.tobler (a] schweiz.ch> 1865 1.1 mrg 1866 1.1 mrg * src/locale.cc (locale::_S_initialize): Re-apply workaround a 1867 1.1 mrg confusion of the use of the gthr API when __gthread_active_p() 1868 1.1 mrg returns true. 1869 1.1 mrg 1870 1.1 mrg 2003-10-17 Benjamin Kosnik <bkoz (a] redhat.com> 1871 1.1 mrg 1872 1.1 mrg * src/Makefile.am: Add new files. 1873 1.1 mrg * src/Makefile.in: Regenerate. 1874 1.1 mrg * src/globals.cc: Split into.. 1875 1.1 mrg * src/globals_io.cc: New. 1876 1.1 mrg * src/globals_locale.cc: New. 1877 1.1 mrg * src/ios.cc: Split into... 1878 1.1 mrg * src/ios_init.cc: New. 1879 1.1 mrg * src/ios_locale.cc: New. 1880 1.1 mrg * src/locale-inst.cc: Split into.. 1881 1.1 mrg * src/wlocale-inst.cc: New. 1882 1.1 mrg * src/locale-misc-inst.cc: New. 1883 1.1 mrg * src/locale.cc, src/localename: Split into... 1884 1.1 mrg * src/locale_facets.cc: New. 1885 1.1 mrg * src/locale_init.cc: New. 1886 1.1 mrg * src/wstring-inst.cc: Add copyright info. 1887 1.1 mrg 1888 1.1 mrg 2003-10-16 Petur Runolfsson <peturr02 (a] ru.is> 1889 1.1 mrg 1890 1.1 mrg PR libstdc++/11450 1891 1.1 mrg PR libstdc++/11543 1892 1.1 mrg PR libstdc++/12065 1893 1.1 mrg * config/io/basic_file_stdio.cc (__basic_file::seekoff): 1894 1.1 mrg Change return value from streampos to streamoff. 1895 1.1 mrg (__basic_file::seekpos): Delete. 1896 1.1 mrg * config/io/basic_file_stdio.h: Same. 1897 1.1 mrg * config/io/c_io_stdio.h: Remove streamoff and wstreamsize typedefs. 1898 1.1 mrg * include/Makefile.am (bits_headers): Add bits/postypes.h. 1899 1.1 mrg * include/bits/char_traits.h: Include bits/postypes.h instead of 1900 1.1 mrg bits/fpos.h. 1901 1.1 mrg * include/bits/fstream.tcc (basic_filebuf::open, 1902 1.1 mrg basic_filebuf::pbackfail): Don't use < or >= to compare pos_type 1903 1.1 mrg values, use == and != instead. 1904 1.1 mrg (basic_filebuf::_M_seek): Use explicit conversion from streamoff 1905 1.1 mrg to pos_type. 1906 1.1 mrg (basic_filebuf::imbue): Don't use ! on pos_type values, use 1907 1.1 mrg == instead. Don't use __check_facet(_M_codecvt) unless is_open(). 1908 1.1 mrg * include/bits/postypes.h: New file. 1909 1.1 mrg Add __streamoff_base_type typedef, streamsize. 1910 1.1 mrg (streamoff, streampos, wstreampos): Define typedefs, with 1911 1.1 mrg streamoff defined as... 1912 1.1 mrg (streamoff): New class. Document implementation defined 1913 1.1 mrg aspects. 1914 1.1 mrg (fpos): New implementation. Document implementation defined 1915 1.1 mrg aspects. 1916 1.1 mrg * include/bits/sstream.tcc (basic_stringbuf::seekpos): Use 1917 1.1 mrg explicit conversion from pos_type to off_type. 1918 1.1 mrg * include/std/std_iosfwd.h: Include bits/postypes.h instead 1919 1.1 mrg of bits/fpos.h. 1920 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: New test. 1921 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: New test. 1922 1.1 mrg * testsuite/27_io/fpos/11450.cc: New test. 1923 1.1 mrg * testsuite/27_io/fpos/mbstate_t/12065.cc: New test. 1924 1.1 mrg * testsuite/27_io/fpos/mbstate_t/4_neg.cc: New test. 1925 1.1 mrg * testsuite/27_io/types/3.cc: New test. 1926 1.1 mrg 1927 1.1 mrg 2003-10-16 Benjamin Kosnik <bkoz (a] redhat.com> 1928 1.1 mrg 1929 1.1 mrg * configure.host: Remove fpos_include_dir. 1930 1.1 mrg * configure.ac: Remove FPOS_INC_SRCDIR. 1931 1.1 mrg * configure: Regenerate. 1932 1.1 mrg * acinclude.m4 (GLIBCXX_ENABLE_CSTDIO): Remove FPOS_H. 1933 1.1 mrg * aclocal.m4: Regenerate. 1934 1.1 mrg * include/Makefile.am (host_headers): Remove fpos.h. 1935 1.1 mrg (bits_headers): Add postypes.h. 1936 1.1 mrg * include/Makefile.in: Regenerate. 1937 1.1 mrg * config/os/gnu-linux/fposh: Remove. 1938 1.1 mrg * config/os/generic/fpos.h: Remove. 1939 1.1 mrg 1940 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Fixup. 1941 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Same. 1942 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Same. 1943 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Same. 1944 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Same. 1945 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Same. 1946 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Same. 1947 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Same. 1948 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Same. 1949 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Same. 1950 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Same. 1951 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Same. 1952 1.1 mrg * testsuite/27_io/basic_istream/seekg/char/2.cc: Same. 1953 1.1 mrg * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Same. 1954 1.1 mrg * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Same. 1955 1.1 mrg * testsuite/27_io/fpos/mbstate_t/3.cc: Same. 1956 1.1 mrg * testsuite/27_io/objects/char/10.cc: Same. 1957 1.1 mrg 1958 1.1 mrg 2003-10-16 Paolo Carlini <pcarlini (a] suse.de> 1959 1.1 mrg 1960 1.1 mrg * src/locale.cc (locale::locale(const char*)): ... one 1961 1.1 mrg more comparison missed in the previous commit. 1962 1.1 mrg 1963 1.1 mrg 2003-10-16 Benjamin Kosnik <bkoz (a] redhat.com> 1964 1.1 mrg 1965 1.1 mrg * acconfig.h: Add HAVE_DRAND48. 1966 1.1 mrg * crossconfig.m4: Remove ISATTY. 1967 1.1 mrg * aclocal.m4: Regenerated. 1968 1.1 mrg * config.h.in: Regenerated. 1969 1.1 mrg * configure: Regenerated. 1970 1.1 mrg 1971 1.1 mrg 2003-10-16 Bernardo Innocenti <bernie (a] develer.com> 1972 1.1 mrg 1973 1.1 mrg * config/cpu/m68k/atomicity.h (__exchange_and_add): Use TAS on 1974 1.1 mrg __mcf5400__. Don't rely on __mc68000__ to detect a bare 68000. 1975 1.1 mrg Document SMP safeness of asm macros. 1976 1.1 mrg 1977 1.1 mrg 2003-10-16 Paolo Carlini <pcarlini (a] suse.de> 1978 1.1 mrg 1979 1.1 mrg * src/locale.cc (locale::locale(const char*)): Tweak 1980 1.1 mrg a couple of comparisons to use basic_string operators. 1981 1.1 mrg 1982 1.1 mrg 2003-10-16 Paolo Carlini <pcarlini (a] suse.de> 1983 1.1 mrg 1984 1.1 mrg PR libstdc++/12540 1985 1.1 mrg * config/locale/gnu/monetary_members.cc 1986 1.1 mrg (moneypunct<wchar_t, true/false>::_M_initialize_moneypunct): 1987 1.1 mrg Don't leak memory if new throws. 1988 1.1 mrg * src/locale.cc (locale::locale(const char*)): In order not 1989 1.1 mrg to leak memory in case new throws, use a basic_string type 1990 1.1 mrg for __res too and avoid strdup. 1991 1.1 mrg 1992 1.1 mrg 2003-10-14 Jeff Bailey <jbailey (a] nisa.net> 1993 1.1 mrg 1994 1.1 mrg PR libstdc++/12562 1995 1.1 mrg * crossconfig.m4: Share the config between *-linux* and *-gnu*. 1996 1.1 mrg * configure: Regenerate. 1997 1.1 mrg 1998 1.1 mrg 2003-10-14 Carlo Wood <carlo (a] alinoe.com> 1999 1.1 mrg 2000 1.1 mrg PR libstdc++/12600 2001 1.1 mrg * include/bits/demangle.h (session<Allocator>:: 2002 1.1 mrg decode_unqualified_name(string_type& output)): Fail on a 2003 1.1 mrg <operator-name> when decoding <template-argument>. 2004 1.1 mrg * testsuite/demangle/regression/cw-15.cc: New. 2005 1.1 mrg 2006 1.1 mrg 2003-10-14 Paolo Carlini <pcarlini (a] unitus.it> 2007 1.1 mrg 2008 1.1 mrg PR libstdc++/11480 2009 1.1 mrg * include/bits/stl_algo.h (unique): Fix. 2010 1.1 mrg * testsuite/25_algorithms/unique.cc: Move to unique/1.cc. 2011 1.1 mrg * testsuite/25_algorithms/unique/11480.cc: New, from the PR. 2012 1.1 mrg * testsuite/25_algorithms/unique/2.cc: New. 2013 1.1 mrg 2014 1.1 mrg 2003-10-14 Paolo Carlini <pcarlini (a] unitus.it> 2015 1.1 mrg 2016 1.1 mrg * src/localename.cc (_M_replace_categories, M_replace_facet): 2017 1.1 mrg Const-ify a couple of variables. 2018 1.1 mrg 2019 1.1 mrg 2003-10-14 Petur Runolfsson <peturr02 (a] ru.is> 2020 1.1 mrg Andreas Tobler <a.tobler (a] schweiz.ch> 2021 1.1 mrg 2022 1.1 mrg * src/locale.cc (locale::_S_initialize): Workaround a confusion 2023 1.1 mrg of the use of the gthr API when __gthread_active_p() returns true. 2024 1.1 mrg 2025 1.1 mrg 2003-10-12 Petur Runolfsson <peturr02 (a] ru.is> 2026 1.1 mrg Paolo Carlini <pcarlini (a] unitus.it> 2027 1.1 mrg 2028 1.1 mrg PR libstdc++/11460 2029 1.1 mrg * src/strstream.cc (pbackfail): Fix to use to_int_type. 2030 1.1 mrg * testsuite/backward/11460.cc: New, from the PR. 2031 1.1 mrg 2032 1.1 mrg 2003-10-12 Paolo Carlini <pcarlini (a] unitus.it> 2033 1.1 mrg 2034 1.1 mrg * config/locale/ieee_1003.1-2001/codecvt_specializations.h: 2035 1.1 mrg Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment. 2036 1.1 mrg * include/bits/basic_string.tcc: Likewise. 2037 1.1 mrg * include/bits/ios_base.h: Likewise. 2038 1.1 mrg * include/bits/istream.tcc: Likewise. 2039 1.1 mrg * include/bits/locale_facets.tcc: Likewise. 2040 1.1 mrg * include/bits/ostream.tcc: Likewise. 2041 1.1 mrg * include/bits/stl_function.h: Likewise. 2042 1.1 mrg * include/bits/stl_multiset.h: Likewise. 2043 1.1 mrg * include/bits/stl_pair.h: Likewise. 2044 1.1 mrg * include/bits/stl_set.h: Likewise. 2045 1.1 mrg * include/bits/streambuf_iterator.h 2046 1.1 mrg * include/std/std_iosfwd.h: Likewise. 2047 1.1 mrg * include/std/std_istream.h: Likewise. 2048 1.1 mrg * include/std/std_sstream.h: Likewise. 2049 1.1 mrg * include/std/std_streambuf.h: Likewise. 2050 1.1 mrg * src/ios.cc: Likewise. 2051 1.1 mrg * include/bits/c++config: 2052 1.1 mrg Comment out #define _GLIBCXX_RESOLVE_LIB_DEFECTS 1. 2053 1.1 mrg * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak a 2054 1.1 mrg dg-error directive due to removal of a blank line. 2055 1.1 mrg * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise. 2056 1.1 mrg 2057 1.1 mrg 2003-10-12 Andreas Tobler <a.tobler (a] schweiz.ch> 2058 1.1 mrg Paolo Carlini <pcarlini (a] unitus.it> 2059 1.1 mrg 2060 1.1 mrg PR libstdc++/11844/11740 (cont) 2061 1.1 mrg * config/os/generic/ctype_inline.h (ctype<char>::is): 2062 1.1 mrg Generically, use a bitmasksize of 15 (instead of 10); 2063 1.1 mrg Fix the logic to actually return (M & m) != 0 as per 2064 1.1 mrg 22.2.1.1.2. 2065 1.1 mrg 2066 1.1 mrg 2003-10-11 Bernardo Innocenti <bernie (a] develer.com> 2067 1.1 mrg 2068 1.1 mrg * crossconfig.m4 (*-uclinux*): New target. 2069 1.1 mrg * configure: Regenerate. 2070 1.1 mrg 2071 1.1 mrg 2003-10-10 Paolo Carlini <pcarlini (a] unitus.it> 2072 1.1 mrg 2073 1.1 mrg * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT)) 2074 1.1 mrg Avoid unnecessarily calling __builtin_alloca and dealing 2075 1.1 mrg explicitly with width() smaller than zero. 2076 1.1 mrg (operator<<(basic_ostream&, char), operator<<(basic_ostream&, 2077 1.1 mrg const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, 2078 1.1 mrg const char*), operator<<(basic_ostream<char, _Traits>&, 2079 1.1 mrg const char*), operator<<(basic_ostream, const basic_string&)): 2080 1.1 mrg Likewise. 2081 1.1 mrg 2082 1.1 mrg 2003-10-09 Benjamin Kosnik <bkoz (a] redhat.com> 2083 1.1 mrg 2084 1.1 mrg * config/linker-map.gnu: Make more *_type_info bits visible. 2085 1.1 mrg Move new/delete bits back into GLIBCXX space. 2086 1.1 mrg 2087 1.1 mrg * include/bits/locale_classes.h: Move _M_id out of line, so that 2088 1.1 mrg locale::id::_S_highwater can be removed from the export list. 2089 1.1 mrg * src/locale.cc (locale::id::_M_id): Define. 2090 1.1 mrg 2091 1.1 mrg 2003-10-09 Andreas Tobler <a.tobler (a] schweiz.ch> 2092 1.1 mrg 2093 1.1 mrg * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_64 for 2094 1.1 mrg SPARC64. 2095 1.1 mrg 2096 1.1 mrg 2003-10-09 Paolo Carlini <pcarlini (a] unitus.it> 2097 1.1 mrg 2098 1.1 mrg PR libstdc++/11844 2099 1.1 mrg * config/os/aix/ctype_base.h: Fix 'alnum' and 'graph' 2100 1.1 mrg to conform to the requirements of 22.2.1. 2101 1.1 mrg * config/os/bsd/freebsd/ctype_base.h: Likewise. 2102 1.1 mrg * config/os/djgpp/ctype_base.h: Likewise. 2103 1.1 mrg * config/os/generic/ctype_base.h: Likewise. 2104 1.1 mrg * config/os/gnu-linux/ctype_base.h: Likewise. 2105 1.1 mrg * config/os/hpux/ctype_base.h: Likewise. 2106 1.1 mrg * config/os/irix/irix6.5/ctype_base.h: Likewise. 2107 1.1 mrg * config/os/solaris/solaris2.6/ctype_base.h: Likewise. 2108 1.1 mrg * config/os/solaris/solaris2.7/ctype_base.h: Likewise. 2109 1.1 mrg * testsuite/22_locale/ctype/11844.cc: New. 2110 1.1 mrg 2111 1.1 mrg * config/locale/generic/ctype_members.cc (do_is): 2112 1.1 mrg Generically, use a bitmasksize of 15 (instead of 10), since 2113 1.1 mrg we don't know the numerical encoding of the various categories 2114 1.1 mrg in the underlying /usr/include/ctype.h. 2115 1.1 mrg 2116 1.1 mrg 2003-10-09 Benjamin Kosnik <bkoz (a] redhat.com> 2117 1.1 mrg 2118 1.1 mrg * src/string-inst.cc: Prune. 2119 1.1 mrg * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers. 2120 1.1 mrg * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. 2121 1.1 mrg 2122 1.1 mrg 2003-10-09 Petur Runolfsson <peturr02 (a] ru.is> 2123 1.1 mrg 2124 1.1 mrg * src/io-inst.cc: Don't include iostream. 2125 1.1 mrg * include/bits/ios_base.h (ios_base::failure): Use string. 2126 1.1 mrg * src/Makefile.am: Add ios_failure.cc. 2127 1.1 mrg * src/Makefile.in: Regenerate. 2128 1.1 mrg * src/ios.cc: Move ios_base::failure definitions to... 2129 1.1 mrg * src/ios_failure.cc: ...here. New. 2130 1.1 mrg 2131 1.1 mrg 2003-10-09 Petur Runolfsson <peturr02 (a] ru.is> 2132 1.1 mrg 2133 1.1 mrg PR libstdc++/9874 2134 1.1 mrg * include/bits/fstream.tcc (basic_filebuf::seekoff): 2135 1.1 mrg Move code needed for both seekoff and seekpos... 2136 1.1 mrg (basic_filebuf::_M_seek): ...here. New function. 2137 1.1 mrg (basic_filebuf::seekpos): Don't call seekoff, call _M_seek. 2138 1.1 mrg * include/std/std_fstream.h (basic_filebuf::_M_seek): Declare it. 2139 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: New test. 2140 1.1 mrg 2141 1.1 mrg * testsuite/22_locale/locale/cons/12438.cc: Increase memory limit. 2142 1.1 mrg 2143 1.1 mrg 2003-10-08 Paolo Carlini <pcarlini (a] unitus.it> 2144 1.1 mrg 2145 1.1 mrg * include/bits/locale_facets.tcc: More minor cosmetic 2146 1.1 mrg changes and const-ifications of some variables. 2147 1.1 mrg 2148 1.1 mrg 2003-10-07 Paolo Carlini <pcarlini (a] unitus.it> 2149 1.1 mrg 2150 1.1 mrg * include/bits/locale_facets.tcc: Minor cosmetic changes 2151 1.1 mrg and const-ifications of some variables. 2152 1.1 mrg 2153 1.1 mrg * include/bits/locale_facets.tcc 2154 1.1 mrg (money_get::do_get(..., string_type&)): Simplify an if-else. 2155 1.1 mrg 2156 1.1 mrg 2003-10-06 Paolo Carlini <pcarlini (a] unitus.it> 2157 1.1 mrg 2158 1.1 mrg PR libstdc++/11740 2159 1.1 mrg * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): 2160 1.1 mrg Fix to actually return (M & m) != 0 as per 22.2.1.1.2. 2161 1.1 mrg * config/locale/generic/ctype_members.cc: Same. 2162 1.1 mrg * testsuite/22_locale/ctype/is/wchar_t/11740.cc: New. 2163 1.1 mrg 2164 1.1 mrg 2003-10-06 Paolo Carlini <pcarlini (a] unitus.it> 2165 1.1 mrg 2166 1.1 mrg * include/bits/locale_facets.tcc (__pad<>::_S_pad): 2167 1.1 mrg Improve performance-wise: avoid one traits::copy, avoid 2168 1.1 mrg the __builtin_alloca, streamline. 2169 1.1 mrg 2170 1.1 mrg 2003-10-05 Paolo Carlini <pcarlini (a] unitus.it> 2171 1.1 mrg 2172 1.1 mrg * include/bits/locale_facets.tcc 2173 1.1 mrg (num_put::do_put(..., bool)): Prefer ?: to if-else. 2174 1.1 mrg (time_get::_M_extract_name): Qualify min with std::. 2175 1.1 mrg (__pad<>::_S_pad): Constify two variables; simplify an 2176 1.1 mrg if-else statement factoring out some code. 2177 1.1 mrg 2178 1.1 mrg * include/bits/locale_facets.tcc: Minor cosmetic changes. 2179 1.1 mrg 2180 1.1 mrg 2003-10-04 Paolo Carlini <pcarlini (a] unitus.it> 2181 1.1 mrg 2182 1.1 mrg * include/bits/locale_facets.tcc (num_get::_M_extract_float): 2183 1.1 mrg Constify a couple of variables. 2184 1.1 mrg (num_get::do_get(..., bool&)): Constify __c; prefer *__beg, 2185 1.1 mrg ++__beg to *__beg++. 2186 1.1 mrg 2187 1.1 mrg 2003-10-04 Paolo Carlini <pcarlini (a] unitus.it> 2188 1.1 mrg Petur Runolfsson <peturr02 (a] ru.is> 2189 1.1 mrg 2190 1.1 mrg * include/ext/stdio_sync_filebuf.h: Don't include the whole 2191 1.1 mrg <fstream>, only <streambuf> and <cstdio>. 2192 1.1 mrg 2193 1.1 mrg 2003-10-04 Paolo Carlini <pcarlini (a] unitus.it> 2194 1.1 mrg 2195 1.1 mrg PR libstdc++/12206 2196 1.1 mrg * include/bits/fstream.tcc (imbue): In case a codecvt facet 2197 1.1 mrg is not available, set _M_codecvt = 0. 2198 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/12206.cc: New. 2199 1.1 mrg 2200 1.1 mrg 2003-10-02 Harald Boehme <boehme (a] informatik.hu-berlin.de> 2201 1.1 mrg 2202 1.1 mrg PR libstdc++/12451 2203 1.1 mrg * libsupc++/cxxabi.h: Move forward declaration of __class_type_info. 2204 1.1 mrg 2205 1.1 mrg 2003-10-02 Benjamin Kosnik <bkoz (a] redhat.com> 2206 1.1 mrg 2207 1.1 mrg * include/bits/locale_classes.h (locale::facet::_S_get_c_name): Add. 2208 1.1 mrg * src/locale.cc: Define. 2209 1.1 mrg * src/localename.cc: Use it. 2210 1.1 mrg * config/locale/generic/time_members.h: Same. 2211 1.1 mrg * config/locale/gnu/messages_members.h: Same. 2212 1.1 mrg * config/locale/gnu/time_members.h: Same. 2213 1.1 mrg 2214 1.1 mrg 2003-10-02 Paolo Carlini <pcarlini (a] unitus.it> 2215 1.1 mrg 2216 1.1 mrg PR libstdc++/12232 2217 1.1 mrg * include/bits/fstream.tcc (seekoff): Ignore the openmode 2218 1.1 mrg argument; simplify. 2219 1.1 mrg * config/io/basic_file_stdio.h (__basic_file<char>::seekoff, 2220 1.1 mrg seekpos): Remove the openmode argument. 2221 1.1 mrg * config/io/basic_file_stdio.cc (__basic_file<char>::seekoff, 2222 1.1 mrg seekpos): Remove redundant placeholder for the openmode argument. 2223 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: New. 2224 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Tweak. 2225 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise. 2226 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise. 2227 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise. 2228 1.1 mrg 2229 1.1 mrg 2003-10-02 Benjamin Kosnik <bkoz (a] redhat.com> 2230 1.1 mrg 2231 1.1 mrg * src/locale.cc (locale::_S_initialize): Use __gthread_active_p. 2232 1.1 mrg (locale::facet::_S_get_c_locale): Same. 2233 1.1 mrg 2234 1.1 mrg 2003-10-02 Benjamin Kosnik <bkoz (a] redhat.com> 2235 1.1 mrg 2236 1.1 mrg * config/linker-map.gnu: Export _S_get_c_locale instead of 2237 1.1 mrg _S_c_locale object. 2238 1.1 mrg 2239 1.1 mrg 2003-10-02 Petur Runolfsson <peturr02 (a] ru.is> 2240 1.1 mrg 2241 1.1 mrg * config/locale/generic/c_locale.cc 2242 1.1 mrg (category_names, locale::_S_categories): Const qualify. 2243 1.1 mrg * config/locale/gnu/c_locale.cc: Same. 2244 1.1 mrg * config/locale/generic/time_members.h (__timepunct::__timepunct): 2245 1.1 mrg Copy string contents before assigning to _M_name_timepunct, 2246 1.1 mrg qualify strcpy and strlen with std::. 2247 1.1 mrg * config/locale/gnu/time_members.h: Same. 2248 1.1 mrg * config/locale/gnu/messages_members.h (messages::messages): 2249 1.1 mrg Copy string contents before assigning to _M_name_messages, 2250 1.1 mrg qualify strcpy and strlen with std::. 2251 1.1 mrg * config/os/gnu-linux/ctype_noninline.h 2252 1.1 mrg (ctype<char>::classic_table()): Don't call locale::classic(). 2253 1.1 mrg * include/bits/locale_classes.h 2254 1.1 mrg (locale::_S_categories): Const qualify. 2255 1.1 mrg (locale::_S_once, locale::_S_initialize_once, 2256 1.1 mrg locale::facet::_S_once, locale::facet::_S_initialize_once, 2257 1.1 mrg locale::facet::_S_get_c_locale): Declare. 2258 1.1 mrg (locale::_S_initialize): Don't define. 2259 1.1 mrg (locale::facet::_S_c_locale): Make private. 2260 1.1 mrg (locale::facet::_S_c_name): Same, const qualify. 2261 1.1 mrg (locale::_Impl::_Impl(facet**, size_t, bool)): Drop unused 2262 1.1 mrg parameters, add throw() specifier. 2263 1.1 mrg * include/bits/locale_facets.h (__timepunct::_M_name_timepunct, 2264 1.1 mrg messages::_M_name_messages): Const qualify. 2265 1.1 mrg * src/locale.cc 2266 1.1 mrg (locale::_S_once, locale::facet::_S_once): Define. 2267 1.1 mrg (locale::classic): Move initialization code... 2268 1.1 mrg (locale::_S_initialize_once): ...here. 2269 1.1 mrg (locale::_S_initialize): Call _S_initialize_once through 2270 1.1 mrg __gthread_once. 2271 1.1 mrg (locale::facet::_S_initialize_once): Initialize _S_c_locale. 2272 1.1 mrg (locale::facet::_S_get_c_locale): Call _S_initialize_once through 2273 1.1 mrg __gthread_once before returning _S_c_locale. 2274 1.1 mrg * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool)): 2275 1.1 mrg Drop unused parameters, add throw() specifier, don't initialize 2276 1.1 mrg locale::facet::_S_c_locale and _S_c_name. 2277 1.1 mrg 2278 1.1 mrg * config/locale/generic/messages_members.h: 2279 1.1 mrg Replace _S_c_locale with _S_get_c_locale(). 2280 1.1 mrg * config/locale/gnu/c_locale.cc: Same. 2281 1.1 mrg * config/locale/gnu/messages_members.h: Same. 2282 1.1 mrg * config/locale/gnu/numeric_members.cc: Same. 2283 1.1 mrg * config/locale/gnu/time_members.cc: Same. 2284 1.1 mrg * config/os/gnu-linux/ctype_noninline.h: Same. 2285 1.1 mrg * include/bits/locale_facets.h: Same. 2286 1.1 mrg * include/bits/locale_facets.tcc: Same. 2287 1.1 mrg * src/codecvt.cc: Same. 2288 1.1 mrg * src/ctype.cc: Same. 2289 1.1 mrg 2290 1.1 mrg 2003-10-02 Carlo Wood <carlo (a] alinoe.com> 2291 1.1 mrg 2292 1.1 mrg * include/bits/demangle.h (demangle<Allocator>::symbol(char const*)): 2293 1.1 mrg Decode symbols that start with _GLOBAL_[ID]_ differently: the 2294 1.1 mrg trailing part ends with a terminating zero and is not necessarily an 2295 1.1 mrg encoding. 2296 1.1 mrg * src/demangle.cc (): Same. 2297 1.1 mrg * testsuite/demangle/regression/cw-13.cc: Adjust for new output. 2298 1.1 mrg 2299 1.1 mrg 2003-10-02 Paolo Carlini <pcarlini (a] unitus.it> 2300 1.1 mrg 2301 1.1 mrg * testsuite/22_locale/locale/cons/12438.cc: Use 2302 1.1 mrg __gnu_test::try_named_locale(""). 2303 1.1 mrg 2304 1.1 mrg 2003-10-01 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 2305 1.1 mrg 2306 1.1 mrg * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define. 2307 1.1 mrg (GLIBCXX_CHECK_STDLIB_SUPPORT): Use it to test for lrand48 2308 1.1 mrg instead of drand48. 2309 1.1 mrg * acconfig.h (HAVE_DRAND48): Renamed to HAVE_LRAND48. 2310 1.1 mrg * crossconfig.m4 (*-freebsd*): Define HAVE_LRAND48 instead of 2311 1.1 mrg HAVE_DRAND48. 2312 1.1 mrg * config.h.in, configure: Regenerate. 2313 1.1 mrg * include/bits/stl_algo.h: Use _GLIBCXX_HAVE_LRAND48 to guard 2314 1.1 mrg lrand48 use. 2315 1.1 mrg 2316 1.1 mrg 2003-10-01 Nathan Myers <ncm (a] cantrip.org> 2317 1.1 mrg 2318 1.1 mrg * include/bits/locale_facets.tcc (time_put::put): Avoid 2319 1.1 mrg expensive *__s++, in favor of *__s, ++__s. 2320 1.1 mrg 2321 1.1 mrg 2003-10-01 Paolo Carlini <pcarlini (a] unitus.it> 2322 1.1 mrg 2323 1.1 mrg * include/bits/locale_facets.tcc (time_put::put): Minor 2324 1.1 mrg tweak to the previous commit. 2325 1.1 mrg 2326 1.1 mrg 2003-10-01 Paolo Carlini <pcarlini (a] unitus.it> 2327 1.1 mrg 2328 1.1 mrg PR libstdc++/12439 2329 1.1 mrg * include/bits/locale_facets.tcc (time_put::put): Deal 2330 1.1 mrg with the three issues pointed out by the PR. 2331 1.1 mrg * testsuite/22_locale/time_put/put/char/12439_1.cc: New. 2332 1.1 mrg * testsuite/22_locale/time_put/put/char/12439_3.cc: New. 2333 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: New. 2334 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: New. 2335 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: New. 2336 1.1 mrg 2337 1.1 mrg 2003-09-30 Paolo Carlini <pcarlini (a] unitus.it> 2338 1.1 mrg 2339 1.1 mrg * include/bits/stl_algo.h: Minor cosmetic reformattings. 2340 1.1 mrg 2341 1.1 mrg 2003-09-30 Paolo Carlini <pcarlini (a] unitus.it> 2342 1.1 mrg 2343 1.1 mrg * include/bits/stl_algo.h (search_n): Tweak, to spare the 2344 1.1 mrg first --__n. 2345 1.1 mrg 2346 1.1 mrg 2003-09-30 Paolo Carlini <pcarlini (a] unitus.it> 2347 1.1 mrg 2348 1.1 mrg * testsuite/22_locale/locale/cons/12352.cc: Explicitly 2349 1.1 mrg qualify exception name. 2350 1.1 mrg 2351 1.1 mrg 2003-09-30 Paolo Carlini <pcarlini (a] unitus.it> 2352 1.1 mrg 2353 1.1 mrg PR libstdc++/12438 2354 1.1 mrg * include/bits/locale_facets.tcc (locale::combine): Don't 2355 1.1 mrg leak memory if _M_replace_facet throws. 2356 1.1 mrg * testsuite/22_locale/locale/cons/12438.cc: New, from the PR. 2357 1.1 mrg 2358 1.1 mrg * include/bits/locale_classes.h (locale::locale(const locale&, 2359 1.1 mrg _Facet*)): Tweak, use consistently _M_remove_reference. 2360 1.1 mrg 2361 1.1 mrg 2003-09-30 Paolo Carlini <pcarlini (a] unitus.it> 2362 1.1 mrg 2363 1.1 mrg PR libstdc++/12352 (cont) 2364 1.1 mrg * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)): 2365 1.1 mrg Don't leak __cloc; don't leak if any of the _M_init_facet(...) 2366 1.1 mrg calls fail. 2367 1.1 mrg (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak. 2368 1.1 mrg (locale::_Impl::~_Impl): Don't do anything if !_M_facets, 2369 1.1 mrg !_M_caches, !_M_names. 2370 1.1 mrg 2371 1.1 mrg 2003-09-29 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 2372 1.1 mrg 2373 1.1 mrg * configure.host: Handle Solaris 2.5 micro releases explicitly. 2374 1.1 mrg Remove wildcards from Solaris 2.6, 7-9: there were no 2375 1.1 mrg micro releases. 2376 1.1 mrg Treat Solaris 10 and up like 7-9. 2377 1.1 mrg 2378 1.1 mrg 2003-09-29 Paolo Carlini <pcarlini (a] unitus.it> 2379 1.1 mrg 2380 1.1 mrg * include/bits/stl_algo.h (search_n): Improve the previous 2381 1.1 mrg fix as suggested by Martin. 2382 1.1 mrg 2383 1.1 mrg 2003-09-29 Paolo Carlini <pcarlini (a] unitus.it> 2384 1.1 mrg 2385 1.1 mrg PR libstdc++/12296 2386 1.1 mrg * include/bits/istream.tcc (peek): Set eofbit if sgetc 2387 1.1 mrg returns eof. 2388 1.1 mrg * testsuite/27_io/basic_istream/peek/char/12296.cc: 2389 1.1 mrg New, from the PR. 2390 1.1 mrg 2391 1.1 mrg 2003-09-29 Nathan Myers <ncm (a] cantrip.org> 2392 1.1 mrg Paolo Carlini <pcarlini (a] unitus.it> 2393 1.1 mrg 2394 1.1 mrg PR libstdc++/11400 2395 1.1 mrg * include/bits/stl_algo.h (search_n): 2396 1.1 mrg Use iterator_traits<>::difference_type for __n. 2397 1.1 mrg * testsuite/25_algorithms/search_n/11400.cc: New, from the PR. 2398 1.1 mrg 2399 1.1 mrg 2003-09-29 Paolo Carlini <pcarlini (a] unitus.it> 2400 1.1 mrg 2401 1.1 mrg * testsuite/22_locale/locale/cons/12352.cc: 2402 1.1 mrg Use __attribute__((unused)) for test. 2403 1.1 mrg 2404 1.1 mrg 2003-09-26 Ulrich Weigand <uweigand (a] de.ibm.com> 2405 1.1 mrg 2406 1.1 mrg * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either 2407 1.1 mrg "Son" or "So" as abbreviated name for Sunday in de_DE locale. 2408 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise. 2409 1.1 mrg 2410 1.1 mrg 2003-09-26 Brad Spencer <spencer (a] infointeractive.com> 2411 1.1 mrg 2412 1.1 mrg * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: 2413 1.1 mrg Explicitly qualify exceptions. 2414 1.1 mrg * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same. 2415 1.1 mrg * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same. 2416 1.1 mrg * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same. 2417 1.1 mrg * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same. 2418 1.1 mrg 2419 1.1 mrg 2003-09-25 Paolo Carlini <pcarlini (a] unitus.it> 2420 1.1 mrg 2421 1.1 mrg PR libstdc++/12352 2422 1.1 mrg * src/localename.cc (locale::_Impl::_Impl(const _Impl&, 2423 1.1 mrg size_t)): Don't leak if memory allocations for _M_facets, 2424 1.1 mrg _M_caches, and _M_names fail. 2425 1.1 mrg (locale::_Impl::_Impl(const char*, size_t)): Ditto. 2426 1.1 mrg (locale::_Impl::_M_replace_categories(const _Impl*, 2427 1.1 mrg category)): Ditto. 2428 1.1 mrg (locale::_Impl::_M_install_facet(const locale::id*, 2429 1.1 mrg const facet*)): Ditto. 2430 1.1 mrg * include/bits/locale_classes.h (locale::locale(const locale&, 2431 1.1 mrg _Facet*)): Don't leak memory. 2432 1.1 mrg * testsuite/22_locale/locale/cons/12352.cc: New, from the PR. 2433 1.1 mrg 2434 1.1 mrg * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, 2435 1.1 mrg bool)): Qualify with std:: strcpy, tweak. 2436 1.1 mrg * include/bits/locale_classes.h 2437 1.1 mrg (locale::_Impl::_M_check_same_name): Qualify strcmp. 2438 1.1 mrg 2439 1.1 mrg 2003-09-25 Brad Spencer <spencer (a] infointeractive.com> 2440 1.1 mrg 2441 1.1 mrg PR libstdc++/6072 2442 1.1 mrg * acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf, 2443 1.1 mrg wcstof, iswblank. 2444 1.1 mrg * aclocal.m4: Regenerate. 2445 1.1 mrg * config.h.in: Regenerate. 2446 1.1 mrg * configure: Regenerate. 2447 1.1 mrg * crossconfig.m4: Add in wchar_t bits for solaris crosses. 2448 1.1 mrg * config/io/basic_file_stdio.cc: Guard unistd.h. 2449 1.1 mrg * include/c_compatibility/wchar.h: Guard extra wchar_t functionality. 2450 1.1 mrg * include/c_std/std_cwchar.h: Same. 2451 1.1 mrg * include/c_std/std_cwctype.h: Same. 2452 1.1 mrg 2453 1.1 mrg 2003-09-25 Benjamin Kosnik <bkoz (a] redhat.com> 2454 1.1 mrg 2455 1.1 mrg PR libstdc++/11065 2456 1.1 mrg * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix. 2457 1.1 mrg * config/locale/generic/ctype_members.cc: Same. 2458 1.1 mrg * testsuite/22_locale/ctype/is/char/1.cc: Initialize mask. 2459 1.1 mrg * testsuite/22_locale/ctype/is/wchar_t/1.cc: Same. 2460 1.1 mrg 2461 1.1 mrg * config/os/generic/ctype_inline.h: Update. 2462 1.1 mrg 2463 1.1 mrg 2003-09-25 Ulrich Weigand <uweigand (a] de.ibm.com> 2464 1.1 mrg 2465 1.1 mrg * src/Makefile.am (version_dep): New variable. 2466 1.1 mrg (libstdc___la_DEPENDENCIES): Use it to add dependency on 2467 1.1 mrg libstdc++-symbol.ver only when using symbol versioning. 2468 1.1 mrg * src/Makefile.in: Regenerate. 2469 1.1 mrg 2470 1.1 mrg 2003-09-23 Benjamin Kosnik <bkoz (a] redhat.com> 2471 1.1 mrg 2472 1.1 mrg * include/bits/locale_facets.tcc: Tweak to avoid warnings. 2473 1.1 mrg * testsuite/testsuite_hooks.h: Same. 2474 1.1 mrg * testsuite/*/*.cc: Same. 2475 1.1 mrg 2476 1.1 mrg 2003-09-22 Petur Runolfsson <peturr02 (a] ru.is> 2477 1.1 mrg 2478 1.1 mrg * include/bits/istream.tcc (basic_istream::read, 2479 1.1 mrg basic_istream::readsome, basic_istream::putback, 2480 1.1 mrg basic_istream::unget, operator>>(basic_istream, CharT)): 2481 1.1 mrg Avoid redundant setstate(failbit) calls when sentry::operator bool() 2482 1.1 mrg returns false. 2483 1.1 mrg 2484 1.1 mrg 2003-09-22 Carlo Wood <carlo (a] alinoe.com> 2485 1.1 mrg 2486 1.1 mrg PR libstdc++/12365 2487 1.1 mrg * include/bits/demangle.h (qualifier(int, cv_qualifier_nt, 2488 1.1 mrg char const*, int, int)): Remove unused identifier 2489 1.1 mrg cv_qualifier for overloaded constructor. 2490 1.1 mrg 2491 1.1 mrg 2003-09-18 Benjamin Kosnik <bkoz (a] redhat.com> 2492 1.1 mrg 2493 1.1 mrg PR libstdc++/11504 2494 1.1 mrg * acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to 2495 1.1 mrg WARN_FLAGS, remove -Wno-format. 2496 1.1 mrg * aclocal.m4: Regenerate. 2497 1.1 mrg * configure: Regenerate. 2498 1.1 mrg 2499 1.1 mrg 2003-09-18 Petur Runolfsson <peturr02 (a] ru.is> 2500 1.1 mrg 2501 1.1 mrg * config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete. 2502 1.1 mrg * config/io/basic_file_stdio.h: Same. 2503 1.1 mrg * include/std/std_fstream.h (__ctype_type): Delete. 2504 1.1 mrg * include/std/std_streambuf.h (__ctype_type, __state_type): Delete. 2505 1.1 mrg 2506 1.1 mrg 2003-09-17 Benjamin Kosnik <bkoz (a] redhat.com> 2507 1.1 mrg 2508 1.1 mrg PR libstdc++/12239 2509 1.1 mrg * configure.host (abi_baseline_pair): Error out on solaris2 2510 1.1 mrg configurations without a minor version number. 2511 1.1 mrg 2512 1.1 mrg 2003-09-13 Phil Edwards <phil (a] codesourcery.com> 2513 1.1 mrg 2514 1.1 mrg * docs/doxygen/run_doxygen: Clear GENERATE_TAGFILE entirely 2515 1.1 mrg if man pages are on. 2516 1.1 mrg * docs/doxygen/user.cfg.in: And here. 2517 1.1 mrg 2518 1.1 mrg 2003-09-10 Daniel Jacobowitz <drow (a] mvista.com> 2519 1.1 mrg Andreas Jaeger <aj (a] suse.de> 2520 1.1 mrg 2521 1.1 mrg PR libstdc++/12189 2522 1.1 mrg * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build 2523 1.1 mrg abi_check if cross compiling. 2524 1.1 mrg * aclocal.m4: Regenerated. 2525 1.1 mrg * configure: Regenerated. 2526 1.1 mrg 2527 1.1 mrg 2003-09-10 Jeffrey D. Oldham <oldham (a] codesourcery.com> 2528 1.1 mrg 2529 1.1 mrg * libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns 2530 1.1 mrg NULL, return NULL. This reflects a C++ ABI change 2003 Sep 05. 2531 1.1 mrg (__cxa_vec_new3): Likewise. 2532 1.1 mrg 2533 1.1 mrg 2003-09-10 Petur Runolfsson <peturr02 (a] ru.is> 2534 1.1 mrg 2535 1.1 mrg * include/bits/fstream.tcc (basic_filebuf::seekoff): 2536 1.1 mrg Use codecvt::length to handle variable-width stateless encodings 2537 1.1 mrg correctly. 2538 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test. 2539 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test. 2540 1.1 mrg 2541 1.1 mrg 2003-09-10 Alan Modra <amodra (a] bigpond.net.au> 2542 1.1 mrg 2543 1.1 mrg * config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode 2544 1.1 mrg rather than or'ing. 2545 1.1 mrg 2546 1.1 mrg 2003-09-09 Alan Modra <amodra (a] bigpond.net.au> 2547 1.1 mrg 2548 1.1 mrg * configure: Regenerate. 2549 1.1 mrg 2550 1.1 mrg 2003-09-09 David Edelsohn <edelsohn (a] gnu.org> 2551 1.1 mrg 2552 1.1 mrg * src/ios.cc (ios_base::Init::Init): Remove unnecessary 2553 1.1 mrg qualifier from _S_synced_with_stdio. 2554 1.1 mrg 2555 1.1 mrg 2003-09-09 Bernardo Innocenti <bernie (a] develer.com> 2556 1.1 mrg 2557 1.1 mrg * include/c_std/std_cstdlib.h: Avoid using missing C library symbols. 2558 1.1 mrg 2559 1.1 mrg 2003-09-04 Petur Runolfsson <peturr02 (a] ru.is> 2560 1.1 mrg 2561 1.1 mrg PR libstdc++/9028 2562 1.1 mrg * include/bits/fstream.tcc 2563 1.1 mrg (basic_filebuf::_M_destroy_internal_buffer): Destroy _M_ext_buf. 2564 1.1 mrg (basic_filebuf::basic_filebuf): Initialize _M_ext_buf, 2565 1.1 mrg _M_ext_buf_size, _M_ext_next and _M_ext_end. 2566 1.1 mrg (basic_filebuf::underflow): Handle variable-width stateless 2567 1.1 mrg encodings (codecvt::encoding() == 0), including UTF-8. 2568 1.1 mrg * include/std/std_fstream.h (basic_filebuf): 2569 1.1 mrg Declare _M_ext_buf, _M_ext_buf_size, _M_ext_next, _M_ext_end. 2570 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: New test. 2571 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: New test. 2572 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: New test. 2573 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: New test. 2574 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: New test. 2575 1.1 mrg * testsuite/27_io/objects/wchar_t/12.cc: New test. 2576 1.1 mrg * testsuite/27_io/objects/wchar_t/13.cc: New test. 2577 1.1 mrg 2578 1.1 mrg 2003-09-04 Jonathan Wakely <redi (a] gcc.gnu.org> 2579 1.1 mrg 2580 1.1 mrg * docs/html/faq/index.html: Note that a namespace alias can't be 2581 1.1 mrg used when specialising templates in extension namespace. 2582 1.1 mrg * docs/html/faq/index.txt: Regenerate. 2583 1.1 mrg 2584 1.1 mrg 2003-09-03 Petur Runolfsson <peturr02 (a] ru.is> 2585 1.1 mrg 2586 1.1 mrg PR libstdc++/12048 2587 1.1 mrg * include/ext/stdio_sync_filebuf.h 2588 1.1 mrg (stdio_sync_filebuf::_M_unget_buf): Declare it. 2589 1.1 mrg (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf. 2590 1.1 mrg (stdio_sync_filebuf::uflow): Store the returned character in 2591 1.1 mrg _M_unget_buf. 2592 1.1 mrg (stdio_sync_filebuf::pbackfail): If argument is eof(), pass 2593 1.1 mrg _M_unget_buf to syncungetc(). Set _M_unget_buf to eof(). 2594 1.1 mrg (stdio_sync_filebuf<char>::xsgetn): Store last read character in 2595 1.1 mrg _M_unget_buf, if any, else eof(). 2596 1.1 mrg (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in 2597 1.1 mrg _M_unget_buf, if any, else eof(). 2598 1.1 mrg * testsuite/27_io/objects/char/12048.cc: Rename to... 2599 1.1 mrg * testsuite/27_io/objects/char/12048-1.cc: ...this. 2600 1.1 mrg * testsuite/27_io/objects/char/12048-2.cc: New test. 2601 1.1 mrg * testsuite/27_io/objects/char/12048-3.cc: New test. 2602 1.1 mrg * testsuite/27_io/objects/char/12048-4.cc: New test. 2603 1.1 mrg * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL. 2604 1.1 mrg * testsuite/27_io/objects/wchar_t/12048-1.cc: New test. 2605 1.1 mrg * testsuite/27_io/objects/wchar_t/12048-2.cc: New test. 2606 1.1 mrg * testsuite/27_io/objects/wchar_t/12048-3.cc: New test. 2607 1.1 mrg * testsuite/27_io/objects/wchar_t/12048-4.cc: New test. 2608 1.1 mrg * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL. 2609 1.1 mrg * testsuite/ext/stdio_sync_filebuf_char.cc 2610 1.1 mrg (test02, test03, test04, test05): New tests. 2611 1.1 mrg * testsuite/ext/stdio_sync_filebuf_wchar_t.cc 2612 1.1 mrg (test02, test03, test04, test05): New tests. 2613 1.1 mrg 2614 1.1 mrg 2003-09-03 Petur Runolfsson <peturr02 (a] ru.is> 2615 1.1 mrg 2616 1.1 mrg * docs/html/27_io/howto.html: setbuf(0, 0) has no effect on 2617 1.1 mrg stringbuf or strstreambuf. Fix typos. 2618 1.1 mrg 2619 1.1 mrg 2003-09-02 Phil Edwards <phil (a] codesourcery.com> 2620 1.1 mrg 2621 1.1 mrg * acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED 2622 1.1 mrg appropriately. 2623 1.1 mrg * config.h.in: Add _GLIBCXX_HOSTED. 2624 1.1 mrg * libsupc++/eh_term_handler.cc: Test it here; initialize 2625 1.1 mrg __terminate_handler to std::abort if freestanding. 2626 1.1 mrg * aclocal.m4, configure: Regenerated. 2627 1.1 mrg * docs/html/configopts.html: Document --disable-hosted-libstdcxx. 2628 1.1 mrg 2629 1.1 mrg 2003-08-29 Nathan Myers <ncm (a] cantrip.org> 2630 1.1 mrg 2631 1.1 mrg PR libstdc++/11990 2632 1.1 mrg * include/bits/locale_facets.tcc (__pad): delete dead code. 2633 1.1 mrg 2634 1.1 mrg 2003-08-28 Alan Modra <amodra (a] bigpond.net.au> 2635 1.1 mrg 2636 1.1 mrg * configure.ac: Test $with_cross_host against $build_alias, not $build. 2637 1.1 mrg * configure: Regenerate. 2638 1.1 mrg 2639 1.1 mrg 2003-08-27 Petur Runolfsson <peturr02 (a] ru.is> 2640 1.1 mrg 2641 1.1 mrg * testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff... 2642 1.1 mrg * testsuite/27_io/objects/wchar_t/11.cc: ...here. New file. 2643 1.1 mrg 2644 1.1 mrg 2003-08-27 Phil Edwards <pme (a] gcc.gnu.org> 2645 1.1 mrg 2646 1.1 mrg * Makefile.am: Remove trailing whitespace. Remove needless 2647 1.1 mrg "foo = @foo@" assignments. Replace direct uses of @foo@ with $(foo). 2648 1.1 mrg * include/Makefile.am: Likewise. 2649 1.1 mrg * libmath/Makefile.am: Likewise. 2650 1.1 mrg * libsupc++/Makefile.am: Likewise. 2651 1.1 mrg * po/Makefile.am: Likewise. 2652 1.1 mrg * src/Makefile.am: Likewise. 2653 1.1 mrg * testsuite/Makefile.am: Likewise. 2654 1.1 mrg 2655 1.1 mrg * Makefile.in, include/Makefile.in, libmath/Makefile.in, 2656 1.1 mrg libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in, 2657 1.1 mrg testsuite/Makefile.in: Regenerated. 2658 1.1 mrg 2659 1.1 mrg 2003-08-27 Phil Edwards <pme (a] gcc.gnu.org> 2660 1.1 mrg 2661 1.1 mrg * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of 2662 1.1 mrg includedir. 2663 1.1 mrg * aclocal.m4, configure: Regenerate. 2664 1.1 mrg 2665 1.1 mrg 2003-08-27 Daniel Jacobowitz <drow (a] mvista.com> 2666 1.1 mrg 2667 1.1 mrg * acinclude.m4: Include no-executables.m4. 2668 1.1 mrg * configure.ac: Uncomment GCC_NO_EXECUTABLES. 2669 1.1 mrg * aclocal.m4: Regenerated. 2670 1.1 mrg * configure: Regenerated. 2671 1.1 mrg 2672 1.1 mrg 2003-08-27 Daniel Jacobowitz <drow (a] mvista.com> 2673 1.1 mrg 2674 1.1 mrg * acinclude.m4: Don't call AC_ISC_POSIX. 2675 1.1 mrg * aclocal.m4: Regenerated. 2676 1.1 mrg * configure: Regenerated. 2677 1.1 mrg 2678 1.1 mrg 2003-08-27 Phil Edwards <pme (a] gcc.gnu.org> 2679 1.1 mrg 2680 1.1 mrg * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap 2681 1.1 mrg AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one. 2682 1.1 mrg (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted, 2683 1.1 mrg used elsewhere in this file. 2684 1.1 mrg (GLIBCXX_EVALUATE_CONDITIONALS): New macro... 2685 1.1 mrg * configure.ac: ...called here to expand all conditionals. 2686 1.1 mrg * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED. 2687 1.1 mrg * include/Makefile.am: Remove redundant gxx_include_dir assignment. 2688 1.1 mrg (install-freestanding-headers): New target, a subset of 2689 1.1 mrg install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED. 2690 1.1 mrg 2691 1.1 mrg * aclocal.m4, configure, Makefile.in, include/Makefile.in, 2692 1.1 mrg libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, 2693 1.1 mrg src/Makefile.in, testsuite/Makefile.in: Regenerated. 2694 1.1 mrg 2695 1.1 mrg 2003-08-26 Phil Edwards <pme (a] gcc.gnu.org> 2696 1.1 mrg 2697 1.1 mrg * docs/doxygen/run_doxygen: Shell fixes. Remove hardcoded local 2698 1.1 mrg pathnames from generated tag file. 2699 1.1 mrg 2700 1.1 mrg 2003-08-26 Phil Edwards <pme (a] gcc.gnu.org> 2701 1.1 mrg 2702 1.1 mrg * Makefile.am: Add comment. 2703 1.1 mrg * acinclude.m4 (GLIBCXX_CONFIGURE): Set new glibcxx_SUBDIRS and 2704 1.1 mrg SUBDIRS variables. 2705 1.1 mrg * configure.ac: Use them both here, instead of hardcoded lists. 2706 1.1 mrg 2707 1.1 mrg * fragment.am: Add STAMP varaible. 2708 1.1 mrg * include/Makefile.am: Cosmetic whitespace cleanup. Use $(LN_S) 2709 1.1 mrg instead of @LN_S@. 2710 1.1 mrg (stamp-*): Move file creation rule outside of 'if' branches to 2711 1.1 mrg ensure the stamp-* files are actually updated. Use $(STAMP). 2712 1.1 mrg * src/Makefile.am: Remove now-nonexistant variable. 2713 1.1 mrg * libsupc++/Makefile.am: Likewise. Snap the assignment chain 2714 1.1 mrg for -prefer-pic. 2715 1.1 mrg * po/Makefile.am: Include same fragment as all the others. 2716 1.1 mrg 2717 1.1 mrg * aclocal.m4, configure, Makefile.in, include/Makefile.in, 2718 1.1 mrg libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in: Regenerated. 2719 1.1 mrg 2720 1.1 mrg 2003-08-26 Loren J. Rittle <ljrittle (a] acm.org> 2721 1.1 mrg 2722 1.1 mrg * testsuite/data/cin_unget-1.txt: New. 2723 1.1 mrg * testsuite/27_io/objects/char/12048.cc: New. 2724 1.1 mrg 2725 1.1 mrg 2003-08-25 Zack Weinberg <zack (a] codesourcery.com> 2726 1.1 mrg 2727 1.1 mrg * config/os/hpux/os_defines.h: Unconditionally define 2728 1.1 mrg _GLIBCXX_GTHREAD_USE_WEAK to 0. 2729 1.1 mrg 2730 1.1 mrg 2003-08-19 Geoffrey Keating <geoffk (a] apple.com> 2731 1.1 mrg 2732 1.1 mrg * crossconfig.m4 (*-darwin*): Add a large and boring stanza for 2733 1.1 mrg crosses to Darwin targets. 2734 1.1 mrg * configure: Regenerate. 2735 1.1 mrg 2736 1.1 mrg 2003-08-19 Petur Runolfsson <peturr02 (a] ru.is> 2737 1.1 mrg 2738 1.1 mrg * include/ext/ropeimpl.h: #include <ostream> instead of <iostream> 2739 1.1 mrg 2740 1.1 mrg 2003-08-17 Phil Edwards <pme (a] gcc.gnu.org> 2741 1.1 mrg 2742 1.1 mrg * configure.ac: GCC_NO_EXECUTABLES was supposed to be commented 2743 1.1 mrg in the patch from 3 minutes ago. Boy, is my face red. 2744 1.1 mrg * configure: At least I remembered to regenerate this. 2745 1.1 mrg 2746 1.1 mrg 2003-08-17 Phil Edwards <pme (a] gcc.gnu.org> 2747 1.1 mrg 2748 1.1 mrg * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES 2749 1.1 mrg and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to 2750 1.1 mrg things from the top level. 2751 1.1 mrg * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order. 2752 1.1 mrg Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH 2753 1.1 mrg (currently unused). Strip the fake-VPATH shell fragment from 2754 1.1 mrg automake-generated rules, if present. 2755 1.1 mrg * linkage.m4: Add comment. 2756 1.1 mrg 2757 1.1 mrg * fragment.am: New file, containing factored-out common settings. 2758 1.1 mrg (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents. 2759 1.1 mrg * Makefile.am: Include fragment.am. Remove common variables. 2760 1.1 mrg * include/Makefile.am: Likewise. 2761 1.1 mrg * libmath/Makefile.am: Likewise. 2762 1.1 mrg * libsupc++/Makefile.am: Likewise. 2763 1.1 mrg * po/Makefile.am: Likewise. Print rules during check. 2764 1.1 mrg * src/Makefile.am: Likewise. 2765 1.1 mrg * testsuite/Makefile.am: Likewise. 2766 1.1 mrg 2767 1.1 mrg * aclocal.m4, configure, Makefile.in, include/Makefile.in, 2768 1.1 mrg libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, 2769 1.1 mrg src/Makefile.in, testsuite/Makefile.in: Regenerate. 2770 1.1 mrg 2771 1.1 mrg 2003-08-11 John Levon <levon (a] movementarian.org> 2772 1.1 mrg 2773 1.1 mrg * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update 2774 1.1 mrg remaining places for the name change from GLIBCPP_FORCE_NEW 2775 1.1 mrg to GLIBCXX_FORCE_NEW 2776 1.1 mrg 2777 1.1 mrg 2003-08-11 Benjamin Kosnik <bkoz (a] redhat.com> 2778 1.1 mrg 2779 1.1 mrg * include/bits/basic_ios.h: Remove *_iter typedefs, change num* 2780 1.1 mrg typedefs to num_*. 2781 1.1 mrg * include/bits/basic_ios.tcc: Same. 2782 1.1 mrg * include/bits/istream.tcc: Same. 2783 1.1 mrg * include/bits/locale_facets.h: Same. 2784 1.1 mrg * include/bits/ostream.tcc: Same. 2785 1.1 mrg * include/std/std_istream.h: Same. 2786 1.1 mrg * include/std/std_ostream.h: Same. 2787 1.1 mrg * testsuite/26_numerics/complex_inserters_extractors.cc: Fix. 2788 1.1 mrg 2789 1.1 mrg * include/ext/rope: Remove build warning. 2790 1.1 mrg 2791 1.1 mrg 2003-08-11 Andreas Jaeger <aj (a] suse.de> 2792 1.1 mrg 2793 1.1 mrg * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits 2794 1.1 mrg to make SMP-safe. 2795 1.1 mrg * include/Makefile.in: Regenerated. 2796 1.1 mrg 2797 1.1 mrg 2003-08-11 Phil Edwards <pme (a] gcc.gnu.org> 2798 1.1 mrg 2799 1.1 mrg * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS 2800 1.1 mrg when calling AC_PROG_CC. 2801 1.1 mrg * aclocal.m4, configure: Regenerate. 2802 1.1 mrg 2803 1.1 mrg 2003-08-11 Phil Edwards <pme (a] gcc.gnu.org> 2804 1.1 mrg 2805 1.1 mrg * acinclude.m4: Properly quote variable which will be expanded 2806 1.1 mrg inside makefiles. Use CXX instead of CC to extract compiler info. 2807 1.1 mrg * configure.ac (AC_INIT): Use the new 4-arg form to finally get the 2808 1.1 mrg correct form in PACKAGE. 2809 1.1 mrg * aclocal.m4, configure: Regenerate. 2810 1.1 mrg 2811 1.1 mrg 2003-08-08 Benjamin Kosnik <bkoz (a] redhat.com> 2812 1.1 mrg 2813 1.1 mrg * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++. 2814 1.1 mrg (check-abi-verbose): Same. 2815 1.1 mrg * testsuite/testsuite_performance.h (report_performance): Same. 2816 1.1 mrg 2817 1.1 mrg 2003-08-08 Loren J. Rittle <ljrittle (a] acm.org> 2818 1.1 mrg 2819 1.1 mrg * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo. 2820 1.1 mrg 2821 1.1 mrg 2003-08-07 Doug Gregor <dgregor (a] apple.com> 2822 1.1 mrg 2823 1.1 mrg * include/bits/char_traits.h (char_traits::not_eof): Match operand 2824 1.1 mrg types in ? :. 2825 1.1 mrg 2826 1.1 mrg 2003-08-07 Bernardo Innocenti <bernie (a] develer.com> 2827 1.1 mrg 2828 1.1 mrg PR libstdc++/11784 2829 1.1 mrg * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add): 2830 1.1 mrg Replace variants with new BSET-based version. 2831 1.1 mrg 2832 1.1 mrg 2003-08-07 Carlo Wood <carlo (a] alinoe.com> 2833 1.1 mrg 2834 1.1 mrg * include/bits/demangle.h: Do not use cctype functions that depend 2835 1.1 mrg on locale. 2836 1.1 mrg 2837 1.1 mrg 2003-08-05 Phil Edwards <pme (a] gcc.gnu.org> 2838 1.1 mrg 2839 1.1 mrg * configure.in: Rename... 2840 1.1 mrg * configure.ac: ...to this. 2841 1.1 mrg * docs/html/17_intro/porting.texi: Update name. 2842 1.1 mrg 2843 1.1 mrg * docs/html/17_intro/porting.html: Regenerate. 2844 1.1 mrg * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in, 2845 1.1 mrg libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in, 2846 1.1 mrg testsuite/Makefile.in: Regenerate (picks up new dependancy). 2847 1.1 mrg 2848 1.1 mrg 2003-08-05 Phil Edwards <pme (a] gcc.gnu.org> 2849 1.1 mrg 2850 1.1 mrg * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack 2851 1.1 mrg pipe, open the window to let out the fumes, redo the option-handling 2852 1.1 mrg logic to properly execute the detection test. 2853 1.1 mrg * aclocal.m4, configure: Regenerate. 2854 1.1 mrg 2855 1.1 mrg 2003-08-04 Phil Edwards <pme (a] gcc.gnu.org> 2856 1.1 mrg 2857 1.1 mrg Convert to new autotools. 2858 1.1 mrg * acconfig.h: Update with correct names. 2859 1.1 mrg * configure.host (ATOMICITYH): Rename to atomicity_include_dir. 2860 1.1 mrg (qnx6.[12]*): 'q' comes before 's', not after 'w'. 2861 1.1 mrg * configure.in: Update. Split hardcoded cross-configury settings 2862 1.1 mrg out to... 2863 1.1 mrg * crossconfig.m4: ...here. New file. Contents untouched. 2864 1.1 mrg * acinclude.m4: Reorganize and rewrite as needed. Split large 2865 1.1 mrg chunks out to... 2866 1.1 mrg * linkage.m4: ...here. New file. Math and stdlib linkage tests. 2867 1.1 mrg Contents untouched. 2868 1.1 mrg * scripts/testsuite_flags.in: Update. 2869 1.1 mrg 2870 1.1 mrg * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other 2871 1.1 mrg variables (already generated by automake). 2872 1.1 mrg * include/Makefile.am: Ditto. 2873 1.1 mrg * libmath/Makefile.am: Ditto. 2874 1.1 mrg * libsupc++/Makefile.am: Ditto. 2875 1.1 mrg * po/Makefile.am: Ditto. 2876 1.1 mrg * src/Makefile.am: Ditto. 2877 1.1 mrg 2878 1.1 mrg * aclocal.m4: Regenerate using new versions. 2879 1.1 mrg * config.h.in: Ditto. 2880 1.1 mrg * configure: Ditto. 2881 1.1 mrg * Makefile.in: Ditto. 2882 1.1 mrg * include/Makefile.in: Ditto. 2883 1.1 mrg * libmath/Makefile.in: Ditto. 2884 1.1 mrg * libsupc++/Makefile.in: Ditto. 2885 1.1 mrg * po/Makefile.in: Ditto. 2886 1.1 mrg * src/Makefile.in: Ditto. 2887 1.1 mrg * testsuite/Makefile.in: Ditto. 2888 1.1 mrg 2889 1.1 mrg 2003-08-04 Phil Edwards <pme (a] gcc.gnu.org> 2890 1.1 mrg 2891 1.1 mrg * po/libstdc++.pot: Re-extract/regenerate. 2892 1.1 mrg 2893 1.1 mrg 2003-08-04 Phil Edwards <pme (a] gcc.gnu.org> 2894 1.1 mrg 2895 1.1 mrg * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS): 2896 1.1 mrg Remove unneeded variable assignments. Leave them for automake. 2897 1.1 mrg * testsuite/lib/libstdc++-v3.exp: Rename... 2898 1.1 mrg * testsuite/lib/libstdc++.exp: ...to this. Adjust function names 2899 1.1 mrg accordingly. 2900 1.1 mrg * testsuite/libstdc++-v3.dg/dg.exp: Rename... 2901 1.1 mrg * testsuite/libstdc++-dg/normal.exp: ...to this. Adjust function 2902 1.1 mrg names accordingly. 2903 1.1 mrg 2904 1.1 mrg 2003-08-04 Phil Edwards <pme (a] gcc.gnu.org> 2905 1.1 mrg 2906 1.1 mrg * docs/doxygen/guide.html: run_doxygen uses bash. 2907 1.1 mrg * docs/doxygen/mainpage.html: We'll be shipping tag files. 2908 1.1 mrg * docs/doxygen/run_doxygen: Tweaks and improvements. 2909 1.1 mrg * docs/doxygen/user.cfg.in: Set GENERATE_TAGFILE. 2910 1.1 mrg * docs/html/install.html: Update autoconf/automake requirements. 2911 1.1 mrg * docs/html/test.html: Add section describing DejaGNU support. 2912 1.1 mrg * docs/html/17_intro/confdeps.dot: New file, generates... 2913 1.1 mrg * docs/html/17_intro/confdeps.png: ...this new file. 2914 1.1 mrg * docs/html/Makefile: Generated here. 2915 1.1 mrg * docs/html/17_intro/configury.html: New file. 2916 1.1 mrg 2917 1.1 mrg 2003-07-31 Phil Edwards <pme (a] gcc.gnu.org> 2918 1.1 mrg 2919 1.1 mrg * testsuite/lib/libstdc++-v3-dg.exp: Rename... 2920 1.1 mrg * testsuite/lib/libstdc++-v3.exp: ...to this. 2921 1.1 mrg * testsuite/libstdc++-v3.dg/dg.exp: No special case needed now. 2922 1.1 mrg 2923 1.1 mrg 2003-07-31 Doug Gregor <dgregor (a] apple.com> 2924 1.1 mrg 2925 1.1 mrg Add user specialization tests. 2926 1.1 mrg * testsuite/23_containers/deque/1.cc: New. 2927 1.1 mrg * testsuite/23_containers/list/1.cc: New. 2928 1.1 mrg * testsuite/23_containers/map/1.cc: New. 2929 1.1 mrg * testsuite/23_containers/multimap/1.cc: New. 2930 1.1 mrg * testsuite/23_containers/multiset/1.cc: New. 2931 1.1 mrg * testsuite/23_containers/set/1.cc: New. 2932 1.1 mrg * testsuite/23_containers/vector/1.cc: New. 2933 1.1 mrg 2934 1.1 mrg 2003-07-31 Benjamin Kosnik <bkoz (a] redhat.com> 2935 1.1 mrg 2936 1.1 mrg Reshuffle 23_containers testsuite. 2937 1.1 mrg * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc, 2938 1.1 mrg bitset_shift.cc, deque_ctor.cc, deque_operators.cc, 2939 1.1 mrg list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc, 2940 1.1 mrg map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc, 2941 1.1 mrg set_operators_neg.cc, vector_bool.cc, vector_capacity.cc, 2942 1.1 mrg vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc, 2943 1.1 mrg vector_resize.cc: Split into... 2944 1.1 mrg * 23_containers/bitset/cons/1.cc: New. 2945 1.1 mrg * 23_containers/bitset/cons/6282.cc: New. 2946 1.1 mrg * 23_containers/bitset/count/6124.cc: New. 2947 1.1 mrg * 23_containers/bitset/operations/1.cc: New. 2948 1.1 mrg * 23_containers/bitset/operations/2.cc: New. 2949 1.1 mrg * 23_containers/bitset/test/1.cc: New. 2950 1.1 mrg * 23_containers/bitset/to_ulong/1.cc: New. 2951 1.1 mrg * 23_containers/deque/cons/1.cc: New. 2952 1.1 mrg * 23_containers/deque/cons/2.cc: New. 2953 1.1 mrg * 23_containers/deque/operators/1.cc: New. 2954 1.1 mrg * 23_containers/list/capacity/1.cc: New. 2955 1.1 mrg * 23_containers/list/cons/1.cc: New. 2956 1.1 mrg * 23_containers/list/cons/2.cc: New. 2957 1.1 mrg * 23_containers/list/cons/3.cc: New. 2958 1.1 mrg * 23_containers/list/cons/4.cc: New. 2959 1.1 mrg * 23_containers/list/cons/5.cc: New. 2960 1.1 mrg * 23_containers/list/cons/6.cc: New. 2961 1.1 mrg * 23_containers/list/cons/7.cc: New. 2962 1.1 mrg * 23_containers/list/cons/8.cc: New. 2963 1.1 mrg * 23_containers/list/cons/9.cc: New. 2964 1.1 mrg * 23_containers/list/modifiers/1.cc: New. 2965 1.1 mrg * 23_containers/list/modifiers/2.cc: New. 2966 1.1 mrg * 23_containers/list/modifiers/3.cc: New. 2967 1.1 mrg * 23_containers/list/operators/1.cc: New. 2968 1.1 mrg * 23_containers/list/operators/2.cc: New. 2969 1.1 mrg * 23_containers/list/operators/3.cc: New. 2970 1.1 mrg * 23_containers/list/operators/4.cc: New. 2971 1.1 mrg * 23_containers/map/insert/1.cc: New. 2972 1.1 mrg * 23_containers/map/operators/1.cc: New. 2973 1.1 mrg * 23_containers/map/operators/1_neg.cc: New. 2974 1.1 mrg * 23_containers/multiset/insert/1.cc: New. 2975 1.1 mrg * 23_containers/priority_queue/members/7161.cc: New. 2976 1.1 mrg * 23_containers/queue/members/7157.cc: New. 2977 1.1 mrg * 23_containers/set/operators/1_neg.cc: New. 2978 1.1 mrg * 23_containers/stack/members/7158.cc: New. 2979 1.1 mrg * 23_containers/vector/bool/1.cc: New. 2980 1.1 mrg * 23_containers/vector/bool/6886.cc: New. 2981 1.1 mrg * 23_containers/vector/capacity/1.cc: New. 2982 1.1 mrg * 23_containers/vector/capacity/2.cc: New. 2983 1.1 mrg * 23_containers/vector/capacity/8230.cc: New. 2984 1.1 mrg * 23_containers/vector/cons/1.cc: New. 2985 1.1 mrg * 23_containers/vector/cons/2.cc: New. 2986 1.1 mrg * 23_containers/vector/cons/3.cc: New. 2987 1.1 mrg * 23_containers/vector/cons/4.cc: New. 2988 1.1 mrg * 23_containers/vector/cons/6513.cc: New. 2989 1.1 mrg * 23_containers/vector/element_access/1.cc: New. 2990 1.1 mrg * 23_containers/vector/modifiers/1.cc: New. 2991 1.1 mrg * 23_containers/vector/modifiers/2.cc: New. 2992 1.1 mrg * 23_containers/vector/resize/1.cc: New. 2993 1.1 mrg 2994 1.1 mrg 2003-07-31 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 2995 1.1 mrg 2996 1.1 mrg * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run, 2997 1.1 mrg dg-options. 2998 1.1 mrg * testsuite/thread/pthread2.cc: Likewise. 2999 1.1 mrg * testsuite/thread/pthread3.cc: Likewise. 3000 1.1 mrg * testsuite/thread/pthread4.cc: Likewise. 3001 1.1 mrg * testsuite/thread/pthread5.cc: Likewise. 3002 1.1 mrg * testsuite/thread/pthread6.cc: Likewise. 3003 1.1 mrg * testsuite/thread/pthread7-rope.cc: Likewise. 3004 1.1 mrg 3005 1.1 mrg 2003-07-30 Phil Edwards <pme (a] gcc.gnu.org> 3006 1.1 mrg 3007 1.1 mrg * include/bits/c++config: Partial reversion (comment placement) of 3008 1.1 mrg previous patch. 3009 1.1 mrg 3010 1.1 mrg 2003-07-30 Benjamin Kosnik <bkoz (a] redhat.com> 3011 1.1 mrg 3012 1.1 mrg * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove. 3013 1.1 mrg (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE. 3014 1.1 mrg (_GLIBCXX_AT_AT): Remove. 3015 1.1 mrg (__USE_MALLOC): Remove. 3016 1.1 mrg * include/std/std_fstream.h: Modify. 3017 1.1 mrg * include/bits/basic_ios.h: Same. 3018 1.1 mrg * include/bits/valarray_array.h: Same. 3019 1.1 mrg * include/c_std/std_cmath.h: Same. 3020 1.1 mrg * include/c_std/cmath.tcc: Same. 3021 1.1 mrg * include/std/std_vector.h: Same. 3022 1.1 mrg * include/std/std_string.h: Same. 3023 1.1 mrg * include/std/std_stack.h: Same. 3024 1.1 mrg * include/std/std_queue.h: Same. 3025 1.1 mrg * include/std/std_list.h: Same. 3026 1.1 mrg * include/std/std_deque.h: Same. 3027 1.1 mrg * include/std/std_streambuf.h: Same. 3028 1.1 mrg * include/std/std_sstream.h: Same. 3029 1.1 mrg * include/std/std_ostream.h: Same. 3030 1.1 mrg * include/std/std_istream.h: Same. 3031 1.1 mrg * include/bits/valarray_array.tcc: Same, format. 3032 1.1 mrg 3033 1.1 mrg * include/c/std_cctype.h: Fix include guards. 3034 1.1 mrg * include/c/std_cerrno.h: Same. 3035 1.1 mrg * include/c/std_cfloat.h: Same. 3036 1.1 mrg * include/c/std_climits.h: Same. 3037 1.1 mrg * include/c/std_clocale.h: Same. 3038 1.1 mrg * include/c/std_cmath.h: Same. 3039 1.1 mrg * include/c/std_csetjmp.h: Same. 3040 1.1 mrg * include/c/std_csignal.h: Same. 3041 1.1 mrg * include/c/std_cstdarg.h: Same. 3042 1.1 mrg * include/c/std_cstddef.h: Same. 3043 1.1 mrg * include/c/std_cstdio.h: Same. 3044 1.1 mrg * include/c/std_cstdlib.h: Same. 3045 1.1 mrg * include/c/std_cstring.h: Same. 3046 1.1 mrg * include/c/std_ctime.h: Same. 3047 1.1 mrg * include/c/std_cwchar.h: Same. 3048 1.1 mrg * include/c/std_cwctype.h: Same. 3049 1.1 mrg * include/c_std/cmath.tcc: Same. 3050 1.1 mrg * include/c_std/std_cmath.h: Same. 3051 1.1 mrg 3052 1.1 mrg 2003-07-30 Gawain Bolton <gp.bolton (a] computer.org> 3053 1.1 mrg 3054 1.1 mrg PR libstdc++/11504. 3055 1.1 mrg * include/bits/stl_tree.h: Replace C-style casts with C++-style 3056 1.1 mrg casts. Changes to avoid casting away constness. Eliminate 3057 1.1 mrg _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use 3058 1.1 mrg initialization lists. Move out implementation of __black_count() 3059 1.1 mrg to... 3060 1.1 mrg * src/stl_tree.cc: ...here and rename _Rb_tree_black_count(). 3061 1.1 mrg Rename_Rb_tree_base_iterator::_M_increment() to 3062 1.1 mrg _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to 3063 1.1 mrg _Rb_tree_decrement. 3064 1.1 mrg * config/linker-map.gnu: Add and change symbols here. 3065 1.1 mrg 3066 1.1 mrg 2003-07-30 Jonathan Wakely <redi (a] gcc.gnu.org> 3067 1.1 mrg 3068 1.1 mrg * docs/html/22_locale/howto.html: Use locale::classic() instead 3069 1.1 mrg of locale("C"). 3070 1.1 mrg 3071 1.1 mrg 2003-07-28 Benjamin Kosnik <bkoz (a] redhat.com> 3072 1.1 mrg 3073 1.1 mrg * testsuite/testsuite_hooks.h: Remove list include. 3074 1.1 mrg (func_callback): Define as unique type, not std::list. 3075 1.1 mrg Change DEBUG_ASSERT to _GLIBCXX_ASSERT. 3076 1.1 mrg * testsuite/libstdc++-v3.dg/dg.exp: Same. 3077 1.1 mrg * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same. 3078 1.1 mrg * testsuite/23_containers/bitset_ctor.cc: 3079 1.1 mrg * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT. 3080 1.1 mrg * testsuite/18_support/numeric_limits.cc: Same. 3081 1.1 mrg * testsuite/21_strings/basic_string/append/char/1.cc: Same. 3082 1.1 mrg * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same. 3083 1.1 mrg * testsuite/21_strings/basic_string/compare/char/1.cc: Same. 3084 1.1 mrg * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same. 3085 1.1 mrg * testsuite/21_strings/basic_string/element_access/char/1.cc: Same. 3086 1.1 mrg * testsuite/21_strings/basic_string/element_access/char/2.cc: Same. 3087 1.1 mrg * testsuite/21_strings/basic_string/element_access/char/3.cc: Same. 3088 1.1 mrg * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same. 3089 1.1 mrg * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same. 3090 1.1 mrg * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same. 3091 1.1 mrg * testsuite/21_strings/basic_string/find/char/1.cc: Same. 3092 1.1 mrg * testsuite/21_strings/basic_string/find/char/2.cc: Same. 3093 1.1 mrg * testsuite/21_strings/basic_string/find/char/3.cc: Same. 3094 1.1 mrg * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same. 3095 1.1 mrg * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same. 3096 1.1 mrg * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same. 3097 1.1 mrg * testsuite/21_strings/basic_string/insert/char/1.cc: Same. 3098 1.1 mrg * testsuite/21_strings/basic_string/insert/char/2.cc: Same. 3099 1.1 mrg * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same. 3100 1.1 mrg * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same. 3101 1.1 mrg * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc: 3102 1.1 mrg * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc: 3103 1.1 mrg * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc: 3104 1.1 mrg * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc: 3105 1.1 mrg * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc: 3106 1.1 mrg * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc: 3107 1.1 mrg * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc: 3108 1.1 mrg * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc: 3109 1.1 mrg * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc: 3110 1.1 mrg * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc: 3111 1.1 mrg * testsuite/21_strings/basic_string/operators/char/1.cc: Same. 3112 1.1 mrg * testsuite/21_strings/basic_string/operators/char/2.cc: Same. 3113 1.1 mrg * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same. 3114 1.1 mrg * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same. 3115 1.1 mrg * testsuite/21_strings/basic_string/replace/char/1.cc: Same. 3116 1.1 mrg * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same. 3117 1.1 mrg * testsuite/21_strings/basic_string/rfind/char/1.cc: Same. 3118 1.1 mrg * testsuite/21_strings/basic_string/rfind/char/2.cc: Same. 3119 1.1 mrg * testsuite/21_strings/basic_string/rfind/char/3.cc: Same. 3120 1.1 mrg * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same. 3121 1.1 mrg * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same. 3122 1.1 mrg * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same. 3123 1.1 mrg * testsuite/21_strings/basic_string/substr/char/1.cc: Same. 3124 1.1 mrg * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same. 3125 1.1 mrg * testsuite/23_containers/bitset_ctor.cc: Same. 3126 1.1 mrg * testsuite/23_containers/bitset_shift.cc: Same. 3127 1.1 mrg * testsuite/23_containers/vector_ctor.cc: Same. 3128 1.1 mrg * testsuite/23_containers/vector_element_access.cc: Same. 3129 1.1 mrg * testsuite/24_iterators/istreambuf_iterator.cc: Same. 3130 1.1 mrg * testsuite/24_iterators/iterator.cc: Same. 3131 1.1 mrg * testsuite/24_iterators/ostreambuf_iterator.cc: Same. 3132 1.1 mrg * testsuite/25_algorithms/lower_bound.cc: Same. 3133 1.1 mrg * testsuite/26_numerics/complex_inserters_extractors.cc: Same. 3134 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same. 3135 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same. 3136 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same. 3137 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same. 3138 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same. 3139 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same. 3140 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same. 3141 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same. 3142 1.1 mrg * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same. 3143 1.1 mrg * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: 3144 1.1 mrg Same. 3145 1.1 mrg 3146 1.1 mrg 2003-07-28 Phil Edwards <pme (a] gcc.gnu.org> 3147 1.1 mrg 3148 1.1 mrg * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html, 3149 1.1 mrg docs/html/test.html, docs/html/17_intro/headers_cc.txt, 3150 1.1 mrg docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change 3151 1.1 mrg GLIBCPP to GLIBCXX (and explain as needed). 3152 1.1 mrg 3153 1.1 mrg 2003-07-28 Phil Edwards <pme (a] gcc.gnu.org> 3154 1.1 mrg 3155 1.1 mrg * README: Update. 3156 1.1 mrg 3157 1.1 mrg 2003-07-28 Phil Edwards <pme (a] gcc.gnu.org> 3158 1.1 mrg 3159 1.1 mrg * testsuite/22_locale/messages/members/char/1.cc, 3160 1.1 mrg testsuite/22_locale/messages/members/char/2.cc, 3161 1.1 mrg testsuite/22_locale/messages/members/char/3.cc, 3162 1.1 mrg testsuite/22_locale/messages_byname/1.cc: Update comment regarding 3163 1.1 mrg the origin of LOCALEDIR. 3164 1.1 mrg * testsuite/lib/libstdc++-v3.exp: New file. 3165 1.1 mrg 3166 1.1 mrg 2003-07-25 Benjamin Kosnik <bkoz (a] redhat.com> 3167 1.1 mrg 3168 1.1 mrg * include/bits/char_traits.h: Update copyright, tweak. 3169 1.1 mrg * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace 3170 1.1 mrg std types. 3171 1.1 mrg 3172 1.1 mrg 2003-07-24 Matt Austern <austern (a] apple.com> 3173 1.1 mrg 3174 1.1 mrg * /include/bits/char_traits.h (class char_traits): Put all the 3175 1.1 mrg real work into the new class template __gnu_cxx::char_traits. 3176 1.1 mrg Gave generic definitions for member functions. Types are taken 3177 1.1 mrg from the new class template __gnu_cxx::_Char_types. 3178 1.1 mrg * testsuite/21_strings/char_traits/requirements/short/1.cc: New 3179 1.1 mrg file. Test of std::char_traits<short>, which serves as a test of 3180 1.1 mrg the char_traits primary template. 3181 1.1 mrg 3182 1.1 mrg 2003-07-24 Benjamin Kosnik <bkoz (a] redhat.com> 3183 1.1 mrg 3184 1.1 mrg * testsuite/*: Change __gnu_cxx_test to __gnu_test. 3185 1.1 mrg 3186 1.1 mrg 2003-07-24 Nathan Myers <ncm-nospam (a] cantrip.org> 3187 1.1 mrg 3188 1.1 mrg * testsuite/23_containers/map_operators.cc: Conform to 3189 1.1 mrg container requirement as value must be Assignable. 3190 1.1 mrg 3191 1.1 mrg 2003-07-23 Alexandre Oliva <aoliva (a] redhat.com> 3192 1.1 mrg 3193 1.1 mrg * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it 3194 1.1 mrg tests not only generation of pch files, but also their use. 3195 1.1 mrg * aclocal.m4, configure: Rebuilt. 3196 1.1 mrg 3197 1.1 mrg 2003-07-23 Steve Ellcey <sje (a] cup.hp.com> 3198 1.1 mrg 3199 1.1 mrg * config/cpu/hppa/atomicity.h: Change 3200 1.1 mrg _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK 3201 1.1 mrg to match misc-inst.cc 3202 1.1 mrg 3203 1.1 mrg 2003-07-23 Steve Ellcey <sje (a] cup.hp.com> 3204 1.1 mrg 3205 1.1 mrg * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard. 3206 1.1 mrg * include/c_std/std_cctype.h: Ditto. 3207 1.1 mrg * include/c_std/std_cerrno.h: Ditto. 3208 1.1 mrg * include/c_std/std_cfloat.h: Ditto. 3209 1.1 mrg * include/c_std/std_climits.h: Ditto. 3210 1.1 mrg * include/c_std/std_clocale.h: Ditto. 3211 1.1 mrg * include/c_std/std_cmath.h: Ditto. 3212 1.1 mrg * include/c_std/std_csetjmp.h: Ditto. 3213 1.1 mrg * include/c_std/std_csignal.h: Ditto. 3214 1.1 mrg * include/c_std/std_cstdarg.h: Ditto. 3215 1.1 mrg * include/c_std/std_cstddef.h: Ditto. 3216 1.1 mrg * include/c_std/std_cstdio.h: Ditto. 3217 1.1 mrg * include/c_std/std_cstdlib.h: Ditto. 3218 1.1 mrg * include/c_std/std_cstring.h: Ditto. 3219 1.1 mrg * include/c_std/std_ctime.h: Ditto. 3220 1.1 mrg * include/c_std/std_cwchar.h: Ditto. 3221 1.1 mrg * include/c_std/std_cwctype.h: Ditto. 3222 1.1 mrg * include/std/std_algorithm.h: Ditto. 3223 1.1 mrg * include/std/std_bitset.h: Ditto. 3224 1.1 mrg * include/std/std_complex.h: Ditto. 3225 1.1 mrg * include/std/std_deque.h: Ditto. 3226 1.1 mrg * include/std/std_fstream.h: Ditto. 3227 1.1 mrg * include/std/std_functional.h: Ditto. 3228 1.1 mrg * include/std/std_iomanip.h: Ditto. 3229 1.1 mrg * include/std/std_ios.h: Ditto. 3230 1.1 mrg * include/std/std_iosfwd.h: Ditto. 3231 1.1 mrg * include/std/std_iostream.h: Ditto. 3232 1.1 mrg * include/std/std_istream.h: Ditto. 3233 1.1 mrg * include/std/std_iterator.h: Ditto. 3234 1.1 mrg * include/std/std_limits.h: Ditto. 3235 1.1 mrg * include/std/std_list.h: Ditto. 3236 1.1 mrg * include/std/std_locale.h: Ditto. 3237 1.1 mrg * include/std/std_map.h: Ditto. 3238 1.1 mrg * include/std/std_memory.h: Ditto. 3239 1.1 mrg * include/std/std_numeric.h: Ditto. 3240 1.1 mrg * include/std/std_ostream.h: Ditto. 3241 1.1 mrg * include/std/std_queue.h: Ditto. 3242 1.1 mrg * include/std/std_set.h: Ditto. 3243 1.1 mrg * include/std/std_sstream.h: Ditto. 3244 1.1 mrg * include/std/std_stack.h: Ditto. 3245 1.1 mrg * include/std/std_stdexcept.h: Ditto. 3246 1.1 mrg * include/std/std_streambuf.h: Ditto. 3247 1.1 mrg * include/std/std_string.h: Ditto. 3248 1.1 mrg * include/std/std_utility.h: Ditto. 3249 1.1 mrg * include/std/std_valarray.h: Ditto. 3250 1.1 mrg * include/std/std_vector.h: Ditto. 3251 1.1 mrg 3252 1.1 mrg 2003-07-22 Doug Gregor <dgregor (a] apple.com> 3253 1.1 mrg 3254 1.1 mrg * include/bits/basic_string.h (basic_string::insert): Deprecate 3255 1.1 mrg GNU extension. 3256 1.1 mrg 3257 1.1 mrg 2003-07-21 Benjamin Kosnik <bkoz (a] redhat.com> 3258 1.1 mrg 3259 1.1 mrg * scripts/testsuite_flags.in (--build-includes): Remove extraneous 3260 1.1 mrg paths for libio. 3261 1.1 mrg * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc 3262 1.1 mrg (test03): Include typeinfo for bad_cast. 3263 1.1 mrg * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same. 3264 1.1 mrg * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same. 3265 1.1 mrg * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same. 3266 1.1 mrg 3267 1.1 mrg 2003-07-21 Doug Gregor <dgregor (a] apple.com> 3268 1.1 mrg 3269 1.1 mrg * include/bits/boost_concept_check.h: 3270 1.1 mrg (_EqualityComparableConcept::__constraints): Remove != from the 3271 1.1 mrg list of constraints; it is not listed in Table 28 of the C++98 3272 1.1 mrg standard. 3273 1.1 mrg 3274 1.1 mrg 2003-07-18 Andreas Jaeger <aj (a] suse.de> 3275 1.1 mrg 3276 1.1 mrg * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file. 3277 1.1 mrg * config/abi/mips-linux-gnu/baseline_symbols.txt: New file. 3278 1.1 mrg * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file. 3279 1.1 mrg * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated. 3280 1.1 mrg 3281 1.1 mrg 2003-07-17 Benjamin Kosnik <bkoz (a] redhat.com> 3282 1.1 mrg 3283 1.1 mrg * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache. 3284 1.1 mrg * config/locale/generic/messages_members.h: Tweaks. 3285 1.1 mrg * config/locale/generic/monetary_members.cc 3286 1.1 mrg (moneypunct::_M_initialize_moneypunct): Use cache. 3287 1.1 mrg (moneypunct::~moneypunct): Delete cache. 3288 1.1 mrg * config/locale/generic/time_members.cc: 3289 1.1 mrg (__timepunct::_M_initialize_timepunct): Use cache. 3290 1.1 mrg * config/locale/generic/time_members.h: 3291 1.1 mrg (__timepunct::~__timepunct): Delete cache. 3292 1.1 mrg (__timepunct::__timepunct): Set cache. 3293 1.1 mrg * config/locale/gnu/messages_members.h: Tweaks. 3294 1.1 mrg * config/locale/gnu/monetary_members.cc: 3295 1.1 mrg (moneypunct::_M_initialize_moneypunct): Use cache. 3296 1.1 mrg (moneypunct::~moneypunct): Delete cache. 3297 1.1 mrg * config/locale/gnu/time_members.cc: 3298 1.1 mrg (__timepunct::_M_initialize_timepunct): Use cache. 3299 1.1 mrg * config/locale/gnu/time_members.h: 3300 1.1 mrg (__timepunct::~__timepunct): Delete cache. 3301 1.1 mrg (__timepunct::__timepunct): Set cache. 3302 1.1 mrg * include/bits/locale_facets.h (__timepunct_cache): New. 3303 1.1 mrg (__moneypunct_cache): New. 3304 1.1 mrg * include/bits/locale_facets.tcc: Tweak. 3305 1.1 mrg * src/locale.cc (__timepunct::_S_timezones): Adjust for cache. 3306 1.1 mrg * src/locale-inst.cc: Instantiate caches. 3307 1.1 mrg * src/globals.cc: Add "C" caches. 3308 1.1 mrg * src/localename.cc: Use external "C" caches. 3309 1.1 mrg 3310 1.1 mrg 2003-07-17 Phil Edwards <pme (a] gcc.gnu.org> 3311 1.1 mrg 3312 1.1 mrg * docs/doxygen/guide.html: Fix typo. 3313 1.1 mrg 3314 1.1 mrg 2003-07-16 Benjamin Kosnik <bkoz (a] redhat.com> 3315 1.1 mrg 3316 1.1 mrg * include/ext/pod_char_traits.h: Add state template argument. 3317 1.1 mrg 3318 1.1 mrg 2003-07-16 Benjamin Kosnik <bkoz (a] redhat.com> 3319 1.1 mrg 3320 1.1 mrg * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX. 3321 1.1 mrg (num_get::_M_convert_int): To _M_insert_int. 3322 1.1 mrg (num_get::_M_convert_float): To _M_insert_float. 3323 1.1 mrg * include/bits/locale_facets.tcc (num_get::_M_extract_float): 3324 1.1 mrg Use caches for ctype, num_get. 3325 1.1 mrg (num_get::_M_extract_int): Same. 3326 1.1 mrg (num_get::get(bool)): Same. 3327 1.1 mrg (__verify_grouping): Use size_t. 3328 1.1 mrg * src/locale-inst.cc: Update. 3329 1.1 mrg * src/locale.cc: Adjust _S_atoms_in. 3330 1.1 mrg 3331 1.1 mrg 2003-07-16 Phil Edwards <pme (a] gcc.gnu.org> 3332 1.1 mrg 3333 1.1 mrg * docs/doxygen/mainpage.html: Move building/writing instructions... 3334 1.1 mrg * docs/doxygen/guide.html: ...to here. New file. 3335 1.1 mrg 3336 1.1 mrg 2003-07-16 Jonathan Wakely <redi (a] gcc.gnu.org> 3337 1.1 mrg 3338 1.1 mrg * docs/html/ext/howto.html: Update URL for SGI STL docs. 3339 1.1 mrg * docs/html/faq/index.html: Same. 3340 1.1 mrg * docs/html/faq/index.txt: Regenerate. 3341 1.1 mrg 3342 1.1 mrg 2003-07-16 Paolo Carlini <pcarlini (a] unitus.it> 3343 1.1 mrg 3344 1.1 mrg PR libstdc++/11528 3345 1.1 mrg * include/bits/locale_facets.tcc (money_get::do_get): 3346 1.1 mrg Strip only _leading_ zeros. 3347 1.1 mrg * testsuite/22_locale/money_get/get/char/11528.cc: Add. 3348 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add. 3349 1.1 mrg 3350 1.1 mrg 2003-07-16 Gerald Pfeifer <pfeifer (a] dbai.tuwien.ac.at> 3351 1.1 mrg 3352 1.1 mrg * include/ext/hash_map (class hash_multimap): Remove extra 3353 1.1 mrg semicolons from __glibcxx_class_requires3 entries. 3354 1.1 mrg * include/ext/hash_set (class hash_set): Ditto. 3355 1.1 mrg (class hash_multiset): Ditto. 3356 1.1 mrg 3357 1.1 mrg 2003-07-15 Petur Runolfsson <peturr02 (a] ru.is> 3358 1.1 mrg 3359 1.1 mrg * include/bits/char_traits.h (char_traits<wchar_t>::move): 3360 1.1 mrg Change last parameter from int_type to size_t. 3361 1.1 mrg 3362 1.1 mrg 2003-07-15 Jerry Quinn <jlquinn (a] optonline.net> 3363 1.1 mrg 3364 1.1 mrg * include/bits/stl_algo.h (includes, set_union, set_intersection, 3365 1.1 mrg set_difference, set_symmetric_difference, max_element, min_element, 3366 1.1 mrg next_permutation, prev_permutation, find_first_of, find_end): 3367 1.1 mrg Document. 3368 1.1 mrg * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap 3369 1.1 mrg restrictions in docs. 3370 1.1 mrg * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap): 3371 1.1 mrg Document. 3372 1.1 mrg * docs/doxygen/doxygroups.cc (setoperations): New group. 3373 1.1 mrg 3374 1.1 mrg 2003-07-15 Jerry Quinn <jlquinn (a] optonline.net> 3375 1.1 mrg 3376 1.1 mrg * include/bits/basic_string.h: Document public functions. 3377 1.1 mrg * docs/doxygen/TODO: Update c21 todo. 3378 1.1 mrg 3379 1.1 mrg 2003-07-15 Jerry Quinn <jlquinn (a] optonline.net> 3380 1.1 mrg 3381 1.1 mrg * include/bits/stl_list.h: Document more functions. 3382 1.1 mrg * docs/doxygen/TODO: Update c23 todo. 3383 1.1 mrg 3384 1.1 mrg 2003-07-14 Paolo Carlini <pcarlini (a] unitus.it> 3385 1.1 mrg 3386 1.1 mrg * config/locale/gnu/c_locale.h (__convert_from_v): One more 3387 1.1 mrg qualification. 3388 1.1 mrg 3389 1.1 mrg 2003-07-14 Paolo Carlini <pcarlini (a] unitus.it> 3390 1.1 mrg 3391 1.1 mrg * include/bits/stl_tempbuf.h: Qualify free with std::. 3392 1.1 mrg * src/locale.cc: Include <cstdlib>, qualify getenv. 3393 1.1 mrg 3394 1.1 mrg 2003-07-14 Paolo Carlini <pcarlini (a] unitus.it> 3395 1.1 mrg 3396 1.1 mrg * config/locale/gnu/c_locale.h (__convert_from_v): Include 3397 1.1 mrg <cstdio>. Qualify names. 3398 1.1 mrg * config/locale/generic/c_locale.h (__convert_from_v): Ditto. 3399 1.1 mrg 3400 1.1 mrg 2003-07-14 Paolo Carlini <pcarlini (a] unitus.it> 3401 1.1 mrg Nathan C. Myers <ncm-nospam (a] cantrip.org> 3402 1.1 mrg 3403 1.1 mrg PR libstdc++/11378 3404 1.1 mrg * include/std/std_fstream.h (xsputn): Declare only. 3405 1.1 mrg * include/bits/fstream.tcc (xsputn): Define, optimize for the 3406 1.1 mrg always_noconv() case: when __n is sufficiently large flush 3407 1.1 mrg the buffer and issue a direct write, if possible combining the 3408 1.1 mrg two with writev in __basic_file<>::xsputn_2. 3409 1.1 mrg * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2): 3410 1.1 mrg New, declare. 3411 1.1 mrg * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2): 3412 1.1 mrg Define. 3413 1.1 mrg * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for 3414 1.1 mrg the availability of writev in <sys/uio.h>. 3415 1.1 mrg * configure.in: Call here. 3416 1.1 mrg * acconfig.h: Add undef for the corresponding symbol. 3417 1.1 mrg * aclocal.m4: Regenerate. 3418 1.1 mrg * configure: Regenerate. 3419 1.1 mrg * config.h.in: Regenerate. 3420 1.1 mrg * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak. 3421 1.1 mrg 3422 1.1 mrg * include/std/std_fstream.h (sync): Constify a variable. 3423 1.1 mrg 3424 1.1 mrg 2003-07-14 Benjamin Kosnik <bkoz (a] redhat.com> 3425 1.1 mrg 3426 1.1 mrg * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers. 3427 1.1 mrg * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. 3428 1.1 mrg 3429 1.1 mrg 2003-07-14 Gabriel Dos Reis <gcc (a] integrable-solutions.net> 3430 1.1 mrg 3431 1.1 mrg * config/locale/gnu/c_locale.h (__convert_from_v): Include 3432 1.1 mrg <cstring> and <cstdlib>. Qualify names. 3433 1.1 mrg 3434 1.1 mrg 2003-07-13 Mark Mitchell <mark (a] codesourcery.com> 3435 1.1 mrg 3436 1.1 mrg * config/locale/generic/c_locale.h: Include <cstdlib> and 3437 1.1 mrg <cstring>. 3438 1.1 mrg * include/bits/boost_concept_check.h: Add this-> to unqualified 3439 1.1 mrg method calls. 3440 1.1 mrg * include/bits/deque.tcc: Likewise. 3441 1.1 mrg * include/bits/locale_facets.h : Likewise. 3442 1.1 mrg * include/bits/ostream.tcc: Likewise. 3443 1.1 mrg * include/bits/stl_algo.h: Likewise. 3444 1.1 mrg * include/bits/stl_bvector.h: Likewise. 3445 1.1 mrg * include/bits/stl_deque.h: Likewise. 3446 1.1 mrg * include/bits/stl_list.h: Likewise. 3447 1.1 mrg * include/bits/stl_tree.h: Likewise. 3448 1.1 mrg * include/bits/stl_vector.h: Likewise. 3449 1.1 mrg * include/bits/vector.tcc: Likewise. 3450 1.1 mrg * include/ext/rope: Likewise. 3451 1.1 mrg * include/ext/ropeimpl.h: Likewise. 3452 1.1 mrg * include/ext/stdio_filebuf.h: Likewise. 3453 1.1 mrg 3454 1.1 mrg 2003-07-11 Jerry Quinn <jlquinn (a] optonline.net> 3455 1.1 mrg 3456 1.1 mrg * include/bits/basic_ios.h (copyfmt): Document. 3457 1.1 mrg * include/bits/ios_base.h (event, event_callback, register_callback, 3458 1.1 mrg xalloc, iword, pword): Document. 3459 1.1 mrg (imbue, ~ios_base): Update docs on callbacks. 3460 1.1 mrg 3461 1.1 mrg 2003-07-11 Phil Edwards <pme (a] gcc.gnu.org> 3462 1.1 mrg 3463 1.1 mrg * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add 3464 1.1 mrg warning messages if the environment cannot support symbol versioning. 3465 1.1 mrg (port_specific_symbol_file): It's plural, add an 's' on the end. 3466 1.1 mrg * configure.host: Likewise. 3467 1.1 mrg * src/Makefile.am: Likewise. 3468 1.1 mrg * config/linker-map.gnu: Remove one semicolon, heh. 3469 1.1 mrg * scripts/extract_symvers: Don't assume useful 'export' syntax. 3470 1.1 mrg Set LANG as well as LC_ALL for possibly-broken sort(1)s. 3471 1.1 mrg * aclocal.m4, configure, src/Makefile.in: Regenerated. 3472 1.1 mrg 3473 1.1 mrg 2003-07-09 Benjamin Kosnik <bkoz (a] redhat.com> 3474 1.1 mrg 3475 1.1 mrg * include/bits/locale_facets.tcc: Use function object for 3476 1.1 mrg __use_cache instead of template function. Partially specialize for 3477 1.1 mrg __numpunct<_CharT>. 3478 1.1 mrg * include/bits/locale_classes.h: Update friend declaration for 3479 1.1 mrg __use_cache. 3480 1.1 mrg (_M_install_cache): No throw exception specs. 3481 1.1 mrg * src/locale.cc: Remove __use_cache specializations. 3482 1.1 mrg * include/ext/pod_char_traits.h (length): Tweak. 3483 1.1 mrg * include/bits/locale_facets.h (__numpunct_cache): Remove 3484 1.1 mrg char_type typedef. 3485 1.1 mrg * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove. 3486 1.1 mrg (pod_long): Remove. 3487 1.1 mrg * testsuite/22_locale/numpunct/members/char/cache_1.cc: New. 3488 1.1 mrg * testsuite/22_locale/numpunct/members/char/cache_2.cc: New. 3489 1.1 mrg * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New. 3490 1.1 mrg * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New. 3491 1.1 mrg * testsuite/22_locale/numpunct/members/pod/1.cc: New. 3492 1.1 mrg * testsuite/22_locale/numpunct/members/pod/2.cc: New. 3493 1.1 mrg 3494 1.1 mrg 2003-07-09 Jerry Quinn <jlquinn (a] optonline.net> 3495 1.1 mrg 3496 1.1 mrg * src/ios.cc (_M_grow_words): Fix spelling. 3497 1.1 mrg 3498 1.1 mrg 2003-07-09 Gawain Bolton <gp.bolton (a] computer.org> 3499 1.1 mrg 3500 1.1 mrg * include/bits/stl_tree.h: Move larger member functions in 3501 1.1 mrg _Rb_tree_base_iterator and _Rb_tree_node to... 3502 1.1 mrg * src/stl_tree.cc: Here. 3503 1.1 mrg * src/Makefile.in: Add stl_tree.cc. 3504 1.1 mrg * src/Makefile.in: Regenerated. 3505 1.1 mrg * config/linker-map.gnu: Add symbols here. 3506 1.1 mrg 3507 1.1 mrg 2003-07-08 Benjamin Kosnik <bkoz (a] redhat.com> 3508 1.1 mrg 3509 1.1 mrg * testsuite/ext/pod_char_traits.cc: New. 3510 1.1 mrg * include/ext/pod_char_traits.h: New. 3511 1.1 mrg * include/Makefile.am (ext_headers): Add pod_char_traits.h. 3512 1.1 mrg * include/Makefile.in: Regenerate. 3513 1.1 mrg * docs/html/21_strings/howto.html: Update. 3514 1.1 mrg 3515 1.1 mrg 2003-07-08 Gawain Bolton <gp.bolton (a] computer.org> 3516 1.1 mrg 3517 1.1 mrg * testsuite/performance/list_create_fill_sort.cc: New. 3518 1.1 mrg 3519 1.1 mrg 2003-07-08 Benjamin Kosnik <bkoz (a] redhat.com> 3520 1.1 mrg 3521 1.1 mrg * config/locale/generic/numeric_members.cc: Correct type info. 3522 1.1 mrg * config/locale/gnu/numeric_members.cc: Same. 3523 1.1 mrg * include/bits/locale_facets.h: Same. 3524 1.1 mrg 3525 1.1 mrg * include/bits/char_traits.h: Correct spacing. 3526 1.1 mrg 3527 1.1 mrg * src/locale.cc: Wrap to 80 col. 3528 1.1 mrg 3529 1.1 mrg 2003-07-07 Paolo Carlini <pcarlini (a] unitus.it> 3530 1.1 mrg 3531 1.1 mrg * include/std/std_complex.h: Partially revert last 3532 1.1 mrg changes: cmath functions must not be qualified. 3533 1.1 mrg 3534 1.1 mrg 2003-07-06 Phil Edwards <pme (a] gcc.gnu.org> 3535 1.1 mrg 3536 1.1 mrg * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils 3537 1.1 mrg 2.11 with globbing backport fix. 3538 1.1 mrg * aclocal.m4, configure: Regenerated. 3539 1.1 mrg 3540 1.1 mrg 2003-07-06 Paolo Carlini <pcarlini (a] unitus.it> 3541 1.1 mrg 3542 1.1 mrg * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback: 3543 1.1 mrg if output is at all possible (!_M_reading), cannot be active. 3544 1.1 mrg 3545 1.1 mrg * include/std/std_fstream.h: Tweak comments to doxygen style. 3546 1.1 mrg 3547 1.1 mrg 2003-07-06 Paolo Carlini <pcarlini (a] unitus.it> 3548 1.1 mrg 3549 1.1 mrg * include/bits/locale_classes.h: Fully qualify standard 3550 1.1 mrg functions with std::, thus avoiding Koenig lookup. 3551 1.1 mrg * include/bits/locale_facets.tcc: Likewise. 3552 1.1 mrg * src/locale.cc: Likewise. 3553 1.1 mrg * src/localename.cc: Likewise. 3554 1.1 mrg 3555 1.1 mrg 2003-07-06 Phil Edwards <pme (a] gcc.gnu.org> 3556 1.1 mrg 3557 1.1 mrg * include/bits/allocator_traits.h: Fix doxygen markup. 3558 1.1 mrg * include/ext/mt_allocator.h: Likewise. 3559 1.1 mrg 3560 1.1 mrg 2003-07-06 Phil Edwards <pme (a] gcc.gnu.org> 3561 1.1 mrg 3562 1.1 mrg * testsuite/testsuite_hooks.h: Guard against a missing unlink(). 3563 1.1 mrg 3564 1.1 mrg 2003-07-05 Phil Edwards <pme (a] gcc.gnu.org> 3565 1.1 mrg 3566 1.1 mrg * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version 3567 1.1 mrg requirement. Add port_specific_symbol_file variable. 3568 1.1 mrg * configure.host: Add docs for port_specific_symbol_file. 3569 1.1 mrg Clean up try_cpu block for x86. 3570 1.1 mrg * config/linker-map.gnu: No more "last symbol can't have a 3571 1.1 mrg semicolon" kaka. Add hook for port-specific symbols. 3572 1.1 mrg * src/Makefile.am: Remove trailing whitespace. 3573 1.1 mrg (libstdc++-symbol.ver): Detect the presence of port-specific 3574 1.1 mrg symbols, and add them accordingly. 3575 1.1 mrg 3576 1.1 mrg * docs/html/17_intro/porting.texi: Bring up to date. 3577 1.1 mrg 3578 1.1 mrg * src/Makefile.in, aclocal.m4, configure, 3579 1.1 mrg docs/html/17_intro/porting.html: Regenerated. 3580 1.1 mrg 3581 1.1 mrg 2003-07-05 Phil Edwards <pme (a] gcc.gnu.org> 3582 1.1 mrg 3583 1.1 mrg * scripts/create_testsuite_files: New file. 3584 1.1 mrg * testsuite/Makefile.am (all-local, check-performance): Use it. 3585 1.1 mrg * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove. 3586 1.1 mrg * testsuite/Makefile.in: Regenerated. 3587 1.1 mrg 3588 1.1 mrg * testsuite/performance/filebuf_sputc.cc: Remove the temporary 3589 1.1 mrg files at the end. 3590 1.1 mrg * testsuite/performance/fstream_seek_write.cc: Likewise. 3591 1.1 mrg * testsuite/performance/ofstream_insert_float.cc: Likewise. 3592 1.1 mrg * testsuite/performance/ofstream_insert_int.cc: Likewise. 3593 1.1 mrg * testsuite/abi_check.cc (main): Nicer spacing in usage output. 3594 1.1 mrg 3595 1.1 mrg 2003-07-05 Gawain Bolton <gp.bolton (a] computer.org> 3596 1.1 mrg 3597 1.1 mrg * include/bits/stl_list.h: Performance and memory usage 3598 1.1 mrg improvements. In particular, the behaviour of the constructor and 3599 1.1 mrg destructor as the list header node is no longer dynamically 3600 1.1 mrg allocated/de-allocated. 3601 1.1 mrg * include/bits/list.tcc: Likewise. 3602 1.1 mrg 3603 1.1 mrg 2003-07-05 Paolo Carlini <pcarlini (a] unitus.it> 3604 1.1 mrg 3605 1.1 mrg * include/std/std_complex.h: Fully qualify standard 3606 1.1 mrg functions with std::, thus avoiding Koenig lookup. 3607 1.1 mrg * include/std/std_memory.h: Likewise. 3608 1.1 mrg * include/std/std_valarray.h: Likewise. 3609 1.1 mrg 3610 1.1 mrg 2003-07-05 Gawain Bolton <gp.bolton (a] computer.org> 3611 1.1 mrg 3612 1.1 mrg * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local 3613 1.1 mrg variable for grandparent and use const 3614 1.1 mrg 3615 1.1 mrg 2003-07-05 David Billinghurst <David.Billinghurst (a] riotinto.com> 3616 1.1 mrg 3617 1.1 mrg * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin 3618 1.1 mrg * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto 3619 1.1 mrg * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto 3620 1.1 mrg * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto 3621 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto 3622 1.1 mrg * testsuite/27_io/objects/char/7.cc: Ditto 3623 1.1 mrg * testsuite/27_io/objects/char/9661-1.cc: Ditto 3624 1.1 mrg 3625 1.1 mrg 2003-07-05 Paolo Carlini <pcarlini (a] unitus.it> 3626 1.1 mrg 3627 1.1 mrg * include/std/std_bitset.h: Fully qualify standard 3628 1.1 mrg functions with std::, thus avoiding Koenig lookup. 3629 1.1 mrg 3630 1.1 mrg * include/std/std_fstream.h: Change comment to doxygen style. 3631 1.1 mrg 3632 1.1 mrg 2003-07-05 Phil Edwards <pme (a] gcc.gnu.org> 3633 1.1 mrg 3634 1.1 mrg * include/std/std_limits.h: More CPP->CXX changes. 3635 1.1 mrg * scripts/check_survey.in: Likewise. 3636 1.1 mrg 3637 1.1 mrg 2003-07-04 Benjamin Kosnik <bkoz (a] redhat.com> 3638 1.1 mrg 3639 1.1 mrg Move from CPP to CXX. 3640 1.1 mrg * include/bits/c++config: Move to GLIBCXX from GLIBCPP. 3641 1.1 mrg * testsuite/Makefile.am: Same. 3642 1.1 mrg * testsuite/Makefile.in: Regenerate. 3643 1.1 mrg * po/Makefile.am: Same. 3644 1.1 mrg * po/Makefile.in: Regenerate. 3645 1.1 mrg * libsupc++/Makefile.am: Same. 3646 1.1 mrg * libsupc++/Makefile.in: Regenerate. 3647 1.1 mrg * libmath/Makefile.am: Same. 3648 1.1 mrg * libmath/Makefile.in: Regenerate. 3649 1.1 mrg * include/Makefile.am: Same. 3650 1.1 mrg * include/Makefile.in: Regenerate. 3651 1.1 mrg * src/Makefile.am: Same. 3652 1.1 mrg * src/Makefile.in: Regenerate. 3653 1.1 mrg * acconfig.h: Same. 3654 1.1 mrg * configure.host: Same. 3655 1.1 mrg * configure.in: Same. 3656 1.1 mrg * configure: Regenerate. 3657 1.1 mrg * acinclude.m4: Same. 3658 1.1 mrg * aclocal.m4: Same. 3659 1.1 mrg * src: Change all files in this directory. 3660 1.1 mrg * testsuite: Same. 3661 1.1 mrg * include: Same, standardize include guards. 3662 1.1 mrg * config: Same. 3663 1.1 mrg * libsupc++: Same. 3664 1.1 mrg 3665 1.1 mrg 2003-07-04 Zack Weinberg <zack (a] codesourcery.com> 3666 1.1 mrg 3667 1.1 mrg * testsuite/22_locale/collate/compare/wchar_t/2.cc 3668 1.1 mrg * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc 3669 1.1 mrg * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc 3670 1.1 mrg * testsuite/22_locale/collate/hash/wchar_t/2.cc 3671 1.1 mrg * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc 3672 1.1 mrg * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc 3673 1.1 mrg * testsuite/22_locale/collate/transform/wchar_t/2.cc 3674 1.1 mrg * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc 3675 1.1 mrg * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: 3676 1.1 mrg XFAIL on all targets. 3677 1.1 mrg 3678 1.1 mrg 2003-07-04 Benjamin Kosnik <bkoz (a] redhat.com> 3679 1.1 mrg 3680 1.1 mrg * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable. 3681 1.1 mrg * aclocal.m4: Regenerate. 3682 1.1 mrg * configure: Regenerate. 3683 1.1 mrg 3684 1.1 mrg 2003-07-04 Jerry Quinn <jlquinn (a] optonline.net> 3685 1.1 mrg 3686 1.1 mrg * include/bits/locale_facets.tcc (__int_to_char): Move common case 3687 1.1 mrg to the top. 3688 1.1 mrg 3689 1.1 mrg 2003-07-04 Benjamin Kosnik <bkoz (a] redhat.com> 3690 1.1 mrg Petur Runolfsson <peturr02 (a] ru.is> 3691 1.1 mrg 3692 1.1 mrg * config/io/basic_file_stdio.cc: Revert. 3693 1.1 mrg 3694 1.1 mrg 2003-07-04 Paolo Carlini <pcarlini (a] unitus.it> 3695 1.1 mrg 3696 1.1 mrg * include/bits/deque.tcc: Fully qualify standard 3697 1.1 mrg functions with std::, thus avoiding Koenig lookup. 3698 1.1 mrg * include/bits/gslice_array.h: Likewise. 3699 1.1 mrg * include/bits/indirect_array.h: Likewise. 3700 1.1 mrg * include/bits/list.tcc: Likewise. 3701 1.1 mrg * include/bits/mask_array.h: Likewise. 3702 1.1 mrg * include/bits/slice_array.h: Likewise. 3703 1.1 mrg 3704 1.1 mrg 2003-07-04 Gawain Bolton <gbolton (a] free.fr> 3705 1.1 mrg 3706 1.1 mrg * include/bits/stl_tree.h: Performance and memory usage 3707 1.1 mrg improvements. 3708 1.1 mrg 3709 1.1 mrg 2003-07-04 H.J. Lu <hongjiu.lu (a] intel.com> 3710 1.1 mrg 3711 1.1 mrg * Makefile.am: Replace PWD with PWD_COMMAND. 3712 1.1 mrg * Makefile.in: Regenerated. 3713 1.1 mrg * docs/html/Makefile: Likewise. 3714 1.1 mrg 3715 1.1 mrg 2003-07-04 Paolo Carlini <pcarlini (a] unitus.it> 3716 1.1 mrg 3717 1.1 mrg * include/bits/valarray_array.h: Fully qualify standard 3718 1.1 mrg functions with std::, thus avoiding Koenig lookup. 3719 1.1 mrg * include/bits/vector.tcc: Likewise. 3720 1.1 mrg 3721 1.1 mrg 2003-07-04 Benjamin Kosnik <bkoz (a] redhat.com> 3722 1.1 mrg 3723 1.1 mrg * include/Makefile.am: Update target_ to host_. 3724 1.1 mrg * include/Makefile.in: Regenerate. 3725 1.1 mrg * src/Makefile.am: Same. 3726 1.1 mrg * src/Makefile.in: Regenerate. 3727 1.1 mrg 3728 1.1 mrg * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support. 3729 1.1 mrg 3730 1.1 mrg 2003-07-04 Benjamin Kosnik <bkoz (a] redhat.com> 3731 1.1 mrg 3732 1.1 mrg * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To 3733 1.1 mrg --enable-libstdcxx-debug-flags. 3734 1.1 mrg (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug. 3735 1.1 mrg (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch. 3736 1.1 mrg * aclocal.m4: Regenerate. 3737 1.1 mrg * configure: Same. 3738 1.1 mrg * docs/html/configopts.html: Update. 3739 1.1 mrg 3740 1.1 mrg 2003-07-04 Paolo Carlini <pcarlini (a] unitus.it> 3741 1.1 mrg 3742 1.1 mrg Revert the fix for libstdc++/11378. 3743 1.1 mrg 3744 1.1 mrg 2003-07-04 Paolo Carlini <pcarlini (a] unitus.it> 3745 1.1 mrg 3746 1.1 mrg PR libstdc++/11378 3747 1.1 mrg * include/std/std_fstream.h (xsputn): In the unbuffered case, 3748 1.1 mrg provided always_noconv(), issue directly _M_file.xsputn. 3749 1.1 mrg * testsuite/performance/filebuf_unbuf_sputn.cc: New. 3750 1.1 mrg 3751 1.1 mrg 2003-07-04 Paolo Carlini <pcarlini (a] unitus.it> 3752 1.1 mrg 3753 1.1 mrg * include/bits/stl_list.h: Fully qualify standard 3754 1.1 mrg functions with std::, thus avoiding Koenig lookup. 3755 1.1 mrg * include/bits/stl_queue.h: Likewise. 3756 1.1 mrg * include/bits/stl_raw_storage_iter.h: Likewise. 3757 1.1 mrg * include/bits/stl_tempbuf.h: Likewise. 3758 1.1 mrg * include/bits/stl_tree.h: Likewise. 3759 1.1 mrg * include/bits/stl_uninitialized.h: Likewise. 3760 1.1 mrg * include/bits/stl_vector.h: Likewise. 3761 1.1 mrg * include/ext/rope: Change includes order. 3762 1.1 mrg 3763 1.1 mrg 2003-07-04 Benjamin Kosnik <bkoz (a] redhat.com> 3764 1.1 mrg 3765 1.1 mrg * configure.host (fpos_include_dir): Fix. 3766 1.1 mrg 3767 1.1 mrg 2003-07-04 Paolo Carlini <pcarlini (a] unitus.it> 3768 1.1 mrg 3769 1.1 mrg * include/bits/stl_heap.h: Fully qualify standard 3770 1.1 mrg functions with std::, thus avoiding Koenig lookup. 3771 1.1 mrg * include/bits/stl_iterator_base_funcs.h: Likewise. 3772 1.1 mrg 3773 1.1 mrg * include/bits/stl_algo.h: Qualify __iterator_category too. 3774 1.1 mrg * include/bits/stl_algobase.h: Likewise. 3775 1.1 mrg * include/bits/stl_bvector.h: Likewise. 3776 1.1 mrg 3777 1.1 mrg * include/bits/stl_algo.h: Don't qualify the pair type. 3778 1.1 mrg 3779 1.1 mrg 2003-07-03 Benjamin Kosnik <bkoz (a] redhat.com> 3780 1.1 mrg 3781 1.1 mrg * include/Makefile.am (target_headers): Add fpos.h 3782 1.1 mrg (bits_headers): Remove. 3783 1.1 mrg * include/Makefile.in: Regenerate. 3784 1.1 mrg * configure.in: Add FPOS_INC_SRCDIR, substitute it. 3785 1.1 mrg * configure: Regenerate. 3786 1.1 mrg * configure.host: Add fpos_include_dir. 3787 1.1 mrg * config/os/gnu-linux/fpos.h: New. 3788 1.1 mrg * config/os/generic/fpos.h: Add. 3789 1.1 mrg * include/bits/fpos.h: Remove. 3790 1.1 mrg 3791 1.1 mrg * config/io/c_io_stdio.h: Remove fpos_t typedef. 3792 1.1 mrg 3793 1.1 mrg * include/bits/fstream.tcc: Tweaks. 3794 1.1 mrg * include/std/std_fstream.h: Same. 3795 1.1 mrg 3796 1.1 mrg * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to... 3797 1.1 mrg * testsuite/27_io/fpos/mbstate_t/1.cc: ...here. 3798 1.1 mrg * testsuite/27_io/fpos/mbstate_t/2.cc: Same. 3799 1.1 mrg * testsuite/27_io/fpos/mbstate_t/3.cc: Same. 3800 1.1 mrg * testsuite/27_io/fpos/1.cc: New. 3801 1.1 mrg 3802 1.1 mrg 2003-07-03 Benjamin Kosnik <bkoz (a] redhat.com> 3803 1.1 mrg Petur Runolfsson <peturr02 (a] ru.is> 3804 1.1 mrg 3805 1.1 mrg * include/std/std_streambuf.h: Remove _M_pos. 3806 1.1 mrg * config/io/basic_file_stdio.h: Use seekpos instead of seekoff. 3807 1.1 mrg * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek, 3808 1.1 mrg use fread/fwrite instead of read/write. 3809 1.1 mrg * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix. 3810 1.1 mrg * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs 3811 1.1 mrg before reading again. 3812 1.1 mrg * testsuite/27_io/objects/char/6.cc: Tweak. 3813 1.1 mrg 3814 1.1 mrg 2003-07-03 David Edelsohn <edelsohn (a] gnu.org> 3815 1.1 mrg 3816 1.1 mrg * testsuite/22_locale/num_put/put/char/7.cc: Guard with 3817 1.1 mrg _GLIBCPP_USE_WCHAR_T. 3818 1.1 mrg 3819 1.1 mrg 2003-07-02 Paolo Carlini <pcarlini (a] unitus.it> 3820 1.1 mrg 3821 1.1 mrg * include/bits/basic_string.tcc (_M_replace_aux): Constify 3822 1.1 mrg __n1 and __off1. 3823 1.1 mrg 3824 1.1 mrg 2003-07-02 Paolo Carlini <pcarlini (a] unitus.it> 3825 1.1 mrg 3826 1.1 mrg * include/bits/stl_bvector.h: Fully qualify standard 3827 1.1 mrg functions with std::, thus avoiding Koenig lookup. 3828 1.1 mrg * include/bits/stl_construct.h: Likewise. 3829 1.1 mrg * include/bits/stl_deque.h: Likewise. 3830 1.1 mrg 3831 1.1 mrg 2003-07-02 Paolo Carlini <pcarlini (a] unitus.it> 3832 1.1 mrg 3833 1.1 mrg * testsuite/22_locale/num_put/put/char/7.cc: Include 3834 1.1 mrg <testsuite_hooks.h>, tweak. 3835 1.1 mrg * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise. 3836 1.1 mrg 3837 1.1 mrg 2003-07-01 Phil Edwards <pme (a] gcc.gnu.org> 3838 1.1 mrg 3839 1.1 mrg * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects 3840 1.1 mrg check* targets, but not libs/programs). 3841 1.1 mrg * testsuite/Makefile.in: Regenerate. 3842 1.1 mrg 3843 1.1 mrg 2003-07-01 Roger Sayle <roger (a] eyesopen.com> 3844 1.1 mrg 3845 1.1 mrg * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS. 3846 1.1 mrg (GLIBCPP_CHECK_MATH_SUPPORT): Likewise. 3847 1.1 mrg * aclocal.m4: Regenerate. 3848 1.1 mrg * configure: Regenerate. 3849 1.1 mrg 3850 1.1 mrg 2003-07-01 Benjamin Kosnik <bkoz (a] redhat.com> 3851 1.1 mrg 3852 1.1 mrg * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error. 3853 1.1 mrg * aclocal.m4: Regenerated. 3854 1.1 mrg * configure: Regenerated. 3855 1.1 mrg 3856 1.1 mrg 2003-07-01 Paolo Carlini <pcarlini (a] unitus.it> 3857 1.1 mrg 3858 1.1 mrg PR libstdc++/11389 3859 1.1 mrg * include/bits/fstream.tcc (underflow): For encoding() == 0 3860 1.1 mrg don't read more than __buflen chars. 3861 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New. 3862 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New. 3863 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New. 3864 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New. 3865 1.1 mrg 3866 1.1 mrg 2003-07-01 Jerry Quinn <jlquinn (a] optonline.net> 3867 1.1 mrg 3868 1.1 mrg * 22_locale/num_put/put/char/7.cc: New. 3869 1.1 mrg * 22_locale/num_put/put/wchar_t/7.cc: New. 3870 1.1 mrg 3871 1.1 mrg 2003-06-30 Jerry Quinn <jlquinn (a] optonline.net> 3872 1.1 mrg 3873 1.1 mrg * src/locale.cc (__use_cache<numpunct>): Revert previous relocation. 3874 1.1 mrg * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto. 3875 1.1 mrg 3876 1.1 mrg 2003-06-30 Benjamin Kosnik <bkoz (a] redhat.com> 3877 1.1 mrg 3878 1.1 mrg * 27_io/basic_filebuf/seekoff/char/1-in.cc: New. 3879 1.1 mrg * 27_io/basic_filebuf/seekoff/char/1-io.cc: New. 3880 1.1 mrg * 27_io/basic_filebuf/seekoff/char/1-out.cc: New. 3881 1.1 mrg * 27_io/basic_filebuf/seekoff/char/2-in.cc: New. 3882 1.1 mrg * 27_io/basic_filebuf/seekoff/char/2-io.cc: New. 3883 1.1 mrg * 27_io/basic_filebuf/seekoff/char/2-out.cc: New. 3884 1.1 mrg * 27_io/basic_filebuf/seekoff/char/2.cc: Remove. 3885 1.1 mrg * 27_io/basic_filebuf/seekoff/char/3-in.cc: New. 3886 1.1 mrg * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change. 3887 1.1 mrg * 27_io/basic_filebuf/seekoff/char/3-out.cc: New. 3888 1.1 mrg * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove. 3889 1.1 mrg * 27_io/basic_filebuf/seekpos/char/1-in.cc: New. 3890 1.1 mrg * 27_io/basic_filebuf/seekpos/char/1-io.cc: New. 3891 1.1 mrg * 27_io/basic_filebuf/seekpos/char/1-out.cc: New. 3892 1.1 mrg * 27_io/basic_filebuf/seekpos/char/2-in.cc: New. 3893 1.1 mrg * 27_io/basic_filebuf/seekpos/char/2-io.cc: New. 3894 1.1 mrg * 27_io/basic_filebuf/seekpos/char/2-out.cc: New. 3895 1.1 mrg * 27_io/basic_filebuf/seekpos/char/2.cc: Change. 3896 1.1 mrg * 27_io/basic_filebuf/seekpos/char/3-in.cc: New. 3897 1.1 mrg * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove. 3898 1.1 mrg * 27_io/basic_filebuf/seekpos/char/3-out.cc: New. 3899 1.1 mrg * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove. 3900 1.1 mrg * data/seekoff-1.tst: Remove. 3901 1.1 mrg * data/seekoff-1io.tst: New. 3902 1.1 mrg * data/seekoff-1out.tst: New. 3903 1.1 mrg * data/seekoff-2.tst: Remove. 3904 1.1 mrg * data/seekoff-2io.tst: New. 3905 1.1 mrg * data/seekoff-2out.tst: New. 3906 1.1 mrg * data/seekoff.txt 3907 1.1 mrg * data/seekpos-1.tst: Remove. 3908 1.1 mrg * data/seekpos-1io.tst: New. 3909 1.1 mrg * data/seekpos-1out.tst: New. 3910 1.1 mrg * data/seekpos-2.tst: Remove. 3911 1.1 mrg * data/seekpos-2io.tst: New. 3912 1.1 mrg * data/seekpos-2out.tst: New. 3913 1.1 mrg * data/seekpos.txt: New. 3914 1.1 mrg 3915 1.1 mrg 2003-06-30 Jerry Quinn <jlquinn (a] optonline.net> 3916 1.1 mrg 3917 1.1 mrg * src/locale.cc (__use_cache<numpunct>): Move from here ... 3918 1.1 mrg * include/bits/locale_facets.tcc (__use_cache<numpunct>): To 3919 1.1 mrg here. 3920 1.1 mrg 3921 1.1 mrg 2003-06-30 Paolo Carlini <pcarlini (a] unitus.it> 3922 1.1 mrg 3923 1.1 mrg * include/bits/stl_algobase.h: Fully qualify standard 3924 1.1 mrg functions with std::, thus avoiding Koenig lookup. 3925 1.1 mrg 3926 1.1 mrg 2003-06-30 Doug Gregor <dgregor (a] apple.com> 3927 1.1 mrg 3928 1.1 mrg * include/bits/locale_facets.tcc (money_get::do_get): Avoid 3929 1.1 mrg subscripting empty string. 3930 1.1 mrg 3931 1.1 mrg 2003-06-30 Phil Edwards <pme (a] gcc.gnu.org> 3932 1.1 mrg 3933 1.1 mrg * testsuite/Makefile.am (check-am): Do not override. 3934 1.1 mrg (baseline_symbols): Declare as PHONY, so no need to 'touch' it. 3935 1.1 mrg * testsuite/Makefile.in: Regenerate. 3936 1.1 mrg 3937 1.1 mrg 2003-06-30 Doug Gregor <dgregor (a] apple.com> 3938 1.1 mrg 3939 1.1 mrg * testsuite/24_iterators/insert_iterator.cc (test01, test02): 3940 1.1 mrg Don't initialize an insert_iterator with a singular iterator. 3941 1.1 mrg 3942 1.1 mrg 2003-06-30 Benjamin Kosnik <bkoz (a] redhat.com> 3943 1.1 mrg 3944 1.1 mrg * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch. 3945 1.1 mrg * aclocal.m4: Regenerate. 3946 1.1 mrg * configure.in (GLIBCPP_CHECK_PCH): Move, change to 3947 1.1 mrg GLIBCPP_ENABLE_PCH, default to yes. 3948 1.1 mrg * configure: Regenerate. 3949 1.1 mrg * docs/html/configopts.html: Add --enable-pch. 3950 1.1 mrg 3951 1.1 mrg 2003-06-30 Phil Edwards <pme (a] gcc.gnu.org> 3952 1.1 mrg 3953 1.1 mrg * testsuite/lib/libstdc++-v3-dg.exp: Add comments. 3954 1.1 mrg (libstdc++-v3-init): Also set LD_RUN_PATH. 3955 1.1 mrg 3956 1.1 mrg 2003-06-30 Paolo Carlini <pcarlini (a] unitus.it> 3957 1.1 mrg 3958 1.1 mrg * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move 3959 1.1 mrg from here to filebuf and stringbuf. 3960 1.1 mrg (~basic_streambuf()): Don't set _M_mode. 3961 1.1 mrg (basic_streambuf()): Don't set _M_mode. 3962 1.1 mrg * include/std/std_fstream.h (_M_mode): Move here, from streambuf. 3963 1.1 mrg (~basic_filebuf()): Clean up. 3964 1.1 mrg * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode. 3965 1.1 mrg * include/std/std_sstream.h (_M_mode): Move here, from streambuf. 3966 1.1 mrg * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode. 3967 1.1 mrg * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise. 3968 1.1 mrg * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise. 3969 1.1 mrg * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise. 3970 1.1 mrg * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise. 3971 1.1 mrg 3972 1.1 mrg 2003-06-30 Paolo Carlini <pcarlini (a] unitus.it> 3973 1.1 mrg 3974 1.1 mrg * include/std/std_fstream.h (_M_underflow): Remove. 3975 1.1 mrg (uflow): Remove, inherited from streambuf. 3976 1.1 mrg (underflow): Only declare. 3977 1.1 mrg * include/bits/fstream.tcc (_M_underflow): Rename to 3978 1.1 mrg underflow, to which is equivalent for __bump == false, 3979 1.1 mrg simplify. 3980 1.1 mrg * include/std/std_sstream.h (_M_underflow): Remove. 3981 1.1 mrg (uflow): Remove, inherited from streambuf. 3982 1.1 mrg (underflow): Only declare. 3983 1.1 mrg * include/bits/sstream.tcc (_M_underflow): Rename to 3984 1.1 mrg underflow, to which is equivalent for __bump == false, 3985 1.1 mrg simplify. 3986 1.1 mrg 3987 1.1 mrg 2003-06-29 Paolo Carlini <pcarlini (a] unitus.it> 3988 1.1 mrg 3989 1.1 mrg * include/bits/stl_algo.h: Fully qualify standard functions 3990 1.1 mrg with std::, thus avoiding Koenig lookup. 3991 1.1 mrg 3992 1.1 mrg 2003-06-29 Paolo Carlini <pcarlini (a] unitus.it> 3993 1.1 mrg 3994 1.1 mrg * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: 3995 1.1 mrg Improve type correctness-wise. 3996 1.1 mrg * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: 3997 1.1 mrg Likewise. 3998 1.1 mrg * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: 3999 1.1 mrg Likewise. 4000 1.1 mrg * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: 4001 1.1 mrg Likewise. 4002 1.1 mrg 4003 1.1 mrg 2003-06-29 Paolo Carlini <pcarlini (a] unitus.it> 4004 1.1 mrg 4005 1.1 mrg * include/std/std_streambuf.h (uflow): According to 4006 1.1 mrg 27.5.2.4.3,p16, don't check gptr() < egptr(). 4007 1.1 mrg 4008 1.1 mrg 2003-06-28 Paolo Carlini <pcarlini (a] unitus.it> 4009 1.1 mrg 4010 1.1 mrg PR libstdc++/9875 4011 1.1 mrg * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0. 4012 1.1 mrg (seekpos): Likewise. 4013 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc: 4014 1.1 mrg New test. 4015 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc: 4016 1.1 mrg New test. 4017 1.1 mrg 4018 1.1 mrg 2003-06-27 Benjamin Kosnik <bkoz (a] redhat.com> 4019 1.1 mrg 4020 1.1 mrg * testsuite/testsuite_performance.h (__gnu_cxx_test): Change 4021 1.1 mrg output name to libstdc++-v3-performance.sum. 4022 1.1 mrg * testsuite/Makefile.am (CLEANFILES): Remove .performance. 4023 1.1 mrg * testsuite/Makefile.in: Regenerate. 4024 1.1 mrg 4025 1.1 mrg 2003-06-27 Matthias Klose <doko (a] debian.org> 4026 1.1 mrg 4027 1.1 mrg * testsuite/Makefile.am (check-abi, check-abi-verbose): Save 4028 1.1 mrg output of abi-check in libstdc++-v3-abi.sum. 4029 1.1 mrg * testsuite/Makefile.in: Regenerate. 4030 1.1 mrg 4031 1.1 mrg 2003-06-27 Krister Walfridsson <cato (a] df.lth.se> 4032 1.1 mrg 4033 1.1 mrg * config/os/bsd/netbsd/ctype_noninline.h 4034 1.1 mrg (_C_ctype_): Declare. 4035 1.1 mrg (ctype<char>::classic_table): Return _C_ctype_ + 1. 4036 1.1 mrg (ctype<char>::ctype): Use classic_table. 4037 1.1 mrg 4038 1.1 mrg 2003-06-27 Paolo Carlini <pcarlini (a] unitus.it> 4039 1.1 mrg Nathan C. Myers <ncm-nospam (a] cantrip.org> 4040 1.1 mrg 4041 1.1 mrg PR libstdc++/9178 4042 1.1 mrg * include/bits/fstream.tcc (_M_underflow): Properly estimate 4043 1.1 mrg the worst-case number of external bytes for a given get area. 4044 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New. 4045 1.1 mrg 4046 1.1 mrg 2003-06-27 Paolo Carlini <pcarlini (a] unitus.it> 4047 1.1 mrg Petur Runolfsson <peturr02 (a] ru.is> 4048 1.1 mrg 4049 1.1 mrg PR libstdc++/11305 4050 1.1 mrg * include/bits/fstream.tcc (overflow): Properly estimate the 4051 1.1 mrg worst-case number of external bytes for a given put area 4052 1.1 mrg (by using codecvt::max_length()). 4053 1.1 mrg * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New. 4054 1.1 mrg * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New. 4055 1.1 mrg * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New. 4056 1.1 mrg * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New. 4057 1.1 mrg 4058 1.1 mrg 2003-06-27 Nathan Sidwell <nathan (a] codesourcery.com> 4059 1.1 mrg 4060 1.1 mrg * config/linker-map.gnu: Remove ; after __numpunct_cache. 4061 1.1 mrg 4062 1.1 mrg 2003-06-26 Benjamin Kosnik <bkoz (a] redhat.com> 4063 1.1 mrg 4064 1.1 mrg * include/bits/ios_base.h (ios_base::_M_getloc): Return reference 4065 1.1 mrg to the imbued locale. 4066 1.1 mrg * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use 4067 1.1 mrg _M_getloc. 4068 1.1 mrg (num_put::_M_convert_float): Use. 4069 1.1 mrg 4070 1.1 mrg 2003-06-26 Benjamin Kosnik <bkoz (a] redhat.com> 4071 1.1 mrg Jerry Quinn <jlquinn (a] optonline.net> 4072 1.1 mrg 4073 1.1 mrg * config/linker-map.gnu: Add __numpunct_cache. 4074 1.1 mrg * config/locale/gnu/numeric_members.cc 4075 1.1 mrg (numpunct::_M_initialize_numpunct): Account for _M_data, fill in 4076 1.1 mrg all elements for "C" locale. 4077 1.1 mrg (numpunct::~numpunct): Delete _M_data. 4078 1.1 mrg * config/locale/generic/numeric_members.cc: Same. 4079 1.1 mrg * include/bits/basic_ios.tcc 4080 1.1 mrg (basic_ios::init): Remove __locale_cache bits. 4081 1.1 mrg (basic_ios::_M_cache_locale): Same. 4082 1.1 mrg * include/bits/ios_base.h: Same. Tweaks. 4083 1.1 mrg * include/bits/locale_classes.h: Tweaks. Reorder classes. 4084 1.1 mrg (__use_cache): Make friends with _Impl, locale. 4085 1.1 mrg (_Impl::_M_caches): Add. 4086 1.1 mrg (_Impl::_M_install_cache): Add. 4087 1.1 mrg * include/bits/locale_facets.h (__numpunct_cache): New. 4088 1.1 mrg (numpunct): Encapsulate data members in __numpunct_cache member, 4089 1.1 mrg _M_data. Adjust virtuals. 4090 1.1 mrg (numpunct::numpunct): New ctor for the same. 4091 1.1 mrg (__locale_cache_base): Remove. 4092 1.1 mrg (__locale_cache): Remove. 4093 1.1 mrg * include/bits/locale_facets.tcc (__use_cache): New function, 4094 1.1 mrg specializations. 4095 1.1 mrg (num_put::_M_convert_int, _M_convert_float, do_put): Use it. 4096 1.1 mrg * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w. 4097 1.1 mrg * src/ios.cc (ios_base::ios_base): Remove __locale_cache. 4098 1.1 mrg * src/locale-inst.cc: Same. Add __numpunct_cache. 4099 1.1 mrg * src/locale.cc: Tweak inlines. 4100 1.1 mrg (__use_cache): Define specializations. 4101 1.1 mrg * src/localename.cc: Use global bits. 4102 1.1 mrg (_Impl::~Impl): Deal with __numpunct_cache destruction. 4103 1.1 mrg (_Impl::_Impl): Same. Pre-cache standard numpunct facets. 4104 1.1 mrg (_Impl::_M_init_facet): Take into account __numpunct_cache. 4105 1.1 mrg * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers. 4106 1.1 mrg * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. 4107 1.1 mrg 4108 1.1 mrg 2003-06-26 Nathan C. Myers <ncm-nospam (a] cantrip.org> 4109 1.1 mrg Paolo Carlini <pcarlini (a] unitus.it> 4110 1.1 mrg 4111 1.1 mrg * testsuite/performance/filebuf_copy.cc: New, testing char 4112 1.1 mrg by char file copy. 4113 1.1 mrg 4114 1.1 mrg 2003-06-26 Paolo Carlini <pcarlini (a] unitus.it> 4115 1.1 mrg Nathan C. Myers <ncm-nospam (a] cantrip.org> 4116 1.1 mrg 4117 1.1 mrg * include/bits/fstream.tcc (_M_underflow): When the actual 4118 1.1 mrg end of file is reached, set 'uncommitted' mode to allow a 4119 1.1 mrg next write without an intervening seek (see C++98 27.8.1.1,2 4120 1.1 mrg and C89 7.9.5.3). 4121 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New. 4122 1.1 mrg 4123 1.1 mrg 2003-06-25 Nathan C. Myers <ncm-nospam (a] cantrip.org> 4124 1.1 mrg 4125 1.1 mrg * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, 4126 1.1 mrg sputc): Move inline, from here... 4127 1.1 mrg * include/std/std_streambuf.h: ... to here. 4128 1.1 mrg 4129 1.1 mrg * include/std/std_streambuf.h (snextc, sbumpc, sgetc, 4130 1.1 mrg sputbackc, sungetc, sputc): Use __builtin_expect. 4131 1.1 mrg 4132 1.1 mrg 2003-06-24 Phil Edwards <pme (a] gcc.gnu.org> 4133 1.1 mrg 4134 1.1 mrg * docs/doxygen/mainpage.html: Use a useful title. 4135 1.1 mrg 4136 1.1 mrg 2003-06-24 Benjamin Kosnik <bkoz (a] redhat.com> 4137 1.1 mrg 4138 1.1 mrg * docs/html/documentation.html: Remove assignment info. 4139 1.1 mrg * docs/html/17_intro/contribute.html: Edits. 4140 1.1 mrg * docs/html/17_intro/libstdc++-assign.tx: Remove. 4141 1.1 mrg 4142 1.1 mrg * docs/html/test.html: Update. 4143 1.1 mrg 4144 1.1 mrg * README: Update. 4145 1.1 mrg 4146 1.1 mrg 2003-06-24 Benjamin Kosnik <bkoz (a] redhat.com> 4147 1.1 mrg Ulrich Drepper <drepper (a] redhat.com> 4148 1.1 mrg 4149 1.1 mrg * testsuite/testsuite_performance.h: Tweak mallinfo. 4150 1.1 mrg 4151 1.1 mrg 2003-06-24 Paolo Carlini <pcarlini (a] unitus.it> 4152 1.1 mrg Nathan C. Myers <ncm-nospam (a] cantrip.org> 4153 1.1 mrg 4154 1.1 mrg * include/std/std_fstream.h (_M_filepos): Remove. 4155 1.1 mrg (_M_reading, _M_writing): New, encode the various I/O modes: 4156 1.1 mrg 'read', 'write' and 'uncommitted'. 4157 1.1 mrg (sync): If there is something to flush, do it, then go to 4158 1.1 mrg 'uncommitted' mode. 4159 1.1 mrg * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal 4160 1.1 mrg with three different cases: __off > 0 (upon underflow), 4161 1.1 mrg __off == 0 (upon overflow), __off == -1 (upon open, setbuf, 4162 1.1 mrg seekoff/pos). 4163 1.1 mrg (_M_underflow): Don't call overflow, set _M_reading to true 4164 1.1 mrg on success, tweak. 4165 1.1 mrg (pbackfail): Set _M_reading to true on pback creation, tweak. 4166 1.1 mrg (overflow): Don't seek, deal with overflow in 'uncommitted' mode, 4167 1.1 mrg set _M_writing to true on success, tweak. 4168 1.1 mrg (seekoff): Simplify, set _M_reading, _M_writing to false, call 4169 1.1 mrg _M_set_buffer(-1) ('uncommitted'). 4170 1.1 mrg (open, close, setbuf): Set _M_reading, _M_writing to false and 4171 1.1 mrg call _M_set_buffer(-1), tweak. 4172 1.1 mrg (basic_filebuf): Don't set _M_buf_unified. 4173 1.1 mrg (_M_destroy_internal_buffer): Don't call setg and setp. 4174 1.1 mrg * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading, 4175 1.1 mrg _M_writing and _M_set_buffer(-1). 4176 1.1 mrg * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur, 4177 1.1 mrg _M_out_lim, _M_buf_unified): Remove. 4178 1.1 mrg (basic_streambuf): Don't set _M_out_lim and _M_buf_unified. 4179 1.1 mrg (setp): Don't set _M_out_lim. 4180 1.1 mrg * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for 4181 1.1 mrg the new logic ('read', 'write' and 'uncommitted' modes): e.g., 4182 1.1 mrg upon open the mode is 'uncommitted' and therefore the put area 4183 1.1 mrg pointers are null. 4184 1.1 mrg * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto. 4185 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto. 4186 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto. 4187 1.1 mrg * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto. 4188 1.1 mrg * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto. 4189 1.1 mrg * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto. 4190 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto. 4191 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto. 4192 1.1 mrg * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto. 4193 1.1 mrg * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto. 4194 1.1 mrg * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto. 4195 1.1 mrg * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto. 4196 1.1 mrg * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto. 4197 1.1 mrg * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto. 4198 1.1 mrg * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto. 4199 1.1 mrg * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto. 4200 1.1 mrg * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto. 4201 1.1 mrg * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto. 4202 1.1 mrg * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto. 4203 1.1 mrg * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto. 4204 1.1 mrg 4205 1.1 mrg * include/bits/fstream.tcc (showmanyc): Use only the 4206 1.1 mrg documented derivation interface to basic_streambuf (gptr(), 4207 1.1 mrg setg(), etc.) to work right with user specializations. 4208 1.1 mrg * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, 4209 1.1 mrg sputc, xsgetn, xsputn, __copy_streambufs): Likewise. 4210 1.1 mrg * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc): 4211 1.1 mrg Likewise. 4212 1.1 mrg * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback, 4213 1.1 mrg xsgetn): Likewise. 4214 1.1 mrg 4215 1.1 mrg 2003-06-23 Loren J. Rittle <ljrittle (a] acm.org> 4216 1.1 mrg 4217 1.1 mrg * configure.host (freebsd*): Set abi_baseline_pair. 4218 1.1 mrg * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2 4219 1.1 mrg (at or near first release) to 3.3. 4220 1.1 mrg * config/abi/i386-freebsd5/baseline_symbols.txt: New file. 4221 1.1 mrg * config/abi/alpha-freebsd5/baseline_symbols.txt: New file. 4222 1.1 mrg * config/abi/sparc-freebsd5/baseline_symbols.txt: New file. 4223 1.1 mrg 4224 1.1 mrg * include/ext/mt_allocator.h: Portability. 4225 1.1 mrg * testsuite/testsuite_performance.h: Likewise. 4226 1.1 mrg 4227 1.1 mrg 2003-06-23 Benjamin Kosnik <bkoz (a] redhat.com> 4228 1.1 mrg 4229 1.1 mrg * docs/html/17_intro/libstdc++-assign.txt: Update address. 4230 1.1 mrg 4231 1.1 mrg * testsuite/performance/ifstream_getline.cc: Fix. 4232 1.1 mrg 4233 1.1 mrg 2003-06-23 Doug Gregor <dgregor (a] apple.com> 4234 1.1 mrg 4235 1.1 mrg * include/bits/boost_concept_check.h: Don't use _D or _R for type 4236 1.1 mrg names. 4237 1.1 mrg 4238 1.1 mrg 2003-06-22 Paolo Carlini <pcarlini (a] unitus.it> 4239 1.1 mrg Nathan C. Myers <ncm-nospam (a] cantrip.org> 4240 1.1 mrg 4241 1.1 mrg * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim 4242 1.1 mrg is now used only for filebuf, when _M_buf_unified is true. 4243 1.1 mrg epgtr() plays the role of _M_out_lim but it's only updated 4244 1.1 mrg upon overflow, underflow, uflow, seekoff/pos. 4245 1.1 mrg * include/bits/sstream.tcc (_M_underflow): New, implements 4246 1.1 mrg stringbuf::underflow and uflow. 4247 1.1 mrg (seekoff, seekpos): Tweak, use _M_update_egptr. 4248 1.1 mrg * include/std/std_sstream.h (str): Rewrote, deal correctly 4249 1.1 mrg with the new logic, in particular, when pptr() > egptr(). 4250 1.1 mrg (_M_sync): When __testout && !__testin set all the get area 4251 1.1 mrg pointers to the current string end. 4252 1.1 mrg (_M_update_egptr): New, internal function updating egptr() 4253 1.1 mrg to the actual string end. 4254 1.1 mrg (_M_underflow): New, declare. 4255 1.1 mrg (underflow): Dispatch to _M_underflow(false). 4256 1.1 mrg (uflow): Dispatch to _M_underflow(true). 4257 1.1 mrg 4258 1.1 mrg * include/bits/sstream.tcc (pbackfail, overflow, seekoff, 4259 1.1 mrg seekpos): Use only the documented derivation interface to 4260 1.1 mrg basic_streambuf (gptr(), setg(), etc.) to work right with 4261 1.1 mrg user specializations. 4262 1.1 mrg * include/std/std_sstream.h (str, _M_sync): Likewise. 4263 1.1 mrg 4264 1.1 mrg 2003-06-20 Doug Gregor <dgregor (a] apple.com> 4265 1.1 mrg 4266 1.1 mrg * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr 4267 1.1 mrg * testsuite/21_strings/basic_string/replace/char/4.cc: Don't 4268 1.1 mrg dereference end iterator. 4269 1.1 mrg * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same. 4270 1.1 mrg * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with 4271 1.1 mrg index equal to the length of a string. 4272 1.1 mrg * testsuite/22_locale/ctype/narrow/char/2.cc: Same. 4273 1.1 mrg * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same. 4274 1.1 mrg * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same. 4275 1.1 mrg * testsuite/22_locale/ctype/widen/char/1.cc: Same. 4276 1.1 mrg * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same. 4277 1.1 mrg * testsuite/23_containers/list_modifiers.cc: Don't dereference 4278 1.1 mrg singular reverse iterator. 4279 1.1 mrg * testsuite/23_containers/vector_bool.cc: Don't increment singular 4280 1.1 mrg iterator. 4281 1.1 mrg * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator. 4282 1.1 mrg 4283 1.1 mrg 2003-06-20 Doug Gregor <dgregor (a] apple.com> 4284 1.1 mrg 4285 1.1 mrg * include/bits/basic_string.h (basic_string::replace): Dispatch 4286 1.1 mrg _InputIterator version based on _Is_integer. 4287 1.1 mrg * include/bits/basic_string.tcc (basic_string::replace): 4288 1.1 mrg Renamed replace(iterator, iterator, size_type, _CharT) to 4289 1.1 mrg _M_replace_aux. 4290 1.1 mrg * testsuite/21_strings/basic_string/assign/char/1.cc (test01): 4291 1.1 mrg Test basic_string::assign(_InputIterator, _InputIterator), 4292 1.1 mrg which calls basic_string::replace(iterator, iterator, 4293 1.1 mrg _Input_iterator, _InputIterator). 4294 1.1 mrg 4295 1.1 mrg 2003-06-20 Benjamin Kosnik <bkoz (a] redhat.com> 4296 1.1 mrg 4297 1.1 mrg * testsuite/testsuite_performance.h (resource_counter): Don't use 4298 1.1 mrg mallinfo at the moment. 4299 1.1 mrg 4300 1.1 mrg 2003-06-20 Matthias Klose <doko (a] debian.org> 4301 1.1 mrg 4302 1.1 mrg * configure.host: Set try_cpu to target_cpu for existing 4303 1.1 mrg baseline files. 4304 1.1 mrg 4305 1.1 mrg 2003-06-19 Andreas Jaeger <aj (a] suse.de> 4306 1.1 mrg 4307 1.1 mrg * testsuite/Makefile.am (extract_symvers): Revert accidental 4308 1.1 mrg change. 4309 1.1 mrg * testsuite/Makefile.in: Regenerate. 4310 1.1 mrg 4311 1.1 mrg * configure.in: Pass MULTISUBDIR to testsuite/Makefile. 4312 1.1 mrg * configure: Regenerated. 4313 1.1 mrg 4314 1.1 mrg 2003-06-19 Paolo Carlini <pcarlini (a] unitus.it> 4315 1.1 mrg 4316 1.1 mrg * include/std/std_sstream.h (_M_sync): Make non virtual. 4317 1.1 mrg 4318 1.1 mrg 2003-06-18 Benjamin Kosnik <bkoz (a] redhat.com> 4319 1.1 mrg 4320 1.1 mrg * testsuite/testsuite_performance.h (time_counter): New. 4321 1.1 mrg (resource_counter): New. 4322 1.1 mrg (report_performance): New. 4323 1.1 mrg (start_counters): New. 4324 1.1 mrg (stop_counters): New. 4325 1.1 mrg (clear_counters): New. 4326 1.1 mrg * testsuite/performance/allocator.cc: Instrument. 4327 1.1 mrg * testsuite/performance/cout_insert_int.cc: Same. 4328 1.1 mrg * testsuite/performance/complex_norm.cc: Same. 4329 1.1 mrg * testsuite/performance/filebuf_sputc.cc: New. 4330 1.1 mrg * testsuite/performance/fstream_seek_write.cc: Same. 4331 1.1 mrg * testsuite/performance/ifstream_getline.cc: Same. 4332 1.1 mrg * testsuite/performance/map_create_fill.cc: Same. 4333 1.1 mrg * testsuite/performance/ofstream_insert_float.cc: Same. 4334 1.1 mrg * testsuite/performance/ofstream_insert_int.cc: Same. 4335 1.1 mrg * testsuite/performance/string_append.cc: Convert. 4336 1.1 mrg * scripts/check_performance: New. 4337 1.1 mrg * testsuite/Makefile.am (check-performance): New. 4338 1.1 mrg (CLEANFILES): Add. 4339 1.1 mrg 4340 1.1 mrg 2003-06-18 Paolo Carlini <pcarlini (a] unitus.it> 4341 1.1 mrg Benjamin Kosnik <bkoz (a] redhat.com> 4342 1.1 mrg 4343 1.1 mrg * include/std/std_sstream.h (setbuf): Check __n >= 0. 4344 1.1 mrg * include/bits/fstream.tcc (setbuf): Tweak. 4345 1.1 mrg 4346 1.1 mrg 2003-06-18 Paolo Carlini <pcarlini (a] unitus.it> 4347 1.1 mrg 4348 1.1 mrg * include/bits/sstream.tcc (seekoff): We can't seek beyond 4349 1.1 mrg _M_out_lim, therefore _M_move_out_cur boils down to simply 4350 1.1 mrg updating _M_out_cur. 4351 1.1 mrg (seekpos): Likewise, clean up. 4352 1.1 mrg 4353 1.1 mrg 2003-06-18 Nathan C. Myers <ncm-nospam (a] cantrip.org> 4354 1.1 mrg Paolo Carlini <pcarlini (a] unitus.it> 4355 1.1 mrg 4356 1.1 mrg * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too, 4357 1.1 mrg simply equivalent to the unbuffered case (0, 0) as far as 4358 1.1 mrg _M_buf_size is concerned. 4359 1.1 mrg 4360 1.1 mrg 2003-06-18 Andreas Jaeger <aj (a] suse.de> 4361 1.1 mrg 4362 1.1 mrg * testsuite/Makefile.am (new-abi-baseline): Create baseline 4363 1.1 mrg directory. 4364 1.1 mrg (baseline_file): Use baseline_dir. 4365 1.1 mrg (baseline_dir): New. 4366 1.1 mrg (mkinstalldirs): New. 4367 1.1 mrg 4368 1.1 mrg * acinclude.m4: Rename baseline_file to baseline_dir, strip 4369 1.1 mrg filename from baseline_dir. 4370 1.1 mrg 4371 1.1 mrg * testsuite/Makefile.in: Regenerated. 4372 1.1 mrg * Makefile.in: Regenerated. 4373 1.1 mrg * aclocal.m4: Regenerated. 4374 1.1 mrg * configure: Regenerated. 4375 1.1 mrg 4376 1.1 mrg 2003-06-17 Benjamin Kosnik <bkoz (a] redhat.com> 4377 1.1 mrg 4378 1.1 mrg * configure.in: Missed check_survey bit. 4379 1.1 mrg * configure: Regenerated. 4380 1.1 mrg 4381 1.1 mrg 2003-06-17 Benjamin Kosnik <bkoz (a] redhat.com> 4382 1.1 mrg 4383 1.1 mrg * scripts: New. 4384 1.1 mrg * config/abi/extract_symvers: Move to... 4385 1.1 mrg * scripts/extract_symvers: ...here. 4386 1.1 mrg * mkcheck.in: Move to.. 4387 1.1 mrg * scripts/check_survey.in: ...here. 4388 1.1 mrg * testsuite_flags.in: Move to.. 4389 1.1 mrg * scripts/testsuite_flags.in: ...here. 4390 1.1 mrg * configure.in: Change check and testsuite_flags locations. 4391 1.1 mrg * configure: Regenerate. 4392 1.1 mrg * testsuite/Makefile.am (current_symbols.txt): Change location. 4393 1.1 mrg * testsuite/Makefile.in: Regenerate. 4394 1.1 mrg * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify 4395 1.1 mrg location of testsuite_flags. 4396 1.1 mrg * Makefile.am (check-script): Move.. 4397 1.1 mrg (check-script-install): Move... 4398 1.1 mrg * testsuite/Makefile.am: ... here. 4399 1.1 mrg * testsuite/Makefile.in: Regenerate. 4400 1.1 mrg * Makefile.in: Regenerate. 4401 1.1 mrg 4402 1.1 mrg 2003-06-17 Benjamin Kosnik <bkoz (a] redhat.com> 4403 1.1 mrg 4404 1.1 mrg * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0. 4405 1.1 mrg 4406 1.1 mrg 2003-06-16 Benjamin Kosnik <bkoz (a] redhat.com> 4407 1.1 mrg 4408 1.1 mrg * Makefile.am (check-abi): Move... 4409 1.1 mrg (new-abi-baseline): Move... 4410 1.1 mrg * testsuite/Makefile.am: ...here. 4411 1.1 mrg (new-abi-baseline): Conditionalize. 4412 1.1 mrg (check-abi): Conditionalize. 4413 1.1 mrg (check-abi-verbose): New. 4414 1.1 mrg * Makefile.in: Regenerate. 4415 1.1 mrg * testsuite/Makefile.in: Regenerate. 4416 1.1 mrg * configure.in: Consolidate testsuite configure bits. 4417 1.1 mrg * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same. 4418 1.1 mrg * configure: Regenerate. 4419 1.1 mrg * aclocal.m4: Regenerate. 4420 1.1 mrg * testsuite/abi_check.cc: Add --check-verbose. 4421 1.1 mrg Only output detailed information if --check-verbose. 4422 1.1 mrg 4423 1.1 mrg 2003-06-16 Andreas Jaeger <aj (a] suse.de> 4424 1.1 mrg 4425 1.1 mrg * testsuite/abi_check.cc: Create summary report. 4426 1.1 mrg 4427 1.1 mrg 2003-06-16 Paolo Carlini <pcarlini (a] unitus.it> 4428 1.1 mrg 4429 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix 4430 1.1 mrg for systems with BUFSIZ != 8192. 4431 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto. 4432 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: 4433 1.1 mrg Minor tweaks. 4434 1.1 mrg 4435 1.1 mrg 2003-06-16 Andreas Jaeger <aj (a] suse.de> 4436 1.1 mrg 4437 1.1 mrg * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make 4438 1.1 mrg check-abi multilib aware. 4439 1.1 mrg * aclocal.m4: Regenerate. 4440 1.1 mrg * configure: Regenerate. 4441 1.1 mrg 4442 1.1 mrg 2003-06-16 Benjamin Kosnik <bkoz (a] redhat.com> 4443 1.1 mrg Andreas Jaeger <aj (a] suse.de> 4444 1.1 mrg 4445 1.1 mrg * configure.host: Set x86_64 abi_baseline pair correctly. 4446 1.1 mrg 4447 1.1 mrg 2003-06-16 Paolo Carlini <pcarlini (a] unitus.it> 4448 1.1 mrg 4449 1.1 mrg * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and 4450 1.1 mrg fix for missing seeks between gets and puts into... 4451 1.1 mrg * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New. 4452 1.1 mrg * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New. 4453 1.1 mrg * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New. 4454 1.1 mrg * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New. 4455 1.1 mrg * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New. 4456 1.1 mrg * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New. 4457 1.1 mrg 4458 1.1 mrg 2003-06-15 Richard Henderson <rth (a] redhat.com> 4459 1.1 mrg 4460 1.1 mrg * config/linker-map.gnu: Export virtual function thunks for 4461 1.1 mrg 64-bit systems too. 4462 1.1 mrg 4463 1.1 mrg 2003-06-13 Benjamin Kosnik <bkoz (a] redhat.com> 4464 1.1 mrg 4465 1.1 mrg * config/abi/i686-pc-linux-gnu: To.. 4466 1.1 mrg * config/abi/i486-linux-gnu: ...this. 4467 1.1 mrg * config/abi/alphaev67-unknown-linux-gnu: To.. 4468 1.1 mrg * config/abi/alpha-linux-gnu: ...this. 4469 1.1 mrg * config/abi/ia64-unknown-linux-gnu: To... 4470 1.1 mrg * config/abi/ia64-linux-gnu: ...this. 4471 1.1 mrg * config/abi/x86_64-unknown-linux-gnu: To... 4472 1.1 mrg * config/abi/x86_64-linux-gnu: ...this. 4473 1.1 mrg * config/abi/i386-unknown-freebsd4: To... 4474 1.1 mrg * config/abi/i386-freebsd4: ...this. 4475 1.1 mrg * config/linker-map.gnu: Cleanups, move libsupc++ bits into 4476 1.1 mrg CXXABI. 4477 1.1 mrg * configure.host: abi_baseline_triplet to abi_baseline_pair. 4478 1.1 mrg Simplify cpu bits so that abi_baseline_pair can use the same 4479 1.1 mrg cpu configuration. 4480 1.1 mrg * acinclude.m4: Same. 4481 1.1 mrg * aclocal.m4: Regenerate. 4482 1.1 mrg * configure.in: Can't get enable_abi_check to yes unless native. 4483 1.1 mrg * configure: Regenerate. 4484 1.1 mrg 4485 1.1 mrg 2003-06-13 Paolo Carlini <pcarlini (a] unitus.it> 4486 1.1 mrg 4487 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and 4488 1.1 mrg fix for missing seeks between gets and puts into... 4489 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New. 4490 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New. 4491 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into... 4492 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New. 4493 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New. 4494 1.1 mrg * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix 4495 1.1 mrg for missing seeks between gets and puts. 4496 1.1 mrg * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto. 4497 1.1 mrg * testsuite/data/seekoff-1.tst: New. 4498 1.1 mrg * testsuite/data/seekoff-2.tst: New. 4499 1.1 mrg * testsuite/data/seekpos-1.tst: New. 4500 1.1 mrg * testsuite/data/seekpos-2.tst: New. 4501 1.1 mrg 4502 1.1 mrg 2003-06-13 Nathan C. Myers <ncm-nospam (a] cantrip.org> 4503 1.1 mrg 4504 1.1 mrg Avoid multi-processor bus contention on increment/decrement-and- 4505 1.1 mrg test of the reference count in the empty-string object, by comparing 4506 1.1 mrg addresses first, and never touching the reference count of the empty- 4507 1.1 mrg string object. 4508 1.1 mrg * include/bits/basic_string.h: 4509 1.1 mrg (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its 4510 1.1 mrg members. 4511 1.1 mrg (_Rep::_S_empty_rep()): New accessor. 4512 1.1 mrg (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to 4513 1.1 mrg a base class _Rep_base. 4514 1.1 mrg (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string. 4515 1.1 mrg (basic_string()): Change to use _M_refdata() in place of _M_refcopy(), 4516 1.1 mrg since no longer must increment its refcount. 4517 1.1 mrg * include/bits/basic_string.tcc: 4518 1.1 mrg (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and 4519 1.1 mrg return immediately. The former might be unnecessary. The latter 4520 1.1 mrg prevents begin() and end() from cloning it unnecessarily. 4521 1.1 mrg (_S_construct(_InIterator, _InIterator, const _Alloc&, 4522 1.1 mrg input_iterator_tag), _S_construct(_InIterator, _InIterator, 4523 1.1 mrg const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT, 4524 1.1 mrg const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy(). 4525 1.1 mrg (_M_mutate): Check for the empty string and treat it as shared. 4526 1.1 mrg This is necessary here because _M_mutate is sometimes called with 4527 1.1 mrg all-zero arguments; in all other uses of _M_is_shared, the test comes 4528 1.1 mrg out right anyhow. 4529 1.1 mrg 4530 1.1 mrg 2003-06-12 Benjamin Kosnik <bkoz (a] redhat.com> 4531 1.1 mrg 4532 1.1 mrg * src/allocator-inst.cc: Explicitly instantiate. 4533 1.1 mrg * include/ext/pool_allocator.h: Inhibit implicit instantiations. 4534 1.1 mrg Tweaks. 4535 1.1 mrg * config/linker-map.gnu: Add __pool_alloc bits. Tweaks. 4536 1.1 mrg 4537 1.1 mrg 2003-06-11 Benjamin Kosnik <bkoz (a] redhat.com> 4538 1.1 mrg 4539 1.1 mrg * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify. 4540 1.1 mrg * aclocal.m4: Regenerate. 4541 1.1 mrg * Makefile.am (SUBDIRS): Remove libio. 4542 1.1 mrg * Makefile.in: Regenerate. 4543 1.1 mrg * configure.in: Same. 4544 1.1 mrg * configure: Regenerate. 4545 1.1 mrg * config/io/basic_file_libio.cc: Remove. 4546 1.1 mrg * config/io/basic_file_libio.h: Remove. 4547 1.1 mrg * config/io/c_io_libio_codecvt.c: Remove. 4548 1.1 mrg * config/io/c_io_libio.h: Remove. 4549 1.1 mrg * libio/*: Remove. 4550 1.1 mrg * src/Makefile.am: Same. 4551 1.1 mrg * src/Makefile.in: Regenerate. 4552 1.1 mrg * docs/html/configopts.html: Edits. 4553 1.1 mrg * docs/html/explanations.html: Edits. 4554 1.1 mrg 4555 1.1 mrg 2003-06-11 Benjamin Kosnik <bkoz (a] redhat.com> 4556 1.1 mrg 4557 1.1 mrg * include/bits/stl_alloc.h (__debug_alloc): Move out. 4558 1.1 mrg (__malloc_alloc): Same. 4559 1.1 mrg (__pool_alloc): Same. 4560 1.1 mrg (__new_alloc): Same. 4561 1.1 mrg Rename to.. 4562 1.1 mrg * include/bits/allocator.h: ...this. 4563 1.1 mrg * include/bits/stl_deque.h: Modify comment. 4564 1.1 mrg * include/bits/stl_tree.h: Modify include. 4565 1.1 mrg * include/std/std_memory.h: Same. 4566 1.1 mrg * include/ext/rope: Same. 4567 1.1 mrg * include/ext/slist: Same. 4568 1.1 mrg * include/std/std_vector.h: Same. 4569 1.1 mrg * include/std/std_stack.h: Same. 4570 1.1 mrg * include/std/std_queue.h: Same. 4571 1.1 mrg * include/std/std_list.h: Same. 4572 1.1 mrg * include/std/std_deque.h: Same. 4573 1.1 mrg * include/backward/alloc.h: Same. 4574 1.1 mrg * include/ext/debug_allocator.h: New. 4575 1.1 mrg * include/ext/malloc_allocator.h: New. 4576 1.1 mrg * include/ext/pool_allocator.h: New. 4577 1.1 mrg * include/ext/new_allocator.h: New. 4578 1.1 mrg * include/bits/pthread_allocimpl.h: Remove. 4579 1.1 mrg * include/bits/stl_pthread_alloc.h: Remove. 4580 1.1 mrg * include/Makefile.am (ext_headers): Add. 4581 1.1 mrg * include/Makefile.in: Regenerate. 4582 1.1 mrg * src/stl-inst.cc: Use __gnu_cxx namespace. 4583 1.1 mrg * src/stl-inst.cc: Move to... 4584 1.1 mrg * src/allocator-inst.cc: Here. 4585 1.1 mrg * src/Makefile.am (sources): Update. 4586 1.1 mrg * src/Makefile.in: Regenerate. 4587 1.1 mrg * config/linker-map.gnu: Remove __pool_alloc bits. 4588 1.1 mrg * testsuite/ext/headers.cc: Add. 4589 1.1 mrg * testsuite/ext/allocators.cc: Fixup. 4590 1.1 mrg 4591 1.1 mrg 2003-06-11 Stefan Olsson <stefan (a] snon.net> 4592 1.1 mrg Ola Rnnerup <fnolis (a] home.se> 4593 1.1 mrg 4594 1.1 mrg * include/Makefile.am (ext_headers): Add. 4595 1.1 mrg * include/Makefile.in: Regenerate. 4596 1.1 mrg * include/ext/mt_allocator.h: New file. 4597 1.1 mrg 4598 1.1 mrg 2003-06-10 Paolo Carlini <pcarlini (a] unitus.it> 4599 1.1 mrg 4600 1.1 mrg * include/bits/fstream.tcc (close): Clean up a bit. 4601 1.1 mrg 4602 1.1 mrg * include/bits/streambuf.tcc (sbumpc): Clean up a bit. 4603 1.1 mrg 4604 1.1 mrg * include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save 4605 1.1 mrg - the saved _M_in_cur, that is - cannot be null. 4606 1.1 mrg (sync): Constify a variable. 4607 1.1 mrg 4608 1.1 mrg * include/std/std_streambuf.h: Tweak a comment. 4609 1.1 mrg (in_avail): Constify a variable. 4610 1.1 mrg 4611 1.1 mrg 2003-06-10 Phil Edwards <pme (a] gcc.gnu.org> 4612 1.1 mrg 4613 1.1 mrg * docs/html/17_intro/BUGS: Update from 2.90.8 snapshot. 4614 1.1 mrg * docs/html/17_intro/CHECKLIST: Bring up to date with respect to 4615 1.1 mrg correctness of container::iterator typedefs. Fix whitespace. 4616 1.1 mrg * docs/html/20_util/howto.html, docs/html/ext/howto.html: Add links 4617 1.1 mrg to allocator docs. 4618 1.1 mrg * docs/html/documentation.html: Regenerate. 4619 1.1 mrg 4620 1.1 mrg * include/bits/basic_string.h, include/bits/basic_string.tcc, 4621 1.1 mrg include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h, 4622 1.1 mrg include/bits/stl_algobase.h, include/bits/stl_bvector.h, 4623 1.1 mrg include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h, 4624 1.1 mrg include/bits/stl_list.h, include/bits/stl_uninitialized.h, 4625 1.1 mrg include/bits/stl_vector.h, include/bits/vector.tcc, 4626 1.1 mrg include/ext/algorithm, include/ext/slist, include/std/std_bitset.h: 4627 1.1 mrg Change _Iter names to _Iterator, and __pos to __position. 4628 1.1 mrg 4629 1.1 mrg * include/bits/stl_relops.h, include/bits/stl_numeric.h, 4630 1.1 mrg include/bits/stl_multiset.h, include/bits/stl_set.h: 4631 1.1 mrg Remove emacs markers. 4632 1.1 mrg 4633 1.1 mrg * include/bits/stl_threads.h (_STL_auto_lock): Add __unused__. 4634 1.1 mrg 4635 1.1 mrg 2003-06-10 Paolo Carlini <pcarlini (a] unitus.it> 4636 1.1 mrg 4637 1.1 mrg * include/bits/fstream.tcc (overflow): According to 4638 1.1 mrg 27.5.2.4.5, overflow() returns not_eof(eof()). 4639 1.1 mrg * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New. 4640 1.1 mrg * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto. 4641 1.1 mrg 4642 1.1 mrg 2003-06-10 Paolo Carlini <pcarlini (a] unitus.it> 4643 1.1 mrg 4644 1.1 mrg * include/bits/fstream.tcc (_M_underflow): Check overflow return 4645 1.1 mrg value; tweak slightly. 4646 1.1 mrg 4647 1.1 mrg 2003-06-09 Paolo Carlini <pcarlini (a] unitus.it> 4648 1.1 mrg 4649 1.1 mrg * include/bits/fstream.tcc (_M_underflow): Do not special 4650 1.1 mrg case the unbuffered case, which really means simply a one char 4651 1.1 mrg get area. 4652 1.1 mrg (basic_filebuf): Initialize _M_buf_size. 4653 1.1 mrg (setbuf): Unbuffered means _M_buf_size == 1, since only 4654 1.1 mrg _M_buf_size - 1 == 0 chars are going to be used for the 4655 1.1 mrg put area and 1 for the get area. 4656 1.1 mrg * include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf. 4657 1.1 mrg (~basic_streambuf): Tweak. 4658 1.1 mrg (basic_streambuf): Do not initialize _M_buf_size. 4659 1.1 mrg * include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf. 4660 1.1 mrg (~basic_filebuf): Tweak. 4661 1.1 mrg (_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the 4662 1.1 mrg unbuffered situation (i.e., put area pointers NULL). 4663 1.1 mrg * include/bits/streambuf.tcc (sbumpc): Clean up. 4664 1.1 mrg * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into... 4665 1.1 mrg * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New. 4666 1.1 mrg * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New. 4667 1.1 mrg * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New. 4668 1.1 mrg * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New. 4669 1.1 mrg * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New. 4670 1.1 mrg * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New. 4671 1.1 mrg 4672 1.1 mrg 2003-06-09 Phil Edwards <pme (a] gcc.gnu.org> 4673 1.1 mrg 4674 1.1 mrg * acinclude.m4: Move all AM_CONDITIONAL calls out. 4675 1.1 mrg (GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL 4676 1.1 mrg statements. 4677 1.1 mrg * configure.in: Centralize AM_CONDITIONALs so that they are always 4678 1.1 mrg run. Make use of GLIBCPP_IS_CROSS_COMPILING. 4679 1.1 mrg * aclocal.m4, configure: Regenerated. 4680 1.1 mrg 4681 1.1 mrg 2003-06-09 Paolo Carlini <pcarlini (a] unitus.it> 4682 1.1 mrg 4683 1.1 mrg * docs/html/ext/howto.html ('LWG Issues'): Add issue 235. 4684 1.1 mrg 4685 1.1 mrg 2003-06-06 Nathan Myers <ncm-nospam (a] cantrip.org> 4686 1.1 mrg 4687 1.1 mrg * include/bits/stl_iterator.h 4688 1.1 mrg (reverse_iterator::reverse_iterator()): Apply DR235: default 4689 1.1 mrg constructor default-initializes data member. Instantiated on a 4690 1.1 mrg pointer type, the member has to end up equal to zero. 4691 1.1 mrg 4692 1.1 mrg 2003-06-06 Benjamin Kosnik <bkoz (a] redhat.com> 4693 1.1 mrg 4694 1.1 mrg * include/bits/stl_alloc.h: Cleanups. 4695 1.1 mrg * include/ext/functional: Same. 4696 1.1 mrg * include/ext/hash_map: Same. 4697 1.1 mrg * include/ext/hash_set: Same. 4698 1.1 mrg * include/ext/iterator: Same. 4699 1.1 mrg * include/ext/memory: Same. 4700 1.1 mrg * include/ext/numeric: Same. 4701 1.1 mrg * include/ext/rb_tree: Same. 4702 1.1 mrg * include/ext/ropeimpl.h: Same. 4703 1.1 mrg * include/ext/slist: Same. 4704 1.1 mrg * include/ext/stdio_filebuf.h: Same. 4705 1.1 mrg * include/ext/stdio_sync_filebuf.h: Same. 4706 1.1 mrg * include/ext/stl_rope.h: Move to... 4707 1.1 mrg * include/ext/rope: ...here. 4708 1.1 mrg * include/ext/stl_hash_fun.h: Move to... 4709 1.1 mrg * include/ext/hash_fun.h: ...here. 4710 1.1 mrg * include/ext/stl_hashtable.h: Move to... 4711 1.1 mrg * include/ext/hashtable.h: ...here. 4712 1.1 mrg * include/backward/hashtable.h: Reflect new names. 4713 1.1 mrg * include/Makefile.am: Same. 4714 1.1 mrg * include/Makefile.in: Regenerated. 4715 1.1 mrg 4716 1.1 mrg 2003-06-05 Benjamin Kosnik <bkoz (a] redhat.com> 4717 1.1 mrg 4718 1.1 mrg PR libstdc++/9024 4719 1.1 mrg * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered. 4720 1.1 mrg * include/bits/stl_algobase.h: Tweak. 4721 1.1 mrg * include/std/std_fstream.h: Move _M_buf_size to... 4722 1.1 mrg * include/std/std_streambuf.h: ...here. Modify. 4723 1.1 mrg * include/bits/streambuf.tcc: Same. 4724 1.1 mrg * testsuite/testsuite_hooks.h: Tweak. 4725 1.1 mrg * testsuite/testsuite_io.h (constraint_filebuf): New. 4726 1.1 mrg * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into... 4727 1.1 mrg * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New. 4728 1.1 mrg * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New. 4729 1.1 mrg * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New. 4730 1.1 mrg * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New. 4731 1.1 mrg * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New. 4732 1.1 mrg * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New. 4733 1.1 mrg * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into... 4734 1.1 mrg * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New. 4735 1.1 mrg * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New. 4736 1.1 mrg * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New. 4737 1.1 mrg * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New. 4738 1.1 mrg * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New. 4739 1.1 mrg * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New. 4740 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into... 4741 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New. 4742 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New. 4743 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New. 4744 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into... 4745 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New. 4746 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New. 4747 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New. 4748 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New. 4749 1.1 mrg * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into... 4750 1.1 mrg * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New. 4751 1.1 mrg * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New. 4752 1.1 mrg * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New. 4753 1.1 mrg * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New. 4754 1.1 mrg * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New. 4755 1.1 mrg * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New. 4756 1.1 mrg * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into... 4757 1.1 mrg * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New. 4758 1.1 mrg * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New. 4759 1.1 mrg * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New. 4760 1.1 mrg * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into... 4761 1.1 mrg * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New. 4762 1.1 mrg * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New. 4763 1.1 mrg * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New. 4764 1.1 mrg * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into... 4765 1.1 mrg * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New. 4766 1.1 mrg * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New. 4767 1.1 mrg * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New. 4768 1.1 mrg * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New. 4769 1.1 mrg * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New. 4770 1.1 mrg * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New. 4771 1.1 mrg * testsuite/data/sgetc.txt: New. 4772 1.1 mrg * testsuite/data/sgetn.txt: New. 4773 1.1 mrg 4774 1.1 mrg 2003-06-05 Paolo Carlini <pcarlini (a] unitus.it> 4775 1.1 mrg 4776 1.1 mrg PR libstdc++/11095 4777 1.1 mrg * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)): 4778 1.1 mrg Deal with width() smaller than zero. 4779 1.1 mrg * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT), 4780 1.1 mrg operator<<(basic_ostream&, char), operator<<(basic_ostream&, const 4781 1.1 mrg _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const 4782 1.1 mrg char*), operator<<(basic_ostream<char, _Traits>&, const char*), 4783 1.1 mrg operator<<(basic_ostream, const basic_string&)): Likewise. 4784 1.1 mrg 4785 1.1 mrg * testsuite/27_io/basic_istream/extractors_character/char/ 4786 1.1 mrg (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New. 4787 1.1 mrg * testsuite/27_io/basic_ostream/inserters_character/char/ 4788 1.1 mrg (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New. 4789 1.1 mrg * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 4790 1.1 mrg (11095-od.cc, 11095-oe.cc, 11095-of.cc): New. 4791 1.1 mrg 4792 1.1 mrg 2003-06-05 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE> 4793 1.1 mrg 4794 1.1 mrg * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if 4795 1.1 mrg .gch compilation works. 4796 1.1 mrg * aclocal.m4, configure: Regenerate. 4797 1.1 mrg * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to 4798 1.1 mrg initialize PCHFLAGS. 4799 1.1 mrg 4800 1.1 mrg 2003-06-04 Paolo Carlini <pcarlini (a] unitus.it> 4801 1.1 mrg 4802 1.1 mrg * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT), 4803 1.1 mrg erase(iterator), erase(iterator, iterator), c_str, 4804 1.1 mrg compare(const basic_string&)): Constify various variables. 4805 1.1 mrg * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter, 4806 1.1 mrg const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate, 4807 1.1 mrg _S_create, resize, _M_replace, _M_replace_safe, 4808 1.1 mrg append(const basic_string&), append(const basic_string&, size_type, 4809 1.1 mrg size_type), append(const _CharT*, size_type), append(size_type, 4810 1.1 mrg _CharT), operator+(const _CharT*, const basic_string&), 4811 1.1 mrg operator+(_CharT, const basic_string&), replace(iterator, iterator, 4812 1.1 mrg size_type, _CharT), find(const _CharT*, size_type, size_type), 4813 1.1 mrg find(_CharT, size_type), rfind(const _CharT*, size_type, size_type), 4814 1.1 mrg rfind(_CharT, size_type), compare(size_type, size_type, 4815 1.1 mrg const basic_string&), compare(size_type, size_type, 4816 1.1 mrg const basic_string&, size_type, size_type), compare(const _CharT*), 4817 1.1 mrg compare(size_type, size_type, const _CharT*), compare(size_type, 4818 1.1 mrg size_type, const _CharT*, size_type)): Likewise. 4819 1.1 mrg 4820 1.1 mrg 2003-06-03 Benjamin Kosnik <bkoz (a] redhat.com> 4821 1.1 mrg 4822 1.1 mrg * include/bits/fstream.tcc (pbackfail): Make a rarely taken 4823 1.1 mrg 'if' branch less obscure. 4824 1.1 mrg 4825 1.1 mrg 2003-06-02 Andrew Pinski <pinskia (a] physics.uc.edu> 4826 1.1 mrg 4827 1.1 mrg PR libstdc++/9815 4828 1.1 mrg * config/cpu/i386/atomicity.h (__exchange_and_add): add intel 4829 1.1 mrg asm case to asm. 4830 1.1 mrg * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise. 4831 1.1 mrg (__atomic_add): likewise. 4832 1.1 mrg 4833 1.1 mrg 2003-06-02 Paolo Carlini <pcarlini (a] unitus.it> 4834 1.1 mrg 4835 1.1 mrg * include/bits/sstream.tcc (pbackfail): Minor clean up and 4836 1.1 mrg reformatting, consistent with basic_filebuf::pbackfail. 4837 1.1 mrg 4838 1.1 mrg 2003-06-02 Richard Kreckel <Richard.Kreckel (a] GiNaC.DE> 4839 1.1 mrg 4840 1.1 mrg PR libstdc++/11062 4841 1.1 mrg * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to 4842 1.1 mrg __attribute__ ((__unused__)). 4843 1.1 mrg * config/os/aix/atomicity.h: Likewise. 4844 1.1 mrg 4845 1.1 mrg 2003-06-02 Paolo Carlini <pcarlini (a] unitus.it> 4846 1.1 mrg 4847 1.1 mrg PR libstdc++/9761 4848 1.1 mrg * include/bits/fstream.tcc (pbackfail): If the pback buffer 4849 1.1 mrg is already active don't try to store in it a second char. 4850 1.1 mrg * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New. 4851 1.1 mrg 4852 1.1 mrg * include/bits/fstream.tcc (pbackfail): Add unbuffered bits. 4853 1.1 mrg 4854 1.1 mrg 2003-06-02 Paolo Carlini <pcarlini (a] unitus.it> 4855 1.1 mrg 4856 1.1 mrg * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak 4857 1.1 mrg line spacing. 4858 1.1 mrg 4859 1.1 mrg 2003-06-02 Paolo Carlini <pcarlini (a] unitus.it> 4860 1.1 mrg 4861 1.1 mrg * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg 4862 1.1 mrg instead of unnecessarily taking the address of _M_pback. 4863 1.1 mrg (xsgetn): Simplify slightly for a single char pback buffer. 4864 1.1 mrg 4865 1.1 mrg 2003-06-02 Paolo Carlini <pcarlini (a] unitus.it> 4866 1.1 mrg 4867 1.1 mrg * include/bits/sstream.tcc (seekoff): Remove four unnecessary 4868 1.1 mrg variables and two 'if', clean up. 4869 1.1 mrg 4870 1.1 mrg 2003-06-02 Paolo Carlini <pcarlini (a] unitus.it> 4871 1.1 mrg 4872 1.1 mrg * include/bits/sstream.tcc (seekpos): Test against _M_out_lim 4873 1.1 mrg not _M_out_end, since the former actually points to the string 4874 1.1 mrg end (vs buffer end). 4875 1.1 mrg * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New. 4876 1.1 mrg 4877 1.1 mrg 2003-05-30 Phil Edwards <pme (a] gcc.gnu.org> 4878 1.1 mrg 4879 1.1 mrg * docs/doxygen/filter: New file. 4880 1.1 mrg * docs/doxygen/filter.sed: New file. 4881 1.1 mrg * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh. 4882 1.1 mrg * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter. 4883 1.1 mrg * docs/html/documentation.html: Fix links to doxygen pages. 4884 1.1 mrg 4885 1.1 mrg 2003-05-30 Paolo Carlini <pcarlini (a] unitus.it> 4886 1.1 mrg 4887 1.1 mrg * include/bits/fstream.tcc (_M_convert_to_external): Don't 4888 1.1 mrg check for __ilen > 0. 4889 1.1 mrg 4890 1.1 mrg 2003-05-29 Sylvain Pion <Sylvain.Pion (a] mpi-sb.mpg.de> 4891 1.1 mrg 4892 1.1 mrg PR libstdc++/10783 4893 1.1 mrg * include/bits/stl_iterator.h (class __normal_iterator): 4894 1.1 mrg Don't inherit from iterator, add missing typedefs. 4895 1.1 mrg 4896 1.1 mrg 2003-05-29 Paolo Carlini <pcarlini (a] unitus.it> 4897 1.1 mrg 4898 1.1 mrg * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows. 4899 1.1 mrg * testsuite/24_iterators/reverse_iterator/1.cc: New. 4900 1.1 mrg * testsuite/24_iterators/reverse_iterator/2.cc: New. 4901 1.1 mrg * testsuite/24_iterators/reverse_iterator/3.cc: New, from 4902 1.1 mrg PR libstdc++/10783. 4903 1.1 mrg 4904 1.1 mrg 2003-05-27 Steve Ellcey <sje (a] cup.hp.com> 4905 1.1 mrg 4906 1.1 mrg * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are 4907 1.1 mrg on IA64 HP-UX. 4908 1.1 mrg * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if 4909 1.1 mrg _LIBUNWIND_STD_ABI is set. 4910 1.1 mrg 4911 1.1 mrg 2003-05-26 Brendan Kehoe <brendan (a] zen.org> 4912 1.1 mrg 4913 1.1 mrg * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and 4914 1.1 mrg make sure the number of digits required after the decimal-point 4915 1.1 mrg (if any) is exactly the value returned by frac_digits(). 4916 1.1 mrg * testsuite/22_locale/money_get/get/char/9.cc: New. 4917 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/9.cc: New. 4918 1.1 mrg 4919 1.1 mrg 2003-05-27 Jonathan Wakely <redi (a] gcc.gnu.org> 4920 1.1 mrg 4921 1.1 mrg * include/std/std_istream.h, include/std/std_ostream.h: Typo in 4922 1.1 mrg comment. 4923 1.1 mrg 4924 1.1 mrg 2003-05-26 Benjamin Kosnik <bkoz (a] redhat.com> 4925 1.1 mrg 4926 1.1 mrg PR libstdc++/9339 4927 1.1 mrg * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove. 4928 1.1 mrg (_M_pback): No array necessary. 4929 1.1 mrg * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add 4930 1.1 mrg unbuffered case, coalesec into ... 4931 1.1 mrg (basic_filebuf::overflow): ...this. 4932 1.1 mrg * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New. 4933 1.1 mrg * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered. 4934 1.1 mrg 4935 1.1 mrg 2003-05-24 Nathanael Nerode <neroden (a] gcc.gnu.org> 4936 1.1 mrg 4937 1.1 mrg * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc, 4938 1.1 mrg libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc, 4939 1.1 mrg libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc, 4940 1.1 mrg libsupc++/eh_catch.cc, libsupc++/eh_exception.cc, 4941 1.1 mrg libsupc++/eh_globals.cc, libsupc++/eh_personality.cc, 4942 1.1 mrg libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc, 4943 1.1 mrg libsupc++/eh_throw.cc, libsupc++/eh_type.cc, 4944 1.1 mrg libsupc++/eh_unex_handler.cc, libsupc++/exception, 4945 1.1 mrg libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc, 4946 1.1 mrg libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc, 4947 1.1 mrg libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc, 4948 1.1 mrg libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc: 4949 1.1 mrg Replace "GNU CC" with "GCC". 4950 1.1 mrg 4951 1.1 mrg * include/backward/new.h: Replace "GNU CC" with "GCC". 4952 1.1 mrg 4953 1.1 mrg 2003-05-22 Benjamin Kosnik <bkoz (a] redhat.com> 4954 1.1 mrg 4955 1.1 mrg PR libstdc++/3066. 4956 1.1 mrg * configure.in: Switch target to host, don't assume newlib. 4957 1.1 mrg (target_alias): Remove. 4958 1.1 mrg * configure: Regenerate. 4959 1.1 mrg * acinclude.m4: Same. 4960 1.1 mrg * aclocal.m4: Regenerate. 4961 1.1 mrg * configure.target: Same. Rename to... 4962 1.1 mrg * configure.host: This. 4963 1.1 mrg 4964 1.1 mrg 2003-05-22 Paolo Carlini <pcarlini (a] unitus.it> 4965 1.1 mrg 4966 1.1 mrg * include/std/std_fstream.h (_S_pback_size): Remove definition. 4967 1.1 mrg (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char 4968 1.1 mrg pback buffer. 4969 1.1 mrg * include/bits/fstream.tcc (_S_pback_size): Remove declaration. 4970 1.1 mrg * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation 4971 1.1 mrg of _S_pback_size for systems with no COMDAT or weak support. 4972 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise. 4973 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise. 4974 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise. 4975 1.1 mrg * testsuite/27_io/basic_fstream/3.cc: Likewise. 4976 1.1 mrg * testsuite/27_io/basic_ifstream/3.cc: Likewise. 4977 1.1 mrg * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise. 4978 1.1 mrg * testsuite/27_io/basic_ofstream/3.cc: Likewise. 4979 1.1 mrg * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise. 4980 1.1 mrg * testsuite/27_io/basic_streambuf/3.cc: Likewise. 4981 1.1 mrg 4982 1.1 mrg 2003-05-22 Paolo Carlini <pcarlini (a] unitus.it> 4983 1.1 mrg 4984 1.1 mrg * include/bits/fstream.tcc (_M_underflow): Simplify: 4985 1.1 mrg !__testout implies _M_filepos == _M_in_end, therefore 4986 1.1 mrg the first _M_file.seekoff call is never issued. 4987 1.1 mrg 4988 1.1 mrg 2003-05-22 Benjamin Kosnik <bkoz (a] redhat.com> 4989 1.1 mrg 4990 1.1 mrg * configure.in: Sort cross table. 4991 1.1 mrg * configure: Regenerate. 4992 1.1 mrg 4993 1.1 mrg 2003-05-22 Brad Spencer <spencer (a] infointeractive.com> 4994 1.1 mrg 4995 1.1 mrg PR libstdc++/10106 4996 1.1 mrg * configure.in: Add Solaris cross bits. 4997 1.1 mrg 4998 1.1 mrg 2003-05-21 Danny Smith <dannysmith (a] users.sourceforge.net> 4999 1.1 mrg 5000 1.1 mrg * libstdc++-v3/config/os/mingw32/os_defines.h 5001 1.1 mrg (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt. 5002 1.1 mrg (NOMINMAX): Define. Update copyright year. 5003 1.1 mrg 5004 1.1 mrg 2003-05-21 Paolo Carlini <pcarlini (a] unitus.it> 5005 1.1 mrg 5006 1.1 mrg * include/std/std_fstream.h (_M_set_buffer): Fix indentation. 5007 1.1 mrg 5008 1.1 mrg 2003-05-21 Jonathan Wakely <redi (a] gcc.gnu.org> 5009 1.1 mrg 5010 1.1 mrg * docs/html/faq/index.html: Fix typo. 5011 1.1 mrg * docs/html/faq/index.txt: Regenerate. 5012 1.1 mrg 5013 1.1 mrg 2003-05-21 Jonathan Wakely <redi (a] gcc.gnu.org> 5014 1.1 mrg 5015 1.1 mrg * docs/html/test.html: Fix markup. 5016 1.1 mrg 5017 1.1 mrg 2003-05-21 Danny Smith <dannysmith (a] users.sourceforge.net> 5018 1.1 mrg 5019 1.1 mrg * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by 5020 1.1 mrg zero. 5021 1.1 mrg Update copyright year. 5022 1.1 mrg 5023 1.1 mrg 2003-05-20 Paolo Carlini <pcarlini (a] unitus.it> 5024 1.1 mrg 5025 1.1 mrg * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo. 5026 1.1 mrg 5027 1.1 mrg 2003-05-20 Paolo Carlini <pcarlini (a] unitus.it> 5028 1.1 mrg 5029 1.1 mrg * testsuite/27_io/basic_filebuf/close/char/5.cc: New file, 5030 1.1 mrg further testing that upon filebuf::close() 27.8.1.1,3 is enforced. 5031 1.1 mrg 5032 1.1 mrg 2003-05-20 Gerald Pfeifer <pfeifer (a] dbai.tuwien.ac.at> 5033 1.1 mrg 5034 1.1 mrg * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc): 5035 1.1 mrg Cast via void* to avoid -Wcast-align warnings. 5036 1.1 mrg (__default_alloc_template::_S_refill): Likewise. 5037 1.1 mrg 5038 1.1 mrg 2003-05-20 Benjamin Kosnik <bkoz (a] redhat.com> 5039 1.1 mrg 5040 1.1 mrg * testsuite/README: Move to... 5041 1.1 mrg * docs/html/test.html: ...here. Add documentation. 5042 1.1 mrg * docs/html/install.html: Move testing bits out.. 5043 1.1 mrg * docs/html/documentation.html: Add separate testing link. 5044 1.1 mrg * testsuite/performance: Add. 5045 1.1 mrg * testsuite/performance/allocator.cc: New. 5046 1.1 mrg * testsuite/performance/complex_norm.cc: New. 5047 1.1 mrg * testsuite/performance/cout_insert_int.cc: New. 5048 1.1 mrg * testsuite/performance/fstream_seek_write.cc: New. 5049 1.1 mrg * testsuite/performance/ifstream_getline.cc: New. 5050 1.1 mrg * testsuite/performance/map_create_fill.cc: New. 5051 1.1 mrg * testsuite/performance/ofstream_insert_float.cc: New. 5052 1.1 mrg * testsuite/performance/ofstream_insert_int.cc: New. 5053 1.1 mrg * testsuite/performance/string_append.cc: New. 5054 1.1 mrg * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter 5055 1.1 mrg performance tests. 5056 1.1 mrg 5057 1.1 mrg 2003-05-20 Gabriel Dos Reis <gdr (a] integrable-solutions.net> 5058 1.1 mrg 5059 1.1 mrg PR libstdc++/10689 5060 1.1 mrg * include/std/std_complex.h (pow): Tidy. 5061 1.1 mrg 5062 1.1 mrg 2003-05-19 Paolo Carlini <pcarlini (a] unitus.it> 5063 1.1 mrg 5064 1.1 mrg * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing 5065 1.1 mrg that upon filebuf::close() 27.8.1.1,3 is enforced. 5066 1.1 mrg 5067 1.1 mrg 2003-05-15 Loren J. Rittle <ljrittle (a] acm.org> 5068 1.1 mrg 5069 1.1 mrg * testsuite/thread/pthread4.cc: Further tweak to avoid fini race. 5070 1.1 mrg 5071 1.1 mrg 2003-05-15 Paolo Carlini <pcarlini (a] unitus.it> 5072 1.1 mrg Nathan Myers <ncm (a] cantrip.org> 5073 1.1 mrg 5074 1.1 mrg * include/bits/fstream.tcc (_M_overflow): Rewrote to call 5075 1.1 mrg _M_convert_to_external only once (_M_buf_size is now the size of 5076 1.1 mrg the put area + 1 for the overflow char of a full area); call 5077 1.1 mrg _M_set_buffer instead of _M_set_indeterminate. 5078 1.1 mrg (setbuf): Don't accept a buffer smaller than 2 chars. 5079 1.1 mrg (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer, 5080 1.1 mrg instead of _M_set_determinate. 5081 1.1 mrg (open): Call _M_set_buffer, instead of _M_set_indeterminate. 5082 1.1 mrg (seekoff): Likewise. 5083 1.1 mrg * include/ext/stdio_filebuf.h (stdio_filebuf(int, 5084 1.1 mrg std::ios_base::openmode, bool, size_t), 5085 1.1 mrg stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t): 5086 1.1 mrg Likewise. 5087 1.1 mrg * include/std/std_fstream.h (_M_set_indeterminate): Remove. 5088 1.1 mrg (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size -> 5089 1.1 mrg _M_buf_size - 1. 5090 1.1 mrg * include/std/std_streambuf.h: Tweak _M_out_lim comment. 5091 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking 5092 1.1 mrg into account that, for _M_buf_size == BUFSIZ == 8192, the size of 5093 1.1 mrg the put area is now BUFSIZ - 1. 5094 1.1 mrg * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account 5095 1.1 mrg that now the smallest _M_buf_size is 2 (still fails, for the same 5096 1.1 mrg reason, with 3.2.3) 5097 1.1 mrg 5098 1.1 mrg 2003-05-14 Loren J. Rittle <ljrittle (a] acm.org> 5099 1.1 mrg 5100 1.1 mrg * testsuite/thread/pthread4.cc: Tweak test. 5101 1.1 mrg 5102 1.1 mrg 2003-05-13 Benjamin Kosnik <bkoz (a] redhat.com> 5103 1.1 mrg 5104 1.1 mrg * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove 5105 1.1 mrg excess errors dg marker, use dg-errors instead. 5106 1.1 mrg * testsuite/27_io/ios_base/cons/assign_neg.cc: Same. 5107 1.1 mrg * testsuite/20_util/auto_ptr_neg.cc: Same. 5108 1.1 mrg 5109 1.1 mrg 2003-05-12 Benjamin Kosnik <bkoz (a] redhat.com> 5110 1.1 mrg 5111 1.1 mrg * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add 5112 1.1 mrg cached member. 5113 1.1 mrg * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): 5114 1.1 mrg Initialize _M_codecvt. 5115 1.1 mrg (basic_filebuf::imbue): Same. 5116 1.1 mrg (basic_filebuf::showmanyc): Use it. 5117 1.1 mrg (basic_filebuf::underflow): Use it. 5118 1.1 mrg (basic_filebuf::_M_convert_to_external): Use it. 5119 1.1 mrg (basic_filebuf::seekoff): Use it. 5120 1.1 mrg (basic_filebuf::imbue): Use it, tweaks. 5121 1.1 mrg * include/bits/localefwd.h (__check_facet): New. 5122 1.1 mrg * include/bits/locale_classes.h: Tweaks. 5123 1.1 mrg * include/bits/locale_facets.tcc: Tweaks. 5124 1.1 mrg * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove. 5125 1.1 mrg _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to 5126 1.1 mrg _M_num_get. Change _M_check_facet to __check_facet. Tweaks. 5127 1.1 mrg * include/bits/basic_ios.tcc: Same. 5128 1.1 mrg * include/bits/istream.tcc: Same. 5129 1.1 mrg * include/bits/ostream.tcc: Same. 5130 1.1 mrg * include/std/std_streambuf.h: Same. 5131 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New. 5132 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New. 5133 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New. 5134 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New. 5135 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New. 5136 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New. 5137 1.1 mrg 5138 1.1 mrg 2003-05-12 Paolo Carlini <pcarlini (a] unitus.it> 5139 1.1 mrg 5140 1.1 mrg * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove 5141 1.1 mrg unnecessary includes and unused string literals. 5142 1.1 mrg * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise. 5143 1.1 mrg * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise. 5144 1.1 mrg * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise. 5145 1.1 mrg * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise. 5146 1.1 mrg 5147 1.1 mrg 2003-05-12 Benjamin Kosnik <bkoz (a] redhat.com> 5148 1.1 mrg 5149 1.1 mrg * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits. 5150 1.1 mrg 5151 1.1 mrg 2003-05-12 Paolo Carlini <pcarlini (a] unitus.it> 5152 1.1 mrg 5153 1.1 mrg * include/std/std_fstream.h (_M_convert_to_external): Change 5154 1.1 mrg to return bool, take two less streamsize parameters. 5155 1.1 mrg * include/bits/fstream.tcc (_M_convert_to_external): Tweak 5156 1.1 mrg consistently definition. 5157 1.1 mrg (_M_overflow): Adjust call points. 5158 1.1 mrg 5159 1.1 mrg 2003-05-12 Benjamin Kosnik <bkoz (a] redhat.com> 5160 1.1 mrg 5161 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits. 5162 1.1 mrg 5163 1.1 mrg 2003-05-11 Phil Edwards <pme (a] gcc.gnu.org> 5164 1.1 mrg 5165 1.1 mrg * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs. 5166 1.1 mrg * testsuite/Makefile.in: Regenerate. 5167 1.1 mrg 5168 1.1 mrg 2003-05-11 Phil Edwards <pme (a] gcc.gnu.org> 5169 1.1 mrg 5170 1.1 mrg * testsuite/Makefile.am: Properly quote LD_RUN_PATH. 5171 1.1 mrg * testsuite/Makefile.in: Regenerate. 5172 1.1 mrg 5173 1.1 mrg 2003-05-11 Gabriel Dos Reis <gdr (a] integrable-solutions.net> 5174 1.1 mrg 5175 1.1 mrg PR libstdc++/3181 5176 1.1 mrg * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h> 5177 1.1 mrg (acos): Handle integer argument. 5178 1.1 mrg (asin): Likewise. 5179 1.1 mrg (atan): Likewise. 5180 1.1 mrg (atan2): Likewise. 5181 1.1 mrg (ceil): Likewise. 5182 1.1 mrg (cos): Likewise. 5183 1.1 mrg (cosh): Likewise. 5184 1.1 mrg (exp): Likewise. 5185 1.1 mrg (fabs): Likewise. 5186 1.1 mrg (floor): Likewise. 5187 1.1 mrg (frexp): Likewise. 5188 1.1 mrg (ldexp): Likewise. 5189 1.1 mrg (log): Likewise. 5190 1.1 mrg (log10): Likewise. 5191 1.1 mrg (sin): Likewise. 5192 1.1 mrg (sinh): Likewise. 5193 1.1 mrg (sqrt): Likewise. 5194 1.1 mrg (tan): Likewise. 5195 1.1 mrg (tanh): Likewise. 5196 1.1 mrg * include/bits/cpp_type_traits.h (__are_same<>): New traits. 5197 1.1 mrg (__enable_if): Likewise. 5198 1.1 mrg * testsuite/26_numerics/cmath/overloads.C: New test. 5199 1.1 mrg 5200 1.1 mrg 2003-05-10 Petur Runolfsson <peturr02 (a] ru.is> 5201 1.1 mrg 5202 1.1 mrg PR libstdc++/9027 5203 1.1 mrg PR libstdc++/9520 5204 1.1 mrg PR libstdc++/10096 5205 1.1 mrg * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic 5206 1.1 mrg implementation, based on old wchar_t specialization, add support 5207 1.1 mrg for codecvt::in() return value of codecvt_base::noconv, remove 5208 1.1 mrg _M_file.sys_ungetc() call. 5209 1.1 mrg * include/std/std_fstream.h (basic_file::underflow, 5210 1.1 mrg basic_file::uflow, basic_file::_M_underflow): Remove 5211 1.1 mrg specialization declarations, call _M_underflow from generic versions 5212 1.1 mrg of underflow and uflow. 5213 1.1 mrg * src/fstream.cc (basic_file::underflow, basic_file::uflow, 5214 1.1 mrg basic_file::_M_underflow): Remove specializations. 5215 1.1 mrg * src/Makefile.am (sources): Remove fstream.cc. 5216 1.1 mrg * src/Makefile.in: Regenerated. 5217 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test. 5218 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test. 5219 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test. 5220 1.1 mrg * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test. 5221 1.1 mrg 5222 1.1 mrg 2003-05-10 Benjamin Kosnik <bkoz (a] redhat.com> 5223 1.1 mrg 5224 1.1 mrg * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack 5225 1.1 mrg buffer. 5226 1.1 mrg * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove 5227 1.1 mrg unbuffered bits. 5228 1.1 mrg (__basic_file::xsputn): Same. 5229 1.1 mrg (__basic_file::seekoff): Same. 5230 1.1 mrg (__basic_file::seekpos): Same. 5231 1.1 mrg (__basic_file::showmanyc): Same. 5232 1.1 mrg * config/io/basic_file_stdio.cc: Same. 5233 1.1 mrg * include/std/std_fstream.h: Same. 5234 1.1 mrg * include/bits/fstream.tcc: Same. 5235 1.1 mrg * src/fstream.cc: Same. 5236 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy. 5237 1.1 mrg 5238 1.1 mrg 2003-05-10 Petur Runolfsson <peturr02 (a] ru.is> 5239 1.1 mrg 5240 1.1 mrg PR libstdc++/9520 5241 1.1 mrg PR libstdc++/9661 5242 1.1 mrg PR libstdc++/9662 5243 1.1 mrg * include/ext/stdio_sync_filebuf.h: New file. 5244 1.1 mrg (basic_stdiobuf): New. 5245 1.1 mrg * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h 5246 1.1 mrg * include/Makefile.in: Regenerate. 5247 1.1 mrg * include/bits/ios_base.h (Init::_S_create_buffers, 5248 1.1 mrg Init::_S_destroy_buffers): Remove declarations. 5249 1.1 mrg * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync, 5250 1.1 mrg buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define. 5251 1.1 mrg * src/ios.cc (Init::_S_create_buffers, 5252 1.1 mrg Init::_S_destroy_buffers): Remove. 5253 1.1 mrg (Init::Init): Create and use syncronized buffers. 5254 1.1 mrg (ios_base::sync_with_stdio): Destroy syncronized buffers, 5255 1.1 mrg create and install unsyncronized buffers. 5256 1.1 mrg * testsuite/27_io/objects/char/10.cc: New test. 5257 1.1 mrg * testsuite/27_io/objects/char/9.cc: New test. 5258 1.1 mrg * testsuite/27_io/objects/char/9661-1.cc: New test. 5259 1.1 mrg * testsuite/27_io/objects/char/9661-2_xin.cc: New test. 5260 1.1 mrg * testsuite/27_io/objects/char/9661-2_xin.in: New. 5261 1.1 mrg * testsuite/27_io/objects/wchar_t/1.cc: New test. 5262 1.1 mrg * testsuite/27_io/objects/wchar_t/10.cc: New test. 5263 1.1 mrg * testsuite/27_io/objects/wchar_t/2.cc: New test. 5264 1.1 mrg * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test. 5265 1.1 mrg * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New. 5266 1.1 mrg * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test. 5267 1.1 mrg * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New. 5268 1.1 mrg * testsuite/27_io/objects/wchar_t/3045.cc: New test. 5269 1.1 mrg * testsuite/27_io/objects/wchar_t/3647.cc: New test. 5270 1.1 mrg * testsuite/27_io/objects/wchar_t/3_xin.cc: New test. 5271 1.1 mrg * testsuite/27_io/objects/wchar_t/3_xin.in: New. 5272 1.1 mrg * testsuite/27_io/objects/wchar_t/4_xin.cc: New test. 5273 1.1 mrg * testsuite/27_io/objects/wchar_t/4_xin.in: New. 5274 1.1 mrg * testsuite/27_io/objects/wchar_t/5.cc: New test. 5275 1.1 mrg * testsuite/27_io/objects/wchar_t/5268.cc: New test. 5276 1.1 mrg * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test. 5277 1.1 mrg * testsuite/27_io/objects/wchar_t/5280_xin.in: New. 5278 1.1 mrg * testsuite/27_io/objects/wchar_t/6.cc: New test. 5279 1.1 mrg * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test. 5280 1.1 mrg * testsuite/27_io/objects/wchar_t/6548_xin.in: New. 5281 1.1 mrg * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test. 5282 1.1 mrg * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New. 5283 1.1 mrg * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test. 5284 1.1 mrg * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New. 5285 1.1 mrg * testsuite/27_io/objects/wchar_t/7.cc: New test. 5286 1.1 mrg * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test. 5287 1.1 mrg * testsuite/27_io/objects/wchar_t/7744_xin.in: New. 5288 1.1 mrg * testsuite/27_io/objects/wchar_t/8.cc: New test. 5289 1.1 mrg * testsuite/27_io/objects/wchar_t/9_xin.cc: New test. 5290 1.1 mrg * testsuite/27_io/objects/wchar_t/9_xin.in: New. 5291 1.1 mrg * testsuite/27_io/objects/wchar_t/9520.cc: New test. 5292 1.1 mrg * testsuite/27_io/objects/wchar_t/9661-1.cc: New test. 5293 1.1 mrg * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test. 5294 1.1 mrg * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New. 5295 1.1 mrg * testsuite/27_io/objects/wchar_t/9662.cc: New test. 5296 1.1 mrg * testsuite/ext/stdiobuf_char.cc: New test. 5297 1.1 mrg * testsuite/ext/stdiobuf_wchar_t.cc: New test. 5298 1.1 mrg 5299 1.1 mrg 2003-05-10 Paolo Carlini <pcarlini (a] unitus.it> 5300 1.1 mrg 5301 1.1 mrg * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove 5302 1.1 mrg unnecessary includes and unused string literals. 5303 1.1 mrg * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise. 5304 1.1 mrg 5305 1.1 mrg 2003-05-08 Paolo Carlini <pcarlini (a] unitus.it> 5306 1.1 mrg 5307 1.1 mrg * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode. 5308 1.1 mrg 5309 1.1 mrg 2003-05-07 Richard Henderson <rth (a] redhat.com> 5310 1.1 mrg 5311 1.1 mrg PR c++/10570 5312 1.1 mrg * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions. 5313 1.1 mrg (__cxa_end_catch): Likewise. 5314 1.1 mrg * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use 5315 1.1 mrg _Unwind_Resume_or_Rethrow. 5316 1.1 mrg * libsupc++/eh_personality.cc (empty_exception_spec): New. 5317 1.1 mrg (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all 5318 1.1 mrg for _UA_FORCE_UNWIND. Honor empty filter spec for foreign 5319 1.1 mrg exceptions. Don't push terminate/unexpected to cxa functions. 5320 1.1 mrg (__cxa_call_unexpected): Remove foreign exception fixmes. 5321 1.1 mrg 5322 1.1 mrg 2003-05-07 Benjamin Kosnik <bkoz (a] redhat.com> 5323 1.1 mrg 5324 1.1 mrg * testsuite/27_io/ios_base/cons: New. 5325 1.1 mrg * testsuite/27_io/ios_base/cons/assign_neg.cc: New. 5326 1.1 mrg * testsuite/27_io/ios_base/cons/copy_neg.cc: New. 5327 1.1 mrg 5328 1.1 mrg 2003-05-07 Paolo Carlini <pcarlini (a] unitus.it> 5329 1.1 mrg 5330 1.1 mrg * include/std/std_fstream.h (_M_is_indeterminate): Remove. 5331 1.1 mrg * src/fstream.cc 5332 1.1 mrg (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either 5333 1.1 mrg there is no buffer or __testget == !__testinit. 5334 1.1 mrg 5335 1.1 mrg * src/fstream.cc 5336 1.1 mrg (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate() 5337 1.1 mrg automatically sets, if appropriate, _M_out_cur == _M_in_cur. 5338 1.1 mrg 5339 1.1 mrg * include/std/std_fstream.h (_M_destroy_pback): Don't set 5340 1.1 mrg unnecessarily _M_pback_cur_save and _M_pback_end_save. 5341 1.1 mrg 5342 1.1 mrg * include/std/std_fstream.h (_M_set_determinate): Minor tweak. 5343 1.1 mrg 5344 1.1 mrg * include/std/std_sstream.h (_M_sync): Minor tweak. 5345 1.1 mrg 5346 1.1 mrg * include/bits/fstream.tcc (close): No need to call 5347 1.1 mrg _M_destroy_pback, setting _M_pback_init to false suffices 5348 1.1 mrg to clean up. 5349 1.1 mrg 5350 1.1 mrg 2003-05-06 Benjamin Kosnik <bkoz (a] redhat.com> 5351 1.1 mrg 5352 1.1 mrg * include/bits/stl_algo.h: Enums as _S_. 5353 1.1 mrg * include/bits/stl_tree.h: Same. 5354 1.1 mrg * include/bits/stl_bvector.h: Same. 5355 1.1 mrg * include/bits/ios_base.h: Same. 5356 1.1 mrg * include/bits/stl_alloc.h: Same. 5357 1.1 mrg * include/ext/stl_hashtable.h: Same. 5358 1.1 mrg * src/ios.cc: And here. 5359 1.1 mrg 5360 1.1 mrg * include/std/std_sstream.h: Replace _M_really_sync to _M_sync. 5361 1.1 mrg * include/bits/sstream.tcc: Same. 5362 1.1 mrg 5363 1.1 mrg * include/bits/basic_ios.h: Correct spacing for '< ctype'. 5364 1.1 mrg 5365 1.1 mrg * include/bits/locale_facets.tcc: Replace __temp to __tmp. 5366 1.1 mrg 5367 1.1 mrg * include/bits/locale_facets.h (__num_base): Remove protected. 5368 1.1 mrg Use _S_[io]* names for enumerations. 5369 1.1 mrg (_S_format_int): Remove. 5370 1.1 mrg * include/bits/locale_facets.tcc: Same. 5371 1.1 mrg * src/locale.cc: Same. 5372 1.1 mrg 5373 1.1 mrg * include/std/std_sstream.h (stringbuf::str): Tweak formatting. 5374 1.1 mrg 5375 1.1 mrg 2003-05-06 Phil Edwards <pme (a] gcc.gnu.org> 5376 1.1 mrg 5377 1.1 mrg * docs/html/faq/index.html (3.10): Add note about mips atomicity.h. 5378 1.1 mrg * docs/html/faq/index.txt: Regenerated. 5379 1.1 mrg 5380 1.1 mrg 2003-05-06 Michael Ritzert <Ritzert (a] t-online.de> 5381 1.1 mrg Matt Kraai <kraai (a] alumni.cmu.edu> 5382 1.1 mrg 5383 1.1 mrg * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak. 5384 1.1 mrg And retweak. 5385 1.1 mrg 5386 1.1 mrg 2003-05-06 Richard Sandiford <rsandifo (a] redhat.com> 5387 1.1 mrg 5388 1.1 mrg * configure.target (mips*): Use the generic atomicity.h by default. 5389 1.1 mrg 5390 1.1 mrg 2003-05-05 Loren J. Rittle <ljrittle (a] acm.org> 5391 1.1 mrg (Inspired by an alternate patch from Danny Smith.) 5392 1.1 mrg 5393 1.1 mrg * include/bits/stl_threads.h (_Atomic_swap): Kill it... 5394 1.1 mrg (_Swap_lock_struct<>): ...and the horse it rode in on. 5395 1.1 mrg * src/globals.cc (_Swap_lock_struct<>): Likewise. 5396 1.1 mrg * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New 5397 1.1 mrg member to support... 5398 1.1 mrg * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory 5399 1.1 mrg visibility rules related to POSIX threads. 5400 1.1 mrg * testsuite/thread/pthread7-rope.cc: New test. 5401 1.1 mrg 5402 1.1 mrg 2003-05-04 Paolo Carlini <pcarlini (a] unitus.it> 5403 1.1 mrg 5404 1.1 mrg * testsuite/21_strings/basic_string/find/char/3.cc: New 5405 1.1 mrg file, testing basic_string<char>::find_first_not_of. 5406 1.1 mrg * testsuite/21_strings/basic_string/find/wchar_t/3.cc: 5407 1.1 mrg Likewise for basic_string<wchar_t>. 5408 1.1 mrg 5409 1.1 mrg 2003-05-03 Loren J. Rittle <ljrittle (a] acm.org> 5410 1.1 mrg 5411 1.1 mrg * testsuite/thread/pthread1.cc: Remove special case for FreeBSD. 5412 1.1 mrg 5413 1.1 mrg 2003-05-02 Benjamin Kosnik <bkoz (a] redhat.com> 5414 1.1 mrg 5415 1.1 mrg * include/Makefile.am (CLEANFILES): Remove PCH files in target 5416 1.1 mrg directory. 5417 1.1 mrg * include/Makefile.in: Regenerate. 5418 1.1 mrg 5419 1.1 mrg 2003-05-02 Paolo Carlini <pcarlini (a] unitus.it> 5420 1.1 mrg 5421 1.1 mrg * include/std/std_sstream.h (str()): Tidy. 5422 1.1 mrg 5423 1.1 mrg 2003-05-02 Nathan Myers <ncm (a] cantrip.org> 5424 1.1 mrg Paolo Carlini <pcarlini (a] unitus.it> 5425 1.1 mrg 5426 1.1 mrg * include/bits/streambuf.tcc (__copy_streambufs): Rewrote. 5427 1.1 mrg 5428 1.1 mrg 2003-05-02 Jonathan Wakely <redi (a] gcc.gnu.org> 5429 1.1 mrg 5430 1.1 mrg * include/bits/basic_string.h (swap): Remove redundant template 5431 1.1 mrg parameters from declaration of non-template member function. 5432 1.1 mrg 5433 1.1 mrg 2003-05-01 Phil Edwards <pme (a] gcc.gnu.org> 5434 1.1 mrg 5435 1.1 mrg * acconfig.h (_GLIBCPP_USE_NLS): New symbol. 5436 1.1 mrg * configure.in: Move libintl.h header test... 5437 1.1 mrg * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all 5438 1.1 mrg the NLS-related test results into one symbol. 5439 1.1 mrg * src/functexcept.cc: Use it here. 5440 1.1 mrg * aclocal.m4, config.h.in, configure: Regenerated. 5441 1.1 mrg 5442 1.1 mrg 2003-05-01 Paolo Carlini <pcarlini (a] unitus.it> 5443 1.1 mrg 5444 1.1 mrg * include/bits/sstream.tcc (overflow): Instead of calling 5445 1.1 mrg str(), then _M_string.reserve, thus copying the contents 5446 1.1 mrg of the current buffer two times, just copy the latter in 5447 1.1 mrg a temporary, then use the 'swap trick'. 5448 1.1 mrg 5449 1.1 mrg 2003-05-01 Paolo Carlini <pcarlini (a] unitus.it> 5450 1.1 mrg 5451 1.1 mrg * include/std/std_sstream.h (str()): Revert the best of the 5452 1.1 mrg previous 'improvement', incorrect due to the COW nature of 5453 1.1 mrg v3 basic_string; simplify. 5454 1.1 mrg 5455 1.1 mrg 2003-05-01 Paolo Carlini <pcarlini (a] unitus.it> 5456 1.1 mrg 5457 1.1 mrg * include/bits/streambuf.tcc (__copy_streambufs): Adjust the 5458 1.1 mrg type of __avail to ptrdiff_t to avoid signed-unsigned warning. 5459 1.1 mrg 5460 1.1 mrg 2003-05-01 Benjamin Kosnik <bkoz (a] redhat.com> 5461 1.1 mrg 5462 1.1 mrg * testsuite/abi_check.cc (check_version): Update known versions. 5463 1.1 mrg Check added symbols for version_name != base version. Add missing 5464 1.1 mrg symbols to incompatible list. 5465 1.1 mrg 5466 1.1 mrg 2003-05-01 Benjamin Kosnik <bkoz (a] redhat.com> 5467 1.1 mrg 5468 1.1 mrg * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline. 5469 1.1 mrg * aclocal.m4: Regenerated. 5470 1.1 mrg * configure: Regenerated. 5471 1.1 mrg 5472 1.1 mrg 2003-05-01 Paolo Carlini <pcarlini (a] unitus.it> 5473 1.1 mrg 5474 1.1 mrg * include/bits/streambuf.tcc (basic_streambuf::xsgetn): 5475 1.1 mrg Const-ify some variables. 5476 1.1 mrg (basic_streambuf::xsputn): Likewise; change the type of some 5477 1.1 mrg variables to size_t. 5478 1.1 mrg (__copy_streambufs): Change some variables to size_t. 5479 1.1 mrg 5480 1.1 mrg 2003-05-01 Paolo Carlini <pcarlini (a] unitus.it> 5481 1.1 mrg 5482 1.1 mrg * include/std/std_sstream.h (str()): Avoid constructing 5483 1.1 mrg a basic_string temporary not only when it would turn out 5484 1.1 mrg to be zero-sized but also when identical to the current 5485 1.1 mrg _M_string buffer. 5486 1.1 mrg 5487 1.1 mrg 2003-05-01 Paolo Carlini <pcarlini (a] unitus.it> 5488 1.1 mrg 5489 1.1 mrg * include/ext/stdio_filebuf.h 5490 1.1 mrg (stdio_filebuf(int, std::ios_base::openmode, bool, size_t), 5491 1.1 mrg stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)): 5492 1.1 mrg Shorten a bit (-10 lines) by factoring out some code. 5493 1.1 mrg 5494 1.1 mrg 2003-04-30 Phil Edwards <pme (a] gcc.gnu.org> 5495 1.1 mrg 5496 1.1 mrg * acinclude.m4: Add bit missing from previous patch. 5497 1.1 mrg * aclocal.m4, configure: Regenerated. 5498 1.1 mrg 5499 1.1 mrg 2003-04-29 Phil Edwards <pme (a] gcc.gnu.org> 5500 1.1 mrg 5501 1.1 mrg * docs/doxygen/mainpage.html: Bring up to date. 5502 1.1 mrg * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug 5503 1.1 mrg in Doxygen. 5504 1.1 mrg * docs/doxygen/user.cfg.in: Scanning the precompiled headers 5505 1.1 mrg breaks everything. Don't scan them. 5506 1.1 mrg * docs/html/documentation.html: Point to "Write after approval" 5507 1.1 mrg notes. 5508 1.1 mrg 5509 1.1 mrg 2003-04-29 Phil Edwards <pme (a] gcc.gnu.org> 5510 1.1 mrg 5511 1.1 mrg * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside 5512 1.1 mrg of libc if message translations are being used. Fix info text in 5513 1.1 mrg xieee_1003.1-2001 case. 5514 1.1 mrg * aclocal.m4, configure: Regenerate. 5515 1.1 mrg 5516 1.1 mrg 2003-04-29 Joel Sherrill <joel.sherrill (a] OARcorp.com> 5517 1.1 mrg Loren J. Rittle <ljrittle (a] acm.org> 5518 1.1 mrg Martin v. Lwis <martin (a] v.loewis.de> 5519 1.1 mrg 5520 1.1 mrg * config/cpu/i386/atomicity.h: New file. 5521 1.1 mrg 5522 1.1 mrg 2003-04-29 Paolo Carlini <pcarlini (a] unitus.it> 5523 1.1 mrg 5524 1.1 mrg * include/bits/fstream.tcc (open): Change to single return. 5525 1.1 mrg 5526 1.1 mrg 2003-04-29 Paolo Carlini <pcarlini (a] unitus.it> 5527 1.1 mrg 5528 1.1 mrg * include/std/std_sstream.h (underflow): Change to single return. 5529 1.1 mrg 5530 1.1 mrg 2003-04-28 Paolo Carlini <pcarlini (a] unitus.it> 5531 1.1 mrg 5532 1.1 mrg * include/std/std_streambuf.h (_M_buf): is currently 5533 1.1 mrg used only for basic_filebuf, therefore move it there. 5534 1.1 mrg (basic_streambuf(), ~basic_streambuf()): Adjust. 5535 1.1 mrg * include/std/std_fstream.h (_M_buf): Moved here. 5536 1.1 mrg * include/std/std_sstream.h (setbuf): Don't set _M_buf, 5537 1.1 mrg is actually redundant for basic_stringbuf. 5538 1.1 mrg (_M_really_sync): Likewise. 5539 1.1 mrg * include/bits/fstream.tcc (basic_filebuf()): Adjust. 5540 1.1 mrg * include/bits/sstream.tcc (seekoff): Adjust. 5541 1.1 mrg 5542 1.1 mrg 2003-04-28 Benjamin Kosnik <bkoz (a] redhat.com> 5543 1.1 mrg 5544 1.1 mrg * src/localename.cc: Standardize exception strings. 5545 1.1 mrg * src/locale.cc: Same. 5546 1.1 mrg * src/ios.cc: Same. 5547 1.1 mrg * include/bits/basic_string.tcc: Same. 5548 1.1 mrg * include/bits/basic_ios.tcc: Same. 5549 1.1 mrg * include/std/std_bitset.h: Same. 5550 1.1 mrg * include/ext/ropeimpl.h: Same. 5551 1.1 mrg * include/bits/stl_vector.h: Same. 5552 1.1 mrg * include/bits/stl_deque.h: Same. 5553 1.1 mrg * include/bits/stl_bvector.h: Same. 5554 1.1 mrg * config/locale/generic/c_locale.cc: Same. 5555 1.1 mrg * config/locale/gnu/c_locale.cc: Same. 5556 1.1 mrg * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same. 5557 1.1 mrg 5558 1.1 mrg * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify. 5559 1.1 mrg 5560 1.1 mrg 2003-04-28 Paolo Carlini <pcarlini (a] unitus.it> 5561 1.1 mrg 5562 1.1 mrg * include/std/std_streambuf.h (_M_buf_size): is currently 5563 1.1 mrg used only for basic_filebuf, therefore move it there. 5564 1.1 mrg (basic_streambuf(), ~basic_streambuf()): Adjust. 5565 1.1 mrg * include/std/std_fstream.h (_M_buf_size): Moved here. 5566 1.1 mrg * include/bits/fstream.tcc (basic_filebuf()): Adjust. 5567 1.1 mrg 5568 1.1 mrg 2003-04-28 Paolo Carlini <pcarlini (a] unitus.it> 5569 1.1 mrg 5570 1.1 mrg * include/bits/streambuf.tcc (__copy_streambufs): Don't use 5571 1.1 mrg _M_buf_size (synced input is now correctly dealt with 5572 1.1 mrg elsewhere); when the output buffer is full don't fall back 5573 1.1 mrg to a snextc-sputc loop, call overflow instead. 5574 1.1 mrg 5575 1.1 mrg 2003-04-28 Paolo Carlini <pcarlini (a] unitus.it> 5576 1.1 mrg 5577 1.1 mrg * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines) 5578 1.1 mrg the innermost 'if' by factoring out some code. 5579 1.1 mrg 5580 1.1 mrg 2003-04-28 Phil Edwards <pme (a] gcc.gnu.org> 5581 1.1 mrg 5582 1.1 mrg * configure.in: Test for libintl.h. 5583 1.1 mrg * include/bits/c++config: Define __N for everybody. 5584 1.1 mrg * include/bits/basic_string.h, include/bits/stl_bvector.h, 5585 1.1 mrg include/bits/stl_deque.h, include/bits/stl_vector.h, 5586 1.1 mrg include/std/std_bitset.h: Wrap all __throw* text with __N. 5587 1.1 mrg * po/Makefile.am (pot): New rule, mostly working. 5588 1.1 mrg * src/functexcept.cc: Call gettext on all __throw* arguments when 5589 1.1 mrg -fexceptions is in effect. 5590 1.1 mrg * po/Makefile.in, config.h.in, configure: Regenerate. 5591 1.1 mrg 5592 1.1 mrg 2003-04-28 Petur Runolfsson <peturr02 (a] ru.is> 5593 1.1 mrg 5594 1.1 mrg PR libstdc++/9523 5595 1.1 mrg * include/bits/ios_base.h (Init::_S_ios_create, 5596 1.1 mrg Init::_S_ios_destroy): Remove declarations. 5597 1.1 mrg (Init::_S_create_buffers, 5598 1.1 mrg Init::_S_destroy_buffers): Declare 5599 1.1 mrg * src/ios.cc (Init::_S_ios_create): Remove 5600 1.1 mrg (Init::_S_create_buffers): Create buffers and add to streams. 5601 1.1 mrg (Init::_S_ios_destroy): Rename to... 5602 1.1 mrg (Init::_S_destroy_buffers): this. 5603 1.1 mrg (Init::Init): Only construct streams once. 5604 1.1 mrg (Init::~Init): Flush streams, don't destroy them. 5605 1.1 mrg (ios_base::sync_with_stdio): Don't destroy streams, only buffers. 5606 1.1 mrg * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test. 5607 1.1 mrg * testsuite/27_io/objects/char/5.cc: New test. 5608 1.1 mrg * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior. 5609 1.1 mrg * testsuite/27_io/objects/char/6.cc: New test. 5610 1.1 mrg * testsuite/27_io/objects/char/7.cc: New test. 5611 1.1 mrg 5612 1.1 mrg 2003-04-28 Benjamin Kosnik <bkoz (a] redhat.com> 5613 1.1 mrg 5614 1.1 mrg * testsuite/27_io/objects/char/8.cc: New test. 5615 1.1 mrg 5616 1.1 mrg 2003-04-28 Benjamin Kosnik <bkoz (a] redhat.com> 5617 1.1 mrg 5618 1.1 mrg * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage. 5619 1.1 mrg * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same. 5620 1.1 mrg 5621 1.1 mrg 2003-04-27 Benjamin Kosnik <bkoz (a] redhat.com> 5622 1.1 mrg 5623 1.1 mrg * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to 5624 1.1 mrg _M_destroy_pback. _M_pback_create to 5625 1.1 mrg _M_create_pback. _M_underflow_common to 5626 1.1 mrg _M_underflow. _M_really_overflow to _M_overflow. 5627 1.1 mrg * include/bits/fstream.tcc: Same. 5628 1.1 mrg * src/fstream.cc: Same. 5629 1.1 mrg * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to 5630 1.1 mrg _M_move_in_cur. _M_out_cur_move to _M_move_out_cur. 5631 1.1 mrg * include/bits/streambuf.tcc: Same. 5632 1.1 mrg * include/bits/fstream.tcc: Same. 5633 1.1 mrg * include/bits/sstream.tcc: Same. 5634 1.1 mrg 5635 1.1 mrg 2003-04-27 Benjamin Kosnik <bkoz (a] redhat.com> 5636 1.1 mrg 5637 1.1 mrg * include/bits/locale_classes.h (locale::_Impl): Change _M_names 5638 1.1 mrg from fixed size array. 5639 1.1 mrg (locale): Change _S_categories as well. 5640 1.1 mrg Formatting tweaks. 5641 1.1 mrg * include/bits/locale_facets.tcc: Tweak. 5642 1.1 mrg * config/locale/gnu/c_locale.cc: Assign _S_categories. 5643 1.1 mrg * config/locale/generic/c_locale.cc: Same. 5644 1.1 mrg * src/locale.cc: Tweak. 5645 1.1 mrg * src/globals.cc: Change facet_name to name_vec, add names_c. 5646 1.1 mrg * src/localename.cc: Use them. 5647 1.1 mrg (locale::_Impl::~_Impl): Destroy _M_names. 5648 1.1 mrg (locale::_Impl::_Impl): Create _M_names. 5649 1.1 mrg 5650 1.1 mrg 2003-04-27 Andreas Schwab <schwab (a] suse.de> 5651 1.1 mrg 5652 1.1 mrg * config/locale/ieee_1003.1-2001/codecvt_specializations.h 5653 1.1 mrg (__enc_traits): Use __ibom and __ebom instead of ignoring them. 5654 1.1 mrg 5655 1.1 mrg 2003-04-27 Nathan Myers <ncm (a] cantrip.org> 5656 1.1 mrg 5657 1.1 mrg Move some basic_string members out of line because 5658 1.1 mrg they are too big to reasonably be inline. 5659 1.1 mrg * include/bits/basic_string.h 5660 1.1 mrg (assign(const basic_string&, size_type, size_type), 5661 1.1 mrg assign(const _CharT*, size_type), 5662 1.1 mrg insert(size_type, const basic_string&, size_type, size_type), 5663 1.1 mrg insert(size_type, const _CharT*, size_type), 5664 1.1 mrg replace(size_type, size_type, const _CharT*, size_type)): 5665 1.1 mrg Move from here to... 5666 1.1 mrg * include/bits/basic_string.tcc: ...here. 5667 1.1 mrg 5668 1.1 mrg 2003-04-26 Paolo Carlini <pcarlini (a] unitus.it> 5669 1.1 mrg 5670 1.1 mrg * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines) 5671 1.1 mrg the innermost 'if' by factoring out some code. 5672 1.1 mrg 5673 1.1 mrg 2003-04-26 Paolo Carlini <pcarlini (a] unitus.it> 5674 1.1 mrg 5675 1.1 mrg * include/bits/streambuf.tcc (__copy_streambufs): Don't 5676 1.1 mrg use in_avail(), simplify. 5677 1.1 mrg 5678 1.1 mrg 2003-04-26 Paolo Carlini <pcarlini (a] unitus.it> 5679 1.1 mrg 5680 1.1 mrg * include/std/std_sstream.h (setbuf): don't set _M_buf_size, 5681 1.1 mrg in basic_stringbuf it's unused. 5682 1.1 mrg 5683 1.1 mrg * include/std/std_sstream.h (underflow): consistently use 5684 1.1 mrg _M_in_cur, not gptr(). 5685 1.1 mrg 5686 1.1 mrg 2003-04-25 Ranjit Mathew <rmathew (a] hotmail.com> 5687 1.1 mrg Phil Edwards <pme (a] gcc.gnu.org> 5688 1.1 mrg 5689 1.1 mrg * testsuite_flags.in: Guard against the possibility 5690 1.1 mrg of having "xgcc" as a part of a folder name in the 5691 1.1 mrg path to the GCC build folder. 5692 1.1 mrg * testsuite/Makefile.am: Likewise. 5693 1.1 mrg * testsuite/Makefile.in: Regenerated. 5694 1.1 mrg 5695 1.1 mrg 2003-04-25 Benjamin Kosnik <bkoz (a] redhat.com> 5696 1.1 mrg 5697 1.1 mrg PR libstdc++/10132 5698 1.1 mrg * include/std/std_fstream.h (basic_filebuf::is_open): Add throw() 5699 1.1 mrg exception specifications. 5700 1.1 mrg (basic_filebuf::close): Same. 5701 1.1 mrg (basic_filebuf::_M_pback_destroy): Same. 5702 1.1 mrg (basic_filebuf::_M_destroy_internal_buffer): Same. 5703 1.1 mrg (basic_filebuf): Remove __res_type typedef. 5704 1.1 mrg * src/fstream.cc: Same. 5705 1.1 mrg * include/bits/fstream.tcc 5706 1.1 mrg (basic_filebuf::_M_convert_to_external): Simplify. 5707 1.1 mrg (basic_filebuf::seekoff): Use has_facet before use_facet. 5708 1.1 mrg (basic_filebuf::close): Add exception specification of throw(). 5709 1.1 mrg * testsuite/27_io/basic_filebuf/cons: New. 5710 1.1 mrg * testsuite/27_io/basic_filebuf/cons/wchar_t: New. 5711 1.1 mrg * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New. 5712 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New. 5713 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New. 5714 1.1 mrg 5715 1.1 mrg 2003-04-25 Benjamin Kosnik <bkoz (a] redhat.com> 5716 1.1 mrg 5717 1.1 mrg * include/bits/locale_classes.h 5718 1.1 mrg (locale::_S_extra_categories_size): Remove. 5719 1.1 mrg * src/locale.cc: Remove _S_extra_categories_size. 5720 1.1 mrg * src/localename.cc: Same. 5721 1.1 mrg * config/locale/gnu/c_locale.cc: Same. 5722 1.1 mrg * config/locale/generic/c_locale.cc: Same. 5723 1.1 mrg 5724 1.1 mrg 2003-04-24 Richard Sandiford <rsandifo (a] redhat.com> 5725 1.1 mrg 5726 1.1 mrg * src/localename.cc (__gnu_cxx::facet_vec): Correct types. 5727 1.1 mrg 5728 1.1 mrg 2003-04-24 Phil Edwards <pme (a] gcc.gnu.org> 5729 1.1 mrg 5730 1.1 mrg * docs/html/17_intro/howto.html: Update some links. 5731 1.1 mrg * docs/html/18_support/howto.html: Link doxygen numeric_limits notes. 5732 1.1 mrg * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes. 5733 1.1 mrg * docs/html/ext/howto.html: Link to demangler notes and API. 5734 1.1 mrg * docs/html/faq/index.html: Remove trailing whitespace. 5735 1.1 mrg (1.4, 2.4, 3.8, 4.1): Bring up to date. 5736 1.1 mrg (5.6): Change to a bulleted list. 5737 1.1 mrg 5738 1.1 mrg * docs/html/faq/index.txt, docs/html/documentation.html, 5739 1.1 mrg docs/html/17_intro/porting.html: Regenerate. 5740 1.1 mrg 5741 1.1 mrg 2003-04-23 Paolo Carlini <pcarlini (a] unitus.it> 5742 1.1 mrg 5743 1.1 mrg * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now 5744 1.1 mrg belongs to basic_filebuf. 5745 1.1 mrg * testsuite/27_io/basic_fstream/3.cc: Likewise. 5746 1.1 mrg * testsuite/27_io/basic_ifstream/3.cc: Likewise. 5747 1.1 mrg * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size 5748 1.1 mrg instantiation (now belongs to basic_filebuf). 5749 1.1 mrg * testsuite/27_io/basic_iostream/3.cc: Likewise. 5750 1.1 mrg * testsuite/27_io/basic_istream/3.cc: Likewise. 5751 1.1 mrg * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: 5752 1.1 mrg _S_pback_size now belongs to basic_filebuf. 5753 1.1 mrg * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size 5754 1.1 mrg instantiation (now belongs to basic_filebuf). 5755 1.1 mrg * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now 5756 1.1 mrg belongs to basic_filebuf. 5757 1.1 mrg * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size 5758 1.1 mrg instantiation (now belongs to basic_filebuf). 5759 1.1 mrg * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: 5760 1.1 mrg _S_pback_size now belongs to basic_filebuf. 5761 1.1 mrg * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size 5762 1.1 mrg instantiation (now belongs to basic_filebuf). 5763 1.1 mrg * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs 5764 1.1 mrg to basic_filebuf. 5765 1.1 mrg * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size 5766 1.1 mrg instantiation (now belongs to basic_filebuf). 5767 1.1 mrg * testsuite/27_io/basic_stringstream/3.cc: Likewise. 5768 1.1 mrg 5769 1.1 mrg 2003-04-23 Benjamin Kosnik <bkoz (a] redhat.com> 5770 1.1 mrg 5771 1.1 mrg * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions. 5772 1.1 mrg * configure: Regenerated. 5773 1.1 mrg 5774 1.1 mrg 2003-04-23 Benjamin Kosnik <bkoz (a] redhat.com> 5775 1.1 mrg 5776 1.1 mrg * config/locale/generic/c_locale.h (__convert_from_v): Use 5777 1.1 mrg attribute unused. 5778 1.1 mrg 5779 1.1 mrg 2003-04-23 Phil Edwards <pme (a] gcc.gnu.org> 5780 1.1 mrg 5781 1.1 mrg * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial 5782 1.1 mrg implementation only. 5783 1.1 mrg * include/bits/istream.tcc (putback, unget, sync, tellg, seekg): 5784 1.1 mrg Comment and change to comply with DR 60 and the effect on gcount(). 5785 1.1 mrg * include/std/std_istream.h: Update comments. 5786 1.1 mrg * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add 5787 1.1 mrg comments about reasons for tests. Test sync() against gcount(). 5788 1.1 mrg * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test 5789 1.1 mrg for effect on gcount(). 5790 1.1 mrg * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test 5791 1.1 mrg for effect on gcount(). 5792 1.1 mrg 5793 1.1 mrg 2003-04-22 Loren J. Rittle <ljrittle (a] acm.org> 5794 1.1 mrg 5795 1.1 mrg * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07): 5796 1.1 mrg Adjust timing. 5797 1.1 mrg 5798 1.1 mrg 2003-04-22 Paolo Carlini <pcarlini (a] unitus.it> 5799 1.1 mrg 5800 1.1 mrg * include/std/std_streambuf.h (_S_pback_size, _M_pback, 5801 1.1 mrg _M_pback_cur_save, _M_pback_end_save, _M_pback_init, 5802 1.1 mrg _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf. 5803 1.1 mrg (basic_streambuf::basic_streambuf()): Adjust. 5804 1.1 mrg * include/std/std_fstream.h (_S_pback_size, _M_pback, 5805 1.1 mrg _M_pback_cur_save, _M_pback_end_save, _M_pback_init, 5806 1.1 mrg _M_pback_create(), _M_pback_destroy()): Moved here 5807 1.1 mrg from basic_streambuf. 5808 1.1 mrg * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()): 5809 1.1 mrg Adjust. 5810 1.1 mrg (basic_filebuf::_S_pback_size): Add declaration. 5811 1.1 mrg * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size): 5812 1.1 mrg Remove declaration. 5813 1.1 mrg 5814 1.1 mrg 2003-04-21 Paolo Carlini <pcarlini (a] unitus.it> 5815 1.1 mrg 5816 1.1 mrg Consistently use _M_in_beg instead of eback(), _M_in_cur 5817 1.1 mrg instead of gptr(), and so on. 5818 1.1 mrg * include/bits/fstream.tcc (pbackfail, imbue): Here. 5819 1.1 mrg * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto. 5820 1.1 mrg * include/bits/streambuf.tcc (sbumpc, sputbackc, 5821 1.1 mrg __copy_streambufs): Ditto. 5822 1.1 mrg * include/std/std_streambuf.h (sgetc): Ditto. 5823 1.1 mrg 5824 1.1 mrg 2003-04-21 Paolo Carlini <pcarlini (a] unitus.it> 5825 1.1 mrg 5826 1.1 mrg * include/bits/sstream.tcc (pbackfail, overflow): 5827 1.1 mrg Formatting fixes. 5828 1.1 mrg 5829 1.1 mrg 2003-04-21 Paolo Carlini <pcarlini (a] unitus.it> 5830 1.1 mrg 5831 1.1 mrg * include/std/std_streambuf.h (uflow()): It's used only by 5832 1.1 mrg basic_stringbuf (i.e., basic_filebuf provide its own uflow()), 5833 1.1 mrg therefore do not consider the _M_buf_unified == true case. 5834 1.1 mrg 5835 1.1 mrg * include/std/std_streambuf.h (sgetc()): Restore __ret variable. 5836 1.1 mrg 5837 1.1 mrg 2003-04-20 Paolo Carlini <pcarlini (a] unitus.it> 5838 1.1 mrg 5839 1.1 mrg * docs/html/ext/howto.html ('LWG Issues'): 5840 1.1 mrg Add issues 19, 90, 171, 231, 271. 5841 1.1 mrg 5842 1.1 mrg 2003-04-20 Paolo Carlini <pcarlini (a] unitus.it> 5843 1.1 mrg 5844 1.1 mrg * include/bits/sstream.tcc (pbackfail): Remove redundant 5845 1.1 mrg NULL pointer check from test involving _M_in_*. 5846 1.1 mrg (overflow, seekoff, seekpos): Const qualify bool variables. 5847 1.1 mrg * include/std/std_sstream.h (underflow): Remove redundant 5848 1.1 mrg NULL pointer check from test involving _M_in_*. 5849 1.1 mrg (_M_really_sync): Const qualify bool variables. 5850 1.1 mrg * src/fstream.cc (_M_underflow_common): Remove redundant 5851 1.1 mrg NULL pointer check from test involving _M_in_*, const qualify 5852 1.1 mrg bool variables. 5853 1.1 mrg 5854 1.1 mrg * include/std/std_streambuf.h (sgetc): Remove redundant 5855 1.1 mrg variable. 5856 1.1 mrg 5857 1.1 mrg 2003-04-18 Paolo Carlini <pcarlini (a] unitus.it> 5858 1.1 mrg 5859 1.1 mrg According to 5.9 para 2 (second bullet) for pointers p, q 5860 1.1 mrg pointing to the same type, with p == 0 and q == 0, (p < q) 5861 1.1 mrg is false. 5862 1.1 mrg * include/bits/fstream.tcc (close, overflow, _M_really_overflow, 5863 1.1 mrg seekoff): Remove redundant NULL pointer checks from tests 5864 1.1 mrg involving _M_out_* and _M_in_*, const qualify bool variables. 5865 1.1 mrg (showmanyc, pbackfail, _M_convert_to_external, imbue): Const 5866 1.1 mrg qualify bool variables. 5867 1.1 mrg * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc): 5868 1.1 mrg Remove redundant NULL pointer checks from tests involving 5869 1.1 mrg _M_out_* and _M_in_*, const qualify bool variables. 5870 1.1 mrg * include/std/std_fstream.h (sync): Likewise. 5871 1.1 mrg (_M_is_indeterminate): Const qualify bool variables. 5872 1.1 mrg * include/std/std_streambuf.h (sgetc, uflow): Remove redundant 5873 1.1 mrg NULL pointer checks from tests involving _M_out_* and _M_in_*, 5874 1.1 mrg const qualify bool variables. 5875 1.1 mrg (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool 5876 1.1 mrg variables. 5877 1.1 mrg 5878 1.1 mrg 2003-04-18 Loren J. Rittle <ljrittle (a] acm.org> 5879 1.1 mrg 5880 1.1 mrg * include/c_std/std_cmath.h (C99 FP capture): Only undefine said 5881 1.1 mrg C99 FP macros, if actually captured. 5882 1.1 mrg 5883 1.1 mrg * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro. 5884 1.1 mrg (_GLIBCPP_USE_C99_DYNAMIC): New macro. 5885 1.1 mrg (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro. 5886 1.1 mrg (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro. 5887 1.1 mrg * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK): 5888 1.1 mrg New macro. 5889 1.1 mrg (_GLIBCPP_USE_C99_DYNAMIC): New macro. 5890 1.1 mrg (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro. 5891 1.1 mrg (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro. 5892 1.1 mrg * include/c_std/std_cstdlib.h: Use new macros. 5893 1.1 mrg * include/c_std/std_cstdio.h: Use new macros. 5894 1.1 mrg * include/c_std/std_cwchar.h: Use new macros. 5895 1.1 mrg 5896 1.1 mrg 2003-04-17 Benjamin Kosnik <bkoz (a] redhat.com> 5897 1.1 mrg 5898 1.1 mrg PR libstdc++/9555 5899 1.1 mrg * include/bits/ostream.tcc: Catch all exceptions for formatted 5900 1.1 mrg output, instead of std::exception and derivatives. 5901 1.1 mrg * include/bits/istream.tcc: Same. 5902 1.1 mrg * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc: 5903 1.1 mrg * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc: 5904 1.1 mrg * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc: 5905 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc: 5906 1.1 mrg * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc: 5907 1.1 mrg * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc: 5908 1.1 mrg New. 5909 1.1 mrg 5910 1.1 mrg 2003-04-17 Phil Edwards <pme (a] gcc.gnu.org> 5911 1.1 mrg 5912 1.1 mrg * include/bits/c++config: Minor cosmetic tweaks. 5913 1.1 mrg 5914 1.1 mrg 2003-04-17 Loren J. Rittle <ljrittle (a] acm.org> 5915 1.1 mrg 5916 1.1 mrg * testsuite_flags.in (PCHFLAGS): Find PCH in new home. 5917 1.1 mrg * include/Makefile.am (pch_input): Find in ${target_builddir}. 5918 1.1 mrg (pch_output): Rename to... 5919 1.1 mrg (pch_output_builddir): ..this. Find in ${target_builddir}. 5920 1.1 mrg (pch_source): Tweak. 5921 1.1 mrg (pch_build): Key off a built file. 5922 1.1 mrg (pch_output rule): Rename to... 5923 1.1 mrg (pch_input rule): ...this. Produce ${pch_output_builddir} 5924 1.1 mrg instead of ${pch_output}. 5925 1.1 mrg (install-pch rule): Install ${pch_output_builddir}. 5926 1.1 mrg * include/Makefile.in: Regenerated. 5927 1.1 mrg 5928 1.1 mrg 2003-04-17 Paolo Carlini <pcarlini (a] unitus.it> 5929 1.1 mrg 5930 1.1 mrg * include/std/std_streambuf.h (setp): _M_out_lim, being 5931 1.1 mrg the end limit of used put area, is set equal to _M_out_beg. 5932 1.1 mrg 5933 1.1 mrg 2003-04-16 Benjamin Kosnik <bkoz (a] redhat.com> 5934 1.1 mrg 5935 1.1 mrg * acinclude.m4 (GLIBCPP_CHECK_PCH): New. 5936 1.1 mrg * aclocal.m4: Regenerated. 5937 1.1 mrg * configure.in: Remove old demangler bits. 5938 1.1 mrg Call pch checks. 5939 1.1 mrg * configure: Regenerate. 5940 1.1 mrg * config.h.in: Regenerate. 5941 1.1 mrg * include/Makefile.am (allstamps): Now allstamped. 5942 1.1 mrg (allcreated): Define this. 5943 1.1 mrg (all-local): Use 'em. 5944 1.1 mrg Conditionally define pch_build, pch_install based on 5945 1.1 mrg GLIBCPP_BUILD_PCH. 5946 1.1 mrg (${pch_output}): New rule. 5947 1.1 mrg (install-pch): New rule. 5948 1.1 mrg (install-headers): New rule. 5949 1.1 mrg (install-data-local): Install headers and conditionally pch. 5950 1.1 mrg * include/Makefile.in: Regenerate. 5951 1.1 mrg * testsuite_flags.in (--build-cxx): Use pch file. 5952 1.1 mrg 5953 1.1 mrg 2003-04-16 Jonathan Wakely <redi (a] gcc.gnu.org> 5954 1.1 mrg 5955 1.1 mrg * docs/html/ext/sgiexts.html: Fix path to stylesheet. 5956 1.1 mrg 5957 1.1 mrg 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com> 5958 1.1 mrg Paolo Carlini <pcarlini at unitus dot it> 5959 1.1 mrg 5960 1.1 mrg PR libstdc++/9423 5961 1.1 mrg * docs/html/27_io/howto.html 5962 1.1 mrg ('The buffering is screwing up my program!'): Explain that 5963 1.1 mrg opening counts as an I/O operation. 5964 1.1 mrg 5965 1.1 mrg 2003-04-15 Andreas Tobler <a.tobler (a] schweiz.ch> 5966 1.1 mrg 5967 1.1 mrg * testsuite/thread/pthread1.cc: Enable for darwin test. 5968 1.1 mrg * testsuite/thread/pthread2.cc: Same. 5969 1.1 mrg * testsuite/thread/pthread3.cc: Same. 5970 1.1 mrg * testsuite/thread/pthread4.cc: Same. 5971 1.1 mrg * testsuite/thread/pthread5.cc: Same. 5972 1.1 mrg * testsuite/thread/pthread6.cc: Same. 5973 1.1 mrg 5974 1.1 mrg 2003-04-15 Loren J. Rittle <ljrittle (a] acm.org> 5975 1.1 mrg 5976 1.1 mrg libstdc++/7680 5977 1.1 mrg * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace. 5978 1.1 mrg Populate it with multiple legal ways to obtain the C99 float 5979 1.1 mrg transcendentals. Use them instead of direct global reference. 5980 1.1 mrg (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC. 5981 1.1 mrg * docs/html/17_intro/porting.texi 5982 1.1 mrg (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro. 5983 1.1 mrg (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro. 5984 1.1 mrg (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro. 5985 1.1 mrg * config/os/bsd/freebsd/os_defines.h 5986 1.1 mrg (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro. 5987 1.1 mrg (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro. 5988 1.1 mrg * testsuite/26_numerics/c_math_dynamic.cc: New file. 5989 1.1 mrg 5990 1.1 mrg 2003-04-14 Andreas Tobler <toa (a] pop.agri.ch> 5991 1.1 mrg Benjamin Kosnik <bkoz (a] redhat.com> 5992 1.1 mrg 5993 1.1 mrg * config/os/generic/ctype_inline.h: Fix. 5994 1.1 mrg 5995 1.1 mrg 2003-04-14 Benjamin Kosnik <bkoz (a] redhat.com> 5996 1.1 mrg 5997 1.1 mrg * testsuite/testsuite_hooks.h 5998 1.1 mrg (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher): 5999 1.1 mrg Change to try_named_locale. 6000 1.1 mrg * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same. 6001 1.1 mrg 6002 1.1 mrg * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use 6003 1.1 mrg try_named_locale. 6004 1.1 mrg * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same. 6005 1.1 mrg * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same. 6006 1.1 mrg * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same. 6007 1.1 mrg * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same. 6008 1.1 mrg * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same. 6009 1.1 mrg * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same. 6010 1.1 mrg * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same. 6011 1.1 mrg * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same. 6012 1.1 mrg * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same. 6013 1.1 mrg * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same. 6014 1.1 mrg * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same. 6015 1.1 mrg * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same. 6016 1.1 mrg * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same. 6017 1.1 mrg * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same. 6018 1.1 mrg * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same. 6019 1.1 mrg * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same. 6020 1.1 mrg * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same. 6021 1.1 mrg * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same. 6022 1.1 mrg * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same. 6023 1.1 mrg * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same. 6024 1.1 mrg * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same. 6025 1.1 mrg * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same. 6026 1.1 mrg * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same. 6027 1.1 mrg * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same. 6028 1.1 mrg * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same. 6029 1.1 mrg * testsuite/22_locale/collate/compare/char/1.cc: Same. 6030 1.1 mrg * testsuite/22_locale/collate/compare/char/2.cc: Same. 6031 1.1 mrg * testsuite/22_locale/collate/compare/char/3.cc: Same. 6032 1.1 mrg * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same. 6033 1.1 mrg * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same. 6034 1.1 mrg * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same. 6035 1.1 mrg * testsuite/22_locale/collate/hash/char/2.cc: Same. 6036 1.1 mrg * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same. 6037 1.1 mrg * testsuite/22_locale/collate/transform/char/2.cc: Same. 6038 1.1 mrg * testsuite/22_locale/collate/transform/char/3.cc: Same. 6039 1.1 mrg * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same. 6040 1.1 mrg * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same. 6041 1.1 mrg * testsuite/22_locale/collate_byname/1.cc: Same. 6042 1.1 mrg * testsuite/22_locale/ctype/is/char/2.cc: Same. 6043 1.1 mrg * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same. 6044 1.1 mrg * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same. 6045 1.1 mrg * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same. 6046 1.1 mrg * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same. 6047 1.1 mrg * testsuite/22_locale/facet/2.cc: Same. 6048 1.1 mrg * testsuite/22_locale/locale/cons/2.cc: Same. 6049 1.1 mrg * testsuite/22_locale/locale/cons/4.cc: Same. 6050 1.1 mrg * testsuite/22_locale/locale/cons/5.cc: Same. 6051 1.1 mrg * testsuite/22_locale/locale/cons/7.cc: Same. 6052 1.1 mrg * testsuite/22_locale/locale/cons/7222-c.cc: Same. 6053 1.1 mrg * testsuite/22_locale/locale/cons/7222-env.cc: Same. 6054 1.1 mrg * testsuite/22_locale/locale/global_locale_objects/2.cc: Same. 6055 1.1 mrg * testsuite/22_locale/messages/members/char/1.cc: Same. 6056 1.1 mrg * testsuite/22_locale/messages/members/char/2.cc: Same. 6057 1.1 mrg * testsuite/22_locale/messages/members/char/3.cc: Same. 6058 1.1 mrg * testsuite/22_locale/messages_byname/1.cc: Same. 6059 1.1 mrg * testsuite/22_locale/money_get/get/char/1.cc: Same. 6060 1.1 mrg * testsuite/22_locale/money_get/get/char/2.cc: Same. 6061 1.1 mrg * testsuite/22_locale/money_get/get/char/3.cc: Same. 6062 1.1 mrg * testsuite/22_locale/money_get/get/char/4.cc: Same. 6063 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same. 6064 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same. 6065 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same. 6066 1.1 mrg * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same. 6067 1.1 mrg * testsuite/22_locale/money_put/put/char/1.cc: Same. 6068 1.1 mrg * testsuite/22_locale/money_put/put/char/2.cc: Same. 6069 1.1 mrg * testsuite/22_locale/money_put/put/char/3.cc: Same. 6070 1.1 mrg * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same. 6071 1.1 mrg * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same. 6072 1.1 mrg * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same. 6073 1.1 mrg * testsuite/22_locale/moneypunct/members/char/2.cc: Same. 6074 1.1 mrg * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same. 6075 1.1 mrg * testsuite/22_locale/moneypunct_byname/1.cc: Same. 6076 1.1 mrg * testsuite/22_locale/num_get/get/char/1.cc: Same. 6077 1.1 mrg * testsuite/22_locale/num_get/get/char/2.cc: Same. 6078 1.1 mrg * testsuite/22_locale/num_get/get/char/3.cc: Same. 6079 1.1 mrg * testsuite/22_locale/num_get/get/char/5.cc: Same. 6080 1.1 mrg * testsuite/22_locale/num_get/get/char/6.cc: Same. 6081 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same. 6082 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same. 6083 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same. 6084 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same. 6085 1.1 mrg * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same. 6086 1.1 mrg * testsuite/22_locale/num_put/put/char/1.cc: Same. 6087 1.1 mrg * testsuite/22_locale/num_put/put/char/2.cc: Same. 6088 1.1 mrg * testsuite/22_locale/num_put/put/char/3.cc: Same. 6089 1.1 mrg * testsuite/22_locale/num_put/put/char/5.cc: Same. 6090 1.1 mrg * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same. 6091 1.1 mrg * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same. 6092 1.1 mrg * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same. 6093 1.1 mrg * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same. 6094 1.1 mrg * testsuite/22_locale/numpunct/members/char/1.cc: Same. 6095 1.1 mrg * testsuite/22_locale/numpunct/members/char/2.cc: Same. 6096 1.1 mrg * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same. 6097 1.1 mrg * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same. 6098 1.1 mrg * testsuite/22_locale/numpunct_byname/1.cc: Same. 6099 1.1 mrg * testsuite/22_locale/numpunct_byname/2.cc: Same. 6100 1.1 mrg * testsuite/22_locale/time_get/date_order/char/1.cc: Same. 6101 1.1 mrg * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same. 6102 1.1 mrg * testsuite/22_locale/time_get/get_date/char/1.cc: Same. 6103 1.1 mrg * testsuite/22_locale/time_get/get_date/char/2.cc: Same. 6104 1.1 mrg * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same. 6105 1.1 mrg * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same. 6106 1.1 mrg * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same. 6107 1.1 mrg * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same. 6108 1.1 mrg * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same. 6109 1.1 mrg * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same. 6110 1.1 mrg * testsuite/22_locale/time_get/get_time/char/1.cc: Same. 6111 1.1 mrg * testsuite/22_locale/time_get/get_time/char/2.cc: Same. 6112 1.1 mrg * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same. 6113 1.1 mrg * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same. 6114 1.1 mrg * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same. 6115 1.1 mrg * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same. 6116 1.1 mrg * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same. 6117 1.1 mrg * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same. 6118 1.1 mrg * testsuite/22_locale/time_get/get_year/char/1.cc: Same. 6119 1.1 mrg * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same. 6120 1.1 mrg * testsuite/22_locale/time_put/put/char/1.cc: Same. 6121 1.1 mrg * testsuite/22_locale/time_put/put/char/2.cc: Same. 6122 1.1 mrg * testsuite/22_locale/time_put/put/char/3.cc: Same. 6123 1.1 mrg * testsuite/22_locale/time_put/put/char/4.cc: Same. 6124 1.1 mrg * testsuite/22_locale/time_put/put/char/5.cc: Same. 6125 1.1 mrg * testsuite/22_locale/time_put/put/char/6.cc: Same. 6126 1.1 mrg * testsuite/22_locale/time_put/put/char/7.cc: Same. 6127 1.1 mrg * testsuite/22_locale/time_put/put/char/8.cc: Same. 6128 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same. 6129 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same. 6130 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same. 6131 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same. 6132 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same. 6133 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same. 6134 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same. 6135 1.1 mrg * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same. 6136 1.1 mrg * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same. 6137 1.1 mrg * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same. 6138 1.1 mrg * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same. 6139 1.1 mrg * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same. 6140 1.1 mrg * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same. 6141 1.1 mrg 6142 1.1 mrg 2003-04-14 Andreas Tobler <toa (a] pop.agri.ch> 6143 1.1 mrg 6144 1.1 mrg * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses 6145 1.1 mrg solaris includes, not generic. 6146 1.1 mrg 6147 1.1 mrg 2003-04-14 Loren J. Rittle <ljrittle (a] acm.org> 6148 1.1 mrg 6149 1.1 mrg * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL. 6150 1.1 mrg 6151 1.1 mrg * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit. 6152 1.1 mrg * include/bits/concept_check.h: Fix multi-line comment. 6153 1.1 mrg * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header 6154 1.1 mrg when target is *-*-freebsd*. 6155 1.1 mrg 6156 1.1 mrg 2003-04-14 Nathan Myers <ncm (a] cantrip.org> 6157 1.1 mrg Paolo Carlini <pcarlini (a] unitus.it> 6158 1.1 mrg 6159 1.1 mrg PR libstdc++/9701 (in_avail()) 6160 1.1 mrg * include/std/std_streambuf.h (in_avail): Simplify, in_avail 6161 1.1 mrg doesn't care if there is anything in some putback cell. 6162 1.1 mrg * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add. 6163 1.1 mrg 6164 1.1 mrg * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some 6165 1.1 mrg unused string literals. 6166 1.1 mrg 6167 1.1 mrg 2003-04-14 Paolo Carlini <pcarlini (a] unitus.it> 6168 1.1 mrg 6169 1.1 mrg * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set 6170 1.1 mrg _M_out_end, _M_set_indeterminate() does it. 6171 1.1 mrg 6172 1.1 mrg 2003-04-12 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca> 6173 1.1 mrg 6174 1.1 mrg * os/hpux/ctype_inline.h: Replace with gnu-linux version. 6175 1.1 mrg 6176 1.1 mrg 2003-04-12 David Edelsohn <edelsohn (a] gnu.org> 6177 1.1 mrg 6178 1.1 mrg * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: 6179 1.1 mrg Change basic_streambuf instantiation to "unsigned char". 6180 1.1 mrg * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same. 6181 1.1 mrg 6182 1.1 mrg 2003-04-12 Paolo Carlini <pcarlini (a] unitus.it> 6183 1.1 mrg 6184 1.1 mrg Remove _M_buf_size_opt, use directly _M_buf_size instead. 6185 1.1 mrg * include/bits/fstream.tcc 6186 1.1 mrg (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove 6187 1.1 mrg references to _M_buf_size_opt. 6188 1.1 mrg * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise. 6189 1.1 mrg * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename 6190 1.1 mrg __bufsize to __in_avail and __size_opt to __buf_size. 6191 1.1 mrg * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise. 6192 1.1 mrg * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise. 6193 1.1 mrg * include/std/std_streambuf.h (~basic_streambuf(), 6194 1.1 mrg basic_streambuf()): Likewise, remove _M_buf_size_opt member. 6195 1.1 mrg * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size. 6196 1.1 mrg * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise. 6197 1.1 mrg * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise. 6198 1.1 mrg * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise. 6199 1.1 mrg * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise. 6200 1.1 mrg * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise. 6201 1.1 mrg * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise. 6202 1.1 mrg * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise. 6203 1.1 mrg * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise. 6204 1.1 mrg * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise. 6205 1.1 mrg * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise. 6206 1.1 mrg * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise. 6207 1.1 mrg 6208 1.1 mrg 2003-04-12 Paolo Carlini <pcarlini at unitus dot it> 6209 1.1 mrg 6210 1.1 mrg * include/ext/stdio_filebuf.h 6211 1.1 mrg (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t), 6212 1.1 mrg stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t): 6213 1.1 mrg _M_buf_size_opt == 0 only means "not to use an allocated buffer" 6214 1.1 mrg since a stack-based buffer is used for small values of the size_t 6215 1.1 mrg parameter. 6216 1.1 mrg * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow). 6217 1.1 mrg If _M_buf_size != 0 flush out the buffer (any kind, stack-based too). 6218 1.1 mrg * testsuite/ext/stdio_filebuf_2.cc: New testfile. 6219 1.1 mrg 6220 1.1 mrg 2003-04-12 Paolo Carlini <pcarlini (a] unitus.it> 6221 1.1 mrg 6222 1.1 mrg PR libstdc++/9533 6223 1.1 mrg * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New. 6224 1.1 mrg * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto. 6225 1.1 mrg 6226 1.1 mrg 2003-04-11 Benjamin Kosnik <bkoz (a] redhat.com> 6227 1.1 mrg 6228 1.1 mrg * testsuite/22_locale/locale/cons/3.cc: Split. 6229 1.1 mrg * testsuite/22_locale/locale/cons/7222-c.cc: New. 6230 1.1 mrg * testsuite/22_locale/locale/cons/7222-env.cc: New. 6231 1.1 mrg Check before trying to create a locale from the environment. 6232 1.1 mrg * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale. 6233 1.1 mrg * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc: 6234 1.1 mrg Adjust includes. 6235 1.1 mrg 6236 1.1 mrg 2003-04-11 Benjamin Kosnik <bkoz (a] redhat.com> 6237 1.1 mrg 6238 1.1 mrg * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic 6239 1.1 mrg locale to construct this hybrid locale, not the global locale. 6240 1.1 mrg 6241 1.1 mrg 2003-04-11 Benjamin Kosnik <bkoz (a] redhat.com> 6242 1.1 mrg 6243 1.1 mrg * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add 6244 1.1 mrg instantiation for AIX. 6245 1.1 mrg * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same. 6246 1.1 mrg * testsuite/25_algorithms/min_max.cc: Same. 6247 1.1 mrg 6248 1.1 mrg 2003-04-10 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca> 6249 1.1 mrg 6250 1.1 mrg * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream 6251 1.1 mrg twice. Always set _M_cfile to 0 when stream was open. 6252 1.1 mrg 6253 1.1 mrg 2003-04-09 Benjamin Kosnik <bkoz (a] redhat.com> 6254 1.1 mrg 6255 1.1 mrg Reshuffle 27_io testsuite. 6256 1.1 mrg * testsuite/27_io/filebuf.cc, 6257 1.1 mrg filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc, 6258 1.1 mrg filebuf_virtuals-1.tst, filebuf_virtuals-1.txt, 6259 1.1 mrg filebuf_virtuals-2.tst, filebuf_virtuals-3.tst, 6260 1.1 mrg filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc, 6261 1.1 mrg ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt, 6262 1.1 mrg ifstream_members.cc, instantiations.cc, ios.cc, 6263 1.1 mrg ios_base_callbacks.cc, ios_base_members_static-1.tst, 6264 1.1 mrg ios_base_members_static.cc, ios_base_storage.cc, 6265 1.1 mrg ios_base_types.cc, ios_ctor.cc, ios_init.cc, 6266 1.1 mrg ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc, 6267 1.1 mrg iostream.cc, iostream_members.cc, istream.cc, 6268 1.1 mrg istream_exception.cc, istream_extractor_char.cc, 6269 1.1 mrg istream_extractor_other-1.tst, istream_extractor_other-1.txt, 6270 1.1 mrg istream_extractor_other-2.tst, istream_extractor_other.cc, 6271 1.1 mrg istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt, 6272 1.1 mrg istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc, 6273 1.1 mrg istream_sentry.cc, istream_unformatted-1.tst, 6274 1.1 mrg istream_unformatted-1.txt, istream_unformatted.cc, 6275 1.1 mrg istringstream.cc, istringstream_members.cc, 6276 1.1 mrg narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst, 6277 1.1 mrg ofstream_members.cc, ostream.cc, ostream_exception.cc, 6278 1.1 mrg ostream_fail.cc, ostream_inserter_arith.cc, 6279 1.1 mrg ostream_inserter_char-1.tst, ostream_inserter_char-1.txt, 6280 1.1 mrg ostream_inserter_char.cc, ostream_inserter_other-1.tst, 6281 1.1 mrg ostream_inserter_other-2.tst, ostream_inserter_other.cc, 6282 1.1 mrg ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc, 6283 1.1 mrg ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc, 6284 1.1 mrg ostringstream_members.cc, standard_manipulators.cc, streambuf.cc, 6285 1.1 mrg streambuf_members.cc, stringbuf.cc, stringbuf_members.cc, 6286 1.1 mrg stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc, 6287 1.1 mrg wide_stream_objects.cc, istream_extractor_arith/01.cc, 6288 1.1 mrg istream_extractor_arith/02.cc, istream_extractor_arith/03.cc, 6289 1.1 mrg istream_extractor_arith/06.cc, istream_extractor_arith/07.cc, 6290 1.1 mrg istream_extractor_arith/08.cc, istream_extractor_arith/09.cc, 6291 1.1 mrg istream_extractor_arith/10.cc, istream_extractor_arith/11.cc, 6292 1.1 mrg istream_extractor_arith/12.cc, istream_extractor_arith/13.cc: 6293 1.1 mrg Split into... 6294 1.1 mrg * 27_io/basic_filebuf/1.cc: New. 6295 1.1 mrg * 27_io/basic_filebuf/2.cc: New. 6296 1.1 mrg * 27_io/basic_filebuf/3.cc: New. 6297 1.1 mrg * 27_io/basic_filebuf/4.cc: New. 6298 1.1 mrg * 27_io/basic_filebuf/close/char/1.cc: New. 6299 1.1 mrg * 27_io/basic_filebuf/close/char/2.cc: New. 6300 1.1 mrg * 27_io/basic_filebuf/close/char/3.cc: New. 6301 1.1 mrg * 27_io/basic_filebuf/close/char/4879.cc: New. 6302 1.1 mrg * 27_io/basic_filebuf/close/char/9964.cc: New. 6303 1.1 mrg * 27_io/basic_filebuf/imbue/char/1.cc: New. 6304 1.1 mrg * 27_io/basic_filebuf/imbue/char/9322.cc: New. 6305 1.1 mrg * 27_io/basic_filebuf/in_avail/char/1.cc: New. 6306 1.1 mrg * 27_io/basic_filebuf/is_open/char/1.cc: New. 6307 1.1 mrg * 27_io/basic_filebuf/open/char/1.cc: New. 6308 1.1 mrg * 27_io/basic_filebuf/open/char/2.cc: New. 6309 1.1 mrg * 27_io/basic_filebuf/open/char/3.cc: New. 6310 1.1 mrg * 27_io/basic_filebuf/open/char/9507.cc: New. 6311 1.1 mrg * 27_io/basic_filebuf/overflow/char/1.cc: New. 6312 1.1 mrg * 27_io/basic_filebuf/overflow/char/3599.cc: New. 6313 1.1 mrg * 27_io/basic_filebuf/overflow/char/9169.cc: New. 6314 1.1 mrg * 27_io/basic_filebuf/overflow/char/9182-2.cc: New. 6315 1.1 mrg * 27_io/basic_filebuf/overflow/char/9988.cc: New. 6316 1.1 mrg * 27_io/basic_filebuf/sbumpc/char/1.cc: New. 6317 1.1 mrg * 27_io/basic_filebuf/sbumpc/char/9825.cc: New. 6318 1.1 mrg * 27_io/basic_filebuf/seekoff/char/1.cc: New. 6319 1.1 mrg * 27_io/basic_filebuf/seekoff/char/2.cc: New. 6320 1.1 mrg * 27_io/basic_filebuf/seekpos/char/1.cc: New. 6321 1.1 mrg * 27_io/basic_filebuf/seekpos/char/2.cc: New. 6322 1.1 mrg * 27_io/basic_filebuf/setbuf/char/1.cc: New. 6323 1.1 mrg * 27_io/basic_filebuf/setbuf/char/2.cc: New. 6324 1.1 mrg * 27_io/basic_filebuf/setbuf/char/3.cc: New. 6325 1.1 mrg * 27_io/basic_filebuf/sgetc/char/1.cc: New. 6326 1.1 mrg * 27_io/basic_filebuf/sgetn/char/1.cc: New. 6327 1.1 mrg * 27_io/basic_filebuf/sgetn/char/2.cc: New. 6328 1.1 mrg * 27_io/basic_filebuf/snextc/char/1.cc: New. 6329 1.1 mrg * 27_io/basic_filebuf/sputbackc/char/1.cc: New. 6330 1.1 mrg * 27_io/basic_filebuf/sputbackc/char/9425.cc: New. 6331 1.1 mrg * 27_io/basic_filebuf/sputc/char/1.cc: New. 6332 1.1 mrg * 27_io/basic_filebuf/sputc/char/1057.cc: New. 6333 1.1 mrg * 27_io/basic_filebuf/sputc/char/9701-2.cc: New. 6334 1.1 mrg * 27_io/basic_filebuf/sputn/char/1.cc: New. 6335 1.1 mrg * 27_io/basic_filebuf/sputn/char/1057.cc: New. 6336 1.1 mrg * 27_io/basic_filebuf/sputn/char/9701-1.cc: New. 6337 1.1 mrg * 27_io/basic_filebuf/sungetc/char/1.cc: New. 6338 1.1 mrg * 27_io/basic_filebuf/sync/char/1057.cc: New. 6339 1.1 mrg * 27_io/basic_filebuf/sync/char/9182-1.cc: New. 6340 1.1 mrg * 27_io/basic_filebuf/underflow/char/10097.cc: New. 6341 1.1 mrg * 27_io/basic_fstream/1.cc: New. 6342 1.1 mrg * 27_io/basic_fstream/2.cc: New. 6343 1.1 mrg * 27_io/basic_fstream/3.cc: New. 6344 1.1 mrg * 27_io/basic_fstream/4.cc: New. 6345 1.1 mrg * 27_io/basic_fstream/rdbuf/char/2832.cc: New. 6346 1.1 mrg * 27_io/basic_ifstream/1.cc: New. 6347 1.1 mrg * 27_io/basic_ifstream/2.cc: New. 6348 1.1 mrg * 27_io/basic_ifstream/3.cc: New. 6349 1.1 mrg * 27_io/basic_ifstream/4.cc: New. 6350 1.1 mrg * 27_io/basic_ifstream/cons/char/1.cc: New. 6351 1.1 mrg * 27_io/basic_ifstream/open/char/1.cc: New. 6352 1.1 mrg * 27_io/basic_ifstream/rdbuf/char/2832.cc: New. 6353 1.1 mrg * 27_io/basic_ios/1.cc: New. 6354 1.1 mrg * 27_io/basic_ios/2.cc: New. 6355 1.1 mrg * 27_io/basic_ios/3.cc: New. 6356 1.1 mrg * 27_io/basic_ios/4.cc: New. 6357 1.1 mrg * 27_io/basic_ios/clear/char/1.cc: New. 6358 1.1 mrg * 27_io/basic_ios/cons/char/1.cc: New. 6359 1.1 mrg * 27_io/basic_ios/cons/char/2.cc: New. 6360 1.1 mrg * 27_io/basic_ios/cons/char/3.cc: New. 6361 1.1 mrg * 27_io/basic_ios/copyfmt/char/1.cc: New. 6362 1.1 mrg * 27_io/basic_ios/copyfmt/char/2.cc: New. 6363 1.1 mrg * 27_io/basic_ios/exceptions/char/1.cc: New. 6364 1.1 mrg * 27_io/basic_ios/locales/char/1.cc: New. 6365 1.1 mrg * 27_io/basic_iostream/1.cc: New. 6366 1.1 mrg * 27_io/basic_iostream/2.cc: New. 6367 1.1 mrg * 27_io/basic_iostream/3.cc: New. 6368 1.1 mrg * 27_io/basic_iostream/4.cc: New. 6369 1.1 mrg * 27_io/basic_istream/1.cc: New. 6370 1.1 mrg * 27_io/basic_istream/2.cc: New. 6371 1.1 mrg * 27_io/basic_istream/3.cc: New. 6372 1.1 mrg * 27_io/basic_istream/4.cc: New. 6373 1.1 mrg * 27_io/basic_istream/exceptions/char/9561.cc: New. 6374 1.1 mrg * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New. 6375 1.1 mrg * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New. 6376 1.1 mrg * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New. 6377 1.1 mrg * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New. 6378 1.1 mrg * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New. 6379 1.1 mrg * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New. 6380 1.1 mrg * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New. 6381 1.1 mrg * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New. 6382 1.1 mrg * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New. 6383 1.1 mrg * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New. 6384 1.1 mrg * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New. 6385 1.1 mrg * 27_io/basic_istream/extractors_character/char/1.cc: New. 6386 1.1 mrg * 27_io/basic_istream/extractors_character/char/2.cc: New. 6387 1.1 mrg * 27_io/basic_istream/extractors_character/char/3.cc: New. 6388 1.1 mrg * 27_io/basic_istream/extractors_character/char/9826.cc: New. 6389 1.1 mrg * 27_io/basic_istream/extractors_other/char/1.cc: New. 6390 1.1 mrg * 27_io/basic_istream/extractors_other/char/2.cc: New. 6391 1.1 mrg * 27_io/basic_istream/extractors_other/char/3.cc: New. 6392 1.1 mrg * 27_io/basic_istream/extractors_other/char/9318-in.cc: New. 6393 1.1 mrg * 27_io/basic_istream/extractors_other/char/9424-in.cc: New. 6394 1.1 mrg * 27_io/basic_istream/get/char/1.cc: New. 6395 1.1 mrg * 27_io/basic_istream/get/char/2.cc: New. 6396 1.1 mrg * 27_io/basic_istream/getline/char/1.cc: New. 6397 1.1 mrg * 27_io/basic_istream/getline/char/2.cc: New. 6398 1.1 mrg * 27_io/basic_istream/getline/char/3.cc: New. 6399 1.1 mrg * 27_io/basic_istream/ignore/char/1.cc: New. 6400 1.1 mrg * 27_io/basic_istream/ignore/char/6360.cc: New. 6401 1.1 mrg * 27_io/basic_istream/ignore/char/7220.cc: New. 6402 1.1 mrg * 27_io/basic_istream/peek/char/1.cc: New. 6403 1.1 mrg * 27_io/basic_istream/peek/char/6414.cc: New. 6404 1.1 mrg * 27_io/basic_istream/putback/char/1.cc: New. 6405 1.1 mrg * 27_io/basic_istream/read/char/1.cc: New. 6406 1.1 mrg * 27_io/basic_istream/read/char/2.cc: New. 6407 1.1 mrg * 27_io/basic_istream/read/char/3.cc: New. 6408 1.1 mrg * 27_io/basic_istream/readsome/char/6746-1.cc: New. 6409 1.1 mrg * 27_io/basic_istream/readsome/char/6746-2.cc: New. 6410 1.1 mrg * 27_io/basic_istream/readsome/char/8258.cc: New. 6411 1.1 mrg * 27_io/basic_istream/seekg/char/2346-fstream.cc: New. 6412 1.1 mrg * 27_io/basic_istream/seekg/char/2346-sstream.cc: New. 6413 1.1 mrg * 27_io/basic_istream/seekg/char/8348-1.cc: New. 6414 1.1 mrg * 27_io/basic_istream/seekg/char/8348-2.cc: New. 6415 1.1 mrg * 27_io/basic_istream/seekg/char/fstream.cc: New. 6416 1.1 mrg * 27_io/basic_istream/seekg/char/sstream.cc: New. 6417 1.1 mrg * 27_io/basic_istream/sentry/char/1.cc: New. 6418 1.1 mrg * 27_io/basic_istream/sentry/char/2.cc: New. 6419 1.1 mrg * 27_io/basic_istream/sentry/char/3.cc: New. 6420 1.1 mrg * 27_io/basic_istream/sentry/char/3983-fstream.cc: New. 6421 1.1 mrg * 27_io/basic_istream/sentry/char/3983-sstream.cc: New. 6422 1.1 mrg * 27_io/basic_istream/tellg/char/1.cc: New. 6423 1.1 mrg * 27_io/basic_istream/tellg/char/8348.cc: New. 6424 1.1 mrg * 27_io/basic_istream/tellg/char/fstream.cc: New. 6425 1.1 mrg * 27_io/basic_istream/tellg/char/sstream.cc: New. 6426 1.1 mrg * 27_io/basic_istream/ws/char/1.cc: New. 6427 1.1 mrg * 27_io/basic_istringstream/1.cc: New. 6428 1.1 mrg * 27_io/basic_istringstream/2.cc: New. 6429 1.1 mrg * 27_io/basic_istringstream/3.cc: New. 6430 1.1 mrg * 27_io/basic_istringstream/4.cc: New. 6431 1.1 mrg * 27_io/basic_istringstream/rdbuf/char/2832.cc: New. 6432 1.1 mrg * 27_io/basic_istringstream/str/char/1.cc: New. 6433 1.1 mrg * 27_io/basic_ofstream/1.cc: New. 6434 1.1 mrg * 27_io/basic_ofstream/2.cc: New. 6435 1.1 mrg * 27_io/basic_ofstream/3.cc: New. 6436 1.1 mrg * 27_io/basic_ofstream/4.cc: New. 6437 1.1 mrg * 27_io/basic_ofstream/cons/char/2.cc: New. 6438 1.1 mrg * 27_io/basic_ofstream/open/char/1.cc: New. 6439 1.1 mrg * 27_io/basic_ofstream/rdbuf/char/2832.cc: New. 6440 1.1 mrg * 27_io/basic_ostream/1.cc: New. 6441 1.1 mrg * 27_io/basic_ostream/2.cc: New. 6442 1.1 mrg * 27_io/basic_ostream/3.cc: New. 6443 1.1 mrg * 27_io/basic_ostream/4.cc: New. 6444 1.1 mrg * 27_io/basic_ostream/cons/char/9827.cc: New. 6445 1.1 mrg * 27_io/basic_ostream/endl/char/1.cc: New. 6446 1.1 mrg * 27_io/basic_ostream/ends/char/1.cc: New. 6447 1.1 mrg * 27_io/basic_ostream/ends/char/2.cc: New. 6448 1.1 mrg * 27_io/basic_ostream/exceptions/char/9561.cc: New. 6449 1.1 mrg * 27_io/basic_ostream/flush/char/1.cc: New. 6450 1.1 mrg * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New. 6451 1.1 mrg * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New. 6452 1.1 mrg * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New. 6453 1.1 mrg * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New. 6454 1.1 mrg * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New. 6455 1.1 mrg * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New. 6456 1.1 mrg * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New. 6457 1.1 mrg * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New. 6458 1.1 mrg * 27_io/basic_ostream/inserters_character/char/1.cc: New. 6459 1.1 mrg * 27_io/basic_ostream/inserters_character/char/2.cc: New. 6460 1.1 mrg * 27_io/basic_ostream/inserters_character/char/3.cc: New. 6461 1.1 mrg * 27_io/basic_ostream/inserters_character/char/4.cc: New. 6462 1.1 mrg * 27_io/basic_ostream/inserters_character/char/5.cc: New. 6463 1.1 mrg * 27_io/basic_ostream/inserters_character/char/6.cc: New. 6464 1.1 mrg * 27_io/basic_ostream/inserters_character/char/8.cc: New. 6465 1.1 mrg * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New. 6466 1.1 mrg * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New. 6467 1.1 mrg * 27_io/basic_ostream/inserters_other/char/1.cc: New. 6468 1.1 mrg * 27_io/basic_ostream/inserters_other/char/2.cc: New. 6469 1.1 mrg * 27_io/basic_ostream/inserters_other/char/3.cc: New. 6470 1.1 mrg * 27_io/basic_ostream/inserters_other/char/4.cc: New. 6471 1.1 mrg * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New. 6472 1.1 mrg * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New. 6473 1.1 mrg * 27_io/basic_ostream/sentry/char/1.cc: New. 6474 1.1 mrg * 27_io/basic_ostream/sentry/char/2.cc: New. 6475 1.1 mrg * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New. 6476 1.1 mrg * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New. 6477 1.1 mrg * 27_io/basic_ostream/tellp/char/1.cc: New. 6478 1.1 mrg * 27_io/basic_ostream/tellp/char/2.cc: New. 6479 1.1 mrg * 27_io/basic_ostringstream/1.cc: New. 6480 1.1 mrg * 27_io/basic_ostringstream/2.cc: New. 6481 1.1 mrg * 27_io/basic_ostringstream/3.cc: New. 6482 1.1 mrg * 27_io/basic_ostringstream/4.cc: New. 6483 1.1 mrg * 27_io/basic_ostringstream/cons/char/3.cc: New. 6484 1.1 mrg * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New. 6485 1.1 mrg * 27_io/basic_ostringstream/str/char/1.cc: New. 6486 1.1 mrg * 27_io/basic_ostringstream/str/char/2.cc: New. 6487 1.1 mrg * 27_io/basic_streambuf/1.cc: New. 6488 1.1 mrg * 27_io/basic_streambuf/2.cc: New. 6489 1.1 mrg * 27_io/basic_streambuf/3.cc: New. 6490 1.1 mrg * 27_io/basic_streambuf/cons/char/1.cc: New. 6491 1.1 mrg * 27_io/basic_streambuf/imbue/char/1.cc: New. 6492 1.1 mrg * 27_io/basic_streambuf/imbue/char/9322.cc: New. 6493 1.1 mrg * 27_io/basic_streambuf/overflow/char/1.cc: New. 6494 1.1 mrg * 27_io/basic_streambuf/overflow/char/2.cc: New. 6495 1.1 mrg * 27_io/basic_streambuf/overflow/char/3599.cc: New. 6496 1.1 mrg * 27_io/basic_streambuf/sgetc/char/1.cc: New. 6497 1.1 mrg * 27_io/basic_streambuf/sgetn/char/1.cc: New. 6498 1.1 mrg * 27_io/basic_streambuf/sputbackc/char/9538.cc: New. 6499 1.1 mrg * 27_io/basic_streambuf/sputc/char/1057.cc: New. 6500 1.1 mrg * 27_io/basic_streambuf/sputn/char/1.cc: New. 6501 1.1 mrg * 27_io/basic_streambuf/sputn/char/1057.cc: New. 6502 1.1 mrg * 27_io/basic_streambuf/sync/char/1057.cc: New. 6503 1.1 mrg * 27_io/basic_stringbuf/1.cc: New. 6504 1.1 mrg * 27_io/basic_stringbuf/2.cc: New. 6505 1.1 mrg * 27_io/basic_stringbuf/3.cc: New. 6506 1.1 mrg * 27_io/basic_stringbuf/4.cc: New. 6507 1.1 mrg * 27_io/basic_stringbuf/5.cc: New. 6508 1.1 mrg * 27_io/basic_stringbuf/imbue/char/1.cc: New. 6509 1.1 mrg * 27_io/basic_stringbuf/imbue/char/9322.cc: New. 6510 1.1 mrg * 27_io/basic_stringbuf/in_avail/char/1.cc: New. 6511 1.1 mrg * 27_io/basic_stringbuf/overflow/char/2.cc: New. 6512 1.1 mrg * 27_io/basic_stringbuf/overflow/char/3599.cc: New. 6513 1.1 mrg * 27_io/basic_stringbuf/overflow/char/9988.cc: New. 6514 1.1 mrg * 27_io/basic_stringbuf/sbumpc/char/1.cc: New. 6515 1.1 mrg * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New. 6516 1.1 mrg * 27_io/basic_stringbuf/seekoff/char/1.cc: New. 6517 1.1 mrg * 27_io/basic_stringbuf/seekoff/char/2.cc: New. 6518 1.1 mrg * 27_io/basic_stringbuf/seekpos/char/1.cc: New. 6519 1.1 mrg * 27_io/basic_stringbuf/seekpos/char/2.cc: New. 6520 1.1 mrg * 27_io/basic_stringbuf/setbuf/char/1.cc: New. 6521 1.1 mrg * 27_io/basic_stringbuf/setbuf/char/2.cc: New. 6522 1.1 mrg * 27_io/basic_stringbuf/setbuf/char/3.cc: New. 6523 1.1 mrg * 27_io/basic_stringbuf/sgetc/char/1.cc: New. 6524 1.1 mrg * 27_io/basic_stringbuf/sgetn/char/1.cc: New. 6525 1.1 mrg * 27_io/basic_stringbuf/snextc/char/1.cc: New. 6526 1.1 mrg * 27_io/basic_stringbuf/sputbackc/char/1.cc: New. 6527 1.1 mrg * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New. 6528 1.1 mrg * 27_io/basic_stringbuf/sputc/char/1.cc: New. 6529 1.1 mrg * 27_io/basic_stringbuf/sputc/char/1057.cc: New. 6530 1.1 mrg * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New. 6531 1.1 mrg * 27_io/basic_stringbuf/sputn/char/1.cc: New. 6532 1.1 mrg * 27_io/basic_stringbuf/sputn/char/1057.cc: New. 6533 1.1 mrg * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New. 6534 1.1 mrg * 27_io/basic_stringbuf/str/char/1.cc: New. 6535 1.1 mrg * 27_io/basic_stringbuf/str/char/2.cc: New. 6536 1.1 mrg * 27_io/basic_stringbuf/str/char/3.cc: New. 6537 1.1 mrg * 27_io/basic_stringbuf/str/char/3955.cc: New. 6538 1.1 mrg * 27_io/basic_stringbuf/sungetc/char/1.cc: New. 6539 1.1 mrg * 27_io/basic_stringbuf/sync/char/1057.cc: New. 6540 1.1 mrg * 27_io/basic_stringstream/1.cc: New. 6541 1.1 mrg * 27_io/basic_stringstream/2.cc: New. 6542 1.1 mrg * 27_io/basic_stringstream/3.cc: New. 6543 1.1 mrg * 27_io/basic_stringstream/4.cc: New. 6544 1.1 mrg * 27_io/basic_stringstream/rdbuf/char/2832.cc: New. 6545 1.1 mrg * 27_io/basic_stringstream/str/char/1.cc: New. 6546 1.1 mrg * 27_io/basic_stringstream/str/char/2.cc: New. 6547 1.1 mrg * 27_io/basic_stringstream/str/char/3.cc: New. 6548 1.1 mrg * 27_io/basic_stringstream/str/char/4.cc: New. 6549 1.1 mrg * 27_io/fpos/1.cc: New. 6550 1.1 mrg * 27_io/fpos/2.cc: New. 6551 1.1 mrg * 27_io/fpos/3.cc: New. 6552 1.1 mrg * 27_io/ios_base/callbacks/1.cc: New. 6553 1.1 mrg * 27_io/ios_base/state/1.cc: New. 6554 1.1 mrg * 27_io/ios_base/storage/1.cc: New. 6555 1.1 mrg * 27_io/ios_base/storage/2.cc: New. 6556 1.1 mrg * 27_io/ios_base/storage/3.cc: New. 6557 1.1 mrg * 27_io/ios_base/sync_with_stdio/1.cc: New. 6558 1.1 mrg * 27_io/ios_base/sync_with_stdio/2.cc: New. 6559 1.1 mrg * 27_io/manipulators/adjustfield/char/1.cc: New. 6560 1.1 mrg * 27_io/manipulators/adjustfield/char/2.cc: New. 6561 1.1 mrg * 27_io/manipulators/basefield/char/1.cc: New. 6562 1.1 mrg * 27_io/manipulators/standard/char/1.cc: New. 6563 1.1 mrg * 27_io/manipulators/standard/char/2.cc: New. 6564 1.1 mrg * 27_io/objects/char/1.cc: New. 6565 1.1 mrg * 27_io/objects/char/2.cc: New. 6566 1.1 mrg * 27_io/objects/char/2523-1_xin.cc: New. 6567 1.1 mrg * 27_io/objects/char/2523-1_xin.in: New. 6568 1.1 mrg * 27_io/objects/char/2523-2_xin.cc: New. 6569 1.1 mrg * 27_io/objects/char/2523-2_xin.in: New. 6570 1.1 mrg * 27_io/objects/char/3045.cc: New. 6571 1.1 mrg * 27_io/objects/char/3647.cc: New. 6572 1.1 mrg * 27_io/objects/char/3_xin.cc: New. 6573 1.1 mrg * 27_io/objects/char/3_xin.in: New. 6574 1.1 mrg * 27_io/objects/char/4_xin.cc: New. 6575 1.1 mrg * 27_io/objects/char/4_xin.in: New. 6576 1.1 mrg * 27_io/objects/char/5268.cc: New. 6577 1.1 mrg * 27_io/objects/char/5280_xin.cc: New. 6578 1.1 mrg * 27_io/objects/char/5280_xin.in: New. 6579 1.1 mrg * 27_io/objects/char/6548_xin.cc: New. 6580 1.1 mrg * 27_io/objects/char/6548_xin.in: New. 6581 1.1 mrg * 27_io/objects/char/6648-1_xin.cc: New. 6582 1.1 mrg * 27_io/objects/char/6648-1_xin.in: New. 6583 1.1 mrg * 27_io/objects/char/6648-2_xin.cc: New. 6584 1.1 mrg * 27_io/objects/char/6648-2_xin.in: New. 6585 1.1 mrg * 27_io/objects/char/7744_xin.cc: New. 6586 1.1 mrg * 27_io/objects/char/7744_xin.in: New. 6587 1.1 mrg * 27_io/objects/wchar_t/1.cc: New. 6588 1.1 mrg * 27_io/types/1.cc: New. 6589 1.1 mrg * 27_io/types/2.cc: New. 6590 1.1 mrg * data/filebuf_members-1.tst: New. 6591 1.1 mrg * data/filebuf_members-1.txt: New. 6592 1.1 mrg * data/filebuf_virtuals-1.tst: New. 6593 1.1 mrg * data/filebuf_virtuals-1.txt: New. 6594 1.1 mrg * data/filebuf_virtuals-2.tst: New. 6595 1.1 mrg * data/filebuf_virtuals-3.tst: New. 6596 1.1 mrg * data/ifstream_members-1.tst: New. 6597 1.1 mrg * data/ifstream_members-1.txt: New. 6598 1.1 mrg * data/ios_base_members_static-1.tst: New. 6599 1.1 mrg * data/istream_extractor_other-1.tst: New. 6600 1.1 mrg * data/istream_extractor_other-1.txt: New. 6601 1.1 mrg * data/istream_extractor_other-2.tst: New. 6602 1.1 mrg * data/istream_seeks-1.tst: New. 6603 1.1 mrg * data/istream_seeks-1.txt: New. 6604 1.1 mrg * data/istream_seeks-2.tst: New. 6605 1.1 mrg * data/istream_seeks-3.tst: New. 6606 1.1 mrg * data/istream_unformatted-1.tst: New. 6607 1.1 mrg * data/istream_unformatted-1.txt: New. 6608 1.1 mrg * data/ofstream_members-1.tst: New. 6609 1.1 mrg * data/ostream_inserter_char-1.tst: New. 6610 1.1 mrg * data/ostream_inserter_char-1.txt: New. 6611 1.1 mrg * data/ostream_inserter_other-1.tst: New. 6612 1.1 mrg * data/ostream_inserter_other-2.tst: New. 6613 1.1 mrg * data/ostream_seeks-1.tst: New. 6614 1.1 mrg 6615 1.1 mrg 2003-04-09 Benjamin Kosnik <bkoz (a] redhat.com> 6616 1.1 mrg 6617 1.1 mrg * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove 6618 1.1 mrg requirement that __mode must be strict input or output. 6619 1.1 mrg 6620 1.1 mrg * include/std/std_streambuf.h (basic_streambuf::setp): Set 6621 1.1 mrg _M_out_lim. 6622 1.1 mrg 6623 1.1 mrg * include/std/std_sstream.h (basic_strinbuf::str): Zero length 6624 1.1 mrg output string shouldn't core. 6625 1.1 mrg (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn 6626 1.1 mrg type. 6627 1.1 mrg * include/bits/sstream.tcc: Adjust _M_really_sync bits here. 6628 1.1 mrg 6629 1.1 mrg * include/bits/istream.tcc (basic_istream::putback): Set gcount to 6630 1.1 mrg zero. 6631 1.1 mrg 6632 1.1 mrg 2003-04-09 Benjamin Kosnik <bkoz (a] redhat.com> 6633 1.1 mrg 6634 1.1 mrg * testsuite/data: New directory. 6635 1.1 mrg * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify 6636 1.1 mrg to copy files from the testsuite data directory. 6637 1.1 mrg (libstdc++-v3-list-sourcefiles): Add another test list filter, for 6638 1.1 mrg testfiles containing _xin, which now means this is an interactive 6639 1.1 mrg test and should be run with the interactive dejagnu hooks. 6640 1.1 mrg * testsuite/Makefile.am: Remove testsuite_* files. 6641 1.1 mrg * testsuite/Makefile.in: Regenerate. 6642 1.1 mrg 6643 1.1 mrg 2003-04-09 Zack Weinberg <zack (a] codesourcery.com> 6644 1.1 mrg 6645 1.1 mrg * docs/html/install.html: Document complete list of locales 6646 1.1 mrg required by test suite. Document procedure for installing 6647 1.1 mrg said locales under Debian. Solicit instructions for other 6648 1.1 mrg operating systems. 6649 1.1 mrg 6650 1.1 mrg 2003-04-08 Alexandre Oliva <aoliva (a] redhat.com> 6651 1.1 mrg 6652 1.1 mrg * include/bits/sstream.tcc (overflow): Make sure operands of min 6653 1.1 mrg and max have the same type. 6654 1.1 mrg 6655 1.1 mrg 2003-04-04 Jerry Quinn <jlquinn (a] optonline.net> 6656 1.1 mrg 6657 1.1 mrg PR libstdc++/10276 6658 1.1 mrg * src/ios.cc (ios_base::_M_init): Remove _M_callbacks 6659 1.1 mrg initialization. 6660 1.1 mrg 6661 1.1 mrg 2003-03-31 Paolo Carlini <pcarlini (a] unitus.it> 6662 1.1 mrg 6663 1.1 mrg * include/std/std_streambuf.h (_M_out_buf_size()): Remove. 6664 1.1 mrg * include/bits/fstream.tcc (_M_allocate_internal_buffer): 6665 1.1 mrg Don't set _M_out_end. 6666 1.1 mrg (basic_filebuf::overflow): Replace _M_out_buf_size() with 6667 1.1 mrg this->_M_out_cur && this->_M_out_cur < this->_M_out_end. 6668 1.1 mrg * include/bits/sstream.tcc (basic_stringbuf::overflow): 6669 1.1 mrg Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end; 6670 1.1 mrg * include/bits/streambuf.tcc (basic_streambuf::sputc): 6671 1.1 mrg Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end. 6672 1.1 mrg (basic_streambuf::xsputn): Replace _M_out_buf_size() with 6673 1.1 mrg _M_out_end - _M_out_cur. 6674 1.1 mrg (__copy_streambufs): Likewise. 6675 1.1 mrg * include/std/std_fstream.h (_M_set_determinate): Set 6676 1.1 mrg _M_out_end here. 6677 1.1 mrg 6678 1.1 mrg 2003-03-30 Paolo Carlini <pcarlini (a] unitus.it> 6679 1.1 mrg 6680 1.1 mrg * include/bits/fstream.tcc (basic_filebuf::showmanyc, 6681 1.1 mrg _M_convert_to_external, _M_really_overflow, seekoff): Fix 6682 1.1 mrg test for synced buffer. 6683 1.1 mrg * include/std/std_fstream.h (sync): Likewise. 6684 1.1 mrg * src/fstream.cc (basic_filebuf<char>::_M_underflow_common, 6685 1.1 mrg basic_filebuf<wchar_t>::_M_underflow_common): Likewise. 6686 1.1 mrg 6687 1.1 mrg 2003-03-28 Benjamin Kosnik <bkoz (a] redhat.com> 6688 1.1 mrg 6689 1.1 mrg * include/std/std_sstream.h (basic_istringstream): Adjust 6690 1.1 mrg initialization. 6691 1.1 mrg (basic_ostringstream): Same. 6692 1.1 mrg (basic_stringstream): Same. 6693 1.1 mrg * include/std/std_fstream.h (basic_ifstream): Adjust initialization. 6694 1.1 mrg (basic_ofstream): Same. 6695 1.1 mrg (basic_fstream): Same. 6696 1.1 mrg * include/std/std_ostream.h (basic_ostrem): Add protected ctor 6697 1.1 mrg that does not call init. 6698 1.1 mrg * include/std/std_istream.h (basic_istream): Same. 6699 1.1 mrg (basic_iostream): Construct istream, ostream uninitialized, use 6700 1.1 mrg init to initialize just once. Add protected ctor that does not 6701 1.1 mrg call init. 6702 1.1 mrg 6703 1.1 mrg 2003-03-28 Paolo Carlini <pcarlini (a] unitus.it> 6704 1.1 mrg Nathan Myers <ncm (a] cantrip.org> 6705 1.1 mrg 6706 1.1 mrg PR libstdc++/9533 6707 1.1 mrg * include/bits/fstream.tcc (basic_filebuf<>::open): Don't 6708 1.1 mrg call underflow(). 6709 1.1 mrg (basic_filebuf<>::showmanyc): Use the information provided 6710 1.1 mrg by codecvt and __basic_file<>::showmanyc_helper to implement 6711 1.1 mrg a non-trivial showmanyc. 6712 1.1 mrg * config/io/basic_file_stdio.h 6713 1.1 mrg (__basic_file<>::showmanyc_helper): New, declare. 6714 1.1 mrg * config/io/basic_file_stdio.cc 6715 1.1 mrg (__basic_file<>::showmanyc_helper): Define. 6716 1.1 mrg (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK. 6717 1.1 mrg (__basic_file<char>::open): Don't call fcntl(). 6718 1.1 mrg * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG, 6719 1.1 mrg GLIBCPP_CHECK_POLL): New macros. 6720 1.1 mrg * configure.in: Call here. 6721 1.1 mrg * acconfig.h: Add #undefs for the corresponding symbols. 6722 1.1 mrg * aclocal.m4: Regenerate. 6723 1.1 mrg * configure: Regenerate. 6724 1.1 mrg * config.h.in: Regenerate. 6725 1.1 mrg 6726 1.1 mrg 2003-03-24 Benjamin Kosnik <bkoz (a] redhat.com> 6727 1.1 mrg 6728 1.1 mrg * config/linker-map.gnu: Remove string export restrictions. 6729 1.1 mrg 6730 1.1 mrg 2003-03-24 Paolo Carlini <pcarlini (a] unitus.it> 6731 1.1 mrg 6732 1.1 mrg * testsuite/21_strings/basic_string/find/char/1.cc: Remove 6733 1.1 mrg find_first_of, find_last_of and find_last_not_of tests. 6734 1.1 mrg * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of 6735 1.1 mrg tests here, new file. 6736 1.1 mrg * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise, 6737 1.1 mrg remove wchar_t find_first_of, find_last_of and find_last_not_of tests. 6738 1.1 mrg * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise, 6739 1.1 mrg wchar_t find_first_of tests here, new file. 6740 1.1 mrg * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of 6741 1.1 mrg tests here. 6742 1.1 mrg * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of 6743 1.1 mrg tests here. 6744 1.1 mrg * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise, 6745 1.1 mrg wchar_t find_last_of tests here. 6746 1.1 mrg * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise, 6747 1.1 mrg wchar_t find_last_not_of tests here. 6748 1.1 mrg 6749 1.1 mrg 2003-03-22 Loren J. Rittle <ljrittle (a] acm.org> 6750 1.1 mrg 6751 1.1 mrg * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table): 6752 1.1 mrg Correct return value. 6753 1.1 mrg 6754 1.1 mrg 2003-03-21 Jerry Quinn <jlquinn (a] optonline.net> 6755 1.1 mrg 6756 1.1 mrg PR libstdc++/5730 6757 1.1 mrg * include/bits/c++config (_GLIBCPP_FAST_MATH): Define. 6758 1.1 mrg * include/std/std_complex.h (norm): Use faster, 6759 1.1 mrg less accurate computation for builtin float types under --fast-math. 6760 1.1 mrg 6761 1.1 mrg 2003-03-21 Magnus Fromreide <gnats (a] magfr.user.lysator.liu.se> 6762 1.1 mrg 6763 1.1 mrg * testsuite/testsuite_hooks.h: Fix warning nits. 6764 1.1 mrg 6765 1.1 mrg 2003-03-19 Alexandre Oliva <aoliva (a] redhat.com> 6766 1.1 mrg 6767 1.1 mrg * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add): 6768 1.1 mrg Only .set mips2 for the o32 ABI. 6769 1.1 mrg 6770 1.1 mrg 2003-03-19 Paolo Carlini <pcarlini (a] unitus.it> 6771 1.1 mrg 6772 1.1 mrg * testsuite/21_strings/char_traits/requirements/char/1.cc: 6773 1.1 mrg Test char not wchar_t. 6774 1.1 mrg 6775 1.1 mrg 2003-03-18 Paolo Carlini <pcarlini (a] unitus.it> 6776 1.1 mrg 6777 1.1 mrg * testsuite/21_strings/basic_string/append/wchar_t/1.cc: 6778 1.1 mrg Correct size, taking into account sizeof(wchar_t). 6779 1.1 mrg 6780 1.1 mrg 2003-03-18 Paolo Carlini <pcarlini (a] unitus.it> 6781 1.1 mrg 6782 1.1 mrg Reshuffle 21_strings testsuite. 6783 1.1 mrg * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc, 6784 1.1 mrg assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc, 6785 1.1 mrg element_access.cc, operations.cc, char_traits_requirements.cc, 6786 1.1 mrg find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc, 6787 1.1 mrg compare.cc, inserters_extractors.cc, substr.cc: Split up, add 6788 1.1 mrg wchar_t tests as follows. 6789 1.1 mrg * 21_strings/basic_string/append/char/1.cc: New. 6790 1.1 mrg * 21_strings/basic_string/append/wchar_t/1.cc: New. 6791 1.1 mrg * 21_strings/basic_string/assign/char/1.cc: New. 6792 1.1 mrg * 21_strings/basic_string/assign/char/2.cc: New. 6793 1.1 mrg * 21_strings/basic_string/assign/char/3.cc: New. 6794 1.1 mrg * 21_strings/basic_string/assign/wchar_t/1.cc: New. 6795 1.1 mrg * 21_strings/basic_string/assign/wchar_t/2.cc: New. 6796 1.1 mrg * 21_strings/basic_string/assign/wchar_t/3.cc: New. 6797 1.1 mrg * 21_strings/basic_string/capacity/1.cc: New. 6798 1.1 mrg * 21_strings/basic_string/capacity/char/1.cc: New. 6799 1.1 mrg * 21_strings/basic_string/capacity/char/2.cc: New. 6800 1.1 mrg * 21_strings/basic_string/capacity/wchar_t/1.cc: New. 6801 1.1 mrg * 21_strings/basic_string/capacity/wchar_t/2.cc: New. 6802 1.1 mrg * 21_strings/basic_string/compare/char/1.cc: New. 6803 1.1 mrg * 21_strings/basic_string/compare/wchar_t/1.cc: New. 6804 1.1 mrg * 21_strings/basic_string/cons/char/1.cc: New. 6805 1.1 mrg * 21_strings/basic_string/cons/char/2.cc: New. 6806 1.1 mrg * 21_strings/basic_string/cons/char/3.cc: New. 6807 1.1 mrg * 21_strings/basic_string/cons/char/4.cc: New. 6808 1.1 mrg * 21_strings/basic_string/cons/char/5.cc: New. 6809 1.1 mrg * 21_strings/basic_string/cons/wchar_t/1.cc: New. 6810 1.1 mrg * 21_strings/basic_string/cons/wchar_t/2.cc: New. 6811 1.1 mrg * 21_strings/basic_string/cons/wchar_t/3.cc: New. 6812 1.1 mrg * 21_strings/basic_string/cons/wchar_t/4.cc: New. 6813 1.1 mrg * 21_strings/basic_string/cons/wchar_t/5.cc: New. 6814 1.1 mrg * 21_strings/basic_string/element_access/char/1.cc: New. 6815 1.1 mrg * 21_strings/basic_string/element_access/char/2.cc: New. 6816 1.1 mrg * 21_strings/basic_string/element_access/char/3.cc: New. 6817 1.1 mrg * 21_strings/basic_string/element_access/wchar_t/1.cc: New. 6818 1.1 mrg * 21_strings/basic_string/element_access/wchar_t/2.cc: New. 6819 1.1 mrg * 21_strings/basic_string/element_access/wchar_t/3.cc: New. 6820 1.1 mrg * 21_strings/basic_string/find/char/1.cc: New. 6821 1.1 mrg * 21_strings/basic_string/find/wchar_t/1.cc: New. 6822 1.1 mrg * 21_strings/basic_string/insert/char/1.cc: New. 6823 1.1 mrg * 21_strings/basic_string/insert/char/2.cc: New. 6824 1.1 mrg * 21_strings/basic_string/insert/wchar_t/1.cc: New. 6825 1.1 mrg * 21_strings/basic_string/insert/wchar_t/2.cc: New. 6826 1.1 mrg * 21_strings/basic_string/inserters_extractors/char/1.cc: New. 6827 1.1 mrg * 21_strings/basic_string/inserters_extractors/char/4.cc: New. 6828 1.1 mrg * 21_strings/basic_string/inserters_extractors/char/5.cc: New. 6829 1.1 mrg * 21_strings/basic_string/inserters_extractors/char/6.cc: New. 6830 1.1 mrg * 21_strings/basic_string/inserters_extractors/char/7.cc: New. 6831 1.1 mrg * 21_strings/basic_string/inserters_extractors/char/8.cc: New. 6832 1.1 mrg * 21_strings/basic_string/inserters_extractors/char/9.cc: New. 6833 1.1 mrg * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New. 6834 1.1 mrg * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New. 6835 1.1 mrg * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New. 6836 1.1 mrg * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New. 6837 1.1 mrg * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New. 6838 1.1 mrg * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New. 6839 1.1 mrg * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New. 6840 1.1 mrg * 21_strings/basic_string/operators/char/1.cc: New. 6841 1.1 mrg * 21_strings/basic_string/operators/char/2.cc: New. 6842 1.1 mrg * 21_strings/basic_string/operators/wchar_t/1.cc: New. 6843 1.1 mrg * 21_strings/basic_string/operators/wchar_t/2.cc: New. 6844 1.1 mrg * 21_strings/basic_string/replace/char/1.cc: New. 6845 1.1 mrg * 21_strings/basic_string/replace/char/2.cc: New. 6846 1.1 mrg * 21_strings/basic_string/replace/char/3.cc: New. 6847 1.1 mrg * 21_strings/basic_string/replace/char/4.cc: New. 6848 1.1 mrg * 21_strings/basic_string/replace/char/5.cc: New. 6849 1.1 mrg * 21_strings/basic_string/replace/wchar_t/1.cc: New. 6850 1.1 mrg * 21_strings/basic_string/replace/wchar_t/2.cc: New. 6851 1.1 mrg * 21_strings/basic_string/replace/wchar_t/3.cc: New. 6852 1.1 mrg * 21_strings/basic_string/replace/wchar_t/4.cc: New. 6853 1.1 mrg * 21_strings/basic_string/replace/wchar_t/5.cc: New. 6854 1.1 mrg * 21_strings/basic_string/rfind/char/1.cc: New. 6855 1.1 mrg * 21_strings/basic_string/rfind/char/2.cc: New. 6856 1.1 mrg * 21_strings/basic_string/rfind/char/3.cc: New. 6857 1.1 mrg * 21_strings/basic_string/rfind/wchar_t/1.cc: New. 6858 1.1 mrg * 21_strings/basic_string/rfind/wchar_t/2.cc: New. 6859 1.1 mrg * 21_strings/basic_string/rfind/wchar_t/3.cc: New. 6860 1.1 mrg * 21_strings/basic_string/substr/char/1.cc: New. 6861 1.1 mrg * 21_strings/basic_string/substr/wchar_t/1.cc: New. 6862 1.1 mrg * 21_strings/c_strings/char/1.cc: New. 6863 1.1 mrg * 21_strings/c_strings/char/2.cc: New. 6864 1.1 mrg * 21_strings/c_strings/wchar_t/1.cc: New. 6865 1.1 mrg * 21_strings/c_strings/wchar_t/2.cc: New. 6866 1.1 mrg * 21_strings/char_traits/requirements/char/1.cc: New. 6867 1.1 mrg * 21_strings/char_traits/requirements/wchar_t/1.cc: New. 6868 1.1 mrg * 21_strings/char_traits/typedefs/char/1.cc: New. 6869 1.1 mrg 6870 1.1 mrg 2003-03-17 Paolo Carlini <pcarlini (a] unitus.it> 6871 1.1 mrg Petur Runolfsson <peturr02 (a] ru.is> 6872 1.1 mrg 6873 1.1 mrg PR libstdc++/10097 6874 1.1 mrg * src/fstream.cc (basic_filebuf<char>::_M_underflow_common, 6875 1.1 mrg basic_filebuf<wchar_t>::_M_underflow_common): 6876 1.1 mrg if (gptr() < egptr()) return *gptr(). 6877 1.1 mrg * testsuite/27_io/filebuf_virtuals.cc (test16): Add. 6878 1.1 mrg 6879 1.1 mrg * testsuite/27_io/filebuf_members.cc (test_04): Minor 6880 1.1 mrg changes: unlink fifo before making it, fix spelling error. 6881 1.1 mrg 6882 1.1 mrg 2003-03-17 Benjamin Kosnik <bkoz (a] redhat.com> 6883 1.1 mrg 6884 1.1 mrg * testsuite/Makefile.am (CLEANFILES): Add tmp*. 6885 1.1 mrg * testsuite/Makefile.in: Regenerate. 6886 1.1 mrg * testsuite/27_io/filebuf_members.cc: Consistently name tmp files. 6887 1.1 mrg Cleanups. 6888 1.1 mrg 6889 1.1 mrg 2003-03-17 Petur Runolfsson <peturr02 (a] ru.is> 6890 1.1 mrg 6891 1.1 mrg PR libstdc++/9964 6892 1.1 mrg * include/bits/fstream.tcc (basic_filebuf::close): 6893 1.1 mrg Always close file, even when write fails. 6894 1.1 mrg * testsuite/27_io/filebuf_members.cc (test_07): New test. 6895 1.1 mrg 6896 1.1 mrg 2003-03-17 Danny Smith <dannysmith (a] users.sourceforge.net> 6897 1.1 mrg 6898 1.1 mrg * libsupc++/Makefile.am (C_COMPILE): Remove. 6899 1.1 mrg (LTCOMPILE): Likewise. 6900 1.1 mrg * libsupc++/Makefile.in: Regenerate. 6901 1.1 mrg 6902 1.1 mrg 2003-03-14 Benjamin Kosnik <bkoz (a] redhat.com> 6903 1.1 mrg 6904 1.1 mrg * testsuite/23_containers/bitset_members.cc: Add test variable. 6905 1.1 mrg * testsuite/23_containers/map_insert.cc: Same. 6906 1.1 mrg * testsuite/22_locale/ctype/cons/char/1.cc: Same. 6907 1.1 mrg * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same. 6908 1.1 mrg * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same. 6909 1.1 mrg * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same. 6910 1.1 mrg * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same. 6911 1.1 mrg * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same. 6912 1.1 mrg * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same. 6913 1.1 mrg * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same. 6914 1.1 mrg * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same. 6915 1.1 mrg * testsuite/27_io/istream_exception.cc: Same. 6916 1.1 mrg * testsuite/27_io/filebuf_virtuals.cc: Same. 6917 1.1 mrg * testsuite/27_io/stringbuf_virtuals.cc: Same. 6918 1.1 mrg * testsuite/27_io/ostream_inserter_arith.cc: Same. 6919 1.1 mrg * testsuite/26_numerics/valarray_operators.cc: Same. 6920 1.1 mrg * testsuite/26_numerics/slice.cc: Same. 6921 1.1 mrg * testsuite/26_numerics/slice_array_assignment.cc: Same. 6922 1.1 mrg * testsuite/24_iterators/istream_iterator.cc: Same. 6923 1.1 mrg * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible. 6924 1.1 mrg 6925 1.1 mrg 2003-03-14 Petur Runolfsson <peturr02 (a] ru.is> 6926 1.1 mrg 6927 1.1 mrg PR libstdc++/9581 6928 1.1 mrg PR libstdc++/9870 6929 1.1 mrg * config/locale/generic/ctype_members.cc, 6930 1.1 mrg * config/locale/gnu/ctype_members.cc 6931 1.1 mrg (ctype<wchar_t>::do_widen(char)): Cast argument to 6932 1.1 mrg unsigned char before passing to btowc. 6933 1.1 mrg (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)): 6934 1.1 mrg Convert characters with btowc instead of mbsrtowcs. 6935 1.1 mrg (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*, 6936 1.1 mrg char, char*): 6937 1.1 mrg Convert characters with wctob instead of wcsrtombs. 6938 1.1 mrg * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test. 6939 1.1 mrg * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test. 6940 1.1 mrg * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test. 6941 1.1 mrg 6942 1.1 mrg 2003-03-14 Benjamin Kosnik <bkoz (a] redhat.com> 6943 1.1 mrg 6944 1.1 mrg * include/stdc++.h: New. 6945 1.1 mrg * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard. 6946 1.1 mrg * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch 6947 1.1 mrg * include/Makefile.in: Regenerate. 6948 1.1 mrg * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS. 6949 1.1 mrg (--cxxflags): Put -g -O2 here. 6950 1.1 mrg * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here. 6951 1.1 mrg 6952 1.1 mrg 2003-03-14 Loren J. Rittle <ljrittle (a] acm.org> 6953 1.1 mrg 6954 1.1 mrg * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by 6955 1.1 mrg missing named locale. 6956 1.1 mrg 6957 1.1 mrg 2003-03-14 Andreas Schwab <schwab (a] suse.de> 6958 1.1 mrg 6959 1.1 mrg * configure.in: Only append to makefiles that are newly created to 6960 1.1 mrg avoid multiple multi-do/multi-clean rules. 6961 1.1 mrg * configure: Rebuilt. 6962 1.1 mrg 6963 1.1 mrg 2003-03-13 Jonathan Wakely <redi (a] gcc.gnu.org> 6964 1.1 mrg 6965 1.1 mrg * docs/html/configopts.html, docs/html/documentation.html, 6966 1.1 mrg docs/html/explanations.html, docs/html/install.html, 6967 1.1 mrg docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix 6968 1.1 mrg invalid XHTML and make page header style consistent. 6969 1.1 mrg 6970 1.1 mrg 2003-03-12 Jonathan Wakely <redi (a] gcc.gnu.org> 6971 1.1 mrg 6972 1.1 mrg * docs/html/faq/index.html: Explain memory "leaks" due to allocators. 6973 1.1 mrg * docs/html/faq/index.txt: Regenerate. 6974 1.1 mrg * docs/html/debug.html: Add a bit to allocator text and fix XHTML. 6975 1.1 mrg 6976 1.1 mrg 2003-03-12 Andreas Schwab <schwab (a] suse.de> 6977 1.1 mrg 6978 1.1 mrg * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in 6979 1.1 mrg glibcpp_toolexeclibdir. 6980 1.1 mrg * aclocal.m4, configure: Rebuilt. 6981 1.1 mrg 6982 1.1 mrg 2003-03-11 Jonathan Wakely <redi (a] gcc.gnu.org> 6983 1.1 mrg 6984 1.1 mrg * docs/html/faq/index.html: Update text about location of headers. 6985 1.1 mrg * docs/html/faq/index.txt: Regenerate. 6986 1.1 mrg 6987 1.1 mrg 2003-03-11 Carlo Wood <carlo (a] alinoe.com> 6988 1.1 mrg 6989 1.1 mrg * include/bits/demangle.h: Prepend accessors of 6990 1.1 mrg class qualifier with 'get_' in order to fix warnings 6991 1.1 mrg when compiling with -Wshadow. 6992 1.1 mrg 6993 1.1 mrg 2003-03-11 Loren J. Rittle <ljrittle (a] acm.org> 6994 1.1 mrg 6995 1.1 mrg * config/os/bsd/freebsd/ctype_inline.h: Support _M_table 6996 1.1 mrg when so installed. 6997 1.1 mrg * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo. 6998 1.1 mrg 6999 1.1 mrg * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not 7000 1.1 mrg report lack of setenv(). 7001 1.1 mrg 7002 1.1 mrg 2003-03-09 Paolo Carlini <pcarlini (a] unitus.it> 7003 1.1 mrg 7004 1.1 mrg * config/io/basic_file_stdio.cc: include <unistd.h>. 7005 1.1 mrg 7006 1.1 mrg 2003-03-09 Paolo Carlini <pcarlini (a] unitus.it> 7007 1.1 mrg Nathan Myers <ncm (a] cantrip.org> 7008 1.1 mrg 7009 1.1 mrg PR libstdc++/7744 7010 1.1 mrg * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn, 7011 1.1 mrg seekoff, seekpos): Add a boolean parameter __stdio. 7012 1.1 mrg * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn, 7013 1.1 mrg seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell, 7014 1.1 mrg fseek/ftell, respectively), otherwise read (write, lseek, lseek, 7015 1.1 mrg respectively). 7016 1.1 mrg * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external, 7017 1.1 mrg _M_really_overflow, seekoff): Use the boolean parameter in the calls. 7018 1.1 mrg * include/std/std_fstream.h (sync): Likewise. 7019 1.1 mrg * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise. 7020 1.1 mrg * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert 7021 1.1 mrg libstdc++/8399 commit involving isatty(0). 7022 1.1 mrg * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove. 7023 1.1 mrg (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove 7024 1.1 mrg * configure.in: Remove call. 7025 1.1 mrg * aclocal.m4: Regenerate. 7026 1.1 mrg * config.h.in: Regenerate. 7027 1.1 mrg * configure: Regenerate. 7028 1.1 mrg * testsuite/27_io/narrow_stream_objects.cc (test11): Add. 7029 1.1 mrg 7030 1.1 mrg 2003-03-09 Paolo Carlini <pcarlini (a] unitus.it> 7031 1.1 mrg 7032 1.1 mrg PR libstdc++/9988 7033 1.1 mrg * include/bits/fstream.tcc (overflow): don't write EOF to file. 7034 1.1 mrg * testsuite/27_io/filebuf_virtuals.cc (test15): Add. 7035 1.1 mrg 7036 1.1 mrg 2003-03-08 Jerry Quinn <jlquinn (a] optonline.net> 7037 1.1 mrg 7038 1.1 mrg PR libstdc++/9561 7039 1.1 mrg * include/bits/basic_ios.h (_M_setstate): New. 7040 1.1 mrg * include/bits/ostream.tcc (operator<<): Use it. 7041 1.1 mrg * include/bits/istream.tcc (operator>>): Use it. 7042 1.1 mrg * include/std/std_ostream.h (operator<<): Make friends. 7043 1.1 mrg * include/std/std_istream.h (operator>>): Make friends. 7044 1.1 mrg * testsuite/27_io/ostream_exception.cc, 7045 1.1 mrg testsuite/27_io/istream_exception.cc: New tests. 7046 1.1 mrg 7047 1.1 mrg 2003-03-08 Benjamin Kosnik <bkoz (a] redhat.com> 7048 1.1 mrg 7049 1.1 mrg * include/bits/locale_facets.tcc: Fix typo. 7050 1.1 mrg 7051 1.1 mrg 2003-03-08 Loren J. Rittle <ljrittle (a] acm.org> 7052 1.1 mrg 7053 1.1 mrg * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test. 7054 1.1 mrg 7055 1.1 mrg * config/locale/generic/c_locale.cc 7056 1.1 mrg (locale::facet::_S_create_c_locale): Throw runtime exception when 7057 1.1 mrg unsupported language is specified. 7058 1.1 mrg * testsuite/testsuite_hooks.h 7059 1.1 mrg (run_test_wrapped_generic_locale_exception_catcher): New function. 7060 1.1 mrg * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale): 7061 1.1 mrg Suppress runtime exception thrown by generic implementation. 7062 1.1 mrg (run_tests_wrapped_env): Likewise. 7063 1.1 mrg (run_test_wrapped_generic_locale_exception_catcher): New function. 7064 1.1 mrg * testsuite/22_locale/collate/compare/char/1.cc: New test wrap. 7065 1.1 mrg * testsuite/22_locale/collate/compare/char/2.cc: New test wrap. 7066 1.1 mrg * testsuite/22_locale/collate/compare/char/3.cc: New test wrap. 7067 1.1 mrg * testsuite/22_locale/collate/hash/char/2.cc: New test wrap. 7068 1.1 mrg * testsuite/22_locale/collate/transform/char/2.cc: New test wrap. 7069 1.1 mrg * testsuite/22_locale/collate/transform/char/3.cc: New test wrap. 7070 1.1 mrg * testsuite/22_locale/collate_byname/1.cc: New test wrap. 7071 1.1 mrg * testsuite/22_locale/ctype/is/char/2.cc: New test wrap. 7072 1.1 mrg * testsuite/22_locale/facet/2.cc: New test wrap. 7073 1.1 mrg * testsuite/22_locale/locale/cons/4.cc: New test wrap. 7074 1.1 mrg * testsuite/22_locale/locale/cons/5.cc: New test wrap. 7075 1.1 mrg * testsuite/22_locale/locale/cons/7.cc: New test wrap. 7076 1.1 mrg * testsuite/22_locale/messages/members/char/1.cc: New test wrap. 7077 1.1 mrg * testsuite/22_locale/messages/members/char/2.cc: New test wrap. 7078 1.1 mrg * testsuite/22_locale/messages/members/char/3.cc: New test wrap. 7079 1.1 mrg * testsuite/22_locale/messages_byname/1.cc: New test wrap. 7080 1.1 mrg * testsuite/22_locale/money_get/get/char/1.cc: New test wrap. 7081 1.1 mrg * testsuite/22_locale/money_get/get/char/2.cc: New test wrap. 7082 1.1 mrg * testsuite/22_locale/money_get/get/char/3.cc: New test wrap. 7083 1.1 mrg * testsuite/22_locale/money_get/get/char/4.cc: New test wrap. 7084 1.1 mrg * testsuite/22_locale/money_put/put/char/1.cc: New test wrap. 7085 1.1 mrg * testsuite/22_locale/money_put/put/char/2.cc: New test wrap. 7086 1.1 mrg * testsuite/22_locale/money_put/put/char/3.cc: New test wrap. 7087 1.1 mrg * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap. 7088 1.1 mrg * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap. 7089 1.1 mrg * testsuite/22_locale/num_get/get/char/1.cc: New test wrap. 7090 1.1 mrg * testsuite/22_locale/num_get/get/char/2.cc: New test wrap. 7091 1.1 mrg * testsuite/22_locale/num_get/get/char/3.cc: New test wrap. 7092 1.1 mrg * testsuite/22_locale/num_get/get/char/5.cc: New test wrap. 7093 1.1 mrg * testsuite/22_locale/num_get/get/char/6.cc: New test wrap. 7094 1.1 mrg * testsuite/22_locale/num_put/put/char/1.cc: New test wrap. 7095 1.1 mrg * testsuite/22_locale/num_put/put/char/2.cc: New test wrap. 7096 1.1 mrg * testsuite/22_locale/num_put/put/char/3.cc: New test wrap. 7097 1.1 mrg * testsuite/22_locale/num_put/put/char/5.cc: New test wrap. 7098 1.1 mrg * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap. 7099 1.1 mrg * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap. 7100 1.1 mrg * testsuite/22_locale/numpunct_byname/1.cc: New test wrap. 7101 1.1 mrg * testsuite/22_locale/numpunct_byname/2.cc: New test wrap. 7102 1.1 mrg * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap. 7103 1.1 mrg * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap. 7104 1.1 mrg * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap. 7105 1.1 mrg * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap. 7106 1.1 mrg * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap. 7107 1.1 mrg * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap. 7108 1.1 mrg * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap. 7109 1.1 mrg * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap. 7110 1.1 mrg * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap. 7111 1.1 mrg * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap. 7112 1.1 mrg * testsuite/22_locale/time_put/put/char/1.cc: New test wrap. 7113 1.1 mrg * testsuite/22_locale/time_put/put/char/2.cc: New test wrap. 7114 1.1 mrg * testsuite/22_locale/time_put/put/char/3.cc: New test wrap. 7115 1.1 mrg * testsuite/22_locale/time_put/put/char/4.cc: New test wrap. 7116 1.1 mrg * testsuite/22_locale/time_put/put/char/5.cc: New test wrap. 7117 1.1 mrg * testsuite/22_locale/time_put/put/char/6.cc: New test wrap. 7118 1.1 mrg * testsuite/22_locale/time_put/put/char/7.cc: New test wrap. 7119 1.1 mrg * testsuite/22_locale/time_put/put/char/8.cc: New test wrap. 7120 1.1 mrg * testsuite/27_io/filebuf_virtuals.cc: New test wrap. 7121 1.1 mrg * testsuite/27_io/ios_members.cc: New test wrap. 7122 1.1 mrg * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void. 7123 1.1 mrg New test wrap. 7124 1.1 mrg * testsuite/27_io/streambuf_members.cc: New test wrap. 7125 1.1 mrg * testsuite/27_io/stringbuf_virtuals.cc: New test wrap. 7126 1.1 mrg 7127 1.1 mrg 2003-03-08 Paolo Carlini <pcarlini (a] unitus.it> 7128 1.1 mrg Petur Runolfsson <peturr02 (a] ru.is> 7129 1.1 mrg 7130 1.1 mrg PR libstdc++/9424 7131 1.1 mrg * include/bits/streambuf.tcc (__copy_streambufs): Use 7132 1.1 mrg sgetn-sputn only when sputn cannot fail, otherwise fall back 7133 1.1 mrg to safe snextc-sputc. 7134 1.1 mrg * testsuite/27_io/streambuf_members.cc (test11, test12): Add. 7135 1.1 mrg 7136 1.1 mrg 2003-03-08 Jerry Quinn <jlquinn (a] optonline.net> 7137 1.1 mrg 7138 1.1 mrg * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use 7139 1.1 mrg locale cache for truename and falsename. 7140 1.1 mrg 7141 1.1 mrg 2003-03-08 Jerry Quinn <jlquinn (a] optonline.net> 7142 1.1 mrg 7143 1.1 mrg * src/ios.cc (ios_base::ios_base): Correct order of _M_word and 7144 1.1 mrg _M_word_size initialization. 7145 1.1 mrg 7146 1.1 mrg 2003-03-07 Paolo Carlini <pcarlini (a] unitus.it> 7147 1.1 mrg 7148 1.1 mrg * include/bits/fstream.tcc (_M_convert_to_external): 7149 1.1 mrg Set __elen to zero if codecvt::out eventually fails. 7150 1.1 mrg 7151 1.1 mrg 2003-03-07 Paolo Carlini <pcarlini (a] unitus.it> 7152 1.1 mrg 7153 1.1 mrg PR libstdc++/9182 7154 1.1 mrg * include/bits/fstream.tcc (_M_really_overflow): Check 7155 1.1 mrg for _M_convert_to_external possible failures. 7156 1.1 mrg * include/std/std_fstream.h (sync): Check _M_really_overflow 7157 1.1 mrg return value and return -1 in case of failure. 7158 1.1 mrg * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add. 7159 1.1 mrg 7160 1.1 mrg 2003-03-07 Paolo Carlini <pcarlini (a] unitus.it> 7161 1.1 mrg 7162 1.1 mrg PR libstdc++/9826 7163 1.1 mrg * include/bits/istream.tcc (operator>>(_CharT*), 7164 1.1 mrg operator>>(basic_string&), ws): Pass a char_type to __ctype.is. 7165 1.1 mrg * testsuite/27_io/stringstream.cc (test02): Add. 7166 1.1 mrg 7167 1.1 mrg * include/bits/istream.tcc (operator>>(_CharT*)): 7168 1.1 mrg Assign a char_type to *__s. 7169 1.1 mrg 7170 1.1 mrg 2003-03-07 Petur Runolfsson <peturr02 (a] ru.is> 7171 1.1 mrg 7172 1.1 mrg PR libstdc++/9817 7173 1.1 mrg * include/bits/locale_facets.tcc 7174 1.1 mrg (collate::do_compare, collate::do_transform): 7175 1.1 mrg Handle nul characters in input. 7176 1.1 mrg * testsuite/22_locale/collate/compare/char/3.cc: New test. 7177 1.1 mrg * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test. 7178 1.1 mrg * testsuite/22_locale/collate/transform/char/3.cc: New test. 7179 1.1 mrg * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test. 7180 1.1 mrg 7181 1.1 mrg 2003-03-07 Jerry Quinn <jlquinn (a] optonline.net> 7182 1.1 mrg 7183 1.1 mrg * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if 7184 1.1 mrg sputn fails. 7185 1.1 mrg * testsuite/27_io/ostream_fail.cc: New test. 7186 1.1 mrg 7187 1.1 mrg 2003-03-07 Matthias Klose <doko (a] debian.org> 7188 1.1 mrg 7189 1.1 mrg * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir. 7190 1.1 mrg FLAGS_TO_PASS: Set to AM_MAKEFLAGS 7191 1.1 mrg * Makefile.in: Regenerate. 7192 1.1 mrg * libsupc++/Makefile.am: Express glibcppinstalldir in terms 7193 1.1 mrg of gxx_include_dir. 7194 1.1 mrg AM_MAKEFLAGS: Pass gxx_include_dir. 7195 1.1 mrg * libsupc++/Makefile.in: Regenerate. 7196 1.1 mrg 7197 1.1 mrg 2003-03-06 Jerry Quinn <jlquinn (a] optonline.net> 7198 1.1 mrg 7199 1.1 mrg * testsuite/27_io/ios_base_storage.cc (test02): Set exception 7200 1.1 mrg mask. Test setting small-numbered pword and iword slots. Test 7201 1.1 mrg behavior at limit of numeric_limits::max. Check that values are 7202 1.1 mrg still good after failures. 7203 1.1 mrg 7204 1.1 mrg 2003-03-06 Jerry Quinn <jlquinn (a] optonline.net> 7205 1.1 mrg 7206 1.1 mrg * src/ios.cc (ios_base::_M_init): Remove _M_word_size. 7207 1.1 mrg (ios_base::ios_base): Set _M_word, _M_word_size. 7208 1.1 mrg (ios_base::~ios_base): Remove redundant test. 7209 1.1 mrg * testsuite/27_io/ios_base_storage.cc (test03): New. 7210 1.1 mrg 7211 1.1 mrg 2003-03-04 Alexandre Oliva <aoliva (a] redhat.com> 7212 1.1 mrg 7213 1.1 mrg * src/strstream.cc, include/bits/basic_string.tcc: Remove 7214 1.1 mrg incorrect whitespace added in my previous change. 7215 1.1 mrg 7216 1.1 mrg 2003-03-05 Carlo Wood <carlo (a] alinoe.com> 7217 1.1 mrg 7218 1.1 mrg * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added 7219 1.1 mrg _S_initialized() in order to allow debugging libraries to detect 7220 1.1 mrg when the std streams are initialized from an overloaded operator 7221 1.1 mrg new. 7222 1.1 mrg 7223 1.1 mrg 2003-03-05 Benjamin Kosnik <bkoz (a] redhat.com> 7224 1.1 mrg 7225 1.1 mrg * libsupc++/demangle.h: Move to.. 7226 1.1 mrg * include/bits/demangle.h: ...here. 7227 1.1 mrg * src/demangle.cc: Adjust include. 7228 1.1 mrg * include/Makefile.am (bits_headers): Add. 7229 1.1 mrg * include/Makefile.in: Regenerate. 7230 1.1 mrg 7231 1.1 mrg 2003-03-04 Benjamin Kosnik <bkoz (a] redhat.com> 7232 1.1 mrg 7233 1.1 mrg * src/globals.cc: Clarify comments, remove c_locale_imp_compat. 7234 1.1 mrg 7235 1.1 mrg * config/linker-map.gnu: Filter typeinfo and vtable info. 7236 1.1 mrg 7237 1.1 mrg 2003-03-04 Jerry Quinn <jlquinn (a] optonline.net> 7238 1.1 mrg 7239 1.1 mrg * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on 7240 1.1 mrg new failure. Throw exception if badbit and exception mask when ix 7241 1.1 mrg >= numeric_limits<int>::max(). 7242 1.1 mrg 7243 1.1 mrg 2003-03-04 Alexandre Oliva <aoliva (a] redhat.com> 7244 1.1 mrg 7245 1.1 mrg * src/strstream.cc (strstreambuf::overflow): Make sure operands of 7246 1.1 mrg min and max have the same type. 7247 1.1 mrg * include/bits/basic_string.tcc (append, rfind, compare): Likewise. 7248 1.1 mrg 7249 1.1 mrg 2003-03-04 Benjamin Kosnik <bkoz (a] redhat.com> 7250 1.1 mrg 7251 1.1 mrg * include/Makefile.am (allstamps): Remove stamp-std-precompile. 7252 1.1 mrg * include/Makefile.in: Regenerate. 7253 1.1 mrg 7254 1.1 mrg 2003-03-03 Benjamin Kosnik <bkoz (a] redhat.com> 7255 1.1 mrg 7256 1.1 mrg * testsuite/abi_check.cc (report_symbol_info): Add version info. 7257 1.1 mrg 7258 1.1 mrg * config/linker-map.gnu: Hide more stuff. 7259 1.1 mrg * include/Makefile.am: Cleanups. 7260 1.1 mrg * include/Makefile.in: Regenerate. 7261 1.1 mrg 7262 1.1 mrg 2003-02-27 Jerry Quinn <jlquinn (a] optonline.net> 7263 1.1 mrg 7264 1.1 mrg * config/locale/generic/messages_members.h (messages::messages): 7265 1.1 mrg Remove name from unused parameter. 7266 1.1 mrg 7267 1.1 mrg 2003-02-27 Benjamin Kosnik <bkoz (a] redhat.com> 7268 1.1 mrg 7269 1.1 mrg * src/Makefile.am (sources): Add demangle.cc. 7270 1.1 mrg (demangle.o): Add. 7271 1.1 mrg (demangle.lo): Add. 7272 1.1 mrg * src/Makefile.in: Regenerate. 7273 1.1 mrg * libsupc++/Makefile.am: Remove old __cxa_demangle bits. 7274 1.1 mrg * libsupc++/Makefile.in: Regenerate. 7275 1.1 mrg 7276 1.1 mrg * testsuite/testsuite_hooks.h 7277 1.1 mrg (__gnu_cxx_test::verify_demangle): New. 7278 1.1 mrg * testsuite/testsuite_hooks.cc: Define. 7279 1.1 mrg 7280 1.1 mrg 2003-02-27 Carlo Wood <carlo (a] alinoe.com> 7281 1.1 mrg 7282 1.1 mrg * src/demangle.cc: New. 7283 1.1 mrg * libsupc++/demangle.h: New. 7284 1.1 mrg 7285 1.1 mrg 2003-02-27 Benjamin Kosnik <bkoz (a] redhat.com> 7286 1.1 mrg Carlo Wood <carlo (a] alinoe.com> 7287 1.1 mrg 7288 1.1 mrg * testsuite/demangle/abi_examples/01.cc: New. 7289 1.1 mrg * testsuite/demangle/abi_examples/02.cc: New. 7290 1.1 mrg * testsuite/demangle/abi_examples/03.cc: New. 7291 1.1 mrg * testsuite/demangle/abi_examples/04.cc: New. 7292 1.1 mrg * testsuite/demangle/abi_examples/05.cc: New. 7293 1.1 mrg * testsuite/demangle/abi_examples/06.cc: New. 7294 1.1 mrg * testsuite/demangle/abi_examples/07.cc: New. 7295 1.1 mrg * testsuite/demangle/abi_examples/08.cc: New. 7296 1.1 mrg * testsuite/demangle/abi_examples/09.cc: New. 7297 1.1 mrg * testsuite/demangle/abi_examples/10.cc: New. 7298 1.1 mrg * testsuite/demangle/abi_examples/11.cc: New. 7299 1.1 mrg * testsuite/demangle/abi_examples/12.cc: New. 7300 1.1 mrg * testsuite/demangle/abi_examples/13.cc: New. 7301 1.1 mrg * testsuite/demangle/abi_examples/14.cc: New. 7302 1.1 mrg * testsuite/demangle/abi_examples/15.cc: New. 7303 1.1 mrg * testsuite/demangle/abi_examples/16.cc: New. 7304 1.1 mrg * testsuite/demangle/abi_examples/17.cc: New. 7305 1.1 mrg * testsuite/demangle/abi_examples/18.cc: New. 7306 1.1 mrg * testsuite/demangle/abi_examples/19.cc: New. 7307 1.1 mrg * testsuite/demangle/abi_examples/20.cc: New. 7308 1.1 mrg * testsuite/demangle/abi_examples/21.cc: New. 7309 1.1 mrg * testsuite/demangle/abi_examples/22.cc: New. 7310 1.1 mrg * testsuite/demangle/abi_examples/23.cc: New. 7311 1.1 mrg * testsuite/demangle/abi_examples/24.cc: New. 7312 1.1 mrg * testsuite/demangle/abi_examples/25.cc: New. 7313 1.1 mrg * testsuite/demangle/abi_examples/26.cc: New. 7314 1.1 mrg * testsuite/demangle/abi_text/01.cc: New. 7315 1.1 mrg * testsuite/demangle/abi_text/02.cc: New. 7316 1.1 mrg * testsuite/demangle/abi_text/03.cc: New. 7317 1.1 mrg * testsuite/demangle/abi_text/04.cc: New. 7318 1.1 mrg * testsuite/demangle/abi_text/05.cc: New. 7319 1.1 mrg * testsuite/demangle/abi_text/06.cc: New. 7320 1.1 mrg * testsuite/demangle/abi_text/07.cc: New. 7321 1.1 mrg * testsuite/demangle/abi_text/08.cc: New. 7322 1.1 mrg * testsuite/demangle/abi_text/09.cc: New. 7323 1.1 mrg * testsuite/demangle/abi_text/10.cc: New. 7324 1.1 mrg * testsuite/demangle/abi_text/11.cc: New. 7325 1.1 mrg * testsuite/demangle/abi_text/12.cc: New. 7326 1.1 mrg * testsuite/demangle/abi_text/13.cc: New. 7327 1.1 mrg * testsuite/demangle/abi_text/14.cc: New. 7328 1.1 mrg * testsuite/demangle/regression/3111-1.cc: New. 7329 1.1 mrg * testsuite/demangle/regression/3111-2.cc: New. 7330 1.1 mrg * testsuite/demangle/regression/7986-01.cc: New. 7331 1.1 mrg * testsuite/demangle/regression/7986-02.cc: New. 7332 1.1 mrg * testsuite/demangle/regression/7986-03.cc: New. 7333 1.1 mrg * testsuite/demangle/regression/7986-04.cc: New. 7334 1.1 mrg * testsuite/demangle/regression/7986-05.cc: New. 7335 1.1 mrg * testsuite/demangle/regression/7986-06.cc: New. 7336 1.1 mrg * testsuite/demangle/regression/7986-07.cc: New. 7337 1.1 mrg * testsuite/demangle/regression/7986-08.cc: New. 7338 1.1 mrg * testsuite/demangle/regression/7986-09.cc: New. 7339 1.1 mrg * testsuite/demangle/regression/7986-10.cc: New. 7340 1.1 mrg * testsuite/demangle/regression/7986-11.cc: New. 7341 1.1 mrg * testsuite/demangle/regression/7986-12.cc: New. 7342 1.1 mrg * testsuite/demangle/regression/7986.cc: New. 7343 1.1 mrg * testsuite/demangle/regression/8897.cc: New. 7344 1.1 mrg * testsuite/demangle/regression/cw-01.cc: New. 7345 1.1 mrg * testsuite/demangle/regression/cw-02.cc: New. 7346 1.1 mrg * testsuite/demangle/regression/cw-03.cc: New. 7347 1.1 mrg * testsuite/demangle/regression/cw-04.cc: New. 7348 1.1 mrg * testsuite/demangle/regression/cw-05.cc: New. 7349 1.1 mrg * testsuite/demangle/regression/cw-06.cc: New. 7350 1.1 mrg * testsuite/demangle/regression/cw-07.cc: New. 7351 1.1 mrg * testsuite/demangle/regression/cw-08.cc: New. 7352 1.1 mrg * testsuite/demangle/regression/cw-09.cc: New. 7353 1.1 mrg * testsuite/demangle/regression/cw-10.cc: New. 7354 1.1 mrg * testsuite/demangle/regression/cw-11.cc: New. 7355 1.1 mrg * testsuite/demangle/regression/cw-12.cc: New. 7356 1.1 mrg * testsuite/demangle/regression/cw-13.cc: New. 7357 1.1 mrg * testsuite/demangle/regression/cw-14.cc: New. 7358 1.1 mrg * testsuite/demangle/regression/old.cc: New. 7359 1.1 mrg 7360 1.1 mrg 2003-02-25 Phil Edwards <pme (a] gcc.gnu.org> 7361 1.1 mrg 7362 1.1 mrg * docs/doxygen/Intro.3: Update with new (proper) names. 7363 1.1 mrg * docs/doxygen/TODO: Update. 7364 1.1 mrg * docs/doxygen/run_doxygen: More comments, fix up man pages. 7365 1.1 mrg Fake entries for standard typedefs. 7366 1.1 mrg * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on. 7367 1.1 mrg * docs/html/documentation.html: Top-level man page is now called 7368 1.1 mrg C++Intro. 7369 1.1 mrg * include/std/std_limits.h: Doxygenate. 7370 1.1 mrg 7371 1.1 mrg 2003-02-25 Scott Snyder <snyder (a] fnal.gov> 7372 1.1 mrg 7373 1.1 mrg PR libstdc++/9811 7374 1.1 mrg * include/bits/stl_map.h (lower_bound, upper_bound, equal_range): 7375 1.1 mrg Correct documentation. 7376 1.1 mrg * include/bits/stl_multimap.h (lower_bound, upper_bound, 7377 1.1 mrg equal_range): Likewise. 7378 1.1 mrg 7379 1.1 mrg 2003-02-24 Paolo Carlini <pcarlini (a] unitus.it> 7380 1.1 mrg 7381 1.1 mrg PR libstdc++/9825 7382 1.1 mrg * src/fstream.cc 7383 1.1 mrg (basic_filebuf<char/wchar_t>::_M_underflow_common): When 7384 1.1 mrg __bump is true (uflow), always increment the read pointer 7385 1.1 mrg (_M_in_cur) before returning successfully. 7386 1.1 mrg * testsuite/27_io/filebuf_virtuals.cc (test12): Add. 7387 1.1 mrg 7388 1.1 mrg 2003-02-24 Paolo Carlini <pcarlini (a] unitus.it> 7389 1.1 mrg Nathan Myers <ncm (a] cantrip.org> 7390 1.1 mrg 7391 1.1 mrg PR libstdc++/9404, PR libstdc++/9701 (partial) 7392 1.1 mrg (aka pptr == epptr implies overflow) 7393 1.1 mrg * include/bits/fstream.tcc (_M_allocate_internal_buffer): 7394 1.1 mrg Consistently, _M_out_end points to the end of the buffer just 7395 1.1 mrg created. 7396 1.1 mrg (overflow): Tweak to use _M_out_buf_size(). 7397 1.1 mrg (_M_convert_to_external): The role of the old _M_out_end is 7398 1.1 mrg now played by _M_out_lim. 7399 1.1 mrg (_M_really_overflow): Likewise. 7400 1.1 mrg (seekoff): Likewise. 7401 1.1 mrg (setbuf): _M_out_end points to the end of the external buffer. 7402 1.1 mrg * include/bits/sstream.tcc (overflow): Rewrote, taking into 7403 1.1 mrg account the resolution of DR 169 (TC). 7404 1.1 mrg (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim. 7405 1.1 mrg (seekpos): Use _M_string.capacity(); tweak. 7406 1.1 mrg * include/bits/streambuf.tcc (sputc, xsputn): Remove comments. 7407 1.1 mrg * include/std/std_fstream.h (sync): The role of the old 7408 1.1 mrg _M_out_end is now played by _M_out_lim. 7409 1.1 mrg (_M_set_indeterminate): Use _M_set_determinate. 7410 1.1 mrg (_M_set_determinate): _M_out_end is now _M_out_lim. 7411 1.1 mrg (_M_is_indeterminate): Likewise. 7412 1.1 mrg * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim. 7413 1.1 mrg (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams, 7414 1.1 mrg which have the information readily available as _M_string.capacity(); 7415 1.1 mrg for ate and app modes, pass the string size to _M_really_sync. 7416 1.1 mrg (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to 7417 1.1 mrg point to the end of the buffer (i.e., epptr) and to the string end, 7418 1.1 mrg respectively. 7419 1.1 mrg * include/std/std_streambuf.h: tweak comments, add _M_out_lim, 7420 1.1 mrg which points to the right limit of the used put area. 7421 1.1 mrg (_M_out_cur_move): The role of the old _M_out_end is now played 7422 1.1 mrg by _M_out_lim. 7423 1.1 mrg (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply 7424 1.1 mrg _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter 7425 1.1 mrg of the standard. 7426 1.1 mrg (basic_streambuf()): Initialize _M_out_lim too. 7427 1.1 mrg * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak. 7428 1.1 mrg * testsuite/27_io/filebuf_virtuals.cc (test11): Add. 7429 1.1 mrg * testsuite/27_io/stringbuf_virtuals.cc (test09): Add. 7430 1.1 mrg 7431 1.1 mrg 2003-02-24 Benjamin Kosnik <bkoz (a] redhat.com> 7432 1.1 mrg 7433 1.1 mrg * testsuite/27_io/ios_base_storage.cc (main): Call 7434 1.1 mrg set_memory_limits. 7435 1.1 mrg 7436 1.1 mrg 2003-02-21 Jerry Quinn <jlquinn (a] optonline.net> 7437 1.1 mrg 7438 1.1 mrg * include/bits/locale_facets.tcc (_M_convert_float): Replace 7439 1.1 mrg numpunct facet accesses with data from __locale_cache. 7440 1.1 mrg 7441 1.1 mrg 2003-02-20 Phil Edwards <pme (a] gcc.gnu.org> 7442 1.1 mrg 7443 1.1 mrg * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD. 7444 1.1 mrg * docs/html/faq/index.txt: Regenerate. 7445 1.1 mrg 7446 1.1 mrg 2003-02-20 Phil Edwards <pme (a] gcc.gnu.org> 7447 1.1 mrg 7448 1.1 mrg * config/linker-map.gnu: Also export locking symbols needed for the 7449 1.1 mrg generic atomicity.h case. 7450 1.1 mrg 7451 1.1 mrg 2003-02-20 Alexandre Oliva <aoliva (a] redhat.com> 7452 1.1 mrg 7453 1.1 mrg * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to 7454 1.1 mrg config.status. 7455 1.1 mrg * configure: Rebuilt. 7456 1.1 mrg 7457 1.1 mrg 2003-02-19 Paolo Carlini <pcarlini (a] unitus.it> 7458 1.1 mrg 7459 1.1 mrg * include/bits/sstream.tcc (overflow): According to 7460 1.1 mrg 27.7.1.3, p5, actual output is performed by sputc(c). 7461 1.1 mrg 7462 1.1 mrg 2003-02-19 Phil Edwards <pme (a] gcc.gnu.org> 7463 1.1 mrg 7464 1.1 mrg PR libstdc++/9582 7465 1.1 mrg * include/bits/stl_alloc.h: Remove all traces of assert(). 7466 1.1 mrg 7467 1.1 mrg 2003-02-18 Paolo Carlini <pcarlini (a] unitus.it> 7468 1.1 mrg 7469 1.1 mrg * include/std/std_sstream.h (str()): the size of the 7470 1.1 mrg current string may be different from the initial one 7471 1.1 mrg whenever _M_out_end > _M_out_beg. 7472 1.1 mrg * testsuite/27_io/stringbuf_members.cc (test07): Add. 7473 1.1 mrg 7474 1.1 mrg 2003-02-18 Paolo Carlini <pcarlini (a] unitus.it> 7475 1.1 mrg 7476 1.1 mrg PR libstdc++/9582 7477 1.1 mrg * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert. 7478 1.1 mrg 7479 1.1 mrg 2003-02-17 Benjamin Kosnik <bkoz (a] redhat.com> 7480 1.1 mrg 7481 1.1 mrg * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well. 7482 1.1 mrg * testsuite/27_io/ios_members.cc (test03): New. 7483 1.1 mrg 7484 1.1 mrg 2003-02-17 Jerry Quinn <jlquinn (a] optonline.net> 7485 1.1 mrg 7486 1.1 mrg * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare. 7487 1.1 mrg (basic_ios::_M_cache_facets): Move into above. 7488 1.1 mrg * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale 7489 1.1 mrg cache. 7490 1.1 mrg (basic_ios::imbue): Force locale cache to be built. 7491 1.1 mrg (basic_ios::_M_init): Create and initialize locale cache. 7492 1.1 mrg * include/bits/ios_base.h (__locale_cache_base): Declare. 7493 1.1 mrg (ios_base::_M_locale_cache): New. 7494 1.1 mrg (ios_base::_M_cache): Define. 7495 1.1 mrg * include/bits/locale_facets.h: (__num_base): Fix comment. Add 7496 1.1 mrg _S_end. 7497 1.1 mrg (__locale_cache_base,__locale_cache<_CharT>): New classes. 7498 1.1 mrg (__locale_cache<char>, __locale_cache<wchar_t>): New specializations. 7499 1.1 mrg * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale 7500 1.1 mrg cache literal string, grouping flag, thousands separator. 7501 1.1 mrg (__locale_cache<_CharT>::__locale_cache): New. 7502 1.1 mrg (__locale_cache<_CharT>::_M_init): New. 7503 1.1 mrg * src/ios.cc: Clear _M_locale_cache in constructor. 7504 1.1 mrg * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>): 7505 1.1 mrg New. 7506 1.1 mrg 7507 1.1 mrg 2003-02-17 Paolo Carlini <pcarlini (a] unitus.it> 7508 1.1 mrg 7509 1.1 mrg * src/locale-inst.cc: Do not include <cassert>. 7510 1.1 mrg * src/locale.cc: Likewise. 7511 1.1 mrg 7512 1.1 mrg 2003-02-17 Paolo Carlini <pcarlini (a] unitus.it> 7513 1.1 mrg 7514 1.1 mrg PR libstdc++/9580 7515 1.1 mrg * include/std/std_fstream.h: Declare underflow and uflow 7516 1.1 mrg specializations, change generic definitions to do nothing. 7517 1.1 mrg * src/fstream.cc: Add underflow and uflow specializations. 7518 1.1 mrg 7519 1.1 mrg 2003-02-17 Paolo Carlini <pcarlini (a] unitus.it> 7520 1.1 mrg 7521 1.1 mrg PR libstdc++/9169 7522 1.1 mrg * include/bits/fstream.tcc (_M_convert_to_external): 7523 1.1 mrg Deal correctly with noconv, as prescribed by 27.8.1.4,p8. 7524 1.1 mrg * testsuite/27_io/filebuf_virtuals.cc (test10): Add. 7525 1.1 mrg 7526 1.1 mrg 2003-02-13 Benjamin Kosnik <bkoz (a] redhat.com> 7527 1.1 mrg 7528 1.1 mrg * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define. 7529 1.1 mrg * include/bits/basic_ios.tcc: Guard use of extern template. 7530 1.1 mrg * include/std/std_iomanip.h: Same. 7531 1.1 mrg * include/bits/streambuf.tcc: Same. 7532 1.1 mrg * include/bits/stl_alloc.h: Same. 7533 1.1 mrg * include/bits/locale_facets.tcc: Same. 7534 1.1 mrg * include/bits/ostream.tcc: Same. 7535 1.1 mrg * include/bits/istream.tcc: Same. 7536 1.1 mrg * include/bits/fstream.tcc: Same. 7537 1.1 mrg * include/bits/basic_string.tcc: Same. 7538 1.1 mrg 7539 1.1 mrg 2003-02-13 Paolo Carlini <pcarlini (a] unitus.it> 7540 1.1 mrg 7541 1.1 mrg * include/bits/ostream.tcc (sentry::sentry): Improve 7542 1.1 mrg performance-wise the fix for libstdc++/9563. 7543 1.1 mrg 7544 1.1 mrg 2003-02-12 Phil Edwards <pme (a] gcc.gnu.org> 7545 1.1 mrg 7546 1.1 mrg * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration. 7547 1.1 mrg (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file. 7548 1.1 mrg (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare 7549 1.1 mrg when we don't have static mutex initialization. 7550 1.1 mrg (__exchange_and_add): Use _Atomic_add_mutex_once. 7551 1.1 mrg * src/misc-inst.cc: Definitions of all the above. 7552 1.1 mrg 7553 1.1 mrg 2003-02-12 Paolo Carlini <pcarlini (a] unitus.it> 7554 1.1 mrg 7555 1.1 mrg PR libstdc++/9563 7556 1.1 mrg * include/bits/ostream.tcc (sentry::sentry): Check 7557 1.1 mrg the state of the stream after the preparation. 7558 1.1 mrg * testsuite/27_io/ostream_sentry.cc (test02): Add. 7559 1.1 mrg 7560 1.1 mrg 2003-02-11 Benjamin Kosnik <bkoz (a] redhat.com> 7561 1.1 mrg 7562 1.1 mrg * include/Makefile.am (stamp-std-precompile): Add rule. 7563 1.1 mrg * include/Makefile.in: Regenerated. 7564 1.1 mrg 7565 1.1 mrg 2003-02-11 Jerry Quinn <jlquinn (a] optonline.net> 7566 1.1 mrg Benjamin Kosnik <benjamin (a] redhat.com> 7567 1.1 mrg 7568 1.1 mrg * include/bits/locale_facets.h (__num_base): Add _S_atoms_out. 7569 1.1 mrg Add indexes into this array. 7570 1.1 mrg (__num_base::_S_atoms): To _S_atoms_in. 7571 1.1 mrg (num_put::_M_insert): Rename to _M_pad. 7572 1.1 mrg (num_put::_M_convert_int): Adjust remove __mod, __modl arguments. 7573 1.1 mrg (num_put::_M_widen_int): Rename to _M_group_int. 7574 1.1 mrg (num_put::_M_widen_float): Rename to _M_group_float. 7575 1.1 mrg * include/bits/locale_facets.tcc (__int_to_char): New inline 7576 1.1 mrg function and adapter functions. 7577 1.1 mrg (num_put::_M_group_int): Streamline. 7578 1.1 mrg (num_put::_M_group_float): Streamline. 7579 1.1 mrg (num_put::_M_convert_int): Remove unused parameter names. Choose 7580 1.1 mrg large enough buffer for text. Use __int_to_char instead of 7581 1.1 mrg __convert_from_v. Formatted text is now at the end of the buffer. 7582 1.1 mrg (num_put::_M_convert_float): Preliminary fixups. 7583 1.1 mrg * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef. 7584 1.1 mrg (__int_to_char<unsigned long long>): Same. 7585 1.1 mrg (__int_to_char<char, unsigned long>): New. 7586 1.1 mrg (__int_to_char<char, unsigned long long>): New. 7587 1.1 mrg (__int_to_char<wchar_t, unsigned long>): New. 7588 1.1 mrg (__int_to_char<wchar_t, unsigned long long>): New. 7589 1.1 mrg 7590 1.1 mrg 2003-02-11 Scott Snyder <snyder (a] fnal.gov> 7591 1.1 mrg 7592 1.1 mrg PR libstdc++/9659 7593 1.1 mrg * include/bits/fstream.tcc (seekoff): Avoid operator+ 7594 1.1 mrg for pos_type. 7595 1.1 mrg 7596 1.1 mrg 2003-02-11 Paolo Carlini <pcarlini (a] unitus.it> 7597 1.1 mrg 7598 1.1 mrg PR libstdc++/9320 7599 1.1 mrg * include/ext/stdio_filebuf.h 7600 1.1 mrg (stdio_filebuf(int, std::ios_base::openmode, bool, int_type), 7601 1.1 mrg stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)): 7602 1.1 mrg Change to take a __size parameter of type size_t, not 7603 1.1 mrg of type (template parameter dependent) int_type. 7604 1.1 mrg * src/ios.cc (ios_base::Init::_S_ios_create): Change type of 7605 1.1 mrg size vars to size_t. 7606 1.1 mrg * testsuite/ext/stdio_filebuf.cc: Add. 7607 1.1 mrg 7608 1.1 mrg 2003-02-11 Paolo Carlini <pcarlini (a] unitus.it> 7609 1.1 mrg Petur Runolfsson <peturr02 (a] ru.is> 7610 1.1 mrg 7611 1.1 mrg PR libstdc++/9318 7612 1.1 mrg * include/bits/streambuf.tcc (__copy_streambufs): 7613 1.1 mrg Don't conditionalize the copy to __testput. 7614 1.1 mrg * testsuite/27_io/streambuf_members.cc (test09, test10): Add. 7615 1.1 mrg 7616 1.1 mrg 2002-02-11 DJ Delorie <dj (a] redhat.com> 7617 1.1 mrg 7618 1.1 mrg * acinclude.m4: Check for native targets that can't link at 7619 1.1 mrg this point in the build. 7620 1.1 mrg * aclocal.m4: Regenerate. 7621 1.1 mrg * configure: Regenerate. 7622 1.1 mrg 7623 1.1 mrg 2003-02-08 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca> 7624 1.1 mrg 7625 1.1 mrg * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock): 7626 1.1 mrg Correct alignment. 7627 1.1 mrg (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset 7628 1.1 mrg lock. 7629 1.1 mrg 7630 1.1 mrg 2003-02-07 Paolo Carlini <pcarlini (a] unitus.it> 7631 1.1 mrg 7632 1.1 mrg * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for 7633 1.1 mrg unsigned char platforms. 7634 1.1 mrg 7635 1.1 mrg 2003-02-06 Paolo Carlini <pcarlini (a] unitus.it> 7636 1.1 mrg 7637 1.1 mrg PR libstdc++/9562 7638 1.1 mrg * include/std/std_istream.h 7639 1.1 mrg (basic_istream::sentry::operator bool()): Make const. 7640 1.1 mrg * include/std/std_ostream.h 7641 1.1 mrg (basic_ostream::sentry::operator bool()): Likewise. 7642 1.1 mrg * testsuite/27_io/istream_sentry.cc (test03): Add. 7643 1.1 mrg * testsuite/27_io/ostream_sentry.cc: Add. 7644 1.1 mrg 7645 1.1 mrg 2003-02-06 Paolo Carlini <pcarlini (a] unitus.it> 7646 1.1 mrg 7647 1.1 mrg PR libstdc++/9548 7648 1.1 mrg Implement resolution of DR 231 (Ready) 7649 1.1 mrg * include/bits/locale_facets.h (__num_base::_S_format_float): 7650 1.1 mrg Change declaration: return void, remove __prec parameter. 7651 1.1 mrg * src/locale.cc (__num_base::_S_format_float): Implement 7652 1.1 mrg resolution of DR 231. 7653 1.1 mrg * include/bits/locale_facets.tcc (num_put::_M_convert_float): 7654 1.1 mrg Tweak uses. Check for negative precision. 7655 1.1 mrg * testsuite/22_locale/num_put/put/char/6.cc: Add 7656 1.1 mrg * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise. 7657 1.1 mrg 7658 1.1 mrg 2003-02-06 Peter Soetens <peter.soetens (a] mech.kuleuven.ac.be> 7659 1.1 mrg 7660 1.1 mrg * config/io/basic_file_libio.h: Fixups. 7661 1.1 mrg * config/io/c_io_libio.h: Same. 7662 1.1 mrg * libio/Makefile.am: Same. 7663 1.1 mrg * libio/Makefile.in: Regenerated. 7664 1.1 mrg 7665 1.1 mrg 2003-02-06 Benjamin Kosnik <bkoz (a] redhat.com> 7666 1.1 mrg 7667 1.1 mrg * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01): 7668 1.1 mrg Explicitly use the "C" locale. 7669 1.1 mrg * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same. 7670 1.1 mrg 7671 1.1 mrg 2003-02-06 Petur Runolfsson <peturr02 (a] ru.is> 7672 1.1 mrg 7673 1.1 mrg DR 75 7674 1.1 mrg DR 305 7675 1.1 mrg PR libstdc++/9028 (partial) 7676 1.1 mrg PR libstdc++/9224 7677 1.1 mrg PR libstdc++/9246 7678 1.1 mrg PR libstdc++/9247 7679 1.1 mrg 7680 1.1 mrg * src/codecvt.cc 7681 1.1 mrg (codecvt<wchar_t, char, mbstate_t>::do_encoding, 7682 1.1 mrg codecvt<wchar_t, char, mbstate_t>::do_length, 7683 1.1 mrg codecvt<wchar_t, char, mbstate_t>::do_max_length): 7684 1.1 mrg Move... 7685 1.1 mrg * config/locale/generic/codecvt_members.cc: ...here. 7686 1.1 mrg * config/locale/gnu/codecvt_members.cc: ...and here. 7687 1.1 mrg 7688 1.1 mrg * config/locale/generic/codecvt_members.cc, 7689 1.1 mrg * config/locale/gnu/codecvt_members.cc 7690 1.1 mrg (codecvt<wchar_t, char, mbstate_t>::do_encoding 7691 1.1 mrg codecvt<wchar_t, char, mbstate_t>::do_in, 7692 1.1 mrg codecvt<wchar_t, char, mbstate_t>::do_length, 7693 1.1 mrg codecvt<wchar_t, char, mbstate_t>::do_max_length, 7694 1.1 mrg codecvt<wchar_t, char, mbstate_t>::do_out): 7695 1.1 mrg New implementation that handles stateless encodings, 7696 1.1 mrg including UTF-8. 7697 1.1 mrg 7698 1.1 mrg * config/locale/generic/codecvt_members.cc, 7699 1.1 mrg * config/locale/gnu/codecvt_members.cc, 7700 1.1 mrg * config/locale/ieee_1003.1-2001/codecvt_specializations.h, 7701 1.1 mrg * include/bits/codecvt.h, 7702 1.1 mrg * src/codecvt.cc 7703 1.1 mrg (codecvt::length, codecvt::do_length): 7704 1.1 mrg Change type of first argument of length and do_length from 7705 1.1 mrg 'const state_type&' to 'state_type&' according to DR 75. 7706 1.1 mrg 7707 1.1 mrg * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup. 7708 1.1 mrg * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test. 7709 1.1 mrg * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test. 7710 1.1 mrg * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test. 7711 1.1 mrg * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc: 7712 1.1 mrg Cleanup and check for correct return value from encoding 7713 1.1 mrg for "C" locale. 7714 1.1 mrg * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test. 7715 1.1 mrg * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test. 7716 1.1 mrg * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test. 7717 1.1 mrg * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup. 7718 1.1 mrg * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test. 7719 1.1 mrg * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test. 7720 1.1 mrg * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test. 7721 1.1 mrg * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test. 7722 1.1 mrg * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test. 7723 1.1 mrg * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test. 7724 1.1 mrg * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test. 7725 1.1 mrg * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test. 7726 1.1 mrg * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup. 7727 1.1 mrg * testsuite/22_locale/codecvt/length/char/2.cc: New test. 7728 1.1 mrg * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup. 7729 1.1 mrg * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test. 7730 1.1 mrg * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test. 7731 1.1 mrg * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test. 7732 1.1 mrg * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test. 7733 1.1 mrg * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test. 7734 1.1 mrg * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test. 7735 1.1 mrg * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup. 7736 1.1 mrg * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test. 7737 1.1 mrg * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test. 7738 1.1 mrg * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test. 7739 1.1 mrg * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup. 7740 1.1 mrg * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test. 7741 1.1 mrg * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test. 7742 1.1 mrg * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test. 7743 1.1 mrg * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test. 7744 1.1 mrg * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test. 7745 1.1 mrg * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test. 7746 1.1 mrg * testsuite/22_locale/codecvt/unicode/1.cc: New test. 7747 1.1 mrg * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup. 7748 1.1 mrg * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test. 7749 1.1 mrg * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test. 7750 1.1 mrg * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test. 7751 1.1 mrg 7752 1.1 mrg 2003-02-05 Benjamin Kosnik <bkoz (a] redhat.com> 7753 1.1 mrg 7754 1.1 mrg * include/bits/locale_facets.tcc (time_put::do_put): Use __write. 7755 1.1 mrg (money_put::do_put): Same. 7756 1.1 mrg 7757 1.1 mrg 2003-02-05 Jerry Quinn <jlquinn (a] optonline.net> 7758 1.1 mrg 7759 1.1 mrg * include/bits/ios_base.h (ios_base): Document reserved storage. 7760 1.1 mrg 7761 1.1 mrg * include/bits/locale_facets.h: (struct __pad): Comment on 7762 1.1 mrg implementation. 7763 1.1 mrg (__verify_grouping): Same. 7764 1.1 mrg (__add_grouping): Same. 7765 1.1 mrg * include/bits/locale_facets.tcc (__verify_grouping): Move 7766 1.1 mrg comments to declaration. 7767 1.1 mrg (__add_grouping): Same. 7768 1.1 mrg 7769 1.1 mrg * include/bits/locale_facets.tcc: 7770 1.1 mrg (__write<_CharT, _OutIter>): New function. 7771 1.1 mrg (__write<_CharT>): New function specialization. 7772 1.1 mrg (num_put::_M_insert): Remove explicit loop over iterator. Use 7773 1.1 mrg __write. 7774 1.1 mrg (num_put::_M_widen_float): Remove __basefield. 7775 1.1 mrg (num_put::_M_widen_int): Move __basefield to within grouping block. 7776 1.1 mrg 7777 1.1 mrg * include/bits/streambuf_iterator.h: Include <streambuf>. 7778 1.1 mrg (ostreambuf_iterator::_M_put): Add. 7779 1.1 mrg 7780 1.1 mrg 2003-02-05 Paolo Carlini <pcarlini (a] unitus.it> 7781 1.1 mrg 7782 1.1 mrg * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo. 7783 1.1 mrg 7784 1.1 mrg 2003-02-04 Nathan Myers <ncm (a] cantrip.org> 7785 1.1 mrg 7786 1.1 mrg * testsuite/25_algorithms/min_max.cc (test02): Add. 7787 1.1 mrg 7788 1.1 mrg 2003-02-04 Paolo Carlini <pcarlini (a] unitus.it> 7789 1.1 mrg 7790 1.1 mrg PR libstdc++/9439, PR libstdc++/9425 7791 1.1 mrg * config/io/basic_file_stdio.cc 7792 1.1 mrg (__basic_file<char>::seekoff, seekpos): Return -1L if 7793 1.1 mrg fseek fails. 7794 1.1 mrg * include/bits/fstream.tcc (basic_filebuf::seekoff): 7795 1.1 mrg Check _M_file.seekoff return value; always return 7796 1.1 mrg pos_type(off_type(-1)) in case of failure. 7797 1.1 mrg (basic_filebuf::pbackfail): Check this->seekoff return 7798 1.1 mrg value and return traits_type::eof() in case of failure. 7799 1.1 mrg * testsuite/27_io/filebuf_virtuals.cc (test09): Add. 7800 1.1 mrg 7801 1.1 mrg 2003-02-04 Jerry Quinn <jlquinn (a] optonline.net> 7802 1.1 mrg 7803 1.1 mrg * include/std/std_ostream.h (ostream::_M_write): Declare. 7804 1.1 mrg * ostream.tcc (ostream::_M_write): Define. 7805 1.1 mrg (basic_ostream::write): Use it. 7806 1.1 mrg (operator<<(basic_ostream, _CharT)): Ditto. 7807 1.1 mrg (operator<<(basic_ostream, char)): Ditto. 7808 1.1 mrg (operator<<(basic_ostream, _CharT*)): Ditto. 7809 1.1 mrg (operator<<(basic_ostream, char*)): Ditto. 7810 1.1 mrg (operator<<(basic_ostream, basic_string)): Ditto. 7811 1.1 mrg 7812 1.1 mrg 2003-02-04 Benjamin Kosnik <bkoz (a] redhat.com> 7813 1.1 mrg 7814 1.1 mrg * testsuite/26_numerics/valarray_name_lookup.cc: Fix. 7815 1.1 mrg 7816 1.1 mrg 2002-02-04 Jonathan Wakely <redi (a] gcc.gnu.org> 7817 1.1 mrg 7818 1.1 mrg * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page, 7819 1.1 mrg add HTML comment about updating links if numbering changes. 7820 1.1 mrg 7821 1.1 mrg 2003-02-04 Paolo Carlini <pcarlini (a] unitus.it> 7822 1.1 mrg 7823 1.1 mrg PR libstdc++/9538 7824 1.1 mrg * include/bits/streambuf.tcc (sputbackc): Access 7825 1.1 mrg this->gptr()[-1] only if _M_in_beg < _M_in_cur. 7826 1.1 mrg * testsuite/27_io/filebuf_virtuals.cc (test08): Add. 7827 1.1 mrg 7828 1.1 mrg 2003-02-04 Paolo Carlini <pcarlini (a] unitus.it> 7829 1.1 mrg 7830 1.1 mrg PR libstdc++/9507 7831 1.1 mrg * include/bits/fstream.tcc (open): If the 'ate' repositioning 7832 1.1 mrg operation fails, calls close _and_ returns a null pointer 7833 1.1 mrg to indicate failure (27.8.1.3,4). 7834 1.1 mrg * testsuite/27_io/filebuf_members.cc (test_06): Add. 7835 1.1 mrg 7836 1.1 mrg 2003-02-04 Petur Runolfsson <peturr02 (a] ru.is> 7837 1.1 mrg 7838 1.1 mrg * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0). 7839 1.1 mrg 7840 1.1 mrg 2002-02-04 Jonathan Wakely <redi (a] gcc.gnu.org> 7841 1.1 mrg 7842 1.1 mrg * docs/html/27_io/howto.html: New section on stdio_filebuf. 7843 1.1 mrg * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io. 7844 1.1 mrg * docs/html/documentation.html: Regenerate. 7845 1.1 mrg 7846 1.1 mrg 2003-02-04 Joseph S. Myers <jsm (a] polyomino.org.uk> 7847 1.1 mrg 7848 1.1 mrg * docs/html/17_intro/porting.texi: Update to GFDL 1.2. 7849 1.1 mrg * docs/html/17_intro/porting.html: Regenerate. 7850 1.1 mrg 7851 1.1 mrg 2003-02-03 Falk Hueffner <falk.hueffner (a] student.uni-tuebingen.de> 7852 1.1 mrg Phil Edwards <pme (a] gcc.gnu.org> 7853 1.1 mrg 7854 1.1 mrg * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use 7855 1.1 mrg numeric_limits for bits-per-word values. 7856 1.1 mrg (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count): 7857 1.1 mrg Use __builtin_popcountl instead. 7858 1.1 mrg (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next, 7859 1.1 mrg _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next): 7860 1.1 mrg Use __builtin_ctzl instead. 7861 1.1 mrg (_S_bit_count, _S_first_one): Remove. 7862 1.1 mrg * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count. 7863 1.1 mrg * src/Makefile.am (sources): Remove bitset.cc. 7864 1.1 mrg * src/bitset.cc: Delete file. 7865 1.1 mrg * src/Makefile.in: Regenerate. 7866 1.1 mrg 7867 1.1 mrg 2003-02-03 Phil Edwards <pme (a] gcc.gnu.org> 7868 1.1 mrg 7869 1.1 mrg PR libstdc++/9527, PR libstdc++/8713 7870 1.1 mrg * docs/html/install.html: Mention glibc version requirement. 7871 1.1 mrg * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed 7872 1.1 mrg with 3.2.1+ (formatting bugfixes). 7873 1.1 mrg * docs/html/faq/index.txt: Regenerate. 7874 1.1 mrg 7875 1.1 mrg 2003-02-03 Volker Reichelt <reichelt (a] igpm.rwth-aachen.de> 7876 1.1 mrg 7877 1.1 mrg PR libstdc++/9234 7878 1.1 mrg * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary 7879 1.1 mrg operator. 7880 1.1 mrg 7881 1.1 mrg * include/bits/valarray_before.h (__not_equal_to): Use != instead 7882 1.1 mrg of ==. 7883 1.1 mrg 7884 1.1 mrg * testsuite/26_numerics/valarray_operators.cc: New test. 7885 1.1 mrg 7886 1.1 mrg 2003-02-01 Phil Edwards <pme (a] gcc.gnu.org> 7887 1.1 mrg 7888 1.1 mrg * docs/html/faq/index.html: Correct link to libg++ information. 7889 1.1 mrg * docs/html/faq/index.txt: Regenerated. 7890 1.1 mrg 7891 1.1 mrg 2003-02-01 Paolo Carlini <pcarlini (a] unitus.it> 7892 1.1 mrg Benjamin Kosnik <bkoz (a] redhat.com> 7893 1.1 mrg 7894 1.1 mrg Const correctness issue: 7895 1.1 mrg http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html 7896 1.1 mrg * include/bits/locale_classes.h 7897 1.1 mrg (locale::_Impl::_M_facets): Change type to const facet**. 7898 1.1 mrg (locale::_Impl::_M_install_facet): Change declaration to 7899 1.1 mrg take const facet*. 7900 1.1 mrg (locale::facet::_M_references): Make mutable. 7901 1.1 mrg (locale::facet::_M_add_reference): Declare const. 7902 1.1 mrg (locale::facet::_M_remove_reference): Likewise. 7903 1.1 mrg * include/bits/locale_facets.tcc 7904 1.1 mrg (use_facet(const locale&)): Tweak for const facet** _M_facets. 7905 1.1 mrg (has_facet(const locale&)): Likewise. 7906 1.1 mrg * src/locale.cc 7907 1.1 mrg (locale::facet::_M_add_reference): Adjust definition. 7908 1.1 mrg (locale::facet::_M_remove_reference): Likewise. 7909 1.1 mrg * src/localename.cc 7910 1.1 mrg (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for 7911 1.1 mrg const facet** _M_facets. 7912 1.1 mrg (locale::_Impl::_Impl(const char*, size_t)): Likewise. 7913 1.1 mrg (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise. 7914 1.1 mrg (locale::_Impl::_M_install_facet): Adjust definition to take 7915 1.1 mrg const facet* and for const facet** _M_facets. 7916 1.1 mrg * testsuite/22_locale/locale/cons/8.cc: Add. 7917 1.1 mrg 7918 1.1 mrg 2003-01-29 Mark Mitchell <mark (a] codesourcery.com> 7919 1.1 mrg 7920 1.1 mrg * include/std/std_limits.h (numeric_limits<float>::has_infinity): 7921 1.1 mrg Use __FLT_HAS_INIFINITY__ to initialize. 7922 1.1 mrg (numeric_limits<float>::has_quiet_NaN): Likewise. 7923 1.1 mrg (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__ 7924 1.1 mrg to initialize. 7925 1.1 mrg (numeric_limits<double>::has_quiet_NaN): Likewise. 7926 1.1 mrg (numeric_limits<long double>::has_infinity): Use 7927 1.1 mrg __LDBL_HAS_INIFINITY__ to initialize. 7928 1.1 mrg (numeric_limits<long_double>::has_quiet_NaN): Likewise. 7929 1.1 mrg 7930 1.1 mrg 2003-01-28 Nathan Sidwell <nathan (a] codesourcery.com> 7931 1.1 mrg 7932 1.1 mrg PR c++/9433 7933 1.1 mrg * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope 7934 1.1 mrg with bases which are very ambiguous. 7935 1.1 mrg 7936 1.1 mrg 2003-01-28 Danny Smith <dannysmith (a] users.sourceforge.net> 7937 1.1 mrg 7938 1.1 mrg * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of 7939 1.1 mrg @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@. 7940 1.1 mrg * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise. 7941 1.1 mrg * src/Makefile.in: Regenerate. 7942 1.1 mrg * libsupc++/Makefile.in: Regenerate. 7943 1.1 mrg 7944 1.1 mrg 2003-01-27 Alexandre Oliva <aoliva (a] redhat.com> 7945 1.1 mrg 7946 1.1 mrg * acinclude.m4 (glibcpp_toolexeclibdir): Instead of 7947 1.1 mrg $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless 7948 1.1 mrg version_specific_libs is enabled. 7949 1.1 mrg * aclocal.m4, configure: Rebuilt. 7950 1.1 mrg 7951 1.1 mrg 2003-01-24 Nathan Sidwell <nathan (a] codesourcery.com> 7952 1.1 mrg 7953 1.1 mrg * include/bits/valarray_meta.h: Remove, split into ... 7954 1.1 mrg * include/bits/valarray_before.h: ... this, and ... 7955 1.1 mrg * include/bits/valarray_after.h: ... this. 7956 1.1 mrg * include/std/std_valarray.h: Adjust. 7957 1.1 mrg * include/Makefile.am (bits_headers): Adjust. 7958 1.1 mrg * include/Makefile.in: Regenerate. 7959 1.1 mrg 7960 1.1 mrg 2003-01-24 Andreas Schwab <schwab (a] suse.de> 7961 1.1 mrg 7962 1.1 mrg * config/linker-map.gnu: Fix for size_t variance. 7963 1.1 mrg 7964 1.1 mrg 2003-01-23 Petur Runolfsson <peturr02 (a] ru.is> 7965 1.1 mrg 7966 1.1 mrg PR libstdc++/9322 7967 1.1 mrg * include/std/std_streambuf.h 7968 1.1 mrg (basic_streambuf::basic_streambuf, 7969 1.1 mrg basic_streambuf::~basic_streambuf, 7970 1.1 mrg basic_streambuf::getloc, basic_streambuf::imbue): 7971 1.1 mrg Remove _M_buf_locale_init 7972 1.1 mrg * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise 7973 1.1 mrg * testsuite/27_io/filebuf_virtuals.cc (test08): Add. 7974 1.1 mrg * testsuite/27_io/streambuf_members.cc (test08): Add. 7975 1.1 mrg * testsuite/27_io/stringbuf_virtuals.cc (test08): Add. 7976 1.1 mrg 7977 1.1 mrg 2003-01-23 Benjamin Kosnik <bkoz (a] redhat.com> 7978 1.1 mrg 7979 1.1 mrg Revert include ordering. 7980 1.1 mrg * config/locale/generic/c_locale.h: Add include guards. 7981 1.1 mrg * config/locale/gnu/c_locale.h: Same. 7982 1.1 mrg * include/bits/locale_classes.h: Remove cctype include. 7983 1.1 mrg * include/std/std_iosfwd.h: Add c++locale.h, cctype includes. 7984 1.1 mrg * include/std/std_fstream.h: Remove streambuf include. 7985 1.1 mrg * include/std/std_sstream.h: Remove streambuf include. 7986 1.1 mrg 7987 1.1 mrg 2003-01-23 Benjamin Kosnik <bkoz (a] redhat.com> 7988 1.1 mrg 7989 1.1 mrg * configure.in (libtool_VERSION): To 6:0:0. 7990 1.1 mrg * configure: Regenerated. 7991 1.1 mrg * config/linker-map.gnu: Clean. 7992 1.1 mrg 7993 1.1 mrg * src/misc-inst.cc: Remove instantiations. 7994 1.1 mrg 7995 1.1 mrg * include/bits/stl_alloc.h (__malloc_alloc_template): 7996 1.1 mrg To __malloc_alloc. 7997 1.1 mrg (__default_alloc_template): To __pool_alloc. 7998 1.1 mrg * src/stl-inst.cc: Same. 7999 1.1 mrg * include/backward/alloc.h: Update. 8000 1.1 mrg * testsuite/ext/allocators.cc: Update. 8001 1.1 mrg 8002 1.1 mrg * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should 8003 1.1 mrg really try to remove these if possible. 8004 1.1 mrg * src/locale.cc (std): Same. 8005 1.1 mrg 8006 1.1 mrg * testsuite/abi_check.cc (check_version): Add. 8007 1.1 mrg 8008 1.1 mrg 2003-01-22 Benjamin Kosnik <bkoz (a] redhat.com> 8009 1.1 mrg Sysoltsev Slawa <Vyatcheslav.Sysoltsev (a] intel.com> 8010 1.1 mrg Mark Mitchell <mark (a] codesourcery.com> 8011 1.1 mrg 8012 1.1 mrg PR libstdc++/9269 8013 1.1 mrg * include/std/std_fstream.h (basic_filebuf::uflow): Declare. 8014 1.1 mrg (basic_filebuf::underflow): Declare. 8015 1.1 mrg Move definitions. 8016 1.1 mrg 8017 1.1 mrg 2003-01-22 Benjamin Kosnik <bkoz (a] redhat.com> 8018 1.1 mrg 8019 1.1 mrg * include/bits/locale_facets.h: Move non-facet classes requiring 8020 1.1 mrg <string> to... 8021 1.1 mrg * include/bits/locale_classes.h: New. 8022 1.1 mrg * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h. 8023 1.1 mrg * include/bits/Makefile.in: Regenerate. 8024 1.1 mrg 8025 1.1 mrg * include/bits/locale_facets.tcc (__convert_from_v): Move to... 8026 1.1 mrg * config/locale/gnu/c_locale.h: ...here. 8027 1.1 mrg * config/locale/generic/c_locale.h: Same. 8028 1.1 mrg 8029 1.1 mrg * include/bits/locale_facets.tcc: Move declarations to... 8030 1.1 mrg * include/bits/locale_facets.h: ...here. 8031 1.1 mrg * include/bits/basic_ios.h: Tweak includes accordingly. 8032 1.1 mrg * include/std/std_sstream.h: Add streambuf include. 8033 1.1 mrg * include/std/std_fstream.h: Ditto. 8034 1.1 mrg * include/std/std_locale.h: Add locale_classes.h include. 8035 1.1 mrg * include/std/std_iosfwd.h: Tweak. 8036 1.1 mrg * src/concept-inst.cc: Add iterator include. 8037 1.1 mrg 8038 1.1 mrg * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_* 8039 1.1 mrg bits as unexported in the future. 8040 1.1 mrg 8041 1.1 mrg 2003-01-21 Benjamin Kosnik <bkoz (a] redhat.com> 8042 1.1 mrg 8043 1.1 mrg Reshuffle 22_locale testsuite. 8044 1.1 mrg * 22_locale/(codecvt.cc money_get.cc 8045 1.1 mrg codecvt_members_char_char.cc money_get_members_char.cc 8046 1.1 mrg codecvt_members_unicode_char.cc money_get_members_wchar_t.cc 8047 1.1 mrg codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc 8048 1.1 mrg codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc 8049 1.1 mrg moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc 8050 1.1 mrg collate_members_char.cc money_put.cc collate_members_wchar_t.cc 8051 1.1 mrg money_put_members_char.cc ctor_copy_dtor.cc 8052 1.1 mrg money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc 8053 1.1 mrg num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc 8054 1.1 mrg ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc 8055 1.1 mrg numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc 8056 1.1 mrg ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc 8057 1.1 mrg num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc 8058 1.1 mrg ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc 8059 1.1 mrg operators.cc ctype_widen_char.cc static_members.cc 8060 1.1 mrg ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc 8061 1.1 mrg global_templates.cc time_get_members_wchar_t.cc, members.cc, 8062 1.1 mrg time_put.cc, messages_byname.cc, time_put_members_char.cc, 8063 1.1 mrg messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc): 8064 1.1 mrg Split up into individual test cases... 8065 1.1 mrg * 22_locale/codecvt/1.cc: New. 8066 1.1 mrg * 22_locale/codecvt/2.cc: New. 8067 1.1 mrg * 22_locale/codecvt/always_noconv/char/1.cc: New. 8068 1.1 mrg * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New. 8069 1.1 mrg * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New. 8070 1.1 mrg * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New. 8071 1.1 mrg * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New. 8072 1.1 mrg * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New. 8073 1.1 mrg * 22_locale/codecvt/encoding/char/1.cc: New. 8074 1.1 mrg * 22_locale/codecvt/encoding/char/wrapped_env.cc: New. 8075 1.1 mrg * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New. 8076 1.1 mrg * 22_locale/codecvt/encoding/wchar_t/1.cc: New. 8077 1.1 mrg * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New. 8078 1.1 mrg * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New. 8079 1.1 mrg * 22_locale/codecvt/in/char/1.cc: New. 8080 1.1 mrg * 22_locale/codecvt/in/char/wrapped_env.cc: New. 8081 1.1 mrg * 22_locale/codecvt/in/char/wrapped_locale.cc: New. 8082 1.1 mrg * 22_locale/codecvt/in/wchar_t/1.cc: New. 8083 1.1 mrg * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New. 8084 1.1 mrg * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New. 8085 1.1 mrg * 22_locale/codecvt/length/char/1.cc: New. 8086 1.1 mrg * 22_locale/codecvt/length/char/wrapped_env.cc: New. 8087 1.1 mrg * 22_locale/codecvt/length/char/wrapped_locale.cc: New. 8088 1.1 mrg * 22_locale/codecvt/length/wchar_t/1.cc: New. 8089 1.1 mrg * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New. 8090 1.1 mrg * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New. 8091 1.1 mrg * 22_locale/codecvt/max_length/char/1.cc: New. 8092 1.1 mrg * 22_locale/codecvt/max_length/char/wrapped_env.cc: New. 8093 1.1 mrg * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New. 8094 1.1 mrg * 22_locale/codecvt/max_length/wchar_t/1.cc: New. 8095 1.1 mrg * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New. 8096 1.1 mrg * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New. 8097 1.1 mrg * 22_locale/codecvt/out/char/1.cc: New. 8098 1.1 mrg * 22_locale/codecvt/out/char/wrapped_env.cc: New. 8099 1.1 mrg * 22_locale/codecvt/out/char/wrapped_locale.cc: New. 8100 1.1 mrg * 22_locale/codecvt/out/wchar_t/1.cc: New. 8101 1.1 mrg * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New. 8102 1.1 mrg * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New. 8103 1.1 mrg * 22_locale/codecvt/unicode/char.cc: New. 8104 1.1 mrg * 22_locale/codecvt/unicode/wchar_t.cc: New. 8105 1.1 mrg * 22_locale/codecvt/unshift/char/1.cc: New. 8106 1.1 mrg * 22_locale/codecvt/unshift/char/wrapped_env.cc: New. 8107 1.1 mrg * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New. 8108 1.1 mrg * 22_locale/codecvt/unshift/wchar_t/1.cc: New. 8109 1.1 mrg * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New. 8110 1.1 mrg * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New. 8111 1.1 mrg * 22_locale/collate/1.cc: New. 8112 1.1 mrg * 22_locale/collate/2.cc: New. 8113 1.1 mrg * 22_locale/collate/compare/char/1.cc: New. 8114 1.1 mrg * 22_locale/collate/compare/char/2.cc: New. 8115 1.1 mrg * 22_locale/collate/compare/char/wrapped_env.cc: New. 8116 1.1 mrg * 22_locale/collate/compare/char/wrapped_locale.cc: New. 8117 1.1 mrg * 22_locale/collate/compare/wchar_t/1.cc: New. 8118 1.1 mrg * 22_locale/collate/compare/wchar_t/2.cc: New. 8119 1.1 mrg * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New. 8120 1.1 mrg * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New. 8121 1.1 mrg * 22_locale/collate/hash/char/1.cc: New. 8122 1.1 mrg * 22_locale/collate/hash/char/2.cc: New. 8123 1.1 mrg * 22_locale/collate/hash/char/wrapped_env.cc: New. 8124 1.1 mrg * 22_locale/collate/hash/char/wrapped_locale.cc: New. 8125 1.1 mrg * 22_locale/collate/hash/wchar_t/1.cc: New. 8126 1.1 mrg * 22_locale/collate/hash/wchar_t/2.cc: New. 8127 1.1 mrg * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New. 8128 1.1 mrg * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New. 8129 1.1 mrg * 22_locale/collate/transform/char/2.cc: New. 8130 1.1 mrg * 22_locale/collate/transform/char/wrapped_env.cc: New. 8131 1.1 mrg * 22_locale/collate/transform/char/wrapped_locale.cc: New. 8132 1.1 mrg * 22_locale/collate/transform/wchar_t/2.cc: New. 8133 1.1 mrg * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New. 8134 1.1 mrg * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New. 8135 1.1 mrg * 22_locale/collate_byname/1.cc: New. 8136 1.1 mrg * 22_locale/ctype/1.cc: New. 8137 1.1 mrg * 22_locale/ctype/2.cc: New. 8138 1.1 mrg * 22_locale/ctype/cons/char/1.cc: New. 8139 1.1 mrg * 22_locale/ctype/cons/char/wrapped_env.cc: New. 8140 1.1 mrg * 22_locale/ctype/cons/char/wrapped_locale.cc: New. 8141 1.1 mrg * 22_locale/ctype/is/char/1.cc: New. 8142 1.1 mrg * 22_locale/ctype/is/char/2.cc: New. 8143 1.1 mrg * 22_locale/ctype/is/char/3.cc: New. 8144 1.1 mrg * 22_locale/ctype/is/char/wrapped_env.cc: New. 8145 1.1 mrg * 22_locale/ctype/is/char/wrapped_locale.cc: New. 8146 1.1 mrg * 22_locale/ctype/is/wchar_t/1.cc: New. 8147 1.1 mrg * 22_locale/ctype/is/wchar_t/2.cc: New. 8148 1.1 mrg * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New. 8149 1.1 mrg * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New. 8150 1.1 mrg * 22_locale/ctype/narrow/char/1.cc: New. 8151 1.1 mrg * 22_locale/ctype/narrow/char/2.cc: New. 8152 1.1 mrg * 22_locale/ctype/narrow/char/wrapped_env.cc: New. 8153 1.1 mrg * 22_locale/ctype/narrow/char/wrapped_locale.cc: New. 8154 1.1 mrg * 22_locale/ctype/narrow/wchar_t/1.cc: New. 8155 1.1 mrg * 22_locale/ctype/narrow/wchar_t/2.cc: New. 8156 1.1 mrg * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New. 8157 1.1 mrg * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New. 8158 1.1 mrg * 22_locale/ctype/scan/char/1.cc: New. 8159 1.1 mrg * 22_locale/ctype/scan/char/wrapped_env.cc: New. 8160 1.1 mrg * 22_locale/ctype/scan/char/wrapped_locale.cc: New. 8161 1.1 mrg * 22_locale/ctype/scan/wchar_t/1.cc: New. 8162 1.1 mrg * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New. 8163 1.1 mrg * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New. 8164 1.1 mrg * 22_locale/ctype/to/char/1.cc: New. 8165 1.1 mrg * 22_locale/ctype/to/char/wrapped_env.cc: New. 8166 1.1 mrg * 22_locale/ctype/to/char/wrapped_locale.cc: New. 8167 1.1 mrg * 22_locale/ctype/to/wchar_t/1.cc: New. 8168 1.1 mrg * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New. 8169 1.1 mrg * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New. 8170 1.1 mrg * 22_locale/ctype/widen/char/1.cc: New. 8171 1.1 mrg * 22_locale/ctype/widen/char/wrapped_env.cc: New. 8172 1.1 mrg * 22_locale/ctype/widen/char/wrapped_locale.cc: New. 8173 1.1 mrg * 22_locale/ctype/widen/wchar_t/1.cc: New. 8174 1.1 mrg * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New. 8175 1.1 mrg * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New. 8176 1.1 mrg * 22_locale/facet/1.cc: New. 8177 1.1 mrg * 22_locale/facet/2.cc: New. 8178 1.1 mrg * 22_locale/global_templates/1.cc: New. 8179 1.1 mrg * 22_locale/locale/cons/1.cc: New. 8180 1.1 mrg * 22_locale/locale/cons/2.cc: New. 8181 1.1 mrg * 22_locale/locale/cons/3.cc: New. 8182 1.1 mrg * 22_locale/locale/cons/4.cc: New. 8183 1.1 mrg * 22_locale/locale/cons/5.cc: New. 8184 1.1 mrg * 22_locale/locale/cons/6.cc: New. 8185 1.1 mrg * 22_locale/locale/cons/7.cc: New. 8186 1.1 mrg * 22_locale/locale/global_locale_objects/1.cc: New. 8187 1.1 mrg * 22_locale/locale/global_locale_objects/2.cc: New. 8188 1.1 mrg * 22_locale/locale/global_locale_objects/3.cc: New. 8189 1.1 mrg * 22_locale/locale/operations/1.cc: New. 8190 1.1 mrg * 22_locale/locale/operations/2.cc: New. 8191 1.1 mrg * 22_locale/messages/1.cc: New. 8192 1.1 mrg * 22_locale/messages/2.cc: New. 8193 1.1 mrg * 22_locale/messages/members/char/1.cc: New. 8194 1.1 mrg * 22_locale/messages/members/char/2.cc: New. 8195 1.1 mrg * 22_locale/messages/members/char/3.cc: New. 8196 1.1 mrg * 22_locale/messages/members/char/wrapped_env.cc: New. 8197 1.1 mrg * 22_locale/messages/members/char/wrapped_locale.cc: New. 8198 1.1 mrg * 22_locale/messages_byname/1.cc: New. 8199 1.1 mrg * 22_locale/money_get/1.cc: New. 8200 1.1 mrg * 22_locale/money_get/2.cc: New. 8201 1.1 mrg * 22_locale/money_get/get/char/1.cc: New. 8202 1.1 mrg * 22_locale/money_get/get/char/2.cc: New. 8203 1.1 mrg * 22_locale/money_get/get/char/3.cc: New. 8204 1.1 mrg * 22_locale/money_get/get/char/4.cc: New. 8205 1.1 mrg * 22_locale/money_get/get/char/5.cc: New. 8206 1.1 mrg * 22_locale/money_get/get/char/6.cc: New. 8207 1.1 mrg * 22_locale/money_get/get/char/7.cc: New. 8208 1.1 mrg * 22_locale/money_get/get/char/8.cc: New. 8209 1.1 mrg * 22_locale/money_get/get/char/wrapped_env.cc: New. 8210 1.1 mrg * 22_locale/money_get/get/char/wrapped_locale.cc: New. 8211 1.1 mrg * 22_locale/money_get/get/wchar_t/1.cc: New. 8212 1.1 mrg * 22_locale/money_get/get/wchar_t/2.cc: New. 8213 1.1 mrg * 22_locale/money_get/get/wchar_t/3.cc: New. 8214 1.1 mrg * 22_locale/money_get/get/wchar_t/4.cc: New. 8215 1.1 mrg * 22_locale/money_get/get/wchar_t/5.cc: New. 8216 1.1 mrg * 22_locale/money_get/get/wchar_t/6.cc: New. 8217 1.1 mrg * 22_locale/money_get/get/wchar_t/7.cc: New. 8218 1.1 mrg * 22_locale/money_get/get/wchar_t/8.cc: New. 8219 1.1 mrg * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New. 8220 1.1 mrg * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New. 8221 1.1 mrg * 22_locale/money_put/1.cc: New. 8222 1.1 mrg * 22_locale/money_put/2.cc: New. 8223 1.1 mrg * 22_locale/money_put/put/char/1.cc: New. 8224 1.1 mrg * 22_locale/money_put/put/char/2.cc: New. 8225 1.1 mrg * 22_locale/money_put/put/char/3.cc: New. 8226 1.1 mrg * 22_locale/money_put/put/char/4.cc: New. 8227 1.1 mrg * 22_locale/money_put/put/char/5.cc: New. 8228 1.1 mrg * 22_locale/money_put/put/char/6.cc: New. 8229 1.1 mrg * 22_locale/money_put/put/char/wrapped_env.cc: New. 8230 1.1 mrg * 22_locale/money_put/put/char/wrapped_locale.cc: New. 8231 1.1 mrg * 22_locale/money_put/put/wchar_t/1.cc: New. 8232 1.1 mrg * 22_locale/money_put/put/wchar_t/2.cc: New. 8233 1.1 mrg * 22_locale/money_put/put/wchar_t/3.cc: New. 8234 1.1 mrg * 22_locale/money_put/put/wchar_t/4.cc: New. 8235 1.1 mrg * 22_locale/money_put/put/wchar_t/5.cc: New. 8236 1.1 mrg * 22_locale/money_put/put/wchar_t/6.cc: New. 8237 1.1 mrg * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New. 8238 1.1 mrg * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New. 8239 1.1 mrg * 22_locale/moneypunct/1.cc: New. 8240 1.1 mrg * 22_locale/moneypunct/2.cc: New. 8241 1.1 mrg * 22_locale/moneypunct/3.cc: New. 8242 1.1 mrg * 22_locale/moneypunct/members/char/1.cc: New. 8243 1.1 mrg * 22_locale/moneypunct/members/char/2.cc: New. 8244 1.1 mrg * 22_locale/moneypunct/members/char/wrapped_env.cc: New. 8245 1.1 mrg * 22_locale/moneypunct/members/char/wrapped_locale.cc: New. 8246 1.1 mrg * 22_locale/moneypunct/members/wchar_t/1.cc: New. 8247 1.1 mrg * 22_locale/moneypunct/members/wchar_t/2.cc: New. 8248 1.1 mrg * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New. 8249 1.1 mrg * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New. 8250 1.1 mrg * 22_locale/moneypunct_byname/1.cc: New. 8251 1.1 mrg * 22_locale/num_get/1.cc: New. 8252 1.1 mrg * 22_locale/num_get/2.cc: New. 8253 1.1 mrg * 22_locale/num_get/get/char/1.cc: New. 8254 1.1 mrg * 22_locale/num_get/get/char/2.cc: New. 8255 1.1 mrg * 22_locale/num_get/get/char/3.cc: New. 8256 1.1 mrg * 22_locale/num_get/get/char/4.cc: New. 8257 1.1 mrg * 22_locale/num_get/get/char/5.cc: New. 8258 1.1 mrg * 22_locale/num_get/get/char/6.cc: New. 8259 1.1 mrg * 22_locale/num_get/get/char/wrapped_env.cc: New. 8260 1.1 mrg * 22_locale/num_get/get/char/wrapped_locale.cc: New. 8261 1.1 mrg * 22_locale/num_get/get/wchar_t/1.cc: New. 8262 1.1 mrg * 22_locale/num_get/get/wchar_t/2.cc: New. 8263 1.1 mrg * 22_locale/num_get/get/wchar_t/3.cc: New. 8264 1.1 mrg * 22_locale/num_get/get/wchar_t/4.cc: New. 8265 1.1 mrg * 22_locale/num_get/get/wchar_t/5.cc: New. 8266 1.1 mrg * 22_locale/num_get/get/wchar_t/6.cc: New. 8267 1.1 mrg * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New. 8268 1.1 mrg * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New. 8269 1.1 mrg * 22_locale/num_put/1.cc: New. 8270 1.1 mrg * 22_locale/num_put/2.cc: New. 8271 1.1 mrg * 22_locale/num_put/put/char/1.cc: New. 8272 1.1 mrg * 22_locale/num_put/put/char/2.cc: New. 8273 1.1 mrg * 22_locale/num_put/put/char/3.cc: New. 8274 1.1 mrg * 22_locale/num_put/put/char/4.cc: New. 8275 1.1 mrg * 22_locale/num_put/put/char/5.cc: New. 8276 1.1 mrg * 22_locale/num_put/put/char/wrapped_env.cc: New. 8277 1.1 mrg * 22_locale/num_put/put/char/wrapped_locale.cc: New. 8278 1.1 mrg * 22_locale/num_put/put/wchar_t/1.cc: New. 8279 1.1 mrg * 22_locale/num_put/put/wchar_t/2.cc: New. 8280 1.1 mrg * 22_locale/num_put/put/wchar_t/3.cc: New. 8281 1.1 mrg * 22_locale/num_put/put/wchar_t/4.cc: New. 8282 1.1 mrg * 22_locale/num_put/put/wchar_t/5.cc: New. 8283 1.1 mrg * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New. 8284 1.1 mrg * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New. 8285 1.1 mrg * 22_locale/numpunct/1.cc: New. 8286 1.1 mrg * 22_locale/numpunct/2.cc: New. 8287 1.1 mrg * 22_locale/numpunct/members/char/1.cc: New. 8288 1.1 mrg * 22_locale/numpunct/members/char/2.cc: New. 8289 1.1 mrg * 22_locale/numpunct/members/char/wrapped_env.cc: New. 8290 1.1 mrg * 22_locale/numpunct/members/char/wrapped_locale.cc: New. 8291 1.1 mrg * 22_locale/numpunct/members/wchar_t/1.cc: New. 8292 1.1 mrg * 22_locale/numpunct/members/wchar_t/2.cc: New. 8293 1.1 mrg * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New. 8294 1.1 mrg * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New. 8295 1.1 mrg * 22_locale/numpunct_byname/1.cc: New. 8296 1.1 mrg * 22_locale/numpunct_byname/2.cc: New. 8297 1.1 mrg * 22_locale/time_get/1.cc: New. 8298 1.1 mrg * 22_locale/time_get/2.cc: New. 8299 1.1 mrg * 22_locale/time_get/date_order/char/1.cc: New. 8300 1.1 mrg * 22_locale/time_get/date_order/char/wrapped_env.cc: New. 8301 1.1 mrg * 22_locale/time_get/date_order/char/wrapped_locale.cc: New. 8302 1.1 mrg * 22_locale/time_get/date_order/wchar_t/1.cc: New. 8303 1.1 mrg * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New. 8304 1.1 mrg * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New. 8305 1.1 mrg * 22_locale/time_get/get_date/char/1.cc: New. 8306 1.1 mrg * 22_locale/time_get/get_date/char/2.cc: New. 8307 1.1 mrg * 22_locale/time_get/get_date/char/3.cc: New. 8308 1.1 mrg * 22_locale/time_get/get_date/char/wrapped_env.cc: New. 8309 1.1 mrg * 22_locale/time_get/get_date/char/wrapped_locale.cc: New. 8310 1.1 mrg * 22_locale/time_get/get_date/wchar_t/1.cc: New. 8311 1.1 mrg * 22_locale/time_get/get_date/wchar_t/2.cc: New. 8312 1.1 mrg * 22_locale/time_get/get_date/wchar_t/3.cc: New. 8313 1.1 mrg * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New. 8314 1.1 mrg * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New. 8315 1.1 mrg * 22_locale/time_get/get_monthname/char/1.cc: New. 8316 1.1 mrg * 22_locale/time_get/get_monthname/char/2.cc: New. 8317 1.1 mrg * 22_locale/time_get/get_monthname/char/3.cc: New. 8318 1.1 mrg * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New. 8319 1.1 mrg * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New. 8320 1.1 mrg * 22_locale/time_get/get_monthname/wchar_t/1.cc: New. 8321 1.1 mrg * 22_locale/time_get/get_monthname/wchar_t/2.cc: New. 8322 1.1 mrg * 22_locale/time_get/get_monthname/wchar_t/3.cc: New. 8323 1.1 mrg * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New. 8324 1.1 mrg * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New. 8325 1.1 mrg * 22_locale/time_get/get_time/char/1.cc: New. 8326 1.1 mrg * 22_locale/time_get/get_time/char/2.cc: New. 8327 1.1 mrg * 22_locale/time_get/get_time/char/3.cc: New. 8328 1.1 mrg * 22_locale/time_get/get_time/char/wrapped_env.cc: New. 8329 1.1 mrg * 22_locale/time_get/get_time/char/wrapped_locale.cc: New. 8330 1.1 mrg * 22_locale/time_get/get_time/wchar_t/1.cc: New. 8331 1.1 mrg * 22_locale/time_get/get_time/wchar_t/2.cc: New. 8332 1.1 mrg * 22_locale/time_get/get_time/wchar_t/3.cc: New. 8333 1.1 mrg * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New. 8334 1.1 mrg * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New. 8335 1.1 mrg * 22_locale/time_get/get_weekday/char/1.cc: New. 8336 1.1 mrg * 22_locale/time_get/get_weekday/char/2.cc: New. 8337 1.1 mrg * 22_locale/time_get/get_weekday/char/3.cc: New. 8338 1.1 mrg * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New. 8339 1.1 mrg * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New. 8340 1.1 mrg * 22_locale/time_get/get_weekday/wchar_t/1.cc: New. 8341 1.1 mrg * 22_locale/time_get/get_weekday/wchar_t/2.cc: New. 8342 1.1 mrg * 22_locale/time_get/get_weekday/wchar_t/3.cc: New. 8343 1.1 mrg * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New. 8344 1.1 mrg * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New. 8345 1.1 mrg * 22_locale/time_get/get_year/char/1.cc: New. 8346 1.1 mrg * 22_locale/time_get/get_year/char/3.cc: New. 8347 1.1 mrg * 22_locale/time_get/get_year/char/wrapped_env.cc: New. 8348 1.1 mrg * 22_locale/time_get/get_year/char/wrapped_locale.cc: New. 8349 1.1 mrg * 22_locale/time_get/get_year/wchar_t/1.cc: New. 8350 1.1 mrg * 22_locale/time_get/get_year/wchar_t/3.cc: New. 8351 1.1 mrg * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New. 8352 1.1 mrg * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New. 8353 1.1 mrg * 22_locale/time_put/1.cc: New. 8354 1.1 mrg * 22_locale/time_put/2.cc: New. 8355 1.1 mrg * 22_locale/time_put/put/char/1.cc: New. 8356 1.1 mrg * 22_locale/time_put/put/char/10.cc: New. 8357 1.1 mrg * 22_locale/time_put/put/char/2.cc: New. 8358 1.1 mrg * 22_locale/time_put/put/char/3.cc: New. 8359 1.1 mrg * 22_locale/time_put/put/char/4.cc: New. 8360 1.1 mrg * 22_locale/time_put/put/char/5.cc: New. 8361 1.1 mrg * 22_locale/time_put/put/char/6.cc: New. 8362 1.1 mrg * 22_locale/time_put/put/char/7.cc: New. 8363 1.1 mrg * 22_locale/time_put/put/char/8.cc: New. 8364 1.1 mrg * 22_locale/time_put/put/char/9.cc: New. 8365 1.1 mrg * 22_locale/time_put/put/char/wrapped_env.cc: New. 8366 1.1 mrg * 22_locale/time_put/put/char/wrapped_locale.cc: New. 8367 1.1 mrg * 22_locale/time_put/put/wchar_t/1.cc: New. 8368 1.1 mrg * 22_locale/time_put/put/wchar_t/10.cc: New. 8369 1.1 mrg * 22_locale/time_put/put/wchar_t/2.cc: New. 8370 1.1 mrg * 22_locale/time_put/put/wchar_t/3.cc: New. 8371 1.1 mrg * 22_locale/time_put/put/wchar_t/4.cc: New. 8372 1.1 mrg * 22_locale/time_put/put/wchar_t/5.cc: New. 8373 1.1 mrg * 22_locale/time_put/put/wchar_t/6.cc: New. 8374 1.1 mrg * 22_locale/time_put/put/wchar_t/7.cc: New. 8375 1.1 mrg * 22_locale/time_put/put/wchar_t/8.cc: New. 8376 1.1 mrg * 22_locale/time_put/put/wchar_t/9.cc: New. 8377 1.1 mrg * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New. 8378 1.1 mrg * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New. 8379 1.1 mrg 8380 1.1 mrg 2003-01-16 Jeffrey D. Oldham <oldham (a] codesourcery.com> 8381 1.1 mrg 8382 1.1 mrg * config/locale/generic/messages_members.h 8383 1.1 mrg (messages_byname<_CharT>::messages_byname): Use this-> to refer to 8384 1.1 mrg unqualified members of base clasess. 8385 1.1 mrg 8386 1.1 mrg 2003-01-16 Mark Mitchell <mark (a] codesourcery.com> 8387 1.1 mrg Jeffrey Oldham <oldham (a] codesourcery.com> 8388 1.1 mrg 8389 1.1 mrg * config/locale/gnu/messages_members.h: Use this-> to refer to 8390 1.1 mrg unqualified members of base clasess. 8391 1.1 mrg * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise. 8392 1.1 mrg * include/bits/codecvt.h: Likewise. 8393 1.1 mrg * include/bits/deque.tcc: Likewise. 8394 1.1 mrg * include/bits/fstream.tcc: Likewise. 8395 1.1 mrg * include/bits/istream.tcc: Likewise. 8396 1.1 mrg * include/bits/list.tcc: Likewise. 8397 1.1 mrg * include/bits/locale_facets.h: Likewise. 8398 1.1 mrg * include/bits/ostream.tcc: Likewise. 8399 1.1 mrg * include/bits/sstream.tcc: Likewise. 8400 1.1 mrg * include/bits/stl_bvector.h: Likewise. 8401 1.1 mrg * include/bits/stl_deque.h: Likewise. 8402 1.1 mrg * include/bits/stl_list.h: Likewise. 8403 1.1 mrg * include/bits/stl_tree.h: Likewise. 8404 1.1 mrg * include/bits/stl_vector.h: Likewise. 8405 1.1 mrg * include/bits/vector.tcc: Likewise. 8406 1.1 mrg * include/ext/ropeimpl.h: Likewise. 8407 1.1 mrg * include/ext/stdio_filebuf.h: Likewise. 8408 1.1 mrg * include/ext/stl_rope.h: Likewise. 8409 1.1 mrg * include/std/std_fstream.h: Likewise. 8410 1.1 mrg * include/std/std_sstream.h: Likewise. 8411 1.1 mrg 8412 1.1 mrg 2003-01-15 Phil Edwards <pme (a] gcc.gnu.org> 8413 1.1 mrg 8414 1.1 mrg * include/bits/basic_string.tcc (_S_string_copy): Unused, remove. 8415 1.1 mrg 8416 1.1 mrg 2003-01-15 Benjamin Kosnik <bkoz (a] redhat.com> 8417 1.1 mrg 8418 1.1 mrg * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute 8419 1.1 mrg GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library. 8420 1.1 mrg * aclocal.m4: Regenerate. 8421 1.1 mrg * configure: Regenerate. 8422 1.1 mrg * testsuite/Makefile.am (all-local): Add conditional rule to 8423 1.1 mrg generate testsuite_wchar_t. 8424 1.1 mrg * testsuite/Makefile.in: Regenerate. 8425 1.1 mrg * testsuite/lib/libstdc++-v3-dg.exp 8426 1.1 mrg (libstdc++-v3-list-sourcefiles): Remove wchar_t files if 8427 1.1 mrg testsuite_wchar_t is not present in the build directory. 8428 1.1 mrg * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS. 8429 1.1 mrg Remove setulimit bits. 8430 1.1 mrg * testsuite/26_numerics/complex_value.cc: Set to noopts. 8431 1.1 mrg * testsuite/Makefile.am (CLEANFILES): Add. 8432 1.1 mrg * testsuite/Makefile.in: Regenerate. 8433 1.1 mrg 8434 1.1 mrg 2003-01-15 John David Anglin <dave (a] hiauly1.hia.nrc.ca> 8435 1.1 mrg 8436 1.1 mrg * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for 8437 1.1 mrg __hppa__. 8438 1.1 mrg 8439 1.1 mrg 2003-01-14 Jeffrey D. Oldham <oldham (a] codesourcery.com> 8440 1.1 mrg 8441 1.1 mrg Further conform g++'s __vmi_class_type_info to the C++ ABI 8442 1.1 mrg specification. 8443 1.1 mrg * libsupc++/cxxabi.h 8444 1.1 mrg (__vmi_class_type_info::__flags_masks): Remove enumerations not 8445 1.1 mrg required by the specification. 8446 1.1 mrg 8447 1.1 mrg 2003-01-12 Benjamin Kosnik <bkoz (a] redhat.com> 8448 1.1 mrg 8449 1.1 mrg Renames, namespaces for testsuite utilities. 8450 1.1 mrg * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test. 8451 1.1 mrg (gnu_allocator_tracker): Rename to allocation_tracker. 8452 1.1 mrg (gnu_new_allocator): Rename to tracker_alloc. 8453 1.1 mrg (__set_testsuite_memlimit): Rename to set_memory_limits. 8454 1.1 mrg (gnu_assignment_operator): Rename to assignment_operator. 8455 1.1 mrg (gnu_destructor): Rename to destructor. 8456 1.1 mrg (gnu_copy_tracker): Rename to copy_tracker. 8457 1.1 mrg (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long. 8458 1.1 mrg (run_tests_wrapped_locale): New. 8459 1.1 mrg (run_tests_wrapped_env): New. 8460 1.1 mrg * testsuite/testsuite_hooks.cc: Same. 8461 1.1 mrg (class locale_data): Add. 8462 1.1 mrg (class enviornment_variable): Add. 8463 1.1 mrg (class not_found): Add. 8464 1.1 mrg * testsuite/testsuite_allocator.h: Same. 8465 1.1 mrg * testsuite/testsuite_allocator.cc: Same. 8466 1.1 mrg * testsuite/23_containers/deque_ctor.cc 8467 1.1 mrg (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to 8468 1.1 mrg allocation_tracker. 8469 1.1 mrg Change gnu_new_allocator to tracker_alloc. 8470 1.1 mrg Change gnu_counting_struct to counter. 8471 1.1 mrg Change gnu_copy_tracker to copy_tracker. 8472 1.1 mrg Change gnu_copy_constructor to copy_constructor. 8473 1.1 mrg Change gnu_assignment_operator to assignment_operator. 8474 1.1 mrg Inject. 8475 1.1 mrg * testsuite/23_containers/vector_capacity.cc: Same. 8476 1.1 mrg * testsuite/23_containers/vector_ctor.cc (test01): Same. 8477 1.1 mrg * testsuite/23_containers/list_modifiers.cc: Change 8478 1.1 mrg gnu_copy_tracker to copy_tracker. 8479 1.1 mrg * testsuite/21_strings/ctor_copy_dtor.cc (main): Change 8480 1.1 mrg __set_testsuite_memlimit to set_memory_limits. 8481 1.1 mrg * testsuite/21_strings/insert.cc (main): Same. 8482 1.1 mrg * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char. 8483 1.1 mrg * testsuite/27_io/stringstream.cc: Same. 8484 1.1 mrg * testsuite/27_io/stringbuf.cc: Same. 8485 1.1 mrg * testsuite/27_io/streambuf.cc: Same. 8486 1.1 mrg * testsuite/27_io/ostream.cc: Same. 8487 1.1 mrg * testsuite/27_io/istream.cc: Same. 8488 1.1 mrg * testsuite/27_io/fstream.cc: Same. 8489 1.1 mrg * testsuite/lib/libstdc++-v3-dg.exp 8490 1.1 mrg (libstdc++-v3-list-sourcefiles): Additionally handle files two and 8491 1.1 mrg three levels deeper in glob patterns. 8492 1.1 mrg 8493 1.1 mrg 2003-01-11 Phil Edwards <pme (a] gcc.gnu.org> 8494 1.1 mrg 8495 1.1 mrg * docs/doxygen/tables.html: Finished now. 8496 1.1 mrg * docs/doxygen/user.cfg.in: Update to latest version of Doxygen. 8497 1.1 mrg * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to 8498 1.1 mrg comments. 8499 1.1 mrg 8500 1.1 mrg * include/bits/deque.tcc, include/bits/stl_alloc.h, 8501 1.1 mrg include/bits/stl_deque.h, include/bits/stl_list.h, 8502 1.1 mrg include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled 8503 1.1 mrg for 3.4 removal. 8504 1.1 mrg 8505 1.1 mrg 2003-01-09 Benjamin Kosnik <bkoz (a] redhat.com> 8506 1.1 mrg 8507 1.1 mrg * configure.in: Revert. 8508 1.1 mrg * configure: Regenerate. 8509 1.1 mrg 8510 1.1 mrg 2003-01-09 Christian Cornelssen <ccorn (a] cs.tu-berlin.de> 8511 1.1 mrg 8512 1.1 mrg * include/Makefile.am (install-data-local): Prepend 8513 1.1 mrg $(DESTDIR) to destination paths in all (un)installation 8514 1.1 mrg commands. Use ${c_base_builddir} and ${std_builddir} 8515 1.1 mrg as destination subdirectories to achieve consistency with 8516 1.1 mrg preceding mkinstalldirs commands. No effect because both 8517 1.1 mrg variables contain "." only. 8518 1.1 mrg * include/Makefile.in: Regenerate. 8519 1.1 mrg 8520 1.1 mrg 2003-01-08 Benjamin Kosnik <bkoz (a] redhat.com> 8521 1.1 mrg 8522 1.1 mrg * include/Makefile.am (stamp-*): Add checks for existing stamps. 8523 1.1 mrg * include/Makefile.in: Regenerate. 8524 1.1 mrg 8525 1.1 mrg * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment. 8526 1.1 mrg * aclocal.m4: Regenerate. 8527 1.1 mrg 8528 1.1 mrg * configure.in: Don't add new multi-do rules every time the 8529 1.1 mrg directory is reconfigured. 8530 1.1 mrg * configure: Regenerate. 8531 1.1 mrg 8532 1.1 mrg 2003-01-08 Brad Spencer <spencer (a] infointeractive.com> 8533 1.1 mrg Nathan Myers <ncm (a] cantrip.org> 8534 1.1 mrg 8535 1.1 mrg * src/Makefile.am (stamp-debug): Clean. 8536 1.1 mrg * src/Makefile.in: Regenerate. 8537 1.1 mrg 8538 1.1 mrg 2003-01-07 Benjamin Kosnik <bkoz (a] redhat.com> 8539 1.1 mrg 8540 1.1 mrg PR libstdc++/8707 8541 1.1 mrg * Makefile.am (distclean-multi): Fix. 8542 1.1 mrg * Makefile.in: Regenerate. 8543 1.1 mrg 8544 1.1 mrg 2003-01-06 Benjamin Kosnik <bkoz (a] redhat.com> 8545 1.1 mrg 8546 1.1 mrg * include/bits/locale_facets.h (messages): Move ctor, dtor 8547 1.1 mrg definitions to.. 8548 1.1 mrg (__timepunct): Same. 8549 1.1 mrg * config/locale/gnu/messages_members.h (messages): Add dtor, ctor 8550 1.1 mrg definitions. Conditionalize for GNU systems. 8551 1.1 mrg * config/locale/generic/messages_members.h (messages): Add dtor, ctor 8552 1.1 mrg definitions. 8553 1.1 mrg * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor 8554 1.1 mrg definitions. Conditionalize for GNU systems. 8555 1.1 mrg * config/locale/generic/time_members.h (messages): New. Add dtor, ctor 8556 1.1 mrg definitions. 8557 1.1 mrg * include/bits/localefwd.h (locale::facet::_S_c_name): Add. 8558 1.1 mrg * src/locale.cc: Define. 8559 1.1 mrg * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool): 8560 1.1 mrg Use it. 8561 1.1 mrg * config/locale/gnu/time_members.h: Use it. 8562 1.1 mrg * config/locale/gnu/messages_members.h: Use it. 8563 1.1 mrg * config/linker-map.gnu: Add locale::facets details. 8564 1.1 mrg * include/Makefile.am (target_headers_extra): Add time_members.h. 8565 1.1 mrg * include/Makefile.in: Regenerate. 8566 1.1 mrg * acinclude.m4: Export CTIME_H. 8567 1.1 mrg * aclocal.m4: Regenerate. 8568 1.1 mrg * configure: Regnerate. 8569 1.1 mrg 8570 1.1 mrg 2003-01-06 Paolo Carlini <pcarlini (a] unitus.it> 8571 1.1 mrg 8572 1.1 mrg * src/codecvt.cc 8573 1.1 mrg (codecvt<char, char, mbstate_t>::do_in, do_out): 8574 1.1 mrg Tweak parameters to avoid unused parameter warnings. 8575 1.1 mrg 8576 1.1 mrg 2003-01-06 Paolo Carlini <pcarlini (a] unitus.it> 8577 1.1 mrg 8578 1.1 mrg PR libstdc++/9151 8579 1.1 mrg * include/bits/locale_facets.cc (num_put::_M_convert_float): 8580 1.1 mrg Limit __prec to digits10 + 2, not digits10 + 1, taking into 8581 1.1 mrg account the possibility of %{g,G} conversion specifiers 8582 1.1 mrg inside _S_format_float. 8583 1.1 mrg * testsuite/27_io/ostream_inserter_arith.cc (test06): Add. 8584 1.1 mrg 8585 1.1 mrg 2003-01-06 Kaveh R. Ghazi <ghazi (a] caip.rutgers.edu> 8586 1.1 mrg 8587 1.1 mrg * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init, 8588 1.1 mrg libstdc++-v3-list-sourcefiles): Additionally handle files one 8589 1.1 mrg level deeper in glob patterns. 8590 1.1 mrg 8591 1.1 mrg * testsuite/27_io/istream_extractor_arith.cc: Delete, split... 8592 1.1 mrg * testsuite/27_io/istream_extractor_arith/01.cc, 8593 1.1 mrg testsuite/27_io/istream_extractor_arith/02.cc, 8594 1.1 mrg testsuite/27_io/istream_extractor_arith/03.cc, 8595 1.1 mrg testsuite/27_io/istream_extractor_arith/06.cc, 8596 1.1 mrg testsuite/27_io/istream_extractor_arith/07.cc, 8597 1.1 mrg testsuite/27_io/istream_extractor_arith/08.cc, 8598 1.1 mrg testsuite/27_io/istream_extractor_arith/09.cc, 8599 1.1 mrg testsuite/27_io/istream_extractor_arith/10.cc, 8600 1.1 mrg testsuite/27_io/istream_extractor_arith/11.cc, 8601 1.1 mrg testsuite/27_io/istream_extractor_arith/12.cc, 8602 1.1 mrg testsuite/27_io/istream_extractor_arith/13.cc: ... to new files. 8603 1.1 mrg * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for 8604 1.1 mrg sparc*-*-solaris2*. 8605 1.1 mrg 8606 1.1 mrg 2003-01-05 Paolo Carlini <pcarlini (a] unitus.it> 8607 1.1 mrg 8608 1.1 mrg PR libstdc++/9168 8609 1.1 mrg * src/codecvt.cc 8610 1.1 mrg (codecvt<char, char, mbstate_t>::do_in, do_out): 8611 1.1 mrg Implement the resolution of DR19 (TC). 8612 1.1 mrg * testsuite/22_locale/codecvt_members_char_char.cc 8613 1.1 mrg (test01): Tweak. 8614 1.1 mrg 8615 1.1 mrg 2003-01-02 Jason Merrill <jason (a] redhat.com> 8616 1.1 mrg 8617 1.1 mrg * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add): 8618 1.1 mrg *__mem is also an output. 8619 1.1 mrg * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise. 8620 1.1.1.2 mrg 8622 1.1.1.2 mrg Copyright (C) 2003 Free Software Foundation, Inc. 8623 1.1.1.2 mrg 8624 1.1.1.2 mrg Copying and distribution of this file, with or without modification, 8625 1.1.1.2 mrg are permitted in any medium without royalty provided the copyright 8626 notice and this notice are preserved. 8627