1 2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
3 * include/bits/stl_iterator.h
4 (reverse_iterator::reverse_iterator()): Apply DR235: default
5 constructor default-initializes data member. Instantiated on a
6 pointer type, the member has to end up equal to zero.
8 2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
10 * include/bits/stl_alloc.h: Cleanups.
11 * include/ext/functional: Same.
12 * include/ext/hash_map: Same.
13 * include/ext/hash_set: Same.
14 * include/ext/iterator: Same.
15 * include/ext/memory: Same.
16 * include/ext/numeric: Same.
17 * include/ext/rb_tree: Same.
18 * include/ext/ropeimpl.h: Same.
19 * include/ext/slist: Same.
20 * include/ext/stdio_filebuf.h: Same.
21 * include/ext/stdio_sync_filebuf.h: Same.
22 * include/ext/stl_rope.h: Move to...
23 * include/ext/rope: ...here.
24 * include/ext/stl_hash_fun.h: Move to...
25 * include/ext/hash_fun.h: ...here.
26 * include/ext/stl_hashtable.h: Move to...
27 * include/ext/hashtable.h: ...here.
28 * include/backward/hashtable.h: Reflect new names.
29 * include/Makefile.am: Same.
30 * include/Makefile.in: Regenerated.
32 2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
35 * include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
36 * include/bits/stl_algobase.h: Tweak.
37 * include/std/std_fstream.h: Move _M_buf_size to...
38 * include/std/std_streambuf.h: ...here. Modify.
39 * include/bits/streambuf.tcc: Same.
40 * testsuite/testsuite_hooks.h: Tweak.
41 * testsuite/testsuite_io.h (constraint_filebuf): New.
42 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
43 * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
44 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
45 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
46 * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
47 * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
48 * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
49 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
50 * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
51 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
52 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
53 * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
54 * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
55 * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
56 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
57 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
58 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
59 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
60 * testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
61 * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
62 * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
63 * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
64 * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
65 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
66 * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
67 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
68 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
69 * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
70 * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
71 * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
72 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
73 * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
74 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
75 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
76 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
77 * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
78 * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
79 * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
80 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
81 * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
82 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
83 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
84 * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
85 * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
86 * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
87 * testsuite/data/sgetc.txt: New.
88 * testsuite/data/sgetn.txt: New.
90 2003-06-05 Paolo Carlini <pcarlini@unitus.it>
93 * include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
94 Deal with width() smaller than zero.
95 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
96 operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
97 _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
98 char*), operator<<(basic_ostream<char, _Traits>&, const char*),
99 operator<<(basic_ostream, const basic_string&)): Likewise.
101 * testsuite/27_io/basic_istream/extractors_character/char/
102 (11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
103 * testsuite/27_io/basic_ostream/inserters_character/char/
104 (11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
105 * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
106 (11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
108 2003-06-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
110 * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
111 .gch compilation works.
112 * aclocal.m4, configure: Regenerate.
113 * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
116 2003-06-04 Paolo Carlini <pcarlini@unitus.it>
118 * include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
119 erase(iterator), erase(iterator, iterator), c_str,
120 compare(const basic_string&)): Constify various variables.
121 * include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
122 const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
123 _S_create, resize, _M_replace, _M_replace_safe,
124 append(const basic_string&), append(const basic_string&, size_type,
125 size_type), append(const _CharT*, size_type), append(size_type,
126 _CharT), operator+(const _CharT*, const basic_string&),
127 operator+(_CharT, const basic_string&), replace(iterator, iterator,
128 size_type, _CharT), find(const _CharT*, size_type, size_type),
129 find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
130 rfind(_CharT, size_type), compare(size_type, size_type,
131 const basic_string&), compare(size_type, size_type,
132 const basic_string&, size_type, size_type), compare(const _CharT*),
133 compare(size_type, size_type, const _CharT*), compare(size_type,
134 size_type, const _CharT*, size_type)): Likewise.
136 2003-06-03 Benjamin Kosnik <bkoz@redhat.com>
138 * include/bits/fstream.tcc (pbackfail): Make a rarely taken
139 'if' branch less obscure.
141 2003-06-02 Andrew Pinski <pinskia@physics.uc.edu>
144 * config/cpu/i386/atomicity.h (__exchange_and_add): add intel
146 * config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
147 (__atomic_add): likewise.
149 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
151 * include/bits/sstream.tcc (pbackfail): Minor clean up and
152 reformatting, consistent with basic_filebuf::pbackfail.
154 2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
157 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
158 __attribute__ ((__unused__)).
159 * config/os/aix/atomicity.h: Likewise.
161 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
164 * include/bits/fstream.tcc (pbackfail): If the pback buffer
165 is already active don't try to store in it a second char.
166 * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
168 * include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
170 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
172 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
175 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
177 * include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
178 instead of unnecessarily taking the address of _M_pback.
179 (xsgetn): Simplify slightly for a single char pback buffer.
181 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
183 * include/bits/sstream.tcc (seekoff): Remove four unnecessary
184 variables and two 'if', clean up.
186 2003-06-02 Paolo Carlini <pcarlini@unitus.it>
188 * include/bits/sstream.tcc (seekpos): Test against _M_out_lim
189 not _M_out_end, since the former actually points to the string
191 * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
193 2003-05-30 Phil Edwards <pme@gcc.gnu.org>
195 * docs/doxygen/filter: New file.
196 * docs/doxygen/filter.sed: New file.
197 * docs/doxygen/run_doxygen: Add g flag to sed substitutions. Duh.
198 * docs/doxygen/user.cfg.in (INPUT_FILTER): Point to new filter.
199 * docs/html/documentation.html: Fix links to doxygen pages.
201 2003-05-30 Paolo Carlini <pcarlini@unitus.it>
203 * include/bits/fstream.tcc (_M_convert_to_external): Don't
204 check for __ilen > 0.
206 2003-05-29 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
209 * include/bits/stl_iterator.h (class __normal_iterator):
210 Don't inherit from iterator, add missing typedefs.
212 2003-05-29 Paolo Carlini <pcarlini@unitus.it>
214 * testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
215 * testsuite/24_iterators/reverse_iterator/1.cc: New.
216 * testsuite/24_iterators/reverse_iterator/2.cc: New.
217 * testsuite/24_iterators/reverse_iterator/3.cc: New, from
220 2003-05-27 Steve Ellcey <sje@cup.hp.com>
222 * config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
224 * libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
225 _LIBUNWIND_STD_ABI is set.
227 2003-05-26 Brendan Kehoe <brendan@zen.org>
229 * include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
230 make sure the number of digits required after the decimal-point
231 (if any) is exactly the value returned by frac_digits().
232 * testsuite/22_locale/money_get/get/char/9.cc: New.
233 * testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
235 2003-05-27 Jonathan Wakely <redi@gcc.gnu.org>
237 * include/std/std_istream.h, include/std/std_ostream.h: Typo in
240 2003-05-26 Benjamin Kosnik <bkoz@redhat.com>
243 * include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
244 (_M_pback): No array necessary.
245 * include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
246 unbuffered case, coalesec into ...
247 (basic_filebuf::overflow): ...this.
248 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
249 * testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
251 2003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
253 * libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
254 libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
255 libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
256 libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
257 libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
258 libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
259 libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
260 libsupc++/eh_unex_handler.cc, libsupc++/exception,
261 libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
262 libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
263 libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
264 libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
265 Replace "GNU CC" with "GCC".
267 * include/backward/new.h: Replace "GNU CC" with "GCC".
269 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
272 * configure.in: Switch target to host, don't assume newlib.
273 (target_alias): Remove.
274 * configure: Regenerate.
275 * acinclude.m4: Same.
276 * aclocal.m4: Regenerate.
277 * configure.target: Same. Rename to...
278 * configure.host: This.
280 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
282 * include/std/std_fstream.h (_S_pback_size): Remove definition.
283 (_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
285 * include/bits/fstream.tcc (_S_pback_size): Remove declaration.
286 * testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
287 of _S_pback_size for systems with no COMDAT or weak support.
288 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
289 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
290 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
291 * testsuite/27_io/basic_fstream/3.cc: Likewise.
292 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
293 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
294 * testsuite/27_io/basic_ofstream/3.cc: Likewise.
295 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
296 * testsuite/27_io/basic_streambuf/3.cc: Likewise.
298 2003-05-22 Paolo Carlini <pcarlini@unitus.it>
300 * include/bits/fstream.tcc (_M_underflow): Simplify:
301 !__testout implies _M_filepos == _M_in_end, therefore
302 the first _M_file.seekoff call is never issued.
304 2003-05-22 Benjamin Kosnik <bkoz@redhat.com>
306 * configure.in: Sort cross table.
307 * configure: Regenerate.
309 2003-05-22 Brad Spencer <spencer@infointeractive.com>
312 * configure.in: Add Solaris cross bits.
314 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
316 * libstdc++-v3/config/os/mingw32/os_defines.h
317 (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
318 (NOMINMAX): Define. Update copyright year.
320 2003-05-21 Paolo Carlini <pcarlini@unitus.it>
322 * include/std/std_fstream.h (_M_set_buffer): Fix indentation.
324 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
326 * docs/html/faq/index.html: Fix typo.
327 * docs/html/faq/index.txt: Regenerate.
329 2003-05-21 Jonathan Wakely <redi@gcc.gnu.org>
331 * docs/html/test.html: Fix markup.
333 2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
335 * libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
337 Update copyright year.
339 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
341 * testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
343 2003-05-20 Paolo Carlini <pcarlini@unitus.it>
345 * testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
346 further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
348 2003-05-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
350 * include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
351 Cast via void* to avoid -Wcast-align warnings.
352 (__default_alloc_template::_S_refill): Likewise.
354 2003-05-20 Benjamin Kosnik <bkoz@redhat.com>
356 * testsuite/README: Move to...
357 * docs/html/test.html: ...here. Add documentation.
358 * docs/html/install.html: Move testing bits out..
359 * docs/html/documentation.html: Add separate testing link.
360 * testsuite/performance: Add.
361 * testsuite/performance/allocator.cc: New.
362 * testsuite/performance/complex_norm.cc: New.
363 * testsuite/performance/cout_insert_int.cc: New.
364 * testsuite/performance/fstream_seek_write.cc: New.
365 * testsuite/performance/ifstream_getline.cc: New.
366 * testsuite/performance/map_create_fill.cc: New.
367 * testsuite/performance/ofstream_insert_float.cc: New.
368 * testsuite/performance/ofstream_insert_int.cc: New.
369 * testsuite/performance/string_append.cc: New.
370 * testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
373 2003-05-20 Gabriel Dos Reis <gdr@integrable-solutions.net>
376 * include/std/std_complex.h (pow): Tidy.
378 2003-05-19 Paolo Carlini <pcarlini@unitus.it>
380 * testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
381 that upon filebuf::close() 27.8.1.1,3 is enforced.
383 2003-05-15 Loren J. Rittle <ljrittle@acm.org>
385 * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
387 2003-05-15 Paolo Carlini <pcarlini@unitus.it>
388 Nathan Myers <ncm@cantrip.org>
390 * include/bits/fstream.tcc (_M_overflow): Rewrote to call
391 _M_convert_to_external only once (_M_buf_size is now the size of
392 the put area + 1 for the overflow char of a full area); call
393 _M_set_buffer instead of _M_set_indeterminate.
394 (setbuf): Don't accept a buffer smaller than 2 chars.
395 (_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
396 instead of _M_set_determinate.
397 (open): Call _M_set_buffer, instead of _M_set_indeterminate.
399 * include/ext/stdio_filebuf.h (stdio_filebuf(int,
400 std::ios_base::openmode, bool, size_t),
401 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
403 * include/std/std_fstream.h (_M_set_indeterminate): Remove.
404 (_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
406 * include/std/std_streambuf.h: Tweak _M_out_lim comment.
407 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
408 into account that, for _M_buf_size == BUFSIZ == 8192, the size of
409 the put area is now BUFSIZ - 1.
410 * testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
411 that now the smallest _M_buf_size is 2 (still fails, for the same
414 2003-05-14 Loren J. Rittle <ljrittle@acm.org>
416 * testsuite/thread/pthread4.cc: Tweak test.
418 2003-05-13 Benjamin Kosnik <bkoz@redhat.com>
420 * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
421 excess errors dg marker, use dg-errors instead.
422 * testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
423 * testsuite/20_util/auto_ptr_neg.cc: Same.
425 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
427 * include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
429 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
430 Initialize _M_codecvt.
431 (basic_filebuf::imbue): Same.
432 (basic_filebuf::showmanyc): Use it.
433 (basic_filebuf::underflow): Use it.
434 (basic_filebuf::_M_convert_to_external): Use it.
435 (basic_filebuf::seekoff): Use it.
436 (basic_filebuf::imbue): Use it, tweaks.
437 * include/bits/localefwd.h (__check_facet): New.
438 * include/bits/locale_classes.h: Tweaks.
439 * include/bits/locale_facets.tcc: Tweaks.
440 * include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
441 _M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
442 _M_num_get. Change _M_check_facet to __check_facet. Tweaks.
443 * include/bits/basic_ios.tcc: Same.
444 * include/bits/istream.tcc: Same.
445 * include/bits/ostream.tcc: Same.
446 * include/std/std_streambuf.h: Same.
447 * testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
448 * testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
449 * testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
450 * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
451 * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
452 * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
454 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
456 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
457 unnecessary includes and unused string literals.
458 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
459 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
460 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
461 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
463 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
465 * include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
467 2003-05-12 Paolo Carlini <pcarlini@unitus.it>
469 * include/std/std_fstream.h (_M_convert_to_external): Change
470 to return bool, take two less streamsize parameters.
471 * include/bits/fstream.tcc (_M_convert_to_external): Tweak
472 consistently definition.
473 (_M_overflow): Adjust call points.
475 2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
477 * testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
479 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
481 * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.
482 * testsuite/Makefile.in: Regenerate.
484 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
486 * testsuite/Makefile.am: Properly quote LD_RUN_PATH.
487 * testsuite/Makefile.in: Regenerate.
489 2003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
492 * include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
493 (acos): Handle integer argument.
512 * include/bits/cpp_type_traits.h (__are_same<>): New traits.
513 (__enable_if): Likewise.
514 * testsuite/26_numerics/cmath/overloads.C: New test.
516 2003-05-10 Petur Runolfsson <peturr02@ru.is>
521 * include/bits/fstream.tcc (basic_file::_M_underflow): Add generic
522 implementation, based on old wchar_t specialization, add support
523 for codecvt::in() return value of codecvt_base::noconv, remove
524 _M_file.sys_ungetc() call.
525 * include/std/std_fstream.h (basic_file::underflow,
526 basic_file::uflow, basic_file::_M_underflow): Remove
527 specialization declarations, call _M_underflow from generic versions
528 of underflow and uflow.
529 * src/fstream.cc (basic_file::underflow, basic_file::uflow,
530 basic_file::_M_underflow): Remove specializations.
531 * src/Makefile.am (sources): Remove fstream.cc.
532 * src/Makefile.in: Regenerated.
533 * testsuite/27_io/basic_filebuf/underflow/10096.cc: New test.
534 * testsuite/27_io/basic_filebuf/underflow/char/1.cc: New test.
535 * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: New test.
536 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: New test.
538 2003-05-10 Benjamin Kosnik <bkoz@redhat.com>
540 * include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
542 * config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
544 (__basic_file::xsputn): Same.
545 (__basic_file::seekoff): Same.
546 (__basic_file::seekpos): Same.
547 (__basic_file::showmanyc): Same.
548 * config/io/basic_file_stdio.cc: Same.
549 * include/std/std_fstream.h: Same.
550 * include/bits/fstream.tcc: Same.
551 * src/fstream.cc: Same.
552 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
554 2003-05-10 Petur Runolfsson <peturr02@ru.is>
559 * include/ext/stdio_sync_filebuf.h: New file.
560 (basic_stdiobuf): New.
561 * include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
562 * include/Makefile.in: Regenerate.
563 * include/bits/ios_base.h (Init::_S_create_buffers,
564 Init::_S_destroy_buffers): Remove declarations.
565 * src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
566 buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync): Define.
567 * src/ios.cc (Init::_S_create_buffers,
568 Init::_S_destroy_buffers): Remove.
569 (Init::Init): Create and use syncronized buffers.
570 (ios_base::sync_with_stdio): Destroy syncronized buffers,
571 create and install unsyncronized buffers.
572 * testsuite/27_io/objects/char/10.cc: New test.
573 * testsuite/27_io/objects/char/9.cc: New test.
574 * testsuite/27_io/objects/char/9661-1.cc: New test.
575 * testsuite/27_io/objects/char/9661-2_xin.cc: New test.
576 * testsuite/27_io/objects/char/9661-2_xin.in: New.
577 * testsuite/27_io/objects/wchar_t/1.cc: New test.
578 * testsuite/27_io/objects/wchar_t/10.cc: New test.
579 * testsuite/27_io/objects/wchar_t/2.cc: New test.
580 * testsuite/27_io/objects/wchar_t/2523-1_xin.cc: New test.
581 * testsuite/27_io/objects/wchar_t/2523-1_xin.in: New.
582 * testsuite/27_io/objects/wchar_t/2523-2_xin.cc: New test.
583 * testsuite/27_io/objects/wchar_t/2523-2_xin.in: New.
584 * testsuite/27_io/objects/wchar_t/3045.cc: New test.
585 * testsuite/27_io/objects/wchar_t/3647.cc: New test.
586 * testsuite/27_io/objects/wchar_t/3_xin.cc: New test.
587 * testsuite/27_io/objects/wchar_t/3_xin.in: New.
588 * testsuite/27_io/objects/wchar_t/4_xin.cc: New test.
589 * testsuite/27_io/objects/wchar_t/4_xin.in: New.
590 * testsuite/27_io/objects/wchar_t/5.cc: New test.
591 * testsuite/27_io/objects/wchar_t/5268.cc: New test.
592 * testsuite/27_io/objects/wchar_t/5280_xin.cc: New test.
593 * testsuite/27_io/objects/wchar_t/5280_xin.in: New.
594 * testsuite/27_io/objects/wchar_t/6.cc: New test.
595 * testsuite/27_io/objects/wchar_t/6548_xin.cc: New test.
596 * testsuite/27_io/objects/wchar_t/6548_xin.in: New.
597 * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: New test.
598 * testsuite/27_io/objects/wchar_t/6648-1_xin.in: New.
599 * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: New test.
600 * testsuite/27_io/objects/wchar_t/6648-2_xin.in: New.
601 * testsuite/27_io/objects/wchar_t/7.cc: New test.
602 * testsuite/27_io/objects/wchar_t/7744_xin.cc: New test.
603 * testsuite/27_io/objects/wchar_t/7744_xin.in: New.
604 * testsuite/27_io/objects/wchar_t/8.cc: New test.
605 * testsuite/27_io/objects/wchar_t/9_xin.cc: New test.
606 * testsuite/27_io/objects/wchar_t/9_xin.in: New.
607 * testsuite/27_io/objects/wchar_t/9520.cc: New test.
608 * testsuite/27_io/objects/wchar_t/9661-1.cc: New test.
609 * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: New test.
610 * testsuite/27_io/objects/wchar_t/9661-2_xin.in: New.
611 * testsuite/27_io/objects/wchar_t/9662.cc: New test.
612 * testsuite/ext/stdiobuf_char.cc: New test.
613 * testsuite/ext/stdiobuf_wchar_t.cc: New test.
615 2003-05-10 Paolo Carlini <pcarlini@unitus.it>
617 * testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
618 unnecessary includes and unused string literals.
619 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
621 2003-05-08 Paolo Carlini <pcarlini@unitus.it>
623 * include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
625 2003-05-07 Richard Henderson <rth@redhat.com>
628 * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
629 (__cxa_end_catch): Likewise.
630 * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise. Use
631 _Unwind_Resume_or_Rethrow.
632 * libsupc++/eh_personality.cc (empty_exception_spec): New.
633 (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
634 for _UA_FORCE_UNWIND. Honor empty filter spec for foreign
635 exceptions. Don't push terminate/unexpected to cxa functions.
636 (__cxa_call_unexpected): Remove foreign exception fixmes.
638 2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
640 * testsuite/27_io/ios_base/cons: New.
641 * testsuite/27_io/ios_base/cons/assign_neg.cc: New.
642 * testsuite/27_io/ios_base/cons/copy_neg.cc: New.
644 2003-05-07 Paolo Carlini <pcarlini@unitus.it>
646 * include/std/std_fstream.h (_M_is_indeterminate): Remove.
648 (basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
649 there is no buffer or __testget == !__testinit.
652 (basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
653 automatically sets, if appropriate, _M_out_cur == _M_in_cur.
655 * include/std/std_fstream.h (_M_destroy_pback): Don't set
656 unnecessarily _M_pback_cur_save and _M_pback_end_save.
658 * include/std/std_fstream.h (_M_set_determinate): Minor tweak.
660 * include/std/std_sstream.h (_M_sync): Minor tweak.
662 * include/bits/fstream.tcc (close): No need to call
663 _M_destroy_pback, setting _M_pback_init to false suffices
666 2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
668 * include/bits/stl_algo.h: Enums as _S_.
669 * include/bits/stl_tree.h: Same.
670 * include/bits/stl_bvector.h: Same.
671 * include/bits/ios_base.h: Same.
672 * include/bits/stl_alloc.h: Same.
673 * include/ext/stl_hashtable.h: Same.
674 * src/ios.cc: And here.
676 * include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
677 * include/bits/sstream.tcc: Same.
679 * include/bits/basic_ios.h: Correct spacing for '< ctype'.
681 * include/bits/locale_facets.tcc: Replace __temp to __tmp.
683 * include/bits/locale_facets.h (__num_base): Remove protected.
684 Use _S_[io]* names for enumerations.
685 (_S_format_int): Remove.
686 * include/bits/locale_facets.tcc: Same.
687 * src/locale.cc: Same.
689 * include/std/std_sstream.h (stringbuf::str): Tweak formatting.
691 2003-05-06 Phil Edwards <pme@gcc.gnu.org>
693 * docs/html/faq/index.html (3.10): Add note about mips atomicity.h.
694 * docs/html/faq/index.txt: Regenerated.
696 2003-05-06 Michael Ritzert <Ritzert@t-online.de>
697 Matt Kraai <kraai@alumni.cmu.edu>
699 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
702 2003-05-06 Richard Sandiford <rsandifo@redhat.com>
704 * configure.target (mips*): Use the generic atomicity.h by default.
706 2003-05-05 Loren J. Rittle <ljrittle@acm.org>
707 (Inspired by an alternate patch from Danny Smith.)
709 * include/bits/stl_threads.h (_Atomic_swap): Kill it...
710 (_Swap_lock_struct<>): ...and the horse it rode in on.
711 * src/globals.cc (_Swap_lock_struct<>): Likewise.
712 * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
714 * include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
715 visibility rules related to POSIX threads.
716 * testsuite/thread/pthread7-rope.cc: New test.
718 2003-05-04 Paolo Carlini <pcarlini@unitus.it>
720 * testsuite/21_strings/basic_string/find/char/3.cc: New
721 file, testing basic_string<char>::find_first_not_of.
722 * testsuite/21_strings/basic_string/find/wchar_t/3.cc:
723 Likewise for basic_string<wchar_t>.
725 2003-05-03 Loren J. Rittle <ljrittle@acm.org>
727 * testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
729 2003-05-02 Benjamin Kosnik <bkoz@redhat.com>
731 * include/Makefile.am (CLEANFILES): Remove PCH files in target
733 * include/Makefile.in: Regenerate.
735 2003-05-02 Paolo Carlini <pcarlini@unitus.it>
737 * include/std/std_sstream.h (str()): Tidy.
739 2003-05-02 Nathan Myers <ncm@cantrip.org>
740 Paolo Carlini <pcarlini@unitus.it>
742 * include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
744 2003-05-02 Jonathan Wakely <redi@gcc.gnu.org>
746 * include/bits/basic_string.h (swap): Remove redundant template
747 parameters from declaration of non-template member function.
749 2003-05-01 Phil Edwards <pme@gcc.gnu.org>
751 * acconfig.h (_GLIBCPP_USE_NLS): New symbol.
752 * configure.in: Move libintl.h header test...
753 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): ...to here. Gather all
754 the NLS-related test results into one symbol.
755 * src/functexcept.cc: Use it here.
756 * aclocal.m4, config.h.in, configure: Regenerated.
758 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
760 * include/bits/sstream.tcc (overflow): Instead of calling
761 str(), then _M_string.reserve, thus copying the contents
762 of the current buffer two times, just copy the latter in
763 a temporary, then use the 'swap trick'.
765 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
767 * include/std/std_sstream.h (str()): Revert the best of the
768 previous 'improvement', incorrect due to the COW nature of
769 v3 basic_string; simplify.
771 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
773 * include/bits/streambuf.tcc (__copy_streambufs): Adjust the
774 type of __avail to ptrdiff_t to avoid signed-unsigned warning.
776 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
778 * testsuite/abi_check.cc (check_version): Update known versions.
779 Check added symbols for version_name != base version. Add missing
780 symbols to incompatible list.
782 2003-05-01 Benjamin Kosnik <bkoz@redhat.com>
784 * acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
785 * aclocal.m4: Regenerated.
786 * configure: Regenerated.
788 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
790 * include/bits/streambuf.tcc (basic_streambuf::xsgetn):
791 Const-ify some variables.
792 (basic_streambuf::xsputn): Likewise; change the type of some
794 (__copy_streambufs): Change some variables to size_t.
796 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
798 * include/std/std_sstream.h (str()): Avoid constructing
799 a basic_string temporary not only when it would turn out
800 to be zero-sized but also when identical to the current
803 2003-05-01 Paolo Carlini <pcarlini@unitus.it>
805 * include/ext/stdio_filebuf.h
806 (stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
807 stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
808 Shorten a bit (-10 lines) by factoring out some code.
810 2003-04-30 Phil Edwards <pme@gcc.gnu.org>
812 * acinclude.m4: Add bit missing from previous patch.
813 * aclocal.m4, configure: Regenerated.
815 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
817 * docs/doxygen/mainpage.html: Bring up to date.
818 * docs/doxygen/run_doxygen: Cosmetic tweaks. Work around a bug
820 * docs/doxygen/user.cfg.in: Scanning the precompiled headers
821 breaks everything. Don't scan them.
822 * docs/html/documentation.html: Point to "Write after approval"
825 2003-04-29 Phil Edwards <pme@gcc.gnu.org>
827 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Search for gettext outside
828 of libc if message translations are being used. Fix info text in
829 xieee_1003.1-2001 case.
830 * aclocal.m4, configure: Regenerate.
832 2003-04-29 Joel Sherrill <joel.sherrill@OARcorp.com>
833 Loren J. Rittle <ljrittle@acm.org>
834 Martin v. Loewis <martin@v.loewis.de>
836 * config/cpu/i386/atomicity.h: New file.
838 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
840 * include/bits/fstream.tcc (open): Change to single return.
842 2003-04-29 Paolo Carlini <pcarlini@unitus.it>
844 * include/std/std_sstream.h (underflow): Change to single return.
846 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
848 * include/std/std_streambuf.h (_M_buf): is currently
849 used only for basic_filebuf, therefore move it there.
850 (basic_streambuf(), ~basic_streambuf()): Adjust.
851 * include/std/std_fstream.h (_M_buf): Moved here.
852 * include/std/std_sstream.h (setbuf): Don't set _M_buf,
853 is actually redundant for basic_stringbuf.
854 (_M_really_sync): Likewise.
855 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
856 * include/bits/sstream.tcc (seekoff): Adjust.
858 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
860 * src/localename.cc: Standardize exception strings.
861 * src/locale.cc: Same.
863 * include/bits/basic_string.tcc: Same.
864 * include/bits/basic_ios.tcc: Same.
865 * include/std/std_bitset.h: Same.
866 * include/ext/ropeimpl.h: Same.
867 * include/bits/stl_vector.h: Same.
868 * include/bits/stl_deque.h: Same.
869 * include/bits/stl_bvector.h: Same.
870 * config/locale/generic/c_locale.cc: Same.
871 * config/locale/gnu/c_locale.cc: Same.
872 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
874 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
876 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
878 * include/std/std_streambuf.h (_M_buf_size): is currently
879 used only for basic_filebuf, therefore move it there.
880 (basic_streambuf(), ~basic_streambuf()): Adjust.
881 * include/std/std_fstream.h (_M_buf_size): Moved here.
882 * include/bits/fstream.tcc (basic_filebuf()): Adjust.
884 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
886 * include/bits/streambuf.tcc (__copy_streambufs): Don't use
887 _M_buf_size (synced input is now correctly dealt with
888 elsewhere); when the output buffer is full don't fall back
889 to a snextc-sputc loop, call overflow instead.
891 2003-04-28 Paolo Carlini <pcarlini@unitus.it>
893 * include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
894 the innermost 'if' by factoring out some code.
896 2003-04-28 Phil Edwards <pme@gcc.gnu.org>
898 * configure.in: Test for libintl.h.
899 * include/bits/c++config: Define __N for everybody.
900 * include/bits/basic_string.h, include/bits/stl_bvector.h,
901 include/bits/stl_deque.h, include/bits/stl_vector.h,
902 include/std/std_bitset.h: Wrap all __throw* text with __N.
903 * po/Makefile.am (pot): New rule, mostly working.
904 * src/functexcept.cc: Call gettext on all __throw* arguments when
905 -fexceptions is in effect.
906 * po/Makefile.in, config.h.in, configure: Regenerate.
908 2003-04-28 Petur Runolfsson <peturr02@ru.is>
911 * include/bits/ios_base.h (Init::_S_ios_create,
912 Init::_S_ios_destroy): Remove declarations.
913 (Init::_S_create_buffers,
914 Init::_S_destroy_buffers): Declare
915 * src/ios.cc (Init::_S_ios_create): Remove
916 (Init::_S_create_buffers): Create buffers and add to streams.
917 (Init::_S_ios_destroy): Rename to...
918 (Init::_S_destroy_buffers): this.
919 (Init::Init): Only construct streams once.
920 (Init::~Init): Flush streams, don't destroy them.
921 (ios_base::sync_with_stdio): Don't destroy streams, only buffers.
922 * testsuite/27_io/ios_base/sync_with_stdio/9523.cc: New test.
923 * testsuite/27_io/objects/char/5.cc: New test.
924 * testsuite/27_io/objects/char/5268.cc: Avoid undefined behavior.
925 * testsuite/27_io/objects/char/6.cc: New test.
926 * testsuite/27_io/objects/char/7.cc: New test.
928 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
930 * testsuite/27_io/objects/char/8.cc: New test.
932 2003-04-28 Benjamin Kosnik <bkoz@redhat.com>
934 * testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
935 * testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
937 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
939 * include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
940 _M_destroy_pback. _M_pback_create to
941 _M_create_pback. _M_underflow_common to
942 _M_underflow. _M_really_overflow to _M_overflow.
943 * include/bits/fstream.tcc: Same.
944 * src/fstream.cc: Same.
945 * include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
946 _M_move_in_cur. _M_out_cur_move to _M_move_out_cur.
947 * include/bits/streambuf.tcc: Same.
948 * include/bits/fstream.tcc: Same.
949 * include/bits/sstream.tcc: Same.
951 2003-04-27 Benjamin Kosnik <bkoz@redhat.com>
953 * include/bits/locale_classes.h (locale::_Impl): Change _M_names
954 from fixed size array.
955 (locale): Change _S_categories as well.
957 * include/bits/locale_facets.tcc: Tweak.
958 * config/locale/gnu/c_locale.cc: Assign _S_categories.
959 * config/locale/generic/c_locale.cc: Same.
960 * src/locale.cc: Tweak.
961 * src/globals.cc: Change facet_name to name_vec, add names_c.
962 * src/localename.cc: Use them.
963 (locale::_Impl::~_Impl): Destroy _M_names.
964 (locale::_Impl::_Impl): Create _M_names.
966 2003-04-27 Andreas Schwab <schwab@suse.de>
968 * config/locale/ieee_1003.1-2001/codecvt_specializations.h
969 (__enc_traits): Use __ibom and __ebom instead of ignoring them.
971 2003-04-27 Nathan Myers <ncm@cantrip.org>
973 Move some basic_string members out of line because
974 they are too big to reasonably be inline.
975 * include/bits/basic_string.h
976 (assign(const basic_string&, size_type, size_type),
977 assign(const _CharT*, size_type),
978 insert(size_type, const basic_string&, size_type, size_type),
979 insert(size_type, const _CharT*, size_type),
980 replace(size_type, size_type, const _CharT*, size_type)):
982 * include/bits/basic_string.tcc: ...here.
984 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
986 * include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
987 the innermost 'if' by factoring out some code.
989 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
991 * include/bits/streambuf.tcc (__copy_streambufs): Don't
992 use in_avail(), simplify.
994 2003-04-26 Paolo Carlini <pcarlini@unitus.it>
996 * include/std/std_sstream.h (setbuf): don't set _M_buf_size,
997 in basic_stringbuf it's unused.
999 * include/std/std_sstream.h (underflow): consistently use
1000 _M_in_cur, not gptr().
1002 2003-04-25 Ranjit Mathew <rmathew@hotmail.com>
1003 Phil Edwards <pme@gcc.gnu.org>
1005 * testsuite_flags.in: Guard against the possibility
1006 of having "xgcc" as a part of a folder name in the
1007 path to the GCC build folder.
1008 * testsuite/Makefile.am: Likewise.
1009 * testsuite/Makefile.in: Regenerated.
1011 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
1014 * include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
1015 exception specifications.
1016 (basic_filebuf::close): Same.
1017 (basic_filebuf::_M_pback_destroy): Same.
1018 (basic_filebuf::_M_destroy_internal_buffer): Same.
1019 (basic_filebuf): Remove __res_type typedef.
1020 * src/fstream.cc: Same.
1021 * include/bits/fstream.tcc
1022 (basic_filebuf::_M_convert_to_external): Simplify.
1023 (basic_filebuf::seekoff): Use has_facet before use_facet.
1024 (basic_filebuf::close): Add exception specification of throw().
1025 * testsuite/27_io/basic_filebuf/cons: New.
1026 * testsuite/27_io/basic_filebuf/cons/wchar_t: New.
1027 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
1028 * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
1029 * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
1031 2003-04-25 Benjamin Kosnik <bkoz@redhat.com>
1033 * include/bits/locale_classes.h
1034 (locale::_S_extra_categories_size): Remove.
1035 * src/locale.cc: Remove _S_extra_categories_size.
1036 * src/localename.cc: Same.
1037 * config/locale/gnu/c_locale.cc: Same.
1038 * config/locale/generic/c_locale.cc: Same.
1040 2003-04-24 Richard Sandiford <rsandifo@redhat.com>
1042 * src/localename.cc (__gnu_cxx::facet_vec): Correct types.
1044 2003-04-24 Phil Edwards <pme@gcc.gnu.org>
1046 * docs/html/17_intro/howto.html: Update some links.
1047 * docs/html/18_support/howto.html: Link doxygen numeric_limits notes.
1048 * docs/html/27_io/howto.html: Link doxygen stdio_filebuf notes.
1049 * docs/html/ext/howto.html: Link to demangler notes and API.
1050 * docs/html/faq/index.html: Remove trailing whitespace.
1051 (1.4, 2.4, 3.8, 4.1): Bring up to date.
1052 (5.6): Change to a bulleted list.
1054 * docs/html/faq/index.txt, docs/html/documentation.html,
1055 docs/html/17_intro/porting.html: Regenerate.
1057 2003-04-23 Paolo Carlini <pcarlini@unitus.it>
1059 * testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
1060 belongs to basic_filebuf.
1061 * testsuite/27_io/basic_fstream/3.cc: Likewise.
1062 * testsuite/27_io/basic_ifstream/3.cc: Likewise.
1063 * testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
1064 instantiation (now belongs to basic_filebuf).
1065 * testsuite/27_io/basic_iostream/3.cc: Likewise.
1066 * testsuite/27_io/basic_istream/3.cc: Likewise.
1067 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
1068 _S_pback_size now belongs to basic_filebuf.
1069 * testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
1070 instantiation (now belongs to basic_filebuf).
1071 * testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
1072 belongs to basic_filebuf.
1073 * testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
1074 instantiation (now belongs to basic_filebuf).
1075 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
1076 _S_pback_size now belongs to basic_filebuf.
1077 * testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
1078 instantiation (now belongs to basic_filebuf).
1079 * testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
1081 * testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
1082 instantiation (now belongs to basic_filebuf).
1083 * testsuite/27_io/basic_stringstream/3.cc: Likewise.
1085 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
1087 * configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
1088 * configure: Regenerated.
1090 2003-04-23 Benjamin Kosnik <bkoz@redhat.com>
1092 * config/locale/generic/c_locale.h (__convert_from_v): Use
1095 2003-04-23 Phil Edwards <pme@gcc.gnu.org>
1097 * docs/html/ext/howto.html ('LWG Issues'): Add issue 60, partial
1098 implementation only.
1099 * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
1100 Comment and change to comply with DR 60 and the effect on gcount().
1101 * include/std/std_istream.h: Update comments.
1102 * testsuite/27_io/basic_istream/putback/char/1.cc (test01): Add
1103 comments about reasons for tests. Test sync() against gcount().
1104 * testsuite/27_io/basic_istream/seekg/char/2.cc: New file, test
1105 for effect on gcount().
1106 * testsuite/27_io/basic_istream/tellg/char/2.cc: New file, test
1107 for effect on gcount().
1109 2003-04-22 Loren J. Rittle <ljrittle@acm.org>
1111 * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
1114 2003-04-22 Paolo Carlini <pcarlini@unitus.it>
1116 * include/std/std_streambuf.h (_S_pback_size, _M_pback,
1117 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
1118 _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
1119 (basic_streambuf::basic_streambuf()): Adjust.
1120 * include/std/std_fstream.h (_S_pback_size, _M_pback,
1121 _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
1122 _M_pback_create(), _M_pback_destroy()): Moved here
1123 from basic_streambuf.
1124 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
1126 (basic_filebuf::_S_pback_size): Add declaration.
1127 * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
1130 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
1132 Consistently use _M_in_beg instead of eback(), _M_in_cur
1133 instead of gptr(), and so on.
1134 * include/bits/fstream.tcc (pbackfail, imbue): Here.
1135 * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
1136 * include/bits/streambuf.tcc (sbumpc, sputbackc,
1137 __copy_streambufs): Ditto.
1138 * include/std/std_streambuf.h (sgetc): Ditto.
1140 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
1142 * include/bits/sstream.tcc (pbackfail, overflow):
1145 2003-04-21 Paolo Carlini <pcarlini@unitus.it>
1147 * include/std/std_streambuf.h (uflow()): It's used only by
1148 basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
1149 therefore do not consider the _M_buf_unified == true case.
1151 * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
1153 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
1155 * docs/html/ext/howto.html ('LWG Issues'):
1156 Add issues 19, 90, 171, 231, 271.
1158 2003-04-20 Paolo Carlini <pcarlini@unitus.it>
1160 * include/bits/sstream.tcc (pbackfail): Remove redundant
1161 NULL pointer check from test involving _M_in_*.
1162 (overflow, seekoff, seekpos): Const qualify bool variables.
1163 * include/std/std_sstream.h (underflow): Remove redundant
1164 NULL pointer check from test involving _M_in_*.
1165 (_M_really_sync): Const qualify bool variables.
1166 * src/fstream.cc (_M_underflow_common): Remove redundant
1167 NULL pointer check from test involving _M_in_*, const qualify
1170 * include/std/std_streambuf.h (sgetc): Remove redundant
1173 2003-04-18 Paolo Carlini <pcarlini@unitus.it>
1175 According to 5.9 para 2 (second bullet) for pointers p, q
1176 pointing to the same type, with p == 0 and q == 0, (p < q)
1178 * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
1179 seekoff): Remove redundant NULL pointer checks from tests
1180 involving _M_out_* and _M_in_*, const qualify bool variables.
1181 (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
1182 qualify bool variables.
1183 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
1184 Remove redundant NULL pointer checks from tests involving
1185 _M_out_* and _M_in_*, const qualify bool variables.
1186 * include/std/std_fstream.h (sync): Likewise.
1187 (_M_is_indeterminate): Const qualify bool variables.
1188 * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
1189 NULL pointer checks from tests involving _M_out_* and _M_in_*,
1190 const qualify bool variables.
1191 (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
1194 2003-04-18 Loren J. Rittle <ljrittle@acm.org>
1196 * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
1197 C99 FP macros, if actually captured.
1199 * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
1200 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
1201 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
1202 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
1203 * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
1205 (_GLIBCPP_USE_C99_DYNAMIC): New macro.
1206 (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
1207 (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
1208 * include/c_std/std_cstdlib.h: Use new macros.
1209 * include/c_std/std_cstdio.h: Use new macros.
1210 * include/c_std/std_cwchar.h: Use new macros.
1212 2003-04-17 Benjamin Kosnik <bkoz@redhat.com>
1215 * include/bits/ostream.tcc: Catch all exceptions for formatted
1216 output, instead of std::exception and derivatives.
1217 * include/bits/istream.tcc: Same.
1218 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
1219 * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
1220 * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
1221 * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
1222 * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
1223 * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
1226 2003-04-17 Phil Edwards <pme@gcc.gnu.org>
1228 * include/bits/c++config: Minor cosmetic tweaks.
1230 2003-04-17 Loren J. Rittle <ljrittle@acm.org>
1232 * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
1233 * include/Makefile.am (pch_input): Find in ${target_builddir}.
1234 (pch_output): Rename to...
1235 (pch_output_builddir): ..this. Find in ${target_builddir}.
1236 (pch_source): Tweak.
1237 (pch_build): Key off a built file.
1238 (pch_output rule): Rename to...
1239 (pch_input rule): ...this. Produce ${pch_output_builddir}
1240 instead of ${pch_output}.
1241 (install-pch rule): Install ${pch_output_builddir}.
1242 * include/Makefile.in: Regenerated.
1244 2003-04-17 Paolo Carlini <pcarlini@unitus.it>
1246 * include/std/std_streambuf.h (setp): _M_out_lim, being
1247 the end limit of used put area, is set equal to _M_out_beg.
1249 2003-04-16 Benjamin Kosnik <bkoz@redhat.com>
1251 * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
1252 * aclocal.m4: Regenerated.
1253 * configure.in: Remove old demangler bits.
1255 * configure: Regenerate.
1256 * config.h.in: Regenerate.
1257 * include/Makefile.am (allstamps): Now allstamped.
1258 (allcreated): Define this.
1259 (all-local): Use 'em.
1260 Conditionally define pch_build, pch_install based on
1262 (${pch_output}): New rule.
1263 (install-pch): New rule.
1264 (install-headers): New rule.
1265 (install-data-local): Install headers and conditionally pch.
1266 * include/Makefile.in: Regenerate.
1267 * testsuite_flags.in (--build-cxx): Use pch file.
1269 2003-04-16 Jonathan Wakely <redi@gcc.gnu.org>
1271 * docs/html/ext/sgiexts.html: Fix path to stylesheet.
1273 2003-04-15 Benjamin Kosnik <bkoz at redhat dot com>
1274 Paolo Carlini <pcarlini at unitus dot it>
1277 * docs/html/27_io/howto.html
1278 ('The buffering is screwing up my program!'): Explain that
1279 opening counts as an I/O operation.
1281 2003-04-15 Andreas Tobler <a.tobler@schweiz.ch>
1283 * testsuite/thread/pthread1.cc: Enable for darwin test.
1284 * testsuite/thread/pthread2.cc: Same.
1285 * testsuite/thread/pthread3.cc: Same.
1286 * testsuite/thread/pthread4.cc: Same.
1287 * testsuite/thread/pthread5.cc: Same.
1288 * testsuite/thread/pthread6.cc: Same.
1290 2003-04-15 Loren J. Rittle <ljrittle@acm.org>
1293 * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
1294 Populate it with multiple legal ways to obtain the C99 float
1295 transcendentals. Use them instead of direct global reference.
1296 (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
1297 * docs/html/17_intro/porting.texi
1298 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
1299 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
1300 (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
1301 * config/os/bsd/freebsd/os_defines.h
1302 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
1303 (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
1304 * testsuite/26_numerics/c_math_dynamic.cc: New file.
1306 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
1307 Benjamin Kosnik <bkoz@redhat.com>
1309 * config/os/generic/ctype_inline.h: Fix.
1311 2003-04-14 Benjamin Kosnik <bkoz@redhat.com>
1313 * testsuite/testsuite_hooks.h
1314 (__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
1315 Change to try_named_locale.
1316 * testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
1318 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
1320 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
1321 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
1322 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
1323 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
1324 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
1325 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
1326 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
1327 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
1328 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
1329 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
1330 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
1331 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
1332 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
1333 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
1334 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
1335 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
1336 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
1337 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
1338 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
1339 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
1340 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
1341 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
1342 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
1343 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
1344 * testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
1345 * testsuite/22_locale/collate/compare/char/1.cc: Same.
1346 * testsuite/22_locale/collate/compare/char/2.cc: Same.
1347 * testsuite/22_locale/collate/compare/char/3.cc: Same.
1348 * testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
1349 * testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
1350 * testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
1351 * testsuite/22_locale/collate/hash/char/2.cc: Same.
1352 * testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
1353 * testsuite/22_locale/collate/transform/char/2.cc: Same.
1354 * testsuite/22_locale/collate/transform/char/3.cc: Same.
1355 * testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
1356 * testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
1357 * testsuite/22_locale/collate_byname/1.cc: Same.
1358 * testsuite/22_locale/ctype/is/char/2.cc: Same.
1359 * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
1360 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
1361 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
1362 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
1363 * testsuite/22_locale/facet/2.cc: Same.
1364 * testsuite/22_locale/locale/cons/2.cc: Same.
1365 * testsuite/22_locale/locale/cons/4.cc: Same.
1366 * testsuite/22_locale/locale/cons/5.cc: Same.
1367 * testsuite/22_locale/locale/cons/7.cc: Same.
1368 * testsuite/22_locale/locale/cons/7222-c.cc: Same.
1369 * testsuite/22_locale/locale/cons/7222-env.cc: Same.
1370 * testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
1371 * testsuite/22_locale/messages/members/char/1.cc: Same.
1372 * testsuite/22_locale/messages/members/char/2.cc: Same.
1373 * testsuite/22_locale/messages/members/char/3.cc: Same.
1374 * testsuite/22_locale/messages_byname/1.cc: Same.
1375 * testsuite/22_locale/money_get/get/char/1.cc: Same.
1376 * testsuite/22_locale/money_get/get/char/2.cc: Same.
1377 * testsuite/22_locale/money_get/get/char/3.cc: Same.
1378 * testsuite/22_locale/money_get/get/char/4.cc: Same.
1379 * testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
1380 * testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
1381 * testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
1382 * testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
1383 * testsuite/22_locale/money_put/put/char/1.cc: Same.
1384 * testsuite/22_locale/money_put/put/char/2.cc: Same.
1385 * testsuite/22_locale/money_put/put/char/3.cc: Same.
1386 * testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
1387 * testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
1388 * testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
1389 * testsuite/22_locale/moneypunct/members/char/2.cc: Same.
1390 * testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
1391 * testsuite/22_locale/moneypunct_byname/1.cc: Same.
1392 * testsuite/22_locale/num_get/get/char/1.cc: Same.
1393 * testsuite/22_locale/num_get/get/char/2.cc: Same.
1394 * testsuite/22_locale/num_get/get/char/3.cc: Same.
1395 * testsuite/22_locale/num_get/get/char/5.cc: Same.
1396 * testsuite/22_locale/num_get/get/char/6.cc: Same.
1397 * testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
1398 * testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
1399 * testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
1400 * testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
1401 * testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
1402 * testsuite/22_locale/num_put/put/char/1.cc: Same.
1403 * testsuite/22_locale/num_put/put/char/2.cc: Same.
1404 * testsuite/22_locale/num_put/put/char/3.cc: Same.
1405 * testsuite/22_locale/num_put/put/char/5.cc: Same.
1406 * testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
1407 * testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
1408 * testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
1409 * testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
1410 * testsuite/22_locale/numpunct/members/char/1.cc: Same.
1411 * testsuite/22_locale/numpunct/members/char/2.cc: Same.
1412 * testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
1413 * testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
1414 * testsuite/22_locale/numpunct_byname/1.cc: Same.
1415 * testsuite/22_locale/numpunct_byname/2.cc: Same.
1416 * testsuite/22_locale/time_get/date_order/char/1.cc: Same.
1417 * testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
1418 * testsuite/22_locale/time_get/get_date/char/1.cc: Same.
1419 * testsuite/22_locale/time_get/get_date/char/2.cc: Same.
1420 * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
1421 * testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
1422 * testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
1423 * testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
1424 * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
1425 * testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
1426 * testsuite/22_locale/time_get/get_time/char/1.cc: Same.
1427 * testsuite/22_locale/time_get/get_time/char/2.cc: Same.
1428 * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
1429 * testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
1430 * testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
1431 * testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
1432 * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
1433 * testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
1434 * testsuite/22_locale/time_get/get_year/char/1.cc: Same.
1435 * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
1436 * testsuite/22_locale/time_put/put/char/1.cc: Same.
1437 * testsuite/22_locale/time_put/put/char/2.cc: Same.
1438 * testsuite/22_locale/time_put/put/char/3.cc: Same.
1439 * testsuite/22_locale/time_put/put/char/4.cc: Same.
1440 * testsuite/22_locale/time_put/put/char/5.cc: Same.
1441 * testsuite/22_locale/time_put/put/char/6.cc: Same.
1442 * testsuite/22_locale/time_put/put/char/7.cc: Same.
1443 * testsuite/22_locale/time_put/put/char/8.cc: Same.
1444 * testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
1445 * testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
1446 * testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
1447 * testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
1448 * testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
1449 * testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
1450 * testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
1451 * testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
1452 * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
1453 * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
1454 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
1455 * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
1456 * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
1458 2003-04-14 Andreas Tobler <toa@pop.agri.ch>
1460 * configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
1461 solaris includes, not generic.
1463 2003-04-14 Loren J. Rittle <ljrittle@acm.org>
1465 * testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
1467 * include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
1468 * include/bits/concept_check.h: Fix multi-line comment.
1469 * testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
1470 when target is *-*-freebsd*.
1472 2003-04-14 Nathan Myers <ncm@cantrip.org>
1473 Paolo Carlini <pcarlini@unitus.it>
1475 PR libstdc++/9701 (in_avail())
1476 * include/std/std_streambuf.h (in_avail): Simplify, in_avail
1477 doesn't care if there is anything in some putback cell.
1478 * testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
1480 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
1481 unused string literals.
1483 2003-04-14 Paolo Carlini <pcarlini@unitus.it>
1485 * include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
1486 _M_out_end, _M_set_indeterminate() does it.
1488 2003-04-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1490 * os/hpux/ctype_inline.h: Replace with gnu-linux version.
1492 2003-04-12 David Edelsohn <edelsohn@gnu.org>
1494 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
1495 Change basic_streambuf instantiation to "unsigned char".
1496 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
1498 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
1500 Remove _M_buf_size_opt, use directly _M_buf_size instead.
1501 * include/bits/fstream.tcc
1502 (basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
1503 references to _M_buf_size_opt.
1504 * include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
1505 * include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
1506 __bufsize to __in_avail and __size_opt to __buf_size.
1507 * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
1508 * include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
1509 * include/std/std_streambuf.h (~basic_streambuf(),
1510 basic_streambuf()): Likewise, remove _M_buf_size_opt member.
1511 * testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
1512 * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
1513 * testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
1514 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
1515 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
1516 * testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
1517 * testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
1518 * testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
1519 * testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
1520 * testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
1521 * testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
1522 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
1524 2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
1526 * include/ext/stdio_filebuf.h
1527 (stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
1528 stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
1529 _M_buf_size_opt == 0 only means "not to use an allocated buffer"
1530 since a stack-based buffer is used for small values of the size_t
1532 * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
1533 If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
1534 * testsuite/ext/stdio_filebuf_2.cc: New testfile.
1536 2003-04-12 Paolo Carlini <pcarlini@unitus.it>
1539 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
1540 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
1542 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
1544 * testsuite/22_locale/locale/cons/3.cc: Split.
1545 * testsuite/22_locale/locale/cons/7222-c.cc: New.
1546 * testsuite/22_locale/locale/cons/7222-env.cc: New.
1547 Check before trying to create a locale from the environment.
1548 * testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
1549 * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
1552 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
1554 * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
1555 locale to construct this hybrid locale, not the global locale.
1557 2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
1559 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
1560 instantiation for AIX.
1561 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
1562 * testsuite/25_algorithms/min_max.cc: Same.
1564 2003-04-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1566 * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
1567 twice. Always set _M_cfile to 0 when stream was open.
1569 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
1571 Reshuffle 27_io testsuite. * testsuite/27_io/filebuf.cc,
1572 filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
1573 filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
1574 filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
1575 filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
1576 ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
1577 ifstream_members.cc, instantiations.cc, ios.cc,
1578 ios_base_callbacks.cc, ios_base_members_static-1.tst,
1579 ios_base_members_static.cc, ios_base_storage.cc,
1580 ios_base_types.cc, ios_ctor.cc, ios_init.cc,
1581 ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
1582 iostream.cc, iostream_members.cc, istream.cc,
1583 istream_exception.cc, istream_extractor_char.cc,
1584 istream_extractor_other-1.tst, istream_extractor_other-1.txt,
1585 istream_extractor_other-2.tst, istream_extractor_other.cc,
1586 istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
1587 istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
1588 istream_sentry.cc, istream_unformatted-1.tst,
1589 istream_unformatted-1.txt, istream_unformatted.cc,
1590 istringstream.cc, istringstream_members.cc,
1591 narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
1592 ofstream_members.cc, ostream.cc, ostream_exception.cc,
1593 ostream_fail.cc, ostream_inserter_arith.cc,
1594 ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
1595 ostream_inserter_char.cc, ostream_inserter_other-1.tst,
1596 ostream_inserter_other-2.tst, ostream_inserter_other.cc,
1597 ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
1598 ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
1599 ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
1600 streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
1601 stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
1602 wide_stream_objects.cc, istream_extractor_arith/01.cc,
1603 istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
1604 istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
1605 istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
1606 istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
1607 istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
1609 * 27_io/basic_filebuf/1.cc: New.
1610 * 27_io/basic_filebuf/2.cc: New.
1611 * 27_io/basic_filebuf/3.cc: New.
1612 * 27_io/basic_filebuf/4.cc: New.
1613 * 27_io/basic_filebuf/close/char/1.cc: New.
1614 * 27_io/basic_filebuf/close/char/2.cc: New.
1615 * 27_io/basic_filebuf/close/char/3.cc: New.
1616 * 27_io/basic_filebuf/close/char/4879.cc: New.
1617 * 27_io/basic_filebuf/close/char/9964.cc: New.
1618 * 27_io/basic_filebuf/imbue/char/1.cc: New.
1619 * 27_io/basic_filebuf/imbue/char/9322.cc: New.
1620 * 27_io/basic_filebuf/in_avail/char/1.cc: New.
1621 * 27_io/basic_filebuf/is_open/char/1.cc: New.
1622 * 27_io/basic_filebuf/open/char/1.cc: New.
1623 * 27_io/basic_filebuf/open/char/2.cc: New.
1624 * 27_io/basic_filebuf/open/char/3.cc: New.
1625 * 27_io/basic_filebuf/open/char/9507.cc: New.
1626 * 27_io/basic_filebuf/overflow/char/1.cc: New.
1627 * 27_io/basic_filebuf/overflow/char/3599.cc: New.
1628 * 27_io/basic_filebuf/overflow/char/9169.cc: New.
1629 * 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
1630 * 27_io/basic_filebuf/overflow/char/9988.cc: New.
1631 * 27_io/basic_filebuf/sbumpc/char/1.cc: New.
1632 * 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
1633 * 27_io/basic_filebuf/seekoff/char/1.cc: New.
1634 * 27_io/basic_filebuf/seekoff/char/2.cc: New.
1635 * 27_io/basic_filebuf/seekpos/char/1.cc: New.
1636 * 27_io/basic_filebuf/seekpos/char/2.cc: New.
1637 * 27_io/basic_filebuf/setbuf/char/1.cc: New.
1638 * 27_io/basic_filebuf/setbuf/char/2.cc: New.
1639 * 27_io/basic_filebuf/setbuf/char/3.cc: New.
1640 * 27_io/basic_filebuf/sgetc/char/1.cc: New.
1641 * 27_io/basic_filebuf/sgetn/char/1.cc: New.
1642 * 27_io/basic_filebuf/sgetn/char/2.cc: New.
1643 * 27_io/basic_filebuf/snextc/char/1.cc: New.
1644 * 27_io/basic_filebuf/sputbackc/char/1.cc: New.
1645 * 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
1646 * 27_io/basic_filebuf/sputc/char/1.cc: New.
1647 * 27_io/basic_filebuf/sputc/char/1057.cc: New.
1648 * 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
1649 * 27_io/basic_filebuf/sputn/char/1.cc: New.
1650 * 27_io/basic_filebuf/sputn/char/1057.cc: New.
1651 * 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
1652 * 27_io/basic_filebuf/sungetc/char/1.cc: New.
1653 * 27_io/basic_filebuf/sync/char/1057.cc: New.
1654 * 27_io/basic_filebuf/sync/char/9182-1.cc: New.
1655 * 27_io/basic_filebuf/underflow/char/10097.cc: New.
1656 * 27_io/basic_fstream/1.cc: New.
1657 * 27_io/basic_fstream/2.cc: New.
1658 * 27_io/basic_fstream/3.cc: New.
1659 * 27_io/basic_fstream/4.cc: New.
1660 * 27_io/basic_fstream/rdbuf/char/2832.cc: New.
1661 * 27_io/basic_ifstream/1.cc: New.
1662 * 27_io/basic_ifstream/2.cc: New.
1663 * 27_io/basic_ifstream/3.cc: New.
1664 * 27_io/basic_ifstream/4.cc: New.
1665 * 27_io/basic_ifstream/cons/char/1.cc: New.
1666 * 27_io/basic_ifstream/open/char/1.cc: New.
1667 * 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
1668 * 27_io/basic_ios/1.cc: New.
1669 * 27_io/basic_ios/2.cc: New.
1670 * 27_io/basic_ios/3.cc: New.
1671 * 27_io/basic_ios/4.cc: New.
1672 * 27_io/basic_ios/clear/char/1.cc: New.
1673 * 27_io/basic_ios/cons/char/1.cc: New.
1674 * 27_io/basic_ios/cons/char/2.cc: New.
1675 * 27_io/basic_ios/cons/char/3.cc: New.
1676 * 27_io/basic_ios/copyfmt/char/1.cc: New.
1677 * 27_io/basic_ios/copyfmt/char/2.cc: New.
1678 * 27_io/basic_ios/exceptions/char/1.cc: New.
1679 * 27_io/basic_ios/locales/char/1.cc: New.
1680 * 27_io/basic_iostream/1.cc: New.
1681 * 27_io/basic_iostream/2.cc: New.
1682 * 27_io/basic_iostream/3.cc: New.
1683 * 27_io/basic_iostream/4.cc: New.
1684 * 27_io/basic_istream/1.cc: New.
1685 * 27_io/basic_istream/2.cc: New.
1686 * 27_io/basic_istream/3.cc: New.
1687 * 27_io/basic_istream/4.cc: New.
1688 * 27_io/basic_istream/exceptions/char/9561.cc: New.
1689 * 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
1690 * 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
1691 * 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
1692 * 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
1693 * 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
1694 * 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
1695 * 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
1696 * 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
1697 * 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
1698 * 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
1699 * 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
1700 * 27_io/basic_istream/extractors_character/char/1.cc: New.
1701 * 27_io/basic_istream/extractors_character/char/2.cc: New.
1702 * 27_io/basic_istream/extractors_character/char/3.cc: New.
1703 * 27_io/basic_istream/extractors_character/char/9826.cc: New.
1704 * 27_io/basic_istream/extractors_other/char/1.cc: New.
1705 * 27_io/basic_istream/extractors_other/char/2.cc: New.
1706 * 27_io/basic_istream/extractors_other/char/3.cc: New.
1707 * 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
1708 * 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
1709 * 27_io/basic_istream/get/char/1.cc: New.
1710 * 27_io/basic_istream/get/char/2.cc: New.
1711 * 27_io/basic_istream/getline/char/1.cc: New.
1712 * 27_io/basic_istream/getline/char/2.cc: New.
1713 * 27_io/basic_istream/getline/char/3.cc: New.
1714 * 27_io/basic_istream/ignore/char/1.cc: New.
1715 * 27_io/basic_istream/ignore/char/6360.cc: New.
1716 * 27_io/basic_istream/ignore/char/7220.cc: New.
1717 * 27_io/basic_istream/peek/char/1.cc: New.
1718 * 27_io/basic_istream/peek/char/6414.cc: New.
1719 * 27_io/basic_istream/putback/char/1.cc: New.
1720 * 27_io/basic_istream/read/char/1.cc: New.
1721 * 27_io/basic_istream/read/char/2.cc: New.
1722 * 27_io/basic_istream/read/char/3.cc: New.
1723 * 27_io/basic_istream/readsome/char/6746-1.cc: New.
1724 * 27_io/basic_istream/readsome/char/6746-2.cc: New.
1725 * 27_io/basic_istream/readsome/char/8258.cc: New.
1726 * 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
1727 * 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
1728 * 27_io/basic_istream/seekg/char/8348-1.cc: New.
1729 * 27_io/basic_istream/seekg/char/8348-2.cc: New.
1730 * 27_io/basic_istream/seekg/char/fstream.cc: New.
1731 * 27_io/basic_istream/seekg/char/sstream.cc: New.
1732 * 27_io/basic_istream/sentry/char/1.cc: New.
1733 * 27_io/basic_istream/sentry/char/2.cc: New.
1734 * 27_io/basic_istream/sentry/char/3.cc: New.
1735 * 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
1736 * 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
1737 * 27_io/basic_istream/tellg/char/1.cc: New.
1738 * 27_io/basic_istream/tellg/char/8348.cc: New.
1739 * 27_io/basic_istream/tellg/char/fstream.cc: New.
1740 * 27_io/basic_istream/tellg/char/sstream.cc: New.
1741 * 27_io/basic_istream/ws/char/1.cc: New.
1742 * 27_io/basic_istringstream/1.cc: New.
1743 * 27_io/basic_istringstream/2.cc: New.
1744 * 27_io/basic_istringstream/3.cc: New.
1745 * 27_io/basic_istringstream/4.cc: New.
1746 * 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
1747 * 27_io/basic_istringstream/str/char/1.cc: New.
1748 * 27_io/basic_ofstream/1.cc: New.
1749 * 27_io/basic_ofstream/2.cc: New.
1750 * 27_io/basic_ofstream/3.cc: New.
1751 * 27_io/basic_ofstream/4.cc: New.
1752 * 27_io/basic_ofstream/cons/char/2.cc: New.
1753 * 27_io/basic_ofstream/open/char/1.cc: New.
1754 * 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
1755 * 27_io/basic_ostream/1.cc: New.
1756 * 27_io/basic_ostream/2.cc: New.
1757 * 27_io/basic_ostream/3.cc: New.
1758 * 27_io/basic_ostream/4.cc: New.
1759 * 27_io/basic_ostream/cons/char/9827.cc: New.
1760 * 27_io/basic_ostream/endl/char/1.cc: New.
1761 * 27_io/basic_ostream/ends/char/1.cc: New.
1762 * 27_io/basic_ostream/ends/char/2.cc: New.
1763 * 27_io/basic_ostream/exceptions/char/9561.cc: New.
1764 * 27_io/basic_ostream/flush/char/1.cc: New.
1765 * 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
1766 * 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
1767 * 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
1768 * 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
1769 * 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
1770 * 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
1771 * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
1772 * 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
1773 * 27_io/basic_ostream/inserters_character/char/1.cc: New.
1774 * 27_io/basic_ostream/inserters_character/char/2.cc: New.
1775 * 27_io/basic_ostream/inserters_character/char/3.cc: New.
1776 * 27_io/basic_ostream/inserters_character/char/4.cc: New.
1777 * 27_io/basic_ostream/inserters_character/char/5.cc: New.
1778 * 27_io/basic_ostream/inserters_character/char/6.cc: New.
1779 * 27_io/basic_ostream/inserters_character/char/8.cc: New.
1780 * 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
1781 * 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
1782 * 27_io/basic_ostream/inserters_other/char/1.cc: New.
1783 * 27_io/basic_ostream/inserters_other/char/2.cc: New.
1784 * 27_io/basic_ostream/inserters_other/char/3.cc: New.
1785 * 27_io/basic_ostream/inserters_other/char/4.cc: New.
1786 * 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
1787 * 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
1788 * 27_io/basic_ostream/sentry/char/1.cc: New.
1789 * 27_io/basic_ostream/sentry/char/2.cc: New.
1790 * 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
1791 * 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
1792 * 27_io/basic_ostream/tellp/char/1.cc: New.
1793 * 27_io/basic_ostream/tellp/char/2.cc: New.
1794 * 27_io/basic_ostringstream/1.cc: New.
1795 * 27_io/basic_ostringstream/2.cc: New.
1796 * 27_io/basic_ostringstream/3.cc: New.
1797 * 27_io/basic_ostringstream/4.cc: New.
1798 * 27_io/basic_ostringstream/cons/char/3.cc: New.
1799 * 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
1800 * 27_io/basic_ostringstream/str/char/1.cc: New.
1801 * 27_io/basic_ostringstream/str/char/2.cc: New.
1802 * 27_io/basic_streambuf/1.cc: New.
1803 * 27_io/basic_streambuf/2.cc: New.
1804 * 27_io/basic_streambuf/3.cc: New.
1805 * 27_io/basic_streambuf/cons/char/1.cc: New.
1806 * 27_io/basic_streambuf/imbue/char/1.cc: New.
1807 * 27_io/basic_streambuf/imbue/char/9322.cc: New.
1808 * 27_io/basic_streambuf/overflow/char/1.cc: New.
1809 * 27_io/basic_streambuf/overflow/char/2.cc: New.
1810 * 27_io/basic_streambuf/overflow/char/3599.cc: New.
1811 * 27_io/basic_streambuf/sgetc/char/1.cc: New.
1812 * 27_io/basic_streambuf/sgetn/char/1.cc: New.
1813 * 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
1814 * 27_io/basic_streambuf/sputc/char/1057.cc: New.
1815 * 27_io/basic_streambuf/sputn/char/1.cc: New.
1816 * 27_io/basic_streambuf/sputn/char/1057.cc: New.
1817 * 27_io/basic_streambuf/sync/char/1057.cc: New.
1818 * 27_io/basic_stringbuf/1.cc: New.
1819 * 27_io/basic_stringbuf/2.cc: New.
1820 * 27_io/basic_stringbuf/3.cc: New.
1821 * 27_io/basic_stringbuf/4.cc: New.
1822 * 27_io/basic_stringbuf/5.cc: New.
1823 * 27_io/basic_stringbuf/imbue/char/1.cc: New.
1824 * 27_io/basic_stringbuf/imbue/char/9322.cc: New.
1825 * 27_io/basic_stringbuf/in_avail/char/1.cc: New.
1826 * 27_io/basic_stringbuf/overflow/char/2.cc: New.
1827 * 27_io/basic_stringbuf/overflow/char/3599.cc: New.
1828 * 27_io/basic_stringbuf/overflow/char/9988.cc: New.
1829 * 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
1830 * 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
1831 * 27_io/basic_stringbuf/seekoff/char/1.cc: New.
1832 * 27_io/basic_stringbuf/seekoff/char/2.cc: New.
1833 * 27_io/basic_stringbuf/seekpos/char/1.cc: New.
1834 * 27_io/basic_stringbuf/seekpos/char/2.cc: New.
1835 * 27_io/basic_stringbuf/setbuf/char/1.cc: New.
1836 * 27_io/basic_stringbuf/setbuf/char/2.cc: New.
1837 * 27_io/basic_stringbuf/setbuf/char/3.cc: New.
1838 * 27_io/basic_stringbuf/sgetc/char/1.cc: New.
1839 * 27_io/basic_stringbuf/sgetn/char/1.cc: New.
1840 * 27_io/basic_stringbuf/snextc/char/1.cc: New.
1841 * 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
1842 * 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
1843 * 27_io/basic_stringbuf/sputc/char/1.cc: New.
1844 * 27_io/basic_stringbuf/sputc/char/1057.cc: New.
1845 * 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
1846 * 27_io/basic_stringbuf/sputn/char/1.cc: New.
1847 * 27_io/basic_stringbuf/sputn/char/1057.cc: New.
1848 * 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
1849 * 27_io/basic_stringbuf/str/char/1.cc: New.
1850 * 27_io/basic_stringbuf/str/char/2.cc: New.
1851 * 27_io/basic_stringbuf/str/char/3.cc: New.
1852 * 27_io/basic_stringbuf/str/char/3955.cc: New.
1853 * 27_io/basic_stringbuf/sungetc/char/1.cc: New.
1854 * 27_io/basic_stringbuf/sync/char/1057.cc: New.
1855 * 27_io/basic_stringstream/1.cc: New.
1856 * 27_io/basic_stringstream/2.cc: New.
1857 * 27_io/basic_stringstream/3.cc: New.
1858 * 27_io/basic_stringstream/4.cc: New.
1859 * 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
1860 * 27_io/basic_stringstream/str/char/1.cc: New.
1861 * 27_io/basic_stringstream/str/char/2.cc: New.
1862 * 27_io/basic_stringstream/str/char/3.cc: New.
1863 * 27_io/basic_stringstream/str/char/4.cc: New.
1864 * 27_io/fpos/1.cc: New.
1865 * 27_io/fpos/2.cc: New.
1866 * 27_io/fpos/3.cc: New.
1867 * 27_io/ios_base/callbacks/1.cc: New.
1868 * 27_io/ios_base/state/1.cc: New.
1869 * 27_io/ios_base/storage/1.cc: New.
1870 * 27_io/ios_base/storage/2.cc: New.
1871 * 27_io/ios_base/storage/3.cc: New.
1872 * 27_io/ios_base/sync_with_stdio/1.cc: New.
1873 * 27_io/ios_base/sync_with_stdio/2.cc: New.
1874 * 27_io/manipulators/adjustfield/char/1.cc: New.
1875 * 27_io/manipulators/adjustfield/char/2.cc: New.
1876 * 27_io/manipulators/basefield/char/1.cc: New.
1877 * 27_io/manipulators/standard/char/1.cc: New.
1878 * 27_io/manipulators/standard/char/2.cc: New.
1879 * 27_io/objects/char/1.cc: New.
1880 * 27_io/objects/char/2.cc: New.
1881 * 27_io/objects/char/2523-1_xin.cc: New.
1882 * 27_io/objects/char/2523-1_xin.in: New.
1883 * 27_io/objects/char/2523-2_xin.cc: New.
1884 * 27_io/objects/char/2523-2_xin.in: New.
1885 * 27_io/objects/char/3045.cc: New.
1886 * 27_io/objects/char/3647.cc: New.
1887 * 27_io/objects/char/3_xin.cc: New.
1888 * 27_io/objects/char/3_xin.in: New.
1889 * 27_io/objects/char/4_xin.cc: New.
1890 * 27_io/objects/char/4_xin.in: New.
1891 * 27_io/objects/char/5268.cc: New.
1892 * 27_io/objects/char/5280_xin.cc: New.
1893 * 27_io/objects/char/5280_xin.in: New.
1894 * 27_io/objects/char/6548_xin.cc: New.
1895 * 27_io/objects/char/6548_xin.in: New.
1896 * 27_io/objects/char/6648-1_xin.cc: New.
1897 * 27_io/objects/char/6648-1_xin.in: New.
1898 * 27_io/objects/char/6648-2_xin.cc: New.
1899 * 27_io/objects/char/6648-2_xin.in: New.
1900 * 27_io/objects/char/7744_xin.cc: New.
1901 * 27_io/objects/char/7744_xin.in: New.
1902 * 27_io/objects/wchar_t/1.cc: New.
1903 * 27_io/types/1.cc: New.
1904 * 27_io/types/2.cc: New.
1905 * data/filebuf_members-1.tst: New.
1906 * data/filebuf_members-1.txt: New.
1907 * data/filebuf_virtuals-1.tst: New.
1908 * data/filebuf_virtuals-1.txt: New.
1909 * data/filebuf_virtuals-2.tst: New.
1910 * data/filebuf_virtuals-3.tst: New.
1911 * data/ifstream_members-1.tst: New.
1912 * data/ifstream_members-1.txt: New.
1913 * data/ios_base_members_static-1.tst: New.
1914 * data/istream_extractor_other-1.tst: New.
1915 * data/istream_extractor_other-1.txt: New.
1916 * data/istream_extractor_other-2.tst: New.
1917 * data/istream_seeks-1.tst: New.
1918 * data/istream_seeks-1.txt: New.
1919 * data/istream_seeks-2.tst: New.
1920 * data/istream_seeks-3.tst: New.
1921 * data/istream_unformatted-1.tst: New.
1922 * data/istream_unformatted-1.txt: New.
1923 * data/ofstream_members-1.tst: New.
1924 * data/ostream_inserter_char-1.tst: New.
1925 * data/ostream_inserter_char-1.txt: New.
1926 * data/ostream_inserter_other-1.tst: New.
1927 * data/ostream_inserter_other-2.tst: New.
1928 * data/ostream_seeks-1.tst: New.
1930 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
1932 * include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
1933 requirement that __mode must be strict input or output.
1935 * include/std/std_streambuf.h (basic_streambuf::setp): Set
1938 * include/std/std_sstream.h (basic_strinbuf::str): Zero length
1939 output string shouldn't core.
1940 (basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
1942 * include/bits/sstream.tcc: Adjust _M_really_sync bits here.
1944 * include/bits/istream.tcc (basic_istream::putback): Set gcount to
1947 2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
1949 * testsuite/data: New directory.
1950 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
1951 to copy files from the testsuite data directory.
1952 (libstdc++-v3-list-sourcefiles): Add another test list filter, for
1953 testfiles containing _xin, which now means this is an interactive
1954 test and should be run with the interactive dejagnu hooks.
1955 * testsuite/Makefile.am: Remove testsuite_* files.
1956 * testsuite/Makefile.in: Regenerate.
1958 2003-04-09 Zack Weinberg <zack@codesourcery.com>
1960 * docs/html/install.html: Document complete list of locales
1961 required by test suite. Document procedure for installing
1962 said locales under Debian. Solicit instructions for other
1965 2003-04-08 Alexandre Oliva <aoliva@redhat.com>
1967 * include/bits/sstream.tcc (overflow): Make sure operands of min
1968 and max have the same type.
1970 2003-04-04 Jerry Quinn <jlquinn@optonline.net>
1973 * src/ios.cc (ios_base::_M_init): Remove _M_callbacks
1976 2003-03-31 Paolo Carlini <pcarlini@unitus.it>
1978 * include/std/std_streambuf.h (_M_out_buf_size()): Remove.
1979 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
1980 Don't set _M_out_end.
1981 (basic_filebuf::overflow): Replace _M_out_buf_size() with
1982 this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
1983 * include/bits/sstream.tcc (basic_stringbuf::overflow):
1984 Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
1985 * include/bits/streambuf.tcc (basic_streambuf::sputc):
1986 Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
1987 (basic_streambuf::xsputn): Replace _M_out_buf_size() with
1988 _M_out_end - _M_out_cur.
1989 (__copy_streambufs): Likewise.
1990 * include/std/std_fstream.h (_M_set_determinate): Set
1993 2003-03-30 Paolo Carlini <pcarlini@unitus.it>
1995 * include/bits/fstream.tcc (basic_filebuf::showmanyc,
1996 _M_convert_to_external, _M_really_overflow, seekoff): Fix
1997 test for synced buffer.
1998 * include/std/std_fstream.h (sync): Likewise.
1999 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
2000 basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
2002 2003-03-28 Benjamin Kosnik <bkoz@redhat.com>
2004 * include/std/std_sstream.h (basic_istringstream): Adjust
2006 (basic_ostringstream): Same.
2007 (basic_stringstream): Same.
2008 * include/std/std_fstream.h (basic_ifstream): Adjust initialization.
2009 (basic_ofstream): Same.
2010 (basic_fstream): Same.
2011 * include/std/std_ostream.h (basic_ostrem): Add protected ctor
2012 that does not call init.
2013 * include/std/std_istream.h (basic_istream): Same.
2014 (basic_iostream): Construct istream, ostream uninitialized, use
2015 init to initialize just once. Add protected ctor that does not
2018 2003-03-28 Paolo Carlini <pcarlini@unitus.it>
2019 Nathan Myers <ncm@cantrip.org>
2022 * include/bits/fstream.tcc (basic_filebuf<>::open): Don't
2024 (basic_filebuf<>::showmanyc): Use the information provided
2025 by codecvt and __basic_file<>::showmanyc_helper to implement
2026 a non-trivial showmanyc.
2027 * config/io/basic_file_stdio.h
2028 (__basic_file<>::showmanyc_helper): New, declare.
2029 * config/io/basic_file_stdio.cc
2030 (__basic_file<>::showmanyc_helper): Define.
2031 (__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
2032 (__basic_file<char>::open): Don't call fcntl().
2033 * acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
2034 GLIBCPP_CHECK_POLL): New macros.
2035 * configure.in: Call here.
2036 * acconfig.h: Add #undefs for the corresponding symbols.
2037 * aclocal.m4: Regenerate.
2038 * configure: Regenerate.
2039 * config.h.in: Regenerate.
2041 2003-03-24 Benjamin Kosnik <bkoz@redhat.com>
2043 * config/linker-map.gnu: Remove string export restrictions.
2045 2003-03-24 Paolo Carlini <pcarlini@unitus.it>
2047 * testsuite/21_strings/basic_string/find/char/1.cc: Remove
2048 find_first_of, find_last_of and find_last_not_of tests.
2049 * testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
2050 tests here, new file.
2051 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
2052 remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
2053 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
2054 wchar_t find_first_of tests here, new file.
2055 * testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
2057 * testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
2059 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
2060 wchar_t find_last_of tests here.
2061 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
2062 wchar_t find_last_not_of tests here.
2064 2003-03-22 Loren J. Rittle <ljrittle@acm.org>
2066 * config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
2067 Correct return value.
2069 2003-03-21 Jerry Quinn <jlquinn@optonline.net>
2072 * include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
2073 * include/std/std_complex.h (norm): Use faster,
2074 less accurate computation for builtin float types under --fast-math.
2076 2003-03-21 Magnus Fromreide <gnats@magfr.user.lysator.liu.se>
2078 * testsuite/testsuite_hooks.h: Fix warning nits.
2080 2003-03-19 Alexandre Oliva <aoliva@redhat.com>
2082 * config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
2083 Only .set mips2 for the o32 ABI.
2085 2003-03-19 Paolo Carlini <pcarlini@unitus.it>
2087 * testsuite/21_strings/char_traits/requirements/char/1.cc:
2088 Test char not wchar_t.
2090 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
2092 * testsuite/21_strings/basic_string/append/wchar_t/1.cc:
2093 Correct size, taking into account sizeof(wchar_t).
2095 2003-03-18 Paolo Carlini <pcarlini@unitus.it>
2097 Reshuffle 21_strings testsuite.
2098 * testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
2099 assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
2100 element_access.cc, operations.cc, char_traits_requirements.cc,
2101 find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
2102 compare.cc, inserters_extractors.cc, substr.cc: Split up, add
2103 wchar_t tests as follows.
2104 * 21_strings/basic_string/append/char/1.cc: New.
2105 * 21_strings/basic_string/append/wchar_t/1.cc: New.
2106 * 21_strings/basic_string/assign/char/1.cc: New.
2107 * 21_strings/basic_string/assign/char/2.cc: New.
2108 * 21_strings/basic_string/assign/char/3.cc: New.
2109 * 21_strings/basic_string/assign/wchar_t/1.cc: New.
2110 * 21_strings/basic_string/assign/wchar_t/2.cc: New.
2111 * 21_strings/basic_string/assign/wchar_t/3.cc: New.
2112 * 21_strings/basic_string/capacity/1.cc: New.
2113 * 21_strings/basic_string/capacity/char/1.cc: New.
2114 * 21_strings/basic_string/capacity/char/2.cc: New.
2115 * 21_strings/basic_string/capacity/wchar_t/1.cc: New.
2116 * 21_strings/basic_string/capacity/wchar_t/2.cc: New.
2117 * 21_strings/basic_string/compare/char/1.cc: New.
2118 * 21_strings/basic_string/compare/wchar_t/1.cc: New.
2119 * 21_strings/basic_string/cons/char/1.cc: New.
2120 * 21_strings/basic_string/cons/char/2.cc: New.
2121 * 21_strings/basic_string/cons/char/3.cc: New.
2122 * 21_strings/basic_string/cons/char/4.cc: New.
2123 * 21_strings/basic_string/cons/char/5.cc: New.
2124 * 21_strings/basic_string/cons/wchar_t/1.cc: New.
2125 * 21_strings/basic_string/cons/wchar_t/2.cc: New.
2126 * 21_strings/basic_string/cons/wchar_t/3.cc: New.
2127 * 21_strings/basic_string/cons/wchar_t/4.cc: New.
2128 * 21_strings/basic_string/cons/wchar_t/5.cc: New.
2129 * 21_strings/basic_string/element_access/char/1.cc: New.
2130 * 21_strings/basic_string/element_access/char/2.cc: New.
2131 * 21_strings/basic_string/element_access/char/3.cc: New.
2132 * 21_strings/basic_string/element_access/wchar_t/1.cc: New.
2133 * 21_strings/basic_string/element_access/wchar_t/2.cc: New.
2134 * 21_strings/basic_string/element_access/wchar_t/3.cc: New.
2135 * 21_strings/basic_string/find/char/1.cc: New.
2136 * 21_strings/basic_string/find/wchar_t/1.cc: New.
2137 * 21_strings/basic_string/insert/char/1.cc: New.
2138 * 21_strings/basic_string/insert/char/2.cc: New.
2139 * 21_strings/basic_string/insert/wchar_t/1.cc: New.
2140 * 21_strings/basic_string/insert/wchar_t/2.cc: New.
2141 * 21_strings/basic_string/inserters_extractors/char/1.cc: New.
2142 * 21_strings/basic_string/inserters_extractors/char/4.cc: New.
2143 * 21_strings/basic_string/inserters_extractors/char/5.cc: New.
2144 * 21_strings/basic_string/inserters_extractors/char/6.cc: New.
2145 * 21_strings/basic_string/inserters_extractors/char/7.cc: New.
2146 * 21_strings/basic_string/inserters_extractors/char/8.cc: New.
2147 * 21_strings/basic_string/inserters_extractors/char/9.cc: New.
2148 * 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
2149 * 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
2150 * 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
2151 * 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
2152 * 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
2153 * 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
2154 * 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
2155 * 21_strings/basic_string/operators/char/1.cc: New.
2156 * 21_strings/basic_string/operators/char/2.cc: New.
2157 * 21_strings/basic_string/operators/wchar_t/1.cc: New.
2158 * 21_strings/basic_string/operators/wchar_t/2.cc: New.
2159 * 21_strings/basic_string/replace/char/1.cc: New.
2160 * 21_strings/basic_string/replace/char/2.cc: New.
2161 * 21_strings/basic_string/replace/char/3.cc: New.
2162 * 21_strings/basic_string/replace/char/4.cc: New.
2163 * 21_strings/basic_string/replace/char/5.cc: New.
2164 * 21_strings/basic_string/replace/wchar_t/1.cc: New.
2165 * 21_strings/basic_string/replace/wchar_t/2.cc: New.
2166 * 21_strings/basic_string/replace/wchar_t/3.cc: New.
2167 * 21_strings/basic_string/replace/wchar_t/4.cc: New.
2168 * 21_strings/basic_string/replace/wchar_t/5.cc: New.
2169 * 21_strings/basic_string/rfind/char/1.cc: New.
2170 * 21_strings/basic_string/rfind/char/2.cc: New.
2171 * 21_strings/basic_string/rfind/char/3.cc: New.
2172 * 21_strings/basic_string/rfind/wchar_t/1.cc: New.
2173 * 21_strings/basic_string/rfind/wchar_t/2.cc: New.
2174 * 21_strings/basic_string/rfind/wchar_t/3.cc: New.
2175 * 21_strings/basic_string/substr/char/1.cc: New.
2176 * 21_strings/basic_string/substr/wchar_t/1.cc: New.
2177 * 21_strings/c_strings/char/1.cc: New.
2178 * 21_strings/c_strings/char/2.cc: New.
2179 * 21_strings/c_strings/wchar_t/1.cc: New.
2180 * 21_strings/c_strings/wchar_t/2.cc: New.
2181 * 21_strings/char_traits/requirements/char/1.cc: New.
2182 * 21_strings/char_traits/requirements/wchar_t/1.cc: New.
2183 * 21_strings/char_traits/typedefs/char/1.cc: New.
2185 2003-03-17 Paolo Carlini <pcarlini@unitus.it>
2186 Petur Runolfsson <peturr02@ru.is>
2189 * src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
2190 basic_filebuf<wchar_t>::_M_underflow_common):
2191 if (gptr() < egptr()) return *gptr().
2192 * testsuite/27_io/filebuf_virtuals.cc (test16): Add.
2194 * testsuite/27_io/filebuf_members.cc (test_04): Minor
2195 changes: unlink fifo before making it, fix spelling error.
2197 2003-03-17 Benjamin Kosnik <bkoz@redhat.com>
2199 * testsuite/Makefile.am (CLEANFILES): Add tmp*.
2200 * testsuite/Makefile.in: Regenerate.
2201 * testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
2204 2003-03-17 Petur Runolfsson <peturr02@ru.is>
2207 * include/bits/fstream.tcc (basic_filebuf::close):
2208 Always close file, even when write fails.
2209 * testsuite/27_io/filebuf_members.cc (test_07): New test.
2211 2003-03-17 Danny Smith <dannysmith@users.sourceforge.net>
2213 * libsupc++/Makefile.am (C_COMPILE): Remove.
2214 (LTCOMPILE): Likewise.
2215 * libsupc++/Makefile.in: Regenerate.
2217 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
2219 * testsuite/23_containers/bitset_members.cc: Add test variable.
2220 * testsuite/23_containers/map_insert.cc: Same.
2221 * testsuite/22_locale/ctype/cons/char/1.cc: Same.
2222 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
2223 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
2224 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
2225 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
2226 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
2227 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
2228 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
2229 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
2230 * testsuite/27_io/istream_exception.cc: Same.
2231 * testsuite/27_io/filebuf_virtuals.cc: Same.
2232 * testsuite/27_io/stringbuf_virtuals.cc: Same.
2233 * testsuite/27_io/ostream_inserter_arith.cc: Same.
2234 * testsuite/26_numerics/valarray_operators.cc: Same.
2235 * testsuite/26_numerics/slice.cc: Same.
2236 * testsuite/26_numerics/slice_array_assignment.cc: Same.
2237 * testsuite/24_iterators/istream_iterator.cc: Same.
2238 * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
2240 2003-03-14 Petur Runolfsson <peturr02@ru.is>
2244 * config/locale/generic/ctype_members.cc,
2245 * config/locale/gnu/ctype_members.cc
2246 (ctype<wchar_t>::do_widen(char)): Cast argument to
2247 unsigned char before passing to btowc.
2248 (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
2249 Convert characters with btowc instead of mbsrtowcs.
2250 (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
2252 Convert characters with wctob instead of wcsrtombs.
2253 * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test.
2254 * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test.
2255 * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test.
2257 2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
2259 * include/stdc++.h: New.
2260 * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
2261 * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
2262 * include/Makefile.in: Regenerate.
2263 * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
2264 (--cxxflags): Put -g -O2 here.
2265 * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
2267 2003-03-14 Loren J. Rittle <ljrittle@acm.org>
2269 * testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
2270 missing named locale.
2272 2003-03-14 Andreas Schwab <schwab@suse.de>
2274 * configure.in: Only append to makefiles that are newly created to
2275 avoid multiple multi-do/multi-clean rules.
2276 * configure: Rebuilt.
2278 2003-03-13 Jonathan Wakely <redi@gcc.gnu.org>
2280 * docs/html/configopts.html, docs/html/documentation.html,
2281 docs/html/explanations.html, docs/html/install.html,
2282 docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
2283 invalid XHTML and make page header style consistent.
2285 2003-03-12 Jonathan Wakely <redi@gcc.gnu.org>
2287 * docs/html/faq/index.html: Explain memory "leaks" due to allocators.
2288 * docs/html/faq/index.txt: Regenerate.
2289 * docs/html/debug.html: Add a bit to allocator text and fix XHTML.
2291 2003-03-12 Andreas Schwab <schwab@suse.de>
2293 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
2294 glibcpp_toolexeclibdir.
2295 * aclocal.m4, configure: Rebuilt.
2297 2003-03-11 Jonathan Wakely <redi@gcc.gnu.org>
2299 * docs/html/faq/index.html: Update text about location of headers.
2300 * docs/html/faq/index.txt: Regenerate.
2302 2003-03-11 Carlo Wood <carlo@alinoe.com>
2304 * include/bits/demangle.h: Prepend accessors of
2305 class qualifier with 'get_' in order to fix warnings
2306 when compiling with -Wshadow.
2308 2003-03-11 Loren J. Rittle <ljrittle@acm.org>
2310 * config/os/bsd/freebsd/ctype_inline.h: Support _M_table
2312 * testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
2314 * testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
2315 report lack of setenv().
2317 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
2319 * config/io/basic_file_stdio.cc: include <unistd.h>.
2321 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
2322 Nathan Myers <ncm@cantrip.org>
2325 * config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
2326 seekoff, seekpos): Add a boolean parameter __stdio.
2327 * config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
2328 seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
2329 fseek/ftell, respectively), otherwise read (write, lseek, lseek,
2331 * include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
2332 _M_really_overflow, seekoff): Use the boolean parameter in the calls.
2333 * include/std/std_fstream.h (sync): Likewise.
2334 * src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
2335 * src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
2336 libstdc++/8399 commit involving isatty(0).
2337 * acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
2338 (GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
2339 * configure.in: Remove call.
2340 * aclocal.m4: Regenerate.
2341 * config.h.in: Regenerate.
2342 * configure: Regenerate.
2343 * testsuite/27_io/narrow_stream_objects.cc (test11): Add.
2345 2003-03-09 Paolo Carlini <pcarlini@unitus.it>
2348 * include/bits/fstream.tcc (overflow): don't write EOF to file.
2349 * testsuite/27_io/filebuf_virtuals.cc (test15): Add.
2351 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
2354 * include/bits/basic_ios.h (_M_setstate): New.
2355 * include/bits/ostream.tcc (operator<<): Use it.
2356 * include/bits/istream.tcc (operator>>): Use it.
2357 * include/std/std_ostream.h (operator<<): Make friends.
2358 * include/std/std_istream.h (operator>>): Make friends.
2359 * testsuite/27_io/ostream_exception.cc,
2360 testsuite/27_io/istream_exception.cc: New tests.
2362 2003-03-08 Benjamin Kosnik <bkoz@redhat.com>
2364 * include/bits/locale_facets.tcc: Fix typo.
2366 2003-03-08 Loren J. Rittle <ljrittle@acm.org>
2368 * testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
2370 * config/locale/generic/c_locale.cc
2371 (locale::facet::_S_create_c_locale): Throw runtime exception when
2372 unsupported language is specified.
2373 * testsuite/testsuite_hooks.h
2374 (run_test_wrapped_generic_locale_exception_catcher): New function.
2375 * testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
2376 Suppress runtime exception thrown by generic implementation.
2377 (run_tests_wrapped_env): Likewise.
2378 (run_test_wrapped_generic_locale_exception_catcher): New function.
2379 * testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
2380 * testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
2381 * testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
2382 * testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
2383 * testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
2384 * testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
2385 * testsuite/22_locale/collate_byname/1.cc: New test wrap.
2386 * testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
2387 * testsuite/22_locale/facet/2.cc: New test wrap.
2388 * testsuite/22_locale/locale/cons/4.cc: New test wrap.
2389 * testsuite/22_locale/locale/cons/5.cc: New test wrap.
2390 * testsuite/22_locale/locale/cons/7.cc: New test wrap.
2391 * testsuite/22_locale/messages/members/char/1.cc: New test wrap.
2392 * testsuite/22_locale/messages/members/char/2.cc: New test wrap.
2393 * testsuite/22_locale/messages/members/char/3.cc: New test wrap.
2394 * testsuite/22_locale/messages_byname/1.cc: New test wrap.
2395 * testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
2396 * testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
2397 * testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
2398 * testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
2399 * testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
2400 * testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
2401 * testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
2402 * testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
2403 * testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
2404 * testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
2405 * testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
2406 * testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
2407 * testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
2408 * testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
2409 * testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
2410 * testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
2411 * testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
2412 * testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
2413 * testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
2414 * testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
2415 * testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
2416 * testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
2417 * testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
2418 * testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
2419 * testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
2420 * testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
2421 * testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
2422 * testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
2423 * testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
2424 * testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
2425 * testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
2426 * testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
2427 * testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
2428 * testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
2429 * testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
2430 * testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
2431 * testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
2432 * testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
2433 * testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
2434 * testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
2435 * testsuite/27_io/filebuf_virtuals.cc: New test wrap.
2436 * testsuite/27_io/ios_members.cc: New test wrap.
2437 * testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
2439 * testsuite/27_io/streambuf_members.cc: New test wrap.
2440 * testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
2442 2003-03-08 Paolo Carlini <pcarlini@unitus.it>
2443 Petur Runolfsson <peturr02@ru.is>
2446 * include/bits/streambuf.tcc (__copy_streambufs): Use
2447 sgetn-sputn only when sputn cannot fail, otherwise fall back
2448 to safe snextc-sputc.
2449 * testsuite/27_io/streambuf_members.cc (test11, test12): Add.
2451 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
2453 * include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
2454 locale cache for truename and falsename.
2456 2003-03-08 Jerry Quinn <jlquinn@optonline.net>
2458 * src/ios.cc (ios_base::ios_base): Correct order of _M_word and
2459 _M_word_size initialization.
2461 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
2463 * include/bits/fstream.tcc (_M_convert_to_external):
2464 Set __elen to zero if codecvt::out eventually fails.
2466 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
2469 * include/bits/fstream.tcc (_M_really_overflow): Check
2470 for _M_convert_to_external possible failures.
2471 * include/std/std_fstream.h (sync): Check _M_really_overflow
2472 return value and return -1 in case of failure.
2473 * testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
2475 2003-03-07 Paolo Carlini <pcarlini@unitus.it>
2478 * include/bits/istream.tcc (operator>>(_CharT*),
2479 operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
2480 * testsuite/27_io/stringstream.cc (test02): Add.
2482 * include/bits/istream.tcc (operator>>(_CharT*)):
2483 Assign a char_type to *__s.
2485 2003-03-07 Petur Runolfsson <peturr02@ru.is>
2488 * include/bits/locale_facets.tcc
2489 (collate::do_compare, collate::do_transform):
2490 Handle nul characters in input.
2491 * testsuite/22_locale/collate/compare/char/3.cc: New test.
2492 * testsuite/22_locale/collate/compare/wchar_t/3.cc: New test.
2493 * testsuite/22_locale/collate/transform/char/3.cc: New test.
2494 * testsuite/22_locale/collate/transform/wchar_t/3.cc: New test.
2496 2003-03-07 Jerry Quinn <jlquinn@optonline.net>
2498 * include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
2500 * testsuite/27_io/ostream_fail.cc: New test.
2502 2003-03-07 Matthias Klose <doko@debian.org>
2504 * Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
2505 FLAGS_TO_PASS: Set to AM_MAKEFLAGS
2506 * Makefile.in: Regenerate.
2507 * libsupc++/Makefile.am: Express glibcppinstalldir in terms
2509 AM_MAKEFLAGS: Pass gxx_include_dir.
2510 * libsupc++/Makefile.in: Regenerate.
2512 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
2514 * testsuite/27_io/ios_base_storage.cc (test02): Set exception
2515 mask. Test setting small-numbered pword and iword slots. Test
2516 behavior at limit of numeric_limits::max. Check that values are
2517 still good after failures.
2519 2003-03-06 Jerry Quinn <jlquinn@optonline.net>
2521 * src/ios.cc (ios_base::_M_init): Remove _M_word_size.
2522 (ios_base::ios_base): Set _M_word, _M_word_size.
2523 (ios_base::~ios_base): Remove redundant test.
2524 * testsuite/27_io/ios_base_storage.cc (test03): New.
2526 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
2528 * src/strstream.cc, include/bits/basic_string.tcc: Remove
2529 incorrect whitespace added in my previous change.
2531 2003-03-05 Carlo Wood <carlo@alinoe.com>
2533 * include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
2534 _S_initialized() in order to allow debugging libraries to detect
2535 when the std streams are initialized from an overloaded operator
2538 2003-03-05 Benjamin Kosnik <bkoz@redhat.com>
2540 * libsupc++/demangle.h: Move to..
2541 * include/bits/demangle.h: ...here.
2542 * src/demangle.cc: Adjust include.
2543 * include/Makefile.am (bits_headers): Add.
2544 * include/Makefile.in: Regenerate.
2546 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
2548 * src/globals.cc: Clarify comments, remove c_locale_imp_compat.
2550 * config/linker-map.gnu: Filter typeinfo and vtable info.
2552 2003-03-04 Jerry Quinn <jlquinn@optonline.net>
2554 * src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
2555 new failure. Throw exception if badbit and exception mask when ix
2556 >= numeric_limits<int>::max().
2558 2003-03-04 Alexandre Oliva <aoliva@redhat.com>
2560 * src/strstream.cc (strstreambuf::overflow): Make sure operands of
2561 min and max have the same type.
2562 * include/bits/basic_string.tcc (append, rfind, compare): Likewise.
2564 2003-03-04 Benjamin Kosnik <bkoz@redhat.com>
2566 * include/Makefile.am (allstamps): Remove stamp-std-precompile.
2567 * include/Makefile.in: Regenerate.
2569 2003-03-03 Benjamin Kosnik <bkoz@redhat.com>
2571 * testsuite/abi_check.cc (report_symbol_info): Add version info.
2573 * config/linker-map.gnu: Hide more stuff.
2574 * include/Makefile.am: Cleanups.
2575 * include/Makefile.in: Regenerate.
2577 2003-02-27 Jerry Quinn <jlquinn@optonline.net>
2579 * config/locale/generic/messages_members.h (messages::messages):
2580 Remove name from unused parameter.
2582 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
2584 * src/Makefile.am (sources): Add demangle.cc.
2587 * src/Makefile.in: Regenerate.
2588 * libsupc++/Makefile.am: Remove old __cxa_demangle bits.
2589 * libsupc++/Makefile.in: Regenerate.
2591 * testsuite/testsuite_hooks.h
2592 (__gnu_cxx_test::verify_demangle): New.
2593 * testsuite/testsuite_hooks.cc: Define.
2595 2003-02-27 Carlo Wood <carlo@alinoe.com>
2597 * src/demangle.cc: New.
2598 * libsupc++/demangle.h: New.
2600 2003-02-27 Benjamin Kosnik <bkoz@redhat.com>
2601 Carlo Wood <carlo@alinoe.com>
2603 * testsuite/demangle/abi_examples/01.cc: New.
2604 * testsuite/demangle/abi_examples/02.cc: New.
2605 * testsuite/demangle/abi_examples/03.cc: New.
2606 * testsuite/demangle/abi_examples/04.cc: New.
2607 * testsuite/demangle/abi_examples/05.cc: New.
2608 * testsuite/demangle/abi_examples/06.cc: New.
2609 * testsuite/demangle/abi_examples/07.cc: New.
2610 * testsuite/demangle/abi_examples/08.cc: New.
2611 * testsuite/demangle/abi_examples/09.cc: New.
2612 * testsuite/demangle/abi_examples/10.cc: New.
2613 * testsuite/demangle/abi_examples/11.cc: New.
2614 * testsuite/demangle/abi_examples/12.cc: New.
2615 * testsuite/demangle/abi_examples/13.cc: New.
2616 * testsuite/demangle/abi_examples/14.cc: New.
2617 * testsuite/demangle/abi_examples/15.cc: New.
2618 * testsuite/demangle/abi_examples/16.cc: New.
2619 * testsuite/demangle/abi_examples/17.cc: New.
2620 * testsuite/demangle/abi_examples/18.cc: New.
2621 * testsuite/demangle/abi_examples/19.cc: New.
2622 * testsuite/demangle/abi_examples/20.cc: New.
2623 * testsuite/demangle/abi_examples/21.cc: New.
2624 * testsuite/demangle/abi_examples/22.cc: New.
2625 * testsuite/demangle/abi_examples/23.cc: New.
2626 * testsuite/demangle/abi_examples/24.cc: New.
2627 * testsuite/demangle/abi_examples/25.cc: New.
2628 * testsuite/demangle/abi_examples/26.cc: New.
2629 * testsuite/demangle/abi_text/01.cc: New.
2630 * testsuite/demangle/abi_text/02.cc: New.
2631 * testsuite/demangle/abi_text/03.cc: New.
2632 * testsuite/demangle/abi_text/04.cc: New.
2633 * testsuite/demangle/abi_text/05.cc: New.
2634 * testsuite/demangle/abi_text/06.cc: New.
2635 * testsuite/demangle/abi_text/07.cc: New.
2636 * testsuite/demangle/abi_text/08.cc: New.
2637 * testsuite/demangle/abi_text/09.cc: New.
2638 * testsuite/demangle/abi_text/10.cc: New.
2639 * testsuite/demangle/abi_text/11.cc: New.
2640 * testsuite/demangle/abi_text/12.cc: New.
2641 * testsuite/demangle/abi_text/13.cc: New.
2642 * testsuite/demangle/abi_text/14.cc: New.
2643 * testsuite/demangle/regression/3111-1.cc: New.
2644 * testsuite/demangle/regression/3111-2.cc: New.
2645 * testsuite/demangle/regression/7986-01.cc: New.
2646 * testsuite/demangle/regression/7986-02.cc: New.
2647 * testsuite/demangle/regression/7986-03.cc: New.
2648 * testsuite/demangle/regression/7986-04.cc: New.
2649 * testsuite/demangle/regression/7986-05.cc: New.
2650 * testsuite/demangle/regression/7986-06.cc: New.
2651 * testsuite/demangle/regression/7986-07.cc: New.
2652 * testsuite/demangle/regression/7986-08.cc: New.
2653 * testsuite/demangle/regression/7986-09.cc: New.
2654 * testsuite/demangle/regression/7986-10.cc: New.
2655 * testsuite/demangle/regression/7986-11.cc: New.
2656 * testsuite/demangle/regression/7986-12.cc: New.
2657 * testsuite/demangle/regression/7986.cc: New.
2658 * testsuite/demangle/regression/8897.cc: New.
2659 * testsuite/demangle/regression/cw-01.cc: New.
2660 * testsuite/demangle/regression/cw-02.cc: New.
2661 * testsuite/demangle/regression/cw-03.cc: New.
2662 * testsuite/demangle/regression/cw-04.cc: New.
2663 * testsuite/demangle/regression/cw-05.cc: New.
2664 * testsuite/demangle/regression/cw-06.cc: New.
2665 * testsuite/demangle/regression/cw-07.cc: New.
2666 * testsuite/demangle/regression/cw-08.cc: New.
2667 * testsuite/demangle/regression/cw-09.cc: New.
2668 * testsuite/demangle/regression/cw-10.cc: New.
2669 * testsuite/demangle/regression/cw-11.cc: New.
2670 * testsuite/demangle/regression/cw-12.cc: New.
2671 * testsuite/demangle/regression/cw-13.cc: New.
2672 * testsuite/demangle/regression/cw-14.cc: New.
2673 * testsuite/demangle/regression/old.cc: New.
2675 2003-02-25 Phil Edwards <pme@gcc.gnu.org>
2677 * docs/doxygen/Intro.3: Update with new (proper) names.
2678 * docs/doxygen/TODO: Update.
2679 * docs/doxygen/run_doxygen: More comments, fix up man pages.
2680 Fake entries for standard typedefs.
2681 * docs/doxygen/user.cfg.in: Turn INLINE_INHERITED_MEMB back on.
2682 * docs/html/documentation.html: Top-level man page is now called
2684 * include/std/std_limits.h: Doxygenate.
2686 2003-02-25 Scott Snyder <snyder@fnal.gov>
2689 * include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
2690 Correct documentation.
2691 * include/bits/stl_multimap.h (lower_bound, upper_bound,
2692 equal_range): Likewise.
2694 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
2698 (basic_filebuf<char/wchar_t>::_M_underflow_common): When
2699 __bump is true (uflow), always increment the read pointer
2700 (_M_in_cur) before returning successfully.
2701 * testsuite/27_io/filebuf_virtuals.cc (test12): Add.
2703 2003-02-24 Paolo Carlini <pcarlini@unitus.it>
2704 Nathan Myers <ncm@cantrip.org>
2706 PR libstdc++/9404, PR libstdc++/9701 (partial)
2707 (aka pptr == epptr implies overflow)
2708 * include/bits/fstream.tcc (_M_allocate_internal_buffer):
2709 Consistently, _M_out_end points to the end of the buffer just
2711 (overflow): Tweak to use _M_out_buf_size().
2712 (_M_convert_to_external): The role of the old _M_out_end is
2713 now played by _M_out_lim.
2714 (_M_really_overflow): Likewise.
2715 (seekoff): Likewise.
2716 (setbuf): _M_out_end points to the end of the external buffer.
2717 * include/bits/sstream.tcc (overflow): Rewrote, taking into
2718 account the resolution of DR 169 (TC).
2719 (seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
2720 (seekpos): Use _M_string.capacity(); tweak.
2721 * include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
2722 * include/std/std_fstream.h (sync): The role of the old
2723 _M_out_end is now played by _M_out_lim.
2724 (_M_set_indeterminate): Use _M_set_determinate.
2725 (_M_set_determinate): _M_out_end is now _M_out_lim.
2726 (_M_is_indeterminate): Likewise.
2727 * include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
2728 (_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
2729 which have the information readily available as _M_string.capacity();
2730 for ate and app modes, pass the string size to _M_really_sync.
2731 (_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
2732 point to the end of the buffer (i.e., epptr) and to the string end,
2734 * include/std/std_streambuf.h: tweak comments, add _M_out_lim,
2735 which points to the right limit of the used put area.
2736 (_M_out_cur_move): The role of the old _M_out_end is now played
2738 (_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
2739 _M_out_end - _M_out_cur (i.e., pptr), _very_ close to the letter
2741 (basic_streambuf()): Initialize _M_out_lim too.
2742 * testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
2743 * testsuite/27_io/filebuf_virtuals.cc (test11): Add.
2744 * testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
2746 2003-02-24 Benjamin Kosnik <bkoz@redhat.com>
2748 * testsuite/27_io/ios_base_storage.cc (main): Call
2751 2003-02-21 Jerry Quinn <jlquinn@optonline.net>
2753 * include/bits/locale_facets.tcc (_M_convert_float): Replace
2754 numpunct facet accesses with data from __locale_cache.
2756 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
2758 * docs/html/faq/index.html (3.9): New note, wchar_t on FreeBSD.
2759 * docs/html/faq/index.txt: Regenerate.
2761 2003-02-20 Phil Edwards <pme@gcc.gnu.org>
2763 * config/linker-map.gnu: Also export locking symbols needed for the
2764 generic atomicity.h case.
2766 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
2768 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
2770 * configure: Rebuilt.
2772 2003-02-19 Paolo Carlini <pcarlini@unitus.it>
2774 * include/bits/sstream.tcc (overflow): According to
2775 27.7.1.3, p5, actual output is performed by sputc(c).
2777 2003-02-19 Phil Edwards <pme@gcc.gnu.org>
2780 * include/bits/stl_alloc.h: Remove all traces of assert().
2782 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
2784 * include/std/std_sstream.h (str()): the size of the
2785 current string may be different from the initial one
2786 whenever _M_out_end > _M_out_beg.
2787 * testsuite/27_io/stringbuf_members.cc (test07): Add.
2789 2003-02-18 Paolo Carlini <pcarlini@unitus.it>
2792 * include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
2794 2003-02-17 Benjamin Kosnik <bkoz@redhat.com>
2796 * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
2797 * testsuite/27_io/ios_members.cc (test03): New.
2799 2003-02-17 Jerry Quinn <jlquinn@optonline.net>
2801 * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
2802 (basic_ios::_M_cache_facets): Move into above.
2803 * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
2805 (basic_ios::imbue): Force locale cache to be built.
2806 (basic_ios::_M_init): Create and initialize locale cache.
2807 * include/bits/ios_base.h (__locale_cache_base): Declare.
2808 (ios_base::_M_locale_cache): New.
2809 (ios_base::_M_cache): Define.
2810 * include/bits/locale_facets.h: (__num_base): Fix comment. Add
2812 (__locale_cache_base,__locale_cache<_CharT>): New classes.
2813 (__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
2814 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
2815 cache literal string, grouping flag, thousands separator.
2816 (__locale_cache<_CharT>::__locale_cache): New.
2817 (__locale_cache<_CharT>::_M_init): New.
2818 * src/ios.cc: Clear _M_locale_cache in constructor.
2819 * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
2822 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
2824 * src/locale-inst.cc: Do not include <cassert>.
2825 * src/locale.cc: Likewise.
2827 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
2830 * include/std/std_fstream.h: Declare underflow and uflow
2831 specializations, change generic definitions to do nothing.
2832 * src/fstream.cc: Add underflow and uflow specializations.
2834 2003-02-17 Paolo Carlini <pcarlini@unitus.it>
2837 * include/bits/fstream.tcc (_M_convert_to_external):
2838 Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
2839 * testsuite/27_io/filebuf_virtuals.cc (test10): Add.
2841 2003-02-13 Benjamin Kosnik <bkoz@redhat.com>
2843 * include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
2844 * include/bits/basic_ios.tcc: Guard use of extern template.
2845 * include/std/std_iomanip.h: Same.
2846 * include/bits/streambuf.tcc: Same.
2847 * include/bits/stl_alloc.h: Same.
2848 * include/bits/locale_facets.tcc: Same.
2849 * include/bits/ostream.tcc: Same.
2850 * include/bits/istream.tcc: Same.
2851 * include/bits/fstream.tcc: Same.
2852 * include/bits/basic_string.tcc: Same.
2854 2003-02-13 Paolo Carlini <pcarlini@unitus.it>
2856 * include/bits/ostream.tcc (sentry::sentry): Improve
2857 performance-wise the fix for libstdc++/9563.
2859 2003-02-12 Phil Edwards <pme@gcc.gnu.org>
2861 * config/cpu/generic/atomicity.h (_Atomic_add_mutex): Fix declaration.
2862 (_GLIBCPP_NEED_GENERIC_MUTEX): Define for this file.
2863 (_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once): Declare
2864 when we don't have static mutex initialization.
2865 (__exchange_and_add): Use _Atomic_add_mutex_once.
2866 * src/misc-inst.cc: Definitions of all the above.
2868 2003-02-12 Paolo Carlini <pcarlini@unitus.it>
2871 * include/bits/ostream.tcc (sentry::sentry): Check
2872 the state of the stream after the preparation.
2873 * testsuite/27_io/ostream_sentry.cc (test02): Add.
2875 2003-02-11 Benjamin Kosnik <bkoz@redhat.com>
2877 * include/Makefile.am (stamp-std-precompile): Add rule.
2878 * include/Makefile.in: Regenerated.
2880 2003-02-11 Jerry Quinn <jlquinn@optonline.net>
2881 Benjamin Kosnik <benjamin@redhat.com>
2883 * include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
2884 Add indexes into this array.
2885 (__num_base::_S_atoms): To _S_atoms_in.
2886 (num_put::_M_insert): Rename to _M_pad.
2887 (num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
2888 (num_put::_M_widen_int): Rename to _M_group_int.
2889 (num_put::_M_widen_float): Rename to _M_group_float.
2890 * include/bits/locale_facets.tcc (__int_to_char): New inline
2891 function and adapter functions.
2892 (num_put::_M_group_int): Streamline.
2893 (num_put::_M_group_float): Streamline.
2894 (num_put::_M_convert_int): Remove unused parameter names. Choose
2895 large enough buffer for text. Use __int_to_char instead of
2896 __convert_from_v. Formatted text is now at the end of the buffer.
2897 (num_put::_M_convert_float): Preliminary fixups.
2898 * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
2899 (__int_to_char<unsigned long long>): Same.
2900 (__int_to_char<char, unsigned long>): New.
2901 (__int_to_char<char, unsigned long long>): New.
2902 (__int_to_char<wchar_t, unsigned long>): New.
2903 (__int_to_char<wchar_t, unsigned long long>): New.
2905 2003-02-11 Scott Snyder <snyder@fnal.gov>
2908 * include/bits/fstream.tcc (seekoff): Avoid operator+
2911 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
2914 * include/ext/stdio_filebuf.h
2915 (stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
2916 stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
2917 Change to take a __size parameter of type size_t, not
2918 of type (template parameter dependent) int_type.
2919 * src/ios.cc (ios_base::Init::_S_ios_create): Change type of
2920 size vars to size_t.
2921 * testsuite/ext/stdio_filebuf.cc: Add.
2923 2003-02-11 Paolo Carlini <pcarlini@unitus.it>
2924 Petur Runolfsson <peturr02@ru.is>
2927 * include/bits/streambuf.tcc (__copy_streambufs):
2928 Don't conditionalize the copy to __testput.
2929 * testsuite/27_io/streambuf_members.cc (test09, test10): Add.
2931 2002-02-11 DJ Delorie <dj@redhat.com>
2933 * acinclude.m4: Check for native targets that can't link at
2934 this point in the build.
2935 * aclocal.m4: Regenerate.
2936 * configure: Regenerate.
2938 2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2940 * hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
2942 (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
2945 2003-02-07 Paolo Carlini <pcarlini@unitus.it>
2947 * testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
2948 unsigned char platforms.
2950 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
2953 * include/std/std_istream.h
2954 (basic_istream::sentry::operator bool()): Make const.
2955 * include/std/std_ostream.h
2956 (basic_ostream::sentry::operator bool()): Likewise.
2957 * testsuite/27_io/istream_sentry.cc (test03): Add.
2958 * testsuite/27_io/ostream_sentry.cc: Add.
2960 2003-02-06 Paolo Carlini <pcarlini@unitus.it>
2963 Implement resolution of DR 231 (Ready)
2964 * include/bits/locale_facets.h (__num_base::_S_format_float):
2965 Change declaration: return void, remove __prec parameter.
2966 * src/locale.cc (__num_base::_S_format_float): Implement
2967 resolution of DR 231.
2968 * include/bits/locale_facets.tcc (num_put::_M_convert_float):
2969 Tweak uses. Check for negative precision.
2970 * testsuite/22_locale/num_put/put/char/6.cc: Add
2971 * testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
2973 2003-02-06 Peter Soetens <peter.soetens@mech.kuleuven.ac.be>
2975 * config/io/basic_file_libio.h: Fixups.
2976 * config/io/c_io_libio.h: Same.
2977 * libio/Makefile.am: Same.
2978 * libio/Makefile.in: Regenerated.
2980 2003-02-06 Benjamin Kosnik <bkoz@redhat.com>
2982 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
2983 Explicitly use the "C" locale.
2984 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
2986 2003-02-06 Petur Runolfsson <peturr02@ru.is>
2990 PR libstdc++/9028 (partial)
2996 (codecvt<wchar_t, char, mbstate_t>::do_encoding,
2997 codecvt<wchar_t, char, mbstate_t>::do_length,
2998 codecvt<wchar_t, char, mbstate_t>::do_max_length):
3000 * config/locale/generic/codecvt_members.cc: ...here.
3001 * config/locale/gnu/codecvt_members.cc: ...and here.
3003 * config/locale/generic/codecvt_members.cc,
3004 * config/locale/gnu/codecvt_members.cc
3005 (codecvt<wchar_t, char, mbstate_t>::do_encoding
3006 codecvt<wchar_t, char, mbstate_t>::do_in,
3007 codecvt<wchar_t, char, mbstate_t>::do_length,
3008 codecvt<wchar_t, char, mbstate_t>::do_max_length,
3009 codecvt<wchar_t, char, mbstate_t>::do_out):
3010 New implementation that handles stateless encodings,
3013 * config/locale/generic/codecvt_members.cc,
3014 * config/locale/gnu/codecvt_members.cc,
3015 * config/locale/ieee_1003.1-2001/codecvt_specializations.h,
3016 * include/bits/codecvt.h,
3018 (codecvt::length, codecvt::do_length):
3019 Change type of first argument of length and do_length from
3020 'const state_type&' to 'state_type&' according to DR 75.
3022 * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Cleanup.
3023 * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: New test.
3024 * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: New test.
3025 * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: New test.
3026 * testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
3027 Cleanup and check for correct return value from encoding
3029 * testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: New test.
3030 * testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: New test.
3031 * testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: New test.
3032 * testsuite/22_locale/codecvt/in/wchar_t/1.cc: Cleanup.
3033 * testsuite/22_locale/codecvt/in/wchar_t/2.cc: New test.
3034 * testsuite/22_locale/codecvt/in/wchar_t/3.cc: New test.
3035 * testsuite/22_locale/codecvt/in/wchar_t/4.cc: New test.
3036 * testsuite/22_locale/codecvt/in/wchar_t/5.cc: New test.
3037 * testsuite/22_locale/codecvt/in/wchar_t/6.cc: New test.
3038 * testsuite/22_locale/codecvt/in/wchar_t/7.cc: New test.
3039 * testsuite/22_locale/codecvt/in/wchar_t/8.cc: New test.
3040 * testsuite/22_locale/codecvt/in/wchar_t/9.cc: New test.
3041 * testsuite/22_locale/codecvt/length/char/1.cc: Cleanup.
3042 * testsuite/22_locale/codecvt/length/char/2.cc: New test.
3043 * testsuite/22_locale/codecvt/length/wchar_t/1.cc: Cleanup.
3044 * testsuite/22_locale/codecvt/length/wchar_t/2.cc: New test.
3045 * testsuite/22_locale/codecvt/length/wchar_t/3.cc: New test.
3046 * testsuite/22_locale/codecvt/length/wchar_t/4.cc: New test.
3047 * testsuite/22_locale/codecvt/length/wchar_t/5.cc: New test.
3048 * testsuite/22_locale/codecvt/length/wchar_t/6.cc: New test.
3049 * testsuite/22_locale/codecvt/length/wchar_t/7.cc: New test.
3050 * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Cleanup.
3051 * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: New test.
3052 * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: New test.
3053 * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: New test.
3054 * testsuite/22_locale/codecvt/out/wchar_t/1.cc: Cleanup.
3055 * testsuite/22_locale/codecvt/out/wchar_t/2.cc: New test.
3056 * testsuite/22_locale/codecvt/out/wchar_t/3.cc: New test.
3057 * testsuite/22_locale/codecvt/out/wchar_t/4.cc: New test.
3058 * testsuite/22_locale/codecvt/out/wchar_t/5.cc: New test.
3059 * testsuite/22_locale/codecvt/out/wchar_t/6.cc: New test.
3060 * testsuite/22_locale/codecvt/out/wchar_t/7.cc: New test.
3061 * testsuite/22_locale/codecvt/unicode/1.cc: New test.
3062 * testsuite/22_locale/codecvt/unshift/wchar_t/1.cc: Cleanup.
3063 * testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: New test.
3064 * testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: New test.
3065 * testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc: New test.
3067 2003-02-05 Benjamin Kosnik <bkoz@redhat.com>
3069 * include/bits/locale_facets.tcc (time_put::do_put): Use __write.
3070 (money_put::do_put): Same.
3072 2003-02-05 Jerry Quinn <jlquinn@optonline.net>
3074 * include/bits/ios_base.h (ios_base): Document reserved storage.
3076 * include/bits/locale_facets.h: (struct __pad): Comment on
3078 (__verify_grouping): Same.
3079 (__add_grouping): Same.
3080 * include/bits/locale_facets.tcc (__verify_grouping): Move
3081 comments to declaration.
3082 (__add_grouping): Same.
3084 * include/bits/locale_facets.tcc:
3085 (__write<_CharT, _OutIter>): New function.
3086 (__write<_CharT>): New function specialization.
3087 (num_put::_M_insert): Remove explicit loop over iterator. Use
3089 (num_put::_M_widen_float): Remove __basefield.
3090 (num_put::_M_widen_int): Move __basefield to within grouping block.
3092 * include/bits/streambuf_iterator.h: Include <streambuf>.
3093 (ostreambuf_iterator::_M_put): Add.
3095 2003-02-05 Paolo Carlini <pcarlini@unitus.it>
3097 * testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
3099 2003-02-04 Nathan Myers <ncm@cantrip.org>
3101 * testsuite/25_algorithms/min_max.cc (test02): Add.
3103 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
3105 PR libstdc++/9439, PR libstdc++/9425
3106 * config/io/basic_file_stdio.cc
3107 (__basic_file<char>::seekoff, seekpos): Return -1L if
3109 * include/bits/fstream.tcc (basic_filebuf::seekoff):
3110 Check _M_file.seekoff return value; always return
3111 pos_type(off_type(-1)) in case of failure.
3112 (basic_filebuf::pbackfail): Check this->seekoff return
3113 value and return traits_type::eof() in case of failure.
3114 * testsuite/27_io/filebuf_virtuals.cc (test09): Add.
3116 2003-02-04 Jerry Quinn <jlquinn@optonline.net>
3118 * include/std/std_ostream.h (ostream::_M_write): Declare.
3119 * ostream.tcc (ostream::_M_write): Define.
3120 (basic_ostream::write): Use it.
3121 (operator<<(basic_ostream, _CharT)): Ditto.
3122 (operator<<(basic_ostream, char)): Ditto.
3123 (operator<<(basic_ostream, _CharT*)): Ditto.
3124 (operator<<(basic_ostream, char*)): Ditto.
3125 (operator<<(basic_ostream, basic_string)): Ditto.
3127 2003-02-04 Benjamin Kosnik <bkoz@redhat.com>
3129 * testsuite/26_numerics/valarray_name_lookup.cc: Fix.
3131 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
3133 * docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
3134 add HTML comment about updating links if numbering changes.
3136 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
3139 * include/bits/streambuf.tcc (sputbackc): Access
3140 this->gptr()[-1] only if _M_in_beg < _M_in_cur.
3141 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
3143 2003-02-04 Paolo Carlini <pcarlini@unitus.it>
3146 * include/bits/fstream.tcc (open): If the 'ate' repositioning
3147 operation fails, calls close _and_ returns a null pointer
3148 to indicate failure (27.8.1.3,4).
3149 * testsuite/27_io/filebuf_members.cc (test_06): Add.
3151 2003-02-04 Petur Runolfsson <peturr02@ru.is>
3153 * testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
3155 2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
3157 * docs/html/27_io/howto.html: New section on stdio_filebuf.
3158 * docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
3159 * docs/html/documentation.html: Regenerate.
3161 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
3163 * docs/html/17_intro/porting.texi: Update to GFDL 1.2.
3164 * docs/html/17_intro/porting.html: Regenerate.
3166 2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
3167 Phil Edwards <pme@gcc.gnu.org>
3169 * include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
3170 numeric_limits for bits-per-word values.
3171 (_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
3172 Use __builtin_popcountl instead.
3173 (_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
3174 _Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
3175 Use __builtin_ctzl instead.
3176 (_S_bit_count, _S_first_one): Remove.
3177 * config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
3178 * src/Makefile.am (sources): Remove bitset.cc.
3179 * src/bitset.cc: Delete file.
3180 * src/Makefile.in: Regenerate.
3182 2003-02-03 Phil Edwards <pme@gcc.gnu.org>
3184 PR libstdc++/9527, PR libstdc++/8713
3185 * docs/html/install.html: Mention glibc version requirement.
3186 * docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
3187 with 3.2.1+ (formatting bugfixes).
3188 * docs/html/faq/index.txt: Regenerate.
3190 2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3193 * include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
3196 * include/bits/valarray_before.h (__not_equal_to): Use != instead
3199 * testsuite/26_numerics/valarray_operators.cc: New test.
3201 2003-02-01 Phil Edwards <pme@gcc.gnu.org>
3203 * docs/html/faq/index.html: Correct link to libg++ information.
3204 * docs/html/faq/index.txt: Regenerated.
3206 2003-02-01 Paolo Carlini <pcarlini@unitus.it>
3207 Benjamin Kosnik <bkoz@redhat.com>
3209 Const correctness issue:
3210 http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
3211 * include/bits/locale_classes.h
3212 (locale::_Impl::_M_facets): Change type to const facet**.
3213 (locale::_Impl::_M_install_facet): Change declaration to
3215 (locale::facet::_M_references): Make mutable.
3216 (locale::facet::_M_add_reference): Declare const.
3217 (locale::facet::_M_remove_reference): Likewise.
3218 * include/bits/locale_facets.tcc
3219 (use_facet(const locale&)): Tweak for const facet** _M_facets.
3220 (has_facet(const locale&)): Likewise.
3222 (locale::facet::_M_add_reference): Adjust definition.
3223 (locale::facet::_M_remove_reference): Likewise.
3225 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
3226 const facet** _M_facets.
3227 (locale::_Impl::_Impl(const char*, size_t)): Likewise.
3228 (locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
3229 (locale::_Impl::_M_install_facet): Adjust definition to take
3230 const facet* and for const facet** _M_facets.
3231 * testsuite/22_locale/locale/cons/8.cc: Add.
3233 2003-01-29 Mark Mitchell <mark@codesourcery.com>
3235 * include/std/std_limits.h (numeric_limits<float>::has_infinity):
3236 Use __FLT_HAS_INIFINITY__ to initialize.
3237 (numeric_limits<float>::has_quiet_NaN): Likewise.
3238 (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
3240 (numeric_limits<double>::has_quiet_NaN): Likewise.
3241 (numeric_limits<long double>::has_infinity): Use
3242 __LDBL_HAS_INIFINITY__ to initialize.
3243 (numeric_limits<long_double>::has_quiet_NaN): Likewise.
3245 2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
3248 * libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
3249 with bases which are very ambiguous.
3251 2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
3253 * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
3254 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
3255 * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
3256 * src/Makefile.in: Regenerate.
3257 * libsupc++/Makefile.in: Regenerate.
3259 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
3261 * acinclude.m4 (glibcpp_toolexeclibdir): Instead of
3262 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
3263 version_specific_libs is enabled.
3264 * aclocal.m4, configure: Rebuilt.
3266 2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
3268 * include/bits/valarray_meta.h: Remove, split into ...
3269 * include/bits/valarray_before.h: ... this, and ...
3270 * include/bits/valarray_after.h: ... this.
3271 * include/std/std_valarray.h: Adjust.
3272 * include/Makefile.am (bits_headers): Adjust.
3273 * include/Makefile.in: Regenerate.
3275 2003-01-24 Andreas Schwab <schwab@suse.de>
3277 * config/linker-map.gnu: Fix for size_t variance.
3279 2003-01-23 Petur Runolfsson <peturr02@ru.is>
3282 * include/std/std_streambuf.h
3283 (basic_streambuf::basic_streambuf,
3284 basic_streambuf::~basic_streambuf,
3285 basic_streambuf::getloc, basic_streambuf::imbue):
3286 Remove _M_buf_locale_init
3287 * include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
3288 * testsuite/27_io/filebuf_virtuals.cc (test08): Add.
3289 * testsuite/27_io/streambuf_members.cc (test08): Add.
3290 * testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
3292 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
3294 Revert include ordering.
3295 * config/locale/generic/c_locale.h: Add include guards.
3296 * config/locale/gnu/c_locale.h: Same.
3297 * include/bits/locale_classes.h: Remove cctype include.
3298 * include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
3299 * include/std/std_fstream.h: Remove streambuf include.
3300 * include/std/std_sstream.h: Remove streambuf include.
3302 2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
3304 * configure.in (libtool_VERSION): To 6:0:0.
3305 * configure: Regenerated.
3306 * config/linker-map.gnu: Clean.
3308 * src/misc-inst.cc: Remove instantiations.
3310 * include/bits/stl_alloc.h (__malloc_alloc_template):
3312 (__default_alloc_template): To __pool_alloc.
3313 * src/stl-inst.cc: Same.
3314 * include/backward/alloc.h: Update.
3315 * testsuite/ext/allocators.cc: Update.
3317 * src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
3318 really try to remove these if possible.
3319 * src/locale.cc (std): Same.
3321 * testsuite/abi_check.cc (check_version): Add.
3323 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
3324 Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
3325 Mark Mitchell <mark@codesourcery.com>
3328 * include/std/std_fstream.h (basic_filebuf::uflow): Declare.
3329 (basic_filebuf::underflow): Declare.
3332 2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
3334 * include/bits/locale_facets.h: Move non-facet classes requiring
3336 * include/bits/locale_classes.h: New.
3337 * include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
3338 * include/bits/Makefile.in: Regenerate.
3340 * include/bits/locale_facets.tcc (__convert_from_v): Move to...
3341 * config/locale/gnu/c_locale.h: ...here.
3342 * config/locale/generic/c_locale.h: Same.
3344 * include/bits/locale_facets.tcc: Move declarations to...
3345 * include/bits/locale_facets.h: ...here.
3346 * include/bits/basic_ios.h: Tweak includes accordingly.
3347 * include/std/std_sstream.h: Add streambuf include.
3348 * include/std/std_fstream.h: Ditto.
3349 * include/std/std_locale.h: Add locale_classes.h include.
3350 * include/std/std_iosfwd.h: Tweak.
3351 * src/concept-inst.cc: Add iterator include.
3353 * config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
3354 bits as unexported in the future.
3356 2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
3358 Reshuffle 22_locale testsuite.
3359 * 22_locale/(codecvt.cc money_get.cc
3360 codecvt_members_char_char.cc money_get_members_char.cc
3361 codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
3362 codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
3363 codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
3364 moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
3365 collate_members_char.cc money_put.cc collate_members_wchar_t.cc
3366 money_put_members_char.cc ctor_copy_dtor.cc
3367 money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
3368 num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
3369 ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
3370 numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
3371 ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
3372 num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
3373 ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
3374 operators.cc ctype_widen_char.cc static_members.cc
3375 ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
3376 global_templates.cc time_get_members_wchar_t.cc, members.cc,
3377 time_put.cc, messages_byname.cc, time_put_members_char.cc,
3378 messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
3379 Split up into individual test cases...
3380 * 22_locale/codecvt/1.cc: New.
3381 * 22_locale/codecvt/2.cc: New.
3382 * 22_locale/codecvt/always_noconv/char/1.cc: New.
3383 * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
3384 * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
3385 * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
3386 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
3387 * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
3388 * 22_locale/codecvt/encoding/char/1.cc: New.
3389 * 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
3390 * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
3391 * 22_locale/codecvt/encoding/wchar_t/1.cc: New.
3392 * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
3393 * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
3394 * 22_locale/codecvt/in/char/1.cc: New.
3395 * 22_locale/codecvt/in/char/wrapped_env.cc: New.
3396 * 22_locale/codecvt/in/char/wrapped_locale.cc: New.
3397 * 22_locale/codecvt/in/wchar_t/1.cc: New.
3398 * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
3399 * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
3400 * 22_locale/codecvt/length/char/1.cc: New.
3401 * 22_locale/codecvt/length/char/wrapped_env.cc: New.
3402 * 22_locale/codecvt/length/char/wrapped_locale.cc: New.
3403 * 22_locale/codecvt/length/wchar_t/1.cc: New.
3404 * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
3405 * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
3406 * 22_locale/codecvt/max_length/char/1.cc: New.
3407 * 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
3408 * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
3409 * 22_locale/codecvt/max_length/wchar_t/1.cc: New.
3410 * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
3411 * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
3412 * 22_locale/codecvt/out/char/1.cc: New.
3413 * 22_locale/codecvt/out/char/wrapped_env.cc: New.
3414 * 22_locale/codecvt/out/char/wrapped_locale.cc: New.
3415 * 22_locale/codecvt/out/wchar_t/1.cc: New.
3416 * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
3417 * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
3418 * 22_locale/codecvt/unicode/char.cc: New.
3419 * 22_locale/codecvt/unicode/wchar_t.cc: New.
3420 * 22_locale/codecvt/unshift/char/1.cc: New.
3421 * 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
3422 * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
3423 * 22_locale/codecvt/unshift/wchar_t/1.cc: New.
3424 * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
3425 * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
3426 * 22_locale/collate/1.cc: New.
3427 * 22_locale/collate/2.cc: New.
3428 * 22_locale/collate/compare/char/1.cc: New.
3429 * 22_locale/collate/compare/char/2.cc: New.
3430 * 22_locale/collate/compare/char/wrapped_env.cc: New.
3431 * 22_locale/collate/compare/char/wrapped_locale.cc: New.
3432 * 22_locale/collate/compare/wchar_t/1.cc: New.
3433 * 22_locale/collate/compare/wchar_t/2.cc: New.
3434 * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
3435 * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
3436 * 22_locale/collate/hash/char/1.cc: New.
3437 * 22_locale/collate/hash/char/2.cc: New.
3438 * 22_locale/collate/hash/char/wrapped_env.cc: New.
3439 * 22_locale/collate/hash/char/wrapped_locale.cc: New.
3440 * 22_locale/collate/hash/wchar_t/1.cc: New.
3441 * 22_locale/collate/hash/wchar_t/2.cc: New.
3442 * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
3443 * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
3444 * 22_locale/collate/transform/char/2.cc: New.
3445 * 22_locale/collate/transform/char/wrapped_env.cc: New.
3446 * 22_locale/collate/transform/char/wrapped_locale.cc: New.
3447 * 22_locale/collate/transform/wchar_t/2.cc: New.
3448 * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
3449 * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
3450 * 22_locale/collate_byname/1.cc: New.
3451 * 22_locale/ctype/1.cc: New.
3452 * 22_locale/ctype/2.cc: New.
3453 * 22_locale/ctype/cons/char/1.cc: New.
3454 * 22_locale/ctype/cons/char/wrapped_env.cc: New.
3455 * 22_locale/ctype/cons/char/wrapped_locale.cc: New.
3456 * 22_locale/ctype/is/char/1.cc: New.
3457 * 22_locale/ctype/is/char/2.cc: New.
3458 * 22_locale/ctype/is/char/3.cc: New.
3459 * 22_locale/ctype/is/char/wrapped_env.cc: New.
3460 * 22_locale/ctype/is/char/wrapped_locale.cc: New.
3461 * 22_locale/ctype/is/wchar_t/1.cc: New.
3462 * 22_locale/ctype/is/wchar_t/2.cc: New.
3463 * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
3464 * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
3465 * 22_locale/ctype/narrow/char/1.cc: New.
3466 * 22_locale/ctype/narrow/char/2.cc: New.
3467 * 22_locale/ctype/narrow/char/wrapped_env.cc: New.
3468 * 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
3469 * 22_locale/ctype/narrow/wchar_t/1.cc: New.
3470 * 22_locale/ctype/narrow/wchar_t/2.cc: New.
3471 * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
3472 * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
3473 * 22_locale/ctype/scan/char/1.cc: New.
3474 * 22_locale/ctype/scan/char/wrapped_env.cc: New.
3475 * 22_locale/ctype/scan/char/wrapped_locale.cc: New.
3476 * 22_locale/ctype/scan/wchar_t/1.cc: New.
3477 * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
3478 * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
3479 * 22_locale/ctype/to/char/1.cc: New.
3480 * 22_locale/ctype/to/char/wrapped_env.cc: New.
3481 * 22_locale/ctype/to/char/wrapped_locale.cc: New.
3482 * 22_locale/ctype/to/wchar_t/1.cc: New.
3483 * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
3484 * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
3485 * 22_locale/ctype/widen/char/1.cc: New.
3486 * 22_locale/ctype/widen/char/wrapped_env.cc: New.
3487 * 22_locale/ctype/widen/char/wrapped_locale.cc: New.
3488 * 22_locale/ctype/widen/wchar_t/1.cc: New.
3489 * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
3490 * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
3491 * 22_locale/facet/1.cc: New.
3492 * 22_locale/facet/2.cc: New.
3493 * 22_locale/global_templates/1.cc: New.
3494 * 22_locale/locale/cons/1.cc: New.
3495 * 22_locale/locale/cons/2.cc: New.
3496 * 22_locale/locale/cons/3.cc: New.
3497 * 22_locale/locale/cons/4.cc: New.
3498 * 22_locale/locale/cons/5.cc: New.
3499 * 22_locale/locale/cons/6.cc: New.
3500 * 22_locale/locale/cons/7.cc: New.
3501 * 22_locale/locale/global_locale_objects/1.cc: New.
3502 * 22_locale/locale/global_locale_objects/2.cc: New.
3503 * 22_locale/locale/global_locale_objects/3.cc: New.
3504 * 22_locale/locale/operations/1.cc: New.
3505 * 22_locale/locale/operations/2.cc: New.
3506 * 22_locale/messages/1.cc: New.
3507 * 22_locale/messages/2.cc: New.
3508 * 22_locale/messages/members/char/1.cc: New.
3509 * 22_locale/messages/members/char/2.cc: New.
3510 * 22_locale/messages/members/char/3.cc: New.
3511 * 22_locale/messages/members/char/wrapped_env.cc: New.
3512 * 22_locale/messages/members/char/wrapped_locale.cc: New.
3513 * 22_locale/messages_byname/1.cc: New.
3514 * 22_locale/money_get/1.cc: New.
3515 * 22_locale/money_get/2.cc: New.
3516 * 22_locale/money_get/get/char/1.cc: New.
3517 * 22_locale/money_get/get/char/2.cc: New.
3518 * 22_locale/money_get/get/char/3.cc: New.
3519 * 22_locale/money_get/get/char/4.cc: New.
3520 * 22_locale/money_get/get/char/5.cc: New.
3521 * 22_locale/money_get/get/char/6.cc: New.
3522 * 22_locale/money_get/get/char/7.cc: New.
3523 * 22_locale/money_get/get/char/8.cc: New.
3524 * 22_locale/money_get/get/char/wrapped_env.cc: New.
3525 * 22_locale/money_get/get/char/wrapped_locale.cc: New.
3526 * 22_locale/money_get/get/wchar_t/1.cc: New.
3527 * 22_locale/money_get/get/wchar_t/2.cc: New.
3528 * 22_locale/money_get/get/wchar_t/3.cc: New.
3529 * 22_locale/money_get/get/wchar_t/4.cc: New.
3530 * 22_locale/money_get/get/wchar_t/5.cc: New.
3531 * 22_locale/money_get/get/wchar_t/6.cc: New.
3532 * 22_locale/money_get/get/wchar_t/7.cc: New.
3533 * 22_locale/money_get/get/wchar_t/8.cc: New.
3534 * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
3535 * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
3536 * 22_locale/money_put/1.cc: New.
3537 * 22_locale/money_put/2.cc: New.
3538 * 22_locale/money_put/put/char/1.cc: New.
3539 * 22_locale/money_put/put/char/2.cc: New.
3540 * 22_locale/money_put/put/char/3.cc: New.
3541 * 22_locale/money_put/put/char/4.cc: New.
3542 * 22_locale/money_put/put/char/5.cc: New.
3543 * 22_locale/money_put/put/char/6.cc: New.
3544 * 22_locale/money_put/put/char/wrapped_env.cc: New.
3545 * 22_locale/money_put/put/char/wrapped_locale.cc: New.
3546 * 22_locale/money_put/put/wchar_t/1.cc: New.
3547 * 22_locale/money_put/put/wchar_t/2.cc: New.
3548 * 22_locale/money_put/put/wchar_t/3.cc: New.
3549 * 22_locale/money_put/put/wchar_t/4.cc: New.
3550 * 22_locale/money_put/put/wchar_t/5.cc: New.
3551 * 22_locale/money_put/put/wchar_t/6.cc: New.
3552 * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
3553 * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
3554 * 22_locale/moneypunct/1.cc: New.
3555 * 22_locale/moneypunct/2.cc: New.
3556 * 22_locale/moneypunct/3.cc: New.
3557 * 22_locale/moneypunct/members/char/1.cc: New.
3558 * 22_locale/moneypunct/members/char/2.cc: New.
3559 * 22_locale/moneypunct/members/char/wrapped_env.cc: New.
3560 * 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
3561 * 22_locale/moneypunct/members/wchar_t/1.cc: New.
3562 * 22_locale/moneypunct/members/wchar_t/2.cc: New.
3563 * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
3564 * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
3565 * 22_locale/moneypunct_byname/1.cc: New.
3566 * 22_locale/num_get/1.cc: New.
3567 * 22_locale/num_get/2.cc: New.
3568 * 22_locale/num_get/get/char/1.cc: New.
3569 * 22_locale/num_get/get/char/2.cc: New.
3570 * 22_locale/num_get/get/char/3.cc: New.
3571 * 22_locale/num_get/get/char/4.cc: New.
3572 * 22_locale/num_get/get/char/5.cc: New.
3573 * 22_locale/num_get/get/char/6.cc: New.
3574 * 22_locale/num_get/get/char/wrapped_env.cc: New.
3575 * 22_locale/num_get/get/char/wrapped_locale.cc: New.
3576 * 22_locale/num_get/get/wchar_t/1.cc: New.
3577 * 22_locale/num_get/get/wchar_t/2.cc: New.
3578 * 22_locale/num_get/get/wchar_t/3.cc: New.
3579 * 22_locale/num_get/get/wchar_t/4.cc: New.
3580 * 22_locale/num_get/get/wchar_t/5.cc: New.
3581 * 22_locale/num_get/get/wchar_t/6.cc: New.
3582 * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
3583 * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
3584 * 22_locale/num_put/1.cc: New.
3585 * 22_locale/num_put/2.cc: New.
3586 * 22_locale/num_put/put/char/1.cc: New.
3587 * 22_locale/num_put/put/char/2.cc: New.
3588 * 22_locale/num_put/put/char/3.cc: New.
3589 * 22_locale/num_put/put/char/4.cc: New.
3590 * 22_locale/num_put/put/char/5.cc: New.
3591 * 22_locale/num_put/put/char/wrapped_env.cc: New.
3592 * 22_locale/num_put/put/char/wrapped_locale.cc: New.
3593 * 22_locale/num_put/put/wchar_t/1.cc: New.
3594 * 22_locale/num_put/put/wchar_t/2.cc: New.
3595 * 22_locale/num_put/put/wchar_t/3.cc: New.
3596 * 22_locale/num_put/put/wchar_t/4.cc: New.
3597 * 22_locale/num_put/put/wchar_t/5.cc: New.
3598 * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
3599 * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
3600 * 22_locale/numpunct/1.cc: New.
3601 * 22_locale/numpunct/2.cc: New.
3602 * 22_locale/numpunct/members/char/1.cc: New.
3603 * 22_locale/numpunct/members/char/2.cc: New.
3604 * 22_locale/numpunct/members/char/wrapped_env.cc: New.
3605 * 22_locale/numpunct/members/char/wrapped_locale.cc: New.
3606 * 22_locale/numpunct/members/wchar_t/1.cc: New.
3607 * 22_locale/numpunct/members/wchar_t/2.cc: New.
3608 * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
3609 * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
3610 * 22_locale/numpunct_byname/1.cc: New.
3611 * 22_locale/numpunct_byname/2.cc: New.
3612 * 22_locale/time_get/1.cc: New.
3613 * 22_locale/time_get/2.cc: New.
3614 * 22_locale/time_get/date_order/char/1.cc: New.
3615 * 22_locale/time_get/date_order/char/wrapped_env.cc: New.
3616 * 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
3617 * 22_locale/time_get/date_order/wchar_t/1.cc: New.
3618 * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
3619 * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
3620 * 22_locale/time_get/get_date/char/1.cc: New.
3621 * 22_locale/time_get/get_date/char/2.cc: New.
3622 * 22_locale/time_get/get_date/char/3.cc: New.
3623 * 22_locale/time_get/get_date/char/wrapped_env.cc: New.
3624 * 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
3625 * 22_locale/time_get/get_date/wchar_t/1.cc: New.
3626 * 22_locale/time_get/get_date/wchar_t/2.cc: New.
3627 * 22_locale/time_get/get_date/wchar_t/3.cc: New.
3628 * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
3629 * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
3630 * 22_locale/time_get/get_monthname/char/1.cc: New.
3631 * 22_locale/time_get/get_monthname/char/2.cc: New.
3632 * 22_locale/time_get/get_monthname/char/3.cc: New.
3633 * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
3634 * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
3635 * 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
3636 * 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
3637 * 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
3638 * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
3639 * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
3640 * 22_locale/time_get/get_time/char/1.cc: New.
3641 * 22_locale/time_get/get_time/char/2.cc: New.
3642 * 22_locale/time_get/get_time/char/3.cc: New.
3643 * 22_locale/time_get/get_time/char/wrapped_env.cc: New.
3644 * 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
3645 * 22_locale/time_get/get_time/wchar_t/1.cc: New.
3646 * 22_locale/time_get/get_time/wchar_t/2.cc: New.
3647 * 22_locale/time_get/get_time/wchar_t/3.cc: New.
3648 * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
3649 * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
3650 * 22_locale/time_get/get_weekday/char/1.cc: New.
3651 * 22_locale/time_get/get_weekday/char/2.cc: New.
3652 * 22_locale/time_get/get_weekday/char/3.cc: New.
3653 * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
3654 * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
3655 * 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
3656 * 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
3657 * 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
3658 * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
3659 * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
3660 * 22_locale/time_get/get_year/char/1.cc: New.
3661 * 22_locale/time_get/get_year/char/3.cc: New.
3662 * 22_locale/time_get/get_year/char/wrapped_env.cc: New.
3663 * 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
3664 * 22_locale/time_get/get_year/wchar_t/1.cc: New.
3665 * 22_locale/time_get/get_year/wchar_t/3.cc: New.
3666 * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
3667 * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
3668 * 22_locale/time_put/1.cc: New.
3669 * 22_locale/time_put/2.cc: New.
3670 * 22_locale/time_put/put/char/1.cc: New.
3671 * 22_locale/time_put/put/char/10.cc: New.
3672 * 22_locale/time_put/put/char/2.cc: New.
3673 * 22_locale/time_put/put/char/3.cc: New.
3674 * 22_locale/time_put/put/char/4.cc: New.
3675 * 22_locale/time_put/put/char/5.cc: New.
3676 * 22_locale/time_put/put/char/6.cc: New.
3677 * 22_locale/time_put/put/char/7.cc: New.
3678 * 22_locale/time_put/put/char/8.cc: New.
3679 * 22_locale/time_put/put/char/9.cc: New.
3680 * 22_locale/time_put/put/char/wrapped_env.cc: New.
3681 * 22_locale/time_put/put/char/wrapped_locale.cc: New.
3682 * 22_locale/time_put/put/wchar_t/1.cc: New.
3683 * 22_locale/time_put/put/wchar_t/10.cc: New.
3684 * 22_locale/time_put/put/wchar_t/2.cc: New.
3685 * 22_locale/time_put/put/wchar_t/3.cc: New.
3686 * 22_locale/time_put/put/wchar_t/4.cc: New.
3687 * 22_locale/time_put/put/wchar_t/5.cc: New.
3688 * 22_locale/time_put/put/wchar_t/6.cc: New.
3689 * 22_locale/time_put/put/wchar_t/7.cc: New.
3690 * 22_locale/time_put/put/wchar_t/8.cc: New.
3691 * 22_locale/time_put/put/wchar_t/9.cc: New.
3692 * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
3693 * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
3695 2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
3697 * config/locale/generic/messages_members.h
3698 (messages_byname<_CharT>::messages_byname): Use this-> to refer to
3699 unqualified members of base clasess.
3701 2003-01-16 Mark Mitchell <mark@codesourcery.com>
3702 Jeffrey Oldham <oldham@codesourcery.com>
3704 * config/locale/gnu/messages_members.h: Use this-> to refer to
3705 unqualified members of base clasess.
3706 * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
3707 * include/bits/codecvt.h: Likewise.
3708 * include/bits/deque.tcc: Likewise.
3709 * include/bits/fstream.tcc: Likewise.
3710 * include/bits/istream.tcc: Likewise.
3711 * include/bits/list.tcc: Likewise.
3712 * include/bits/locale_facets.h: Likewise.
3713 * include/bits/ostream.tcc: Likewise.
3714 * include/bits/sstream.tcc: Likewise.
3715 * include/bits/stl_bvector.h: Likewise.
3716 * include/bits/stl_deque.h: Likewise.
3717 * include/bits/stl_list.h: Likewise.
3718 * include/bits/stl_tree.h: Likewise.
3719 * include/bits/stl_vector.h: Likewise.
3720 * include/bits/vector.tcc: Likewise.
3721 * include/ext/ropeimpl.h: Likewise.
3722 * include/ext/stdio_filebuf.h: Likewise.
3723 * include/ext/stl_rope.h: Likewise.
3724 * include/std/std_fstream.h: Likewise.
3725 * include/std/std_sstream.h: Likewise.
3727 2003-01-15 Phil Edwards <pme@gcc.gnu.org>
3729 * include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
3731 2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
3733 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
3734 GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
3735 * aclocal.m4: Regenerate.
3736 * configure: Regenerate.
3737 * testsuite/Makefile.am (all-local): Add conditional rule to
3738 generate testsuite_wchar_t.
3739 * testsuite/Makefile.in: Regenerate.
3740 * testsuite/lib/libstdc++-v3-dg.exp
3741 (libstdc++-v3-list-sourcefiles): Remove wchar_t files if
3742 testsuite_wchar_t is not present in the build directory.
3743 * testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
3744 Remove setulimit bits.
3745 * testsuite/26_numerics/complex_value.cc: Set to noopts.
3746 * testsuite/Makefile.am (CLEANFILES): Add.
3747 * testsuite/Makefile.in: Regenerate.
3749 2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
3751 * config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
3754 2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
3756 Further conform g++'s __vmi_class_type_info to the C++ ABI
3758 * libsupc++/cxxabi.h
3759 (__vmi_class_type_info::__flags_masks): Remove enumerations not
3760 required by the specification.
3762 2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
3764 Renames, namespaces for testsuite utilities.
3765 * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
3766 (gnu_allocator_tracker): Rename to allocation_tracker.
3767 (gnu_new_allocator): Rename to tracker_alloc.
3768 (__set_testsuite_memlimit): Rename to set_memory_limits.
3769 (gnu_assignment_operator): Rename to assignment_operator.
3770 (gnu_destructor): Rename to destructor.
3771 (gnu_copy_tracker): Rename to copy_tracker.
3772 (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
3773 (run_tests_wrapped_locale): New.
3774 (run_tests_wrapped_env): New.
3775 * testsuite/testsuite_hooks.cc: Same.
3776 (class locale_data): Add.
3777 (class enviornment_variable): Add.
3778 (class not_found): Add.
3779 * testsuite/testsuite_allocator.h: Same.
3780 * testsuite/testsuite_allocator.cc: Same.
3781 * testsuite/23_containers/deque_ctor.cc
3782 (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
3784 Change gnu_new_allocator to tracker_alloc.
3785 Change gnu_counting_struct to counter.
3786 Change gnu_copy_tracker to copy_tracker.
3787 Change gnu_copy_constructor to copy_constructor.
3788 Change gnu_assignment_operator to assignment_operator.
3790 * testsuite/23_containers/vector_capacity.cc: Same.
3791 * testsuite/23_containers/vector_ctor.cc (test01): Same.
3792 * testsuite/23_containers/list_modifiers.cc: Change
3793 gnu_copy_tracker to copy_tracker.
3794 * testsuite/21_strings/ctor_copy_dtor.cc (main): Change
3795 __set_testsuite_memlimit to set_memory_limits.
3796 * testsuite/21_strings/insert.cc (main): Same.
3797 * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
3798 * testsuite/27_io/stringstream.cc: Same.
3799 * testsuite/27_io/stringbuf.cc: Same.
3800 * testsuite/27_io/streambuf.cc: Same.
3801 * testsuite/27_io/ostream.cc: Same.
3802 * testsuite/27_io/istream.cc: Same.
3803 * testsuite/27_io/fstream.cc: Same.
3804 * testsuite/lib/libstdc++-v3-dg.exp
3805 (libstdc++-v3-list-sourcefiles): Additionally handle files two and
3806 three levels deeper in glob patterns.
3808 2003-01-11 Phil Edwards <pme@gcc.gnu.org>
3810 * docs/doxygen/tables.html: Finished now.
3811 * docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
3812 * include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
3815 * include/bits/deque.tcc, include/bits/stl_alloc.h,
3816 include/bits/stl_deque.h, include/bits/stl_list.h,
3817 include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
3820 2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
3822 * configure.in: Revert.
3823 * configure: Regenerate.
3825 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
3827 * include/Makefile.am (install-data-local): Prepend
3828 $(DESTDIR) to destination paths in all (un)installation
3829 commands. Use ${c_base_builddir} and ${std_builddir}
3830 as destination subdirectories to achieve consistency with
3831 preceding mkinstalldirs commands. No effect because both
3832 variables contain "." only.
3833 * include/Makefile.in: Regenerate.
3835 2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
3837 * include/Makefile.am (stamp-*): Add checks for existing stamps.
3838 * include/Makefile.in: Regenerate.
3840 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
3841 * aclocal.m4: Regenerate.
3843 * configure.in: Don't add new multi-do rules every time the
3844 directory is reconfigured.
3845 * configure: Regenerate.
3847 2003-01-08 Brad Spencer <spencer@infointeractive.com>
3848 Nathan Myers <ncm@cantrip.org>
3850 * src/Makefile.am (stamp-debug): Clean.
3851 * src/Makefile.in: Regenerate.
3853 2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
3856 * Makefile.am (distclean-multi): Fix.
3857 * Makefile.in: Regenerate.
3859 2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
3861 * include/bits/locale_facets.h (messages): Move ctor, dtor
3863 (__timepunct): Same.
3864 * config/locale/gnu/messages_members.h (messages): Add dtor, ctor
3865 definitions. Conditionalize for GNU systems.
3866 * config/locale/generic/messages_members.h (messages): Add dtor, ctor
3868 * config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
3869 definitions. Conditionalize for GNU systems.
3870 * config/locale/generic/time_members.h (messages): New. Add dtor, ctor
3872 * include/bits/localefwd.h (locale::facet::_S_c_name): Add.
3873 * src/locale.cc: Define.
3874 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
3876 * config/locale/gnu/time_members.h: Use it.
3877 * config/locale/gnu/messages_members.h: Use it.
3878 * config/linker-map.gnu: Add locale::facets details.
3879 * include/Makefile.am (target_headers_extra): Add time_members.h.
3880 * include/Makefile.in: Regenerate.
3881 * acinclude.m4: Export CTIME_H.
3882 * aclocal.m4: Regenerate.
3883 * configure: Regnerate.
3885 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
3888 (codecvt<char, char, mbstate_t>::do_in, do_out):
3889 Tweak parameters to avoid unused parameter warnings.
3891 2003-01-06 Paolo Carlini <pcarlini@unitus.it>
3894 * include/bits/locale_facets.cc (num_put::_M_convert_float):
3895 Limit __prec to digits10 + 2, not digits10 + 1, taking into
3896 account the possibility of %{g,G} conversion specifiers
3897 inside _S_format_float.
3898 * testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
3900 2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3902 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
3903 libstdc++-v3-list-sourcefiles): Additionally handle files one
3904 level deeper in glob patterns.
3906 * testsuite/27_io/istream_extractor_arith.cc: Delete, split...
3907 * testsuite/27_io/istream_extractor_arith/01.cc,
3908 testsuite/27_io/istream_extractor_arith/02.cc,
3909 testsuite/27_io/istream_extractor_arith/03.cc,
3910 testsuite/27_io/istream_extractor_arith/06.cc,
3911 testsuite/27_io/istream_extractor_arith/07.cc,
3912 testsuite/27_io/istream_extractor_arith/08.cc,
3913 testsuite/27_io/istream_extractor_arith/09.cc,
3914 testsuite/27_io/istream_extractor_arith/10.cc,
3915 testsuite/27_io/istream_extractor_arith/11.cc,
3916 testsuite/27_io/istream_extractor_arith/12.cc,
3917 testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
3918 * testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
3921 2003-01-05 Paolo Carlini <pcarlini@unitus.it>
3925 (codecvt<char, char, mbstate_t>::do_in, do_out):
3926 Implement the resolution of DR19 (TC).
3927 * testsuite/22_locale/codecvt_members_char_char.cc
3930 2003-01-02 Jason Merrill <jason@redhat.com>
3932 * config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
3933 *__mem is also an output.
3934 * config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.