1132720Skan2003-12-31  Paolo Carlini  <pcarlini@suse.de>
2132720Skan
3132720Skan	* include/bits/locale_facets.tcc (num_get::_M_extract_int,
4132720Skan	num_get::_M_extract_float): According to 22.2.2.1.2, p8-9,
5132720Skan	_first_ look for thousands_sep, then for decimal_point and
6132720Skan	finally for digits.
7132720Skan	(num_get::_M_extract_float): After the decimal_point or
8132720Skan	'e'/'E', decimal_point and thousands_sep just break out the
9132720Skan	parsing loop.
10132720Skan	* testsuite/22_locale/num_get/get/char/11.cc: Add tests.
11132720Skan	* testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise.
12132720Skan
13132720Skan2003-12-30  Paolo Carlini  <pcarlini@suse.de>
14132720Skan
15132720Skan	PR libstdc++/13369
16132720Skan	* include/bits/locale_facets.tcc (__verify_grouping):
17132720Skan	Fix to deal properly with __grouping_tmp.size() >
18132720Skan	__grouping.size().
19132720Skan	* testsuite/22_locale/num_get/get/char/13.cc: New.
20132720Skan	* testsuite/22_locale/num_get/get/wchar_t/13.cc: Ditto.
21132720Skan	
22132720Skan2003-12-29  Jerry Quinn  <jlquinn@optonline.net>
23132720Skan
24132720Skan	* include/bits/locale_facets.h (ctype.narrow,widen): Add cast.
25132720Skan
26132720Skan2003-12-29  Paolo Carlini  <pcarlini@suse.de>
27132720Skan
28132720Skan	* acinclude.m4 (GLIBCXX_CHECK_LFS): Add -fno-exceptions
29132720Skan	to CXXFLAGS.
30132720Skan	* aclocal.m4: Regenerate.
31132720Skan	* configure: Likewise.
32132720Skan
33132720Skan2003-12-29  Mark Mitchell  <mark@codesourcery.com>
34132720Skan
35132720Skan	* acconfig.h: Add _GLIBCXX_USE_C99_MATH.
36132720Skan	* acinclude.m4 (GLIBCXX_ENABLE_C99): Define GLIBCXX_USE_C99_MATH.
37132720Skan	* configure.ac: Define HAVE_S_ISREG and HAVE_S_IFREG when
38132720Skan	targeting newlib.
39132720Skan	* aclocal.m4: Regenerated.
40132720Skan	* config.h.in: Likewise.
41132720Skan	* configure: Likewise.
42132720Skan	* Makefile.in: Likewise.
43132720Skan	* include/Makefile.in: Likewise.
44132720Skan	* libmath/Makefile.in: Likewise.
45132720Skan	* libsupc++/Makefile.in: Likewise.
46132720Skan	* testsuite/Makefile.in: Likewise.
47132720Skan	* src/Makefile.in: Likewise.
48132720Skan	* po/Makefile.in: Likewise.
49132720Skan	* include/c_std/std_cmath.h (_GLIBCXX_USE_C99): Replace with ...
50132720Skan	(_GLIBCXX_USE_C99_MATH): ... this.
51132720Skan
52132720Skan	* testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: XFAIL for
53132720Skan	arm-none-elf.
54132720Skan	* testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Likewise.
55132720Skan	* testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Likewise.
56132720Skan	* testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Likewise.
57132720Skan	* testsuite/27_io/basic_istream/readsome/char/6476-2.cc: Likewise.
58132720Skan	* testsuite/27_io/objects/char/9.cc: Likewise.
59132720Skan	* testsuite/ext/stdio_filebuf/char/10063-2.cc: Likewise.
60132720Skan
61132720Skan2003-12-28  Paolo Carlini  <pcarlini@suse.de>
62132720Skan
63132720Skan	* include/ext/pool_allocator.h (class __pool_alloc): Use
64132720Skan	operator new and operator delete.
65132720Skan
66132720Skan2003-12-24  Andrew Pinski  <pinskia@physics.uc.edu>
67132720Skan
68132720Skan	* config/cpu/i386/atomicity.h (__exchange_and_add): Fix output 
69132720Skan	constraint.
70132720Skan
71132720Skan	PR libstdc++/13480
72132720Skan	* config/cpu/i386/atomicity.h: Split up read-write memory operand.
73132720Skan
74132720Skan2003-12-23  Benjamin Kosnik  <bkoz@redhat.com>
75132720Skan
76132720Skan	* include/ext/new_allocator.h (new_allocator): Proper allocator class.
77132720Skan	(__new_alloc): Delete.
78132720Skan	* include/ext/malloc_allocator.h (malloc_allocator): Same.
79132720Skan	(__malloc_alloc): Delete.
80132720Skan 	* include/ext/mt_allocator.h: Same, but weakly.
81132720Skan 	* include/ext/debug_allocator.h: Convert to the new style.
82132720Skan	* include/ext/pool_allocator.h: Use global new and delete directly.
83132720Skan	* include/backward/alloc.h: Don't inject malloc_allocator, or
84132720Skan	debug_allocator.	
85132720Skan	* testsuite/ext/allocators.cc: Minimal fixups for usage of new
86132720Skan	classes.  Comment out tests with __pool_alloc for now.
87132720Skan	* testsuite/performance/allocator.cc: Same.
88132720Skan
89132720Skan2003-12-22  Matt Austern  <austern@apple.com>
90132720Skan
91132720Skan	* include/bits/stl_bvector.h (_Bvector_alloc_base): Eliminate.
92132720Skan	(_Bvector_base): Inherit directly from word allocator.
93132720Skan	* include/bits/stl_tree.h (_Rb_tree_alloc_base): Eliminate.
94132720Skan	(_Rb_tree_base): Eliminate.
95132720Skan	(_Rb_tree): Inherit directly from node allocator.
96132720Skan	* include/ext/slist (_Alist_alloc_base): Eliminate.
97132720Skan	(_Slist_base): Inherit direcly from node allocator.
98132720Skan	
99132720Skan2003-12-22  Benjamin Kosnik  <bkoz@redhat.com>
100132720Skan
101132720Skan	* testsuite/18_support/numeric_limits.cc: Add _GLIBCXX_ASSERT to
102132720Skan	dg-options in testcases that use VERIFY.	
103132720Skan	* testsuite/23_containers/vector/invalidation/1.cc: Same.
104132720Skan	* testsuite/23_containers/vector/invalidation/2.cc: Same.
105132720Skan	* testsuite/23_containers/vector/invalidation/3.cc: Same.
106132720Skan	* testsuite/23_containers/vector/invalidation/4.cc: Same.
107132720Skan	* testsuite/23_containers/vector/resize/1.cc: Same.
108132720Skan	* testsuite/26_numerics/complex_value.cc: Same.
109132720Skan	* testsuite/27_io/ios_base/storage/1.cc: Same.
110132720Skan	* testsuite/27_io/ios_base/storage/2.cc: Same.
111132720Skan	* testsuite/27_io/ios_base/storage/3.cc: Same.
112132720Skan	* testsuite/27_io/manipulators/standard/char/2.cc: Same.
113132720Skan	* testsuite/backward/11460.cc: Same.
114132720Skan	* testsuite/backward/strstream_members.cc: Same.
115132720Skan
116132720Skan	* include/ext/hash_set (class hash_multiset): Fix typo.
117132720Skan
118132720Skan2003-12-22  Benjamin Kosnik  <bkoz@redhat.com>	
119132720Skan
120132720Skan	* testsuite/27_io/objects/char/5.cc: Don't use stdc++.h.gch.
121132720Skan	* testsuite/27_io/objects/wchar_t/5.cc: Same.
122132720Skan	* docs/html/test.html: Add docs for constructing test files that
123132720Skan	don't use stdc++.h.gch.
124132720Skan	* scripts/testsuite_flags.in (PCHFLAGS): Move to --cxxpchflags.	
125132720Skan	* testsuite/libstdc++-dg/normal.exp: Compute DEFAULT_CXXFLAGS
126132720Skan	differently.
127132720Skan
128132720Skan	* include/bits/ios_base.h (ios_base::Init::_S_initialized): Remove.
129132720Skan	* src/ios_init.cc: Same.
130132720Skan	* config/linker-map.gnu: Same.
131132720Skan	* testsuite/27_io/ios_base/cons/copy_neg.cc: Adjust line numbers.
132132720Skan	* testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
133132720Skan		
134132720Skan2003-12-22  Andrew Pinski  <pinskia@physics.uc.edu>
135132720Skan
136132720Skan	PR libstdc++/13462
137132720Skan	* include/bits/stl_multiset.h (__gnu_norm::multiset): Define pointer
138132720Skan	as allocator's pointer, likewise for reference, const_pointer, and
139132720Skan	const_reference.
140132720Skan	* include/bits/stl_set.h (__gnu_norm::set): Likewise.
141132720Skan	* include/ext/hash_set (__gnu_ext::hash_set): Likewise.
142132720Skan	(__gnu_ext::hash_multiset): Likewise.
143132720Skan
144132720Skan2003-12-22  Paolo Carlini  <pcarlini@suse.de>
145132720Skan
146132720Skan	* include/bits/locale_facets.tcc (num_get::_M_extract_int,
147132720Skan	num_get::_M_extract_float): According to 22.2.2.1.2, p8-9,
148132720Skan	first look for decimal_point and thousands_sep, when parsing
149132720Skan	sign, leading zeros (and 0, Ox, 0X for integer types) too.
150132720Skan	* testsuite/22_locale/num_get/get/char/12.cc: New.
151132720Skan	* testsuite/22_locale/num_get/get/wchar_t/12.cc: Likewise.
152132720Skan
153132720Skan	* testsuite/22_locale/num_get/get/char/11.cc: Add a comment.
154132720Skan	* testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise.
155132720Skan	
156132720Skan2003-12-20  Jason Merrill  <jason@redhat.com>
157132720Skan
158132720Skan	* config/cpu/powerpc/atomicity.h: Fix oversight in previous
159132720Skan	change.
160132720Skan
161132720Skan2003-12-20  Jerry Quinn  <jlquinn@optonline.net>
162132720Skan
163132720Skan	* docs/doxygen/TODO: Update.
164132720Skan	* include/bits/locale_classes.h (locale, facet, id): Document.
165132720Skan	* include/bits/locale_facets.tcc (has_facet, use_facet): Document.
166132720Skan
167132720Skan2003-12-19  Jason Merrill  <jason@redhat.com>
168132720Skan
169132720Skan	* config/cpu/cris/atomicity.h: Remove memory clobbers.
170132720Skan	* config/cpu/mips/atomicity.h: Likewise.
171132720Skan	* config/cpu/i486/atomicity.h: Remove memory clobbers.
172132720Skan	Split up read-write memory operand.
173132720Skan	* config/cpu/m68k/atomicity.h: Likewise.
174132720Skan	* config/cpu/powerpc/atomicity.h: Make memory I/O explicit.
175132720Skan	* config/cpu/s390/atomicity.h: Likewise.
176132720Skan	* config/cpu/sparc/atomicity.h: Likewise.
177132720Skan
178132720Skan2003-12-20  Carlo Wood  <carlo@alinoe.com>
179132720Skan
180132720Skan	* bits/demangle.h
181132720Skan	namespace __gnu_cxx::demangler
182132720Skan	(session<Allocator>::decode_encoding): Put the postfix
183132720Skan	of the return type of (member) functions after the function
184132720Skan	instead of after the return type.
185132720Skan
186132720Skan2003-12-19  Jerry Quinn  <jlquinn@optonline.net>
187132720Skan
188132720Skan        * include/bits/locale_facet.h
189132720Skan        (__ctype_abstract_base,ctype<charT>,ctype<char>,ctype<wchar_t>):
190132720Skan        Document.
191132720Skan
192132720Skan2003-12-19  Paolo Carlini  <pcarlini@suse.de>
193132720Skan
194132720Skan	* include/bits/locale_facets.tcc (num_get::_M_extract_int,
195132720Skan	num_get::_M_extract_float): According to 22.2.2.1.2, p8-9,
196132720Skan	first look for decimal_point and thousands_sep.
197132720Skan	* testsuite/22_locale/num_get/get/char/11.cc: New.
198132720Skan	* testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise.
199132720Skan
200132720Skan2003-12-19  Paolo Carlini  <pcarlini@suse.de>
201132720Skan
202132720Skan	* include/bits/locale_facets.tcc (num_get::_M_extract_float):
203132720Skan	When __found_sci becomes true stop eating thousands separators
204132720Skan	and the decimal radix separator.
205132720Skan	* testsuite/22_locale/num_get/get/char/9.cc: New.
206132720Skan	* testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.	
207132720Skan	
208132720Skan	* config/locale/generic/c_locale.cc (__convert_to_v): Don't
209132720Skan	check that *__sanity == '\0': parsing may stop earlier, still
210132720Skan	be successful.
211132720Skan	* config/locale/gnu/c_locale.cc: Likewise.
212132720Skan	* testsuite/22_locale/num_get/get/char/10.cc: New.
213132720Skan	* testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
214132720Skan	* testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
215132720Skan	Tweak in one place accordingly.
216132720Skan
217132720Skan	* testsuite/22_locale/money_get/get/char/1.cc: Fix typo.
218132720Skan	* testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
219132720Skan
220132720Skan2003-12-18  Benjamin Kosnik  <bkoz@redhat.com>
221132720Skan
222132720Skan	* include/bits/stl_list.h: Formatting tweaks.
223132720Skan	* include/bits/list.tcc: Same.
224132720Skan
225132720Skan2003-12-18  Matt Austern  <austern@apple.com>
226132720Skan
227132720Skan	* include/bits/demangle.h: Fix allocator type correctness,
228132720Skan	i.e. make sure that when we instantiate a container with a value
229132720Skan	type and an allocator, the allocator's value type matches the
230132720Skan	container's.
231132720Skan	* include/bits/stl_deque.h (_Deque_alloc_base): Eliminate.
232132720Skan	(_Deque_base): inherit directly from the deque's allocator.  Use
233132720Skan	rebinding instead of _Alloc_traits.  Pick up data members from 
234132720Skan	_Deque_alloc_base.
235132720Skan	* include/bits/stl_list.h (_List_alloc_base): Eliminate.
236132720Skan	(_List_base): Inherit directly from the list's allocator.  Use
237132720Skan	rebinding instead of _Alloc_traits.  Pick up data members from 
238132720Skan	_List_alloc_base.
239132720Skan	* include/bits/stl_vector.h (_Vector_alloc_base): Eliminate
240132720Skan	(_Vector_base): Inherit directly from the vector's allocator.  Use
241132720Skan	rebinding instead of _Alloc_traits.  Pick up data members from 
242132720Skan	_Vector_alloc_base.
243132720Skan	* include/ext/hashtable.h: Fix allocator type correctness (the
244132720Skan	vector of buckets must be passed an allocator for objects of
245132720Skan	type _Node*).  Use rebinding instead of _Alloc_traits.
246132720Skan	
247132720Skan2003-12-17  Paolo Carlini  <pcarlini@suse.de>
248132720Skan
249132720Skan	* include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
250132720Skan	Use narrow to get from __format[__i] a char __c representing a
251132720Skan	formatting code, don't use it to compare *__beg to __format[__i].
252132720Skan	* testsuite/22_locale/time_get/get_date/wchar_t/4.cc: New.
253132720Skan
254132720Skan2003-12-17  Paolo Carlini  <pcarlini@suse.de>
255132720Skan
256132720Skan	* testsuite/performance/container_benchmark.cc: Tweak outputs.
257132720Skan
258132720Skan	* testsuite/performance/list_create_fill_sort.cc: Shrink a
259132720Skan	bit some outputs.
260132720Skan
261132720Skan	* testsuite/testsuite_performance.h: Widen a few output fields.
262132720Skan
263132720Skan	* testsuite/performance/ifstream_extract_int.cc: New.
264132720Skan
265132720Skan2003-12-16  Phil Edwards  <phil@codesourcery.com>
266132720Skan
267132720Skan	* configure.ac (AM_INIT_AUTOMAKE):  Don't warn about GNU Make.
268132720Skan	* configure:  Regenerated.
269132720Skan	* Makefile.am (check-%):  New catch-all forwarding target.
270132720Skan	* Makefile.in:  Regenerated.
271132720Skan
272132720Skan2003-12-16  Paolo Carlini  <pcarlini@suse.de>
273132720Skan
274132720Skan	* testsuite/performance/container_benchmark.cc: New, a
275132720Skan	benchmark developed by Bjarne Stroustrup and Alexander
276132720Skan	Stepanov and made available with no restrictions.
277132720Skan
278132720Skan	* testsuite/testsuite_performance.h (report_header): New,
279132720Skan	useful to produce header lines in the reports.
280132720Skan
281132720Skan2003-12-16  Jonathan Wakely  <redi@gcc.gnu.org>
282132720Skan
283132720Skan	* docs/html/21_strings/howto.html: Document shrink-to-fit reserve().
284132720Skan	* docs/html/faq/index.html: Reducing vector's capacity() to size().
285132720Skan	* docs/html/documentation.html, docs/html/faq/index.txt: Regenerate.
286132720Skan
287132720Skan2003-12-16  Paolo Carlini  <pcarlini@suse.de>
288132720Skan
289132720Skan	* testsuite/performance/narrow_widen_char.cc: Tweak the
290132720Skan	number of iterations for each test.
291132720Skan	* testsuite/performance/narrow_widen_wchar_t.cc: Add a
292132720Skan	missing clear_counters.
293132720Skan
294132720Skan2003-12-16  Paolo Carlini  <pcarlini@suse.de>
295132720Skan
296132720Skan	PR libstdc++/11723
297132720Skan	* include/bits/locale_facets.h: Add _M_bit and _M_wmask,
298132720Skan	used to speed up the computation of ctype::do_is.
299132720Skan	* config/locale/generic/ctype_members.cc
300132720Skan	(_M_initialize_ctype): Fill _M_bit and _M_wmask.
301132720Skan	(ctype::do_is): Use _M_bit and _M_wmask.
302132720Skan	* config/locale/gnu/ctype_members.cc: Likewise.
303132720Skan	* testsuite/performance/is_wchar_t.cc: New.
304132720Skan
305132720Skan	* testsuite/performance/narrow_widen_wchar_t.cc: Tweak
306132720Skan	string literal (incorrect citation ;)
307132720Skan
308132720Skan	* include/bits/locale_facets.h: Minor tweaks, const
309132720Skan	correctness, unsigned -> size_t.
310132720Skan
311132720Skan2003-12-16  Jerry Quinn  <jlquinn@optonline.net>
312132720Skan
313132720Skan	* include/bits/locale_facets.h (widen, narrow):  Uncomment the
314132720Skan	intended code.
315132720Skan
316132720Skan2003-12-15  Jerry Quinn  <jlquinn@optonline.net>
317132720Skan
318132720Skan        * config/os/aix/ctype_noninline.h,
319132720Skan	config/os/bsd/freebsd/ctype_noninline.h,
320132720Skan	config/os/bsd/netbsd/ctype_noninline.h,
321132720Skan	config/os/djgpp/ctype_noninline.h,
322132720Skan	config/os/generic/ctype_noninline.h,
323132720Skan	config/os/gnu-linux/ctype_noninline.h,
324132720Skan	config/os/hpux/ctype_noninline.h,
325132720Skan	config/os/irix/irix5.2/ctype_noninline.h,
326132720Skan	config/os/irix/irix6.5/ctype_noninline.h,
327132720Skan	config/os/mingw32/ctype_noninline.h,
328132720Skan	config/os/newlib/ctype_noninline.h,
329132720Skan	config/os/qnx/qnx6.1/ctype_noninline.h,
330132720Skan	config/os/solaris/solaris2.5/ctype_noninline.h,
331132720Skan	config/os/solaris/solaris2.6/ctype_noninline.h,
332132720Skan	config/os/solaris/solaris2.7/ctype_noninline.h,
333132720Skan	config/os/vxworks/ctype_noninline.h,
334132720Skan	config/os/windiss/ctype_noninline.h (ctype):  Initialize
335132720Skan	_M_narrow, _M_widen.
336132720Skan	* include/bits/locale_facets.h (_M_widen, _M_widen_ok,
337132720Skan	_M_narrow, _M_narrow_ok): New.
338132720Skan	(widen, narrow): Use tables to bypass virtual functions.
339132720Skan	(_M_widen_init, _M_narrow_init): New.
340132720Skan
341132720Skan2003-12-15  Carlo Wood  <carlo@alinoe.com>
342132720Skan
343132720Skan	* include/bits/ios_base.h (Init::_S_initialized): Change into
344132720Skan	declaration.
345132720Skan	* src/ios_init.cc (Init::_S_initialized): Add definition.
346132720Skan
347132720Skan2003-12-15  Benjamin Kosnik  <bkoz@redhat.com>
348132720Skan
349132720Skan	PR libstdc++/12658
350132720Skan	* include/Makefile.am (bits_headers): Add concurrence.h.
351132720Skan	* include/Makefile.in: Regenerated.
352132720Skan	* include/bits/concurrence.h: New.
353132720Skan	* src/locale_init.cc: Use it.
354132720Skan	(locale::locale): Lock critical regions.
355132720Skan	(locale::global): Same.
356132720Skan	
357132720Skan2003-12-15  Benjamin Kosnik  <bkoz@redhat.com>
358132720Skan
359132720Skan	* include/bits/basic_string.h: Change _*_references to _*_refcount.
360132720Skan	* include/bits/locale_classes.h: Same.
361132720Skan	* src/locale.cc: Same.
362132720Skan	* src/locale_name.cc: Same.	
363132720Skan	* src/locale_init.cc: Same.	
364132720Skan	
365132720Skan2003-12-15  Benjamin Kosnik  <bkoz@redhat.com>
366132720Skan
367132720Skan	PR libstdc++/12855	
368132720Skan	* include/bits/ios_base.h (Init::_S_ios_base_init): Change to
369132720Skan	_S_refcount, make atomic.
370132720Skan	* src/ios.cc: Adjust definition.	
371132720Skan	* src/ios_init.cc (ios_base::Init::Init): Use __exchange_and_add,
372132720Skan	and __atomic_add.
373132720Skan	(ios_base::Init::~Init): Same.
374132720Skan	* testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
375132720Skan	* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
376132720Skan	
377132720Skan2003-12-15  Paolo Carlini  <pcarlini@suse.de>
378132720Skan
379132720Skan	* include/bits/locale_facets.tcc (num_get::do_get(bool&)):
380132720Skan	Fail as soon as the begins of both truename and falsename
381132720Skan	stop to match; always leave __beg one position beyond the
382132720Skan	last char successfully matched.
383132720Skan	* testsuite/22_locale/num_get/get/char/8.cc: New.
384132720Skan	* testsuite/22_locale/num_get/get/wchar_t/8.cc: Likewise.
385132720Skan
386132720Skan2003-12-15  Paolo Carlini  <pcarlini@suse.de>
387132720Skan
388132720Skan	* include/bits/locale_facets.h (_M_widen): Reserve space
389132720Skan	for all the possible widened chars.	
390132720Skan	* config/locale/generic/ctype_members.cc (_M_initialize_ctype):
391132720Skan	Compute at construction time all the possible widened chars.
392132720Skan	(do_widen): Tweak, simplify.
393132720Skan	* config/locale/gnu/ctype_members.cc: Likewise.
394132720Skan	* testsuite/performance/narrow_widen_wchar_t.cc: Add tests
395132720Skan	for the array versions.
396132720Skan
397132720Skan2003-12-12  Paolo Carlini  <pcarlini@suse.de>
398132720Skan	    Benjamin Kosnik  <bkoz@redhat.com>
399132720Skan
400132720Skan	PR libstdc++/13341
401132720Skan	* include/bits/locale_facets.h (ctype<wchar_t>): Declare
402132720Skan	_M_initialize_ctype() and _M_narrow_ok, _M_narrow and _M_widen.
403132720Skan	* src/ctype.cc (ctype<wchar_t>::ctype(size_t),
404132720Skan	ctype<wchar_t>::ctype(__c_locale, size_t)): Use
405132720Skan	_M_initialize_ctype to fill _M_narrow and _M_widen.
406132720Skan	(ctype_byname<wchar_t>::ctype_byname(const char*, size_t)):
407132720Skan	Likewise.
408132720Skan	* config/locale/generic/ctype_members.cc (do_narrow, do_widen)
409132720Skan	Use _M_narrow and _M_widen when possible, instead of calling
410132720Skan	wctob and btowc, respectively.
411132720Skan	(_M_initialize_ctype): Define, it fills at construction time
412132720Skan	_M_narrow and _M_widen.
413132720Skan	* config/locale/gnu/ctype_members.cc: Likewise.
414132720Skan	* testsuite/performance/narrow_widen_wchar_t.cc: New.
415132720Skan
416132720Skan2003-12-12  Jonathan Wakely  <redi@gcc.gnu.org>
417132720Skan
418132720Skan	* docs/html/faq/index.txt: Regenerate after adding <link> tags.
419132720Skan
420132720Skan2003-12-11  Neil Ferguson  <nferguso@eso.org>
421132720Skan            Paolo Carlini  <pcarlini@suse.de>
422132720Skan
423132720Skan	* include/bits/basic_string.tcc (reserve): Allow shrink-to-fit.
424132720Skan	* testsuite/21_strings/basic_string/capacity/1.cc: Tweak.
425132720Skan	* testsuite/21_strings/basic_string/capacity/char/1.cc: Ditto.
426132720Skan	* testsuite/21_strings/basic_string/capacity/wchar_t/1.cc: Ditto.
427132720Skan
428132720Skan2003-12-10  Benjamin Kosnik  <bkoz@redhat.com>
429132720Skan
430132720Skan	PR libstdc++/6243
431132720Skan	* testsuite/lib/libstdc++.exp (v3-init): Add
432132720Skan	original_ld_library_path, calculate ld_library path, set
433132720Skan	LD_LIBRARY_PATH to both. Based on libjava.exp.
434132720Skan	
435132720Skan2003-12-10  Benjamin Kosnik  <bkoz@redhat.com>
436132720Skan            Alexandre Oliva  <aoliva@redhat.com>
437132720Skan	
438132720Skan	PR libstdc++/11612
439132720Skan	* testsuite/Makefile.am (GLIBCXX_DIR): New.
440132720Skan	(GLIBGCC_DIR): New.
441132720Skan	(CXXLINK): Use both with -R so libtool links the correct libs.
442132720Skan
443132720Skan2003-12-10  Paolo Carlini  <pcarlini@suse.de>
444132720Skan
445132720Skan	PR libstdc++/13217
446132720Skan	* include/bits/fstream.tcc (underflow): Deal gracefully with
447132720Skan	read errors: throw ios_base::failure.
448132720Skan
449132720Skan2003-12-10  Benjamin Kosnik  <bkoz@redhat.com>
450132720Skan
451132720Skan	PR libstdc++/10063
452132720Skan	* config/io/basic_file_stdio.cc (__basic_file::sys_open): Sync.
453132720Skan	* testsuite/ext/stdio_filebuf/char/10063-1.cc: New.
454132720Skan	* testsuite/ext/stdio_filebuf/char/10063-2.cc: New.
455132720Skan	
456132720Skan2003-12-10  Paolo Carlini  <pcarlini@suse.de>
457132720Skan
458132720Skan	* include/bits/locale_facets.tcc (num_put::do_put(void*)):
459132720Skan	Remove the try/catch, not necessary.
460132720Skan
461132720Skan2003-12-10  Paolo Carlini  <pcarlini@suse.de>
462132720Skan
463132720Skan	* testsuite/22_locale/locale/cons/12438.cc: Tweak memory
464132720Skan	limit and iterations to avoid spurious failures on some
465132720Skan	64 bit machines.
466132720Skan
467132720Skan2003-12-09  Benjamin Kosnik  <bkoz@redhat.com>
468132720Skan	
469132720Skan	* config/linker-map.gnu: Remove private ios_base members from
470132720Skan	export list.
471132720Skan
472132720Skan	* config/cpu/alpha/atomicity.h: Consistently format.
473132720Skan	* config/cpu/cris/atomicity.h: Same.
474132720Skan	* config/cpu/generic/atomicity.h: Same.
475132720Skan	* config/cpu/hppa/atomicity.h: Same.
476132720Skan	* config/cpu/i386/atomicity.h: Same.
477132720Skan	* config/cpu/i486/atomicity.h: Same.
478132720Skan	* config/cpu/ia64/atomicity.h: Same.
479132720Skan	* config/cpu/m68k/atomicity.h: Same.
480132720Skan	* config/cpu/mips/atomicity.h: Same.
481132720Skan	* config/cpu/powerpc/atomicity.h: Same.
482132720Skan	* config/cpu/s390/atomicity.h: Same.
483132720Skan	* config/cpu/sparc/atomicity.h: Same.
484132720Skan	
485132720Skan2003-12-09  Benjamin Kosnik  <bkoz@redhat.com>
486132720Skan
487132720Skan	PR libstdc++/13296
488132720Skan	* acinclude.m4 (GLIBCXX_ENABLE_LIBUNWIND_EXCEPTIONS): Remove.
489132720Skan	* aclocal.m4: Regenerate.
490132720Skan	* configure.ac: Remove call to GLIBCXX_ENABLE_LIBUNWIND_EXCEPTIONS.
491132720Skan	* conigure: Regenerate.
492132720Skan	* src/Makefile.am (libstdc___la_LDFLAGS): Remove LIBUNWIND_FLAGS.
493132720Skan	* src/Makefile.in: Regenerate.
494132720Skan	* docs/html/17_intro/configury.html: Modify.
495132720Skan	
496132720Skan2003-12-09  Paolo Carlini  <pcaelini@suse.de>
497132720Skan	
498132720Skan	* include/bits/demangle.h (struct implementation_details):
499132720Skan	Keep in comments the names of the unused parameters.
500132720Skan
501132720Skan2003-12-09  Paolo Carlini  <pcaelini@suse.de>
502132720Skan
503132720Skan	* include/bits/demangle.h (struct implementation_details):
504132720Skan	Fix unused parameters warning.
505132720Skan
506132720Skan2003-12-09  Paolo Carlini  <pcarlini@suse.de>
507132720Skan
508132720Skan	* include/bits/locale_facets.tcc (num_get::_M_extract_int):
509132720Skan	Slightly streamline the code dealing with overflows and the
510132720Skan	parsing of the sign.
511132720Skan
512132720Skan2003-12-09  Bernardo Innocenti  <bernie@develer.com>
513132720Skan
514132720Skan	* include/ext/algorithm, include/ext/debug_allocator.h,
515132720Skan	include/ext/enc_filebuf.h, include/ext/functional,
516132720Skan	include/ext/hash_fun.h, include/ext/hash_map, include/ext/hash_set,
517132720Skan	include/ext/hashtable.h, include/ext/iterator,
518132720Skan	include/ext/malloc_allocator.h, include/ext/memory,
519132720Skan	include/ext/mt_allocator.h, include/ext/numeric,
520132720Skan	include/ext/pod_char_traits.h, include/ext/pool_allocator.h,
521132720Skan	include/ext/rb_tree, include/ext/rope, include/ext/ropeimpl.h,
522132720Skan	include/ext/slist, include/ext/stdio_filebuf.h,
523132720Skan	include/ext/stdio_sync_filebuf.h: Remove trailing whitespace.
524132720Skan
525132720Skan2003-12-09  Bernardo Innocenti  <bernie@develer.com>
526132720Skan
527132720Skan	* include/debug/bitset, include/debug/debug.h, include/debug/deque,
528132720Skan	include/debug/formatter.h, include/debug/hash_map.h,
529132720Skan	include/debug/hash_multimap.h, include/debug/hash_multiset.h,
530132720Skan	include/debug/hash_set, include/debug/hash_set.h, include/debug/list,
531132720Skan	include/debug/map.h, include/debug/multimap.h,
532132720Skan	include/debug/multiset.h, include/debug/safe_base.h,
533132720Skan	include/debug/safe_iterator.h, include/debug/safe_iterator.tcc,
534132720Skan	include/debug/safe_sequence.h, include/debug/set.h,
535132720Skan	include/debug/string, include/debug/vector: Remove trailing whitespace.
536132720Skan
537132720Skan2003-12-09  Bernardo Innocenti  <bernie@develer.com>
538132720Skan
539132720Skan	* include/c_compatibility/iso646.h, include/c_compatibility/limits.h,
540132720Skan	include/c_compatibility/locale.h, include/c_compatibility/stdio.h,
541132720Skan	include/c_compatibility/string.h, include/c_compatibility/time.h,
542132720Skan	include/c_compatibility/wchar.h, include/c_compatibility/wctype.h:
543132720Skan	Remove trailing whitespace.
544132720Skan
545132720Skan2003-12-09  Bernardo Innocenti  <bernie@develer.com>
546132720Skan
547132720Skan	* include/c_std/cmath.tcc, include/c_std/std_cassert.h,
548132720Skan	include/c_std/std_cctype.h, include/c_std/std_cmath.h,
549132720Skan	include/c_std/std_cstddef.h, include/c_std/std_cstdio.h,
550132720Skan	include/c_std/std_cstdlib.h, include/c_std/std_cstring.h,
551132720Skan	include/c_std/std_cwchar.h, include/c_std/std_cwctype.h:
552132720Skan	Remove trailing whitespace.
553132720Skan
554132720Skan2003-12-09  Bernardo Innocenti  <bernie@develer.com>
555132720Skan
556132720Skan	* include/c/std_cctype.h, include/c/std_cmath.h,
557132720Skan	include/c/std_cstdlib.h include/c/std_cwchar.h,
558132720Skan	include/c/std_cwctype.h: Remove trailing whitespace.
559132720Skan
560132720Skan2003-12-09  Bernardo Innocenti  <bernie@develer.com>
561132720Skan
562132720Skan	* include/backward/algo.h, include/backward/algobase.h,
563132720Skan	include/backward/alloc.h, include/backward/complex.h,
564132720Skan	include/backward/defalloc.h, include/backward/function.h,
565132720Skan	include/backward/iterator.h, include/backward/new.h,
566132720Skan	include/backward/ostream.h, include/backward/queue.h,
567132720Skan	include/backward/rope.h, include/backward/stream.h,
568132720Skan	include/backward/streambuf.h, include/backward/strstream,
569132720Skan	include/backward/tempbuf.h, include/backward/tree.h,
570132720Skan	include/backward/vector.h: Remove trailing whitespace.
571132720Skan
572132720Skan2003-12-08  Paolo Carlini  <pcarlini@suse.de>
573132720Skan
574132720Skan	* config/locale/generic/c_locale.cc (__convert_to_v(long&),
575132720Skan	__convert_to_v(unsigned long&), __convert_to_v(long long&),
576132720Skan	__convert_to_v(unsigned long long&): Remove.
577132720Skan	(__convert_to_v(float&), __convert_to_v(double&),
578132720Skan	__convert_to_v(long double&)): Remove last unused parameter.
579132720Skan	* config/locale/gnu/c_locale.cc: Likewise.
580132720Skan	* include/bits/locale_facets.h: Likewise.
581132720Skan	(num_get::_M_extract_int): Update declaration.
582132720Skan	(class __num_base): Tweak _S_ie and _S_iE according to the
583132720Skan	_S_atoms_in changes.
584132720Skan	* include/bits/locale_facets.tcc (num_get::_M_extract_int):
585132720Skan	Provide directly the final _ValueT, not a string: accumulate
586132720Skan	the result checking for overflow at each digit.
587132720Skan	(num_get::do_get(bool&), num_get::do_get(long&),
588132720Skan	num_get::do_get(unsigned short&), num_get::do_get(unsigned int&),
589132720Skan	num_get::do_get(unsigned long&), num_get::do_get(long long&),
590132720Skan	num_get::do_get(unsigned long long&), num_get::do_get(void*&)):
591132720Skan	Use the new _M_extract_int, simplify.
592132720Skan	* src/locale-inst.cc (num_get::_M_extract_int(long&),
593132720Skan	num_get::_M_extract_int(unsigned short&),
594132720Skan	num_get::_M_extract_int(unsigned int&),
595132720Skan	num_get::_M_extract_int(unsigned long&),
596132720Skan	num_get::_M_extract_int(long long&),
597132720Skan	num_get::_M_extract_int(unsigned long long&): Instantiate.
598132720Skan	* src/locale_facets.cc (__num_base::_S_atoms_in): Reorder
599132720Skan        the chars in the natural order: abcdefABCDEF.
600132720Skan
601132720Skan2003-12-08  David S. Miller  <davem@redhat.com>
602132720Skan
603132720Skan	PR libstdc++/12496
604132720Skan	* config/cpu/sparc/atomicity.h (__exchange_and_add, __atomic_add):
605132720Skan	Extend increment to _Atomic_word before giving to assembler.
606132720Skan
607132720Skan2003-12-06  Benjamin Kosnik  <bkoz@redhat.com>
608132720Skan
609132720Skan	* testsuite/ext/enc_filebuf/char/13189.cc: Guard for __enc_traits.
610132720Skan	* testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same.
611132720Skan	
612132720Skan2003-12-06  Benjamin Kosnik  <bkoz@redhat.com>
613132720Skan
614132720Skan	PR libstdc++/11691 
615132720Skan	* include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf):
616132720Skan	Remove __del argument to file descriptor constructor.
617132720Skan	* config/io/basic_file_stdio.h (__basic_file::sys_open): Remove
618132720Skan	bool argument.
619132720Skan	* config/io/basic_file_stdio.cc: Same.
620132720Skan
621132720Skan2003-12-05  Benjamin Kosnik  <bkoz@redhat.com>
622132720Skan
623132720Skan	PR libstdc++/13189
624132720Skan	* include/ext/enc_filebuf.h: Fix.
625132720Skan	* include/bits/fstream.tcc: Tweak formatting.
626132720Skan	* include/bits/postypes.h: Same.
627132720Skan	* include/bits/sstream.tcc: Same.
628132720Skan	* include/bits/streambuf.tcc: Same.
629132720Skan	* testsuite/ext/stdio_filebuf.cc: Split.
630132720Skan	* testsuite/ext/stdio_filebuf_2.cc: Split.
631132720Skan	* testsuite/ext/stdio_sync_filebuf_char.cc: Split.
632132720Skan	* testsuite/ext/stdio_sync_filebuf_wchar_t.cc: Split.
633132720Skan	* testsuite/ext/enc_filebuf/char/13189.cc: New.
634132720Skan	* testsuite/ext/enc_filebuf/wchar_t/13189.cc: New.
635132720Skan	* testsuite/ext/stdio_filebuf/char/1.cc: New.
636132720Skan	* testsuite/ext/stdio_filebuf/char/2.cc: New.
637132720Skan	* testsuite/ext/stdio_sync_filebuf/char/1.cc: New.
638132720Skan	* testsuite/ext/stdio_sync_filebuf/char/12048-1.cc: New.
639132720Skan	* testsuite/ext/stdio_sync_filebuf/char/12048-2.cc: New.
640132720Skan	* testsuite/ext/stdio_sync_filebuf/char/12048-3.cc: New.
641132720Skan	* testsuite/ext/stdio_sync_filebuf/char/12048-4.cc: New.
642132720Skan	* testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc: New.
643132720Skan	* testsuite/ext/stdio_sync_filebuf/wchar_t/12948-1.cc: New.
644132720Skan	* testsuite/ext/stdio_sync_filebuf/wchar_t/12948-2.cc: New.
645132720Skan	* testsuite/ext/stdio_sync_filebuf/wchar_t/12948-3.cc: New.
646132720Skan	* testsuite/ext/stdio_sync_filebuf/wchar_t/12948-4.cc: New.
647132720Skan
648132720Skan2003-12-05  Carlo Wood  <carlo@alinoe.com>
649132720Skan
650132720Skan	PR libstdc++/13045
651132720Skan	* bits/demangle.h
652132720Skan	namespace __gnu_cxx::demangler
653132720Skan	(enum substitution_nt): Removed trailing comma.
654132720Skan	(implementation_details): Added.
655132720Skan	(session<Allocator>::M_implementation_details): Added.
656132720Skan	(session<Allocator>::session): Pass implementation_details.
657132720Skan	(session<Allocator>::decode_encoding): Same.
658132720Skan	(session<Allocator>::decode_real): Added.
659132720Skan	(_GLIBCXX_DEMANGLER_STYLE_VOID _GLIBCXX_DEMANGLER_STYLE_LITERAL
660132720Skan	_GLIBCXX_DEMANGLER_STYLE_LITERAL_INT
661132720Skan	_GLIBCXX_DEMANGLER_STYLE_COMPACT_EXPR_OPS
662132720Skan	_GLIBCXX_DEMANGLER_STYLE_SIZEOF_TYPENAME): Replaced with
663132720Skan	implementation_details equivalent.
664132720Skan	(session<Allocator>::decode_expression):
665132720Skan	Use M_implementation_details instead of macros. Add extra parentheses
666132720Skan	around 'larger than' operator in expressions in template arguments.
667132720Skan	(session<Allocator>::decode_bare_function_type): Idem.
668132720Skan	(session<Allocator>::decode_literal):
669132720Skan	Idem, and call decode_real for floating literals.
670132720Skan	(session<Allocator>::decode_type_with_postfix): Put the postfix
671132720Skan	of the return type of (member) functions after the function
672132720Skan	instead of after the return type.  Also, put a space after the
673132720Skan	prefix of qualified function pointers: "int (* const<space>".
674132720Skan	* src/demangle.cc: include most dependent header file first.
675132720Skan	* testsuite/demangle/regression/cw-16.cc: Updated two
676132720Skan	and added three tests.
677132720Skan
678132720Skan2003-12-04  Benjamin Kosnik  <bkoz@redhat.com>
679132720Skan
680132720Skan	PR libstdc++/13284
681132720Skan	* include/bits/stl_algo.h (__random_number): Remove.
682132720Skan	(random_shuffle): Use rand, as permitted by DR 395.
683132720Skan	* include/ext/algorithm: Same.
684132720Skan	* linkage.m4 (GLIBCXX_CHECK_STDLIB_SUPPORT): Remove lrand48.
685132720Skan	* acconfig.h: Same.
686132720Skan	* crossconfig.m4: Remove HAVE_DRAND48, HAVE_LRAND48.
687132720Skan	* config.h.in: Regenerated.
688132720Skan	* configure: Same.
689132720Skan	* aclocal.m4: Same.
690132720Skan	
691132720Skan2003-12-04  Paolo Carlini  <pcarlini@suse.de>
692132720Skan
693132720Skan	PR libstdc++/12653
694132720Skan	* include/std/std_bitset.h (operator>>): Implement resolution
695132720Skan	of DR 303 [WP]: use widen('0') and widen('1').
696132720Skan	* docs/html/ext/howto.html: Add an entry for DR 303.
697132720Skan
698132720Skan	* include/std/std_bitset.h (operator>>): Implement the common
699132720Skan	requirements of formatted input functions (27.6.1.2.1).
700132720Skan
701132720Skan	* include/std/std_bitset.h (operator>>): Set the failbit when
702132720Skan	nothing was extracted and _Nb != 0.
703132720Skan	* testsuite/23_containers/bitset/input/1.cc: New.
704132720Skan
705132720Skan2003-12-03  Paolo Carlini  <pcarlini@suse.de>
706132720Skan
707132720Skan	PR libstdc++/12791
708132720Skan	* include/bits/locale_facets.tcc (time_get::_M_extract_num):
709132720Skan	Rewrite, stop the parsing as soon as a digit cannot possibly
710132720Skan	lead to a final number within the bounds; otherwise, simplify,
711132720Skan	avoiding __ctype.is() and atoi().
712132720Skan	* testsuite/22_locale/time_get/get_date/char/12791.cc: New.
713132720Skan	* testsuite/22_locale/time_get/get_date/wchar_t/12791.cc: New.
714132720Skan
715132720Skan	* include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
716132720Skan	Minor tweak: a 4-digit integer cannot be bigger than 9999.
717132720Skan
718132720Skan	* testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Use
719132720Skan	type-correct wchar_t string literals.
720132720Skan	* testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Ditto.
721132720Skan	* testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Ditto.
722132720Skan	* testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Ditto.
723132720Skan	* testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Ditto.
724132720Skan
725132720Skan2003-12-02  Paolo Carlini  <pcarlini@suse.de>
726132720Skan
727132720Skan	* include/bits/locale_facets.tcc (time_get::do_get_year):
728132720Skan	Avoid using a basic_string and calling a full blown strtol
729132720Skan	(via __convert_to_v) for simple 2 or 4 digits, base 10,
730132720Skan	positive integers; simplify.
731132720Skan
732132720Skan2003-12-02  Paolo Carlini  <pcarlini@suse.de>
733132720Skan
734132720Skan	* config/locale/gnu/monetary_members.cc
735132720Skan	(money_base::_S_construct_pattern): For case 3: and 4:
736132720Skan	exchanging 'if (__precedes)' and 'if (__space)' allows
737132720Skan	to factor out a few more assignments.
738132720Skan
739132720Skan2003-12-01  Benjamin Kosnik  <bkoz@redhat.com>
740132720Skan
741132720Skan	* include/bits/basic_ios.h (basic_ios::setstate): Revert.
742132720Skan	* include/bits/istream.tcc: Only call setstate if __err != goodbit.
743132720Skan	* include/bits/ostream.tcc: Same.
744132720Skan	* testsuite/27_io/basic_ios/exceptions/char/2.cc: New.
745132720Skan	
746132720Skan	* testsuite/testsuite_io.h (__gnu_test::fail_streambuf): Make
747132720Skan	internal buffer non-static.
748132720Skan
749132720Skan2003-12-01  Benjamin Kosnik  <bkoz@redhat.com>
750132720Skan
751132720Skan	* docs/html/17_intro/C++STYLE: Add exception bits.
752132720Skan	* include/bits/fstream.tcc: Add location info to exception strings.
753132720Skan
754132720Skan	* include/bits/stl_construct.h: Formatting tweaks.
755132720Skan
756132720Skan2003-12-01  Paolo Carlini  <pcarlini@suse.de>
757132720Skan
758132720Skan	PR libstdc++/10378
759132720Skan	* include/bits/allocator.h (allocator::construct): Implement
760132720Skan	resolution of DR 402 [Ready] (in Revision 28).
761132720Skan	* include/bits/allocator_traits.h (__allocator::construct):
762132720Skan	Likewise.
763132720Skan	* include/bits/stl_construct.h (_Construct): Likewise.
764132720Skan	* testsuite/20_util/allocator_members.cc: Move to...
765132720Skan	* testsuite/20_util/allocator/1.cc: ... here.
766132720Skan	* testsuite/20_util/allocator/10378.cc: New.
767132720Skan	* docs/html/ext/howto.html: Add an entry for DR 402.
768132720Skan
769132720Skan2003-11-30  Paolo Carlini  <pcarlini@suse.de>
770132720Skan
771132720Skan	* config/locale/gnu/codecvt_members.cc (codecvt::do_in,
772132720Skan	codecvt::do_length): More minor tweaks.
773132720Skan
774132720Skan2003-11-30  Paolo Carlini  <pcarlini@suse.de>
775132720Skan
776132720Skan	* config/locale/gnu/codecvt_members.cc (codecvt::do_in):
777132720Skan	Minor stylistic tweak.
778132720Skan
779132720Skan2003-11-30  Paolo Carlini  <pcarlini@suse.de>
780132720Skan
781132720Skan	* include/bits/locale_facets.tcc (num_put::do_put(..., bool)):
782132720Skan	Minor tweaks, consistent with the style used in other facets.
783132720Skan
784132720Skan2003-11-29  Paolo Carlini  <pcarlini@suse.de>
785132720Skan
786132720Skan	* include/bits/fstream.tcc (underflow): Minor tweaks in
787132720Skan	preparation for libstdc++/13217.
788132720Skan
789132720Skan2003-11-29  Paolo Carlini  <pcarlini@suse.de>
790132720Skan
791132720Skan	* testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc:
792132720Skan	Tweak for a few small problems (fix timings, use VERIFY..)
793132720Skan
794132720Skan2003-11-28  Paolo Carlini  <pcarlini@suse.de>
795132720Skan
796132720Skan	* testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc: Remove.
797132720Skan	* testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: New,
798132720Skan	the original third testcase for libstdc++/13171 belong here.
799132720Skan
800132720Skan2003-11-28  Paolo Carlini  <pcarlini@suse.de>
801132720Skan
802132720Skan	* testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc:
803132720Skan	Remove extraneous wchar_t lines.
804132720Skan	
805132720Skan2003-11-27  Paolo Carlini  <pcarlini@suse.de>
806132720Skan
807132720Skan	PR libstdc++/11544
808132720Skan	PR libstdc++/11603
809132720Skan	* include/bits/fstream.tcc (underflow): Throw ios_base::failure
810132720Skan	upon incomplete or invalid byte sequences in the file.
811132720Skan	* testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-1.cc: New.
812132720Skan	* testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-2.cc: New.
813132720Skan	* testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc: New.
814132720Skan
815132720Skan2003-11-27  Paolo Carlini  <pcarlini@suse.de>
816132720Skan
817132720Skan	* include/std/std_streambuf.h (__copy_streambufs): Remove
818132720Skan	the first, unused, basic_ios<> parameter.
819132720Skan	* src/streambuf-inst.cc: Likewise.
820132720Skan	* include/bits/streambuf.tcc: Likewise.
821132720Skan	* include/bits/istream.tcc (operator>>(__streambuf_type*)):
822132720Skan	Tweak accordingly the call.
823132720Skan	* include/bits/ostream.tcc (operator<<(__streambuf_type*)):
824132720Skan	Likewise.
825132720Skan
826132720Skan	* include/bits/streambuf.tcc (__copy_streambufs): Remove
827132720Skan	redundant try/catch.
828132720Skan
829132720Skan2003-11-26  Benjamin Kosnik  <bkoz@redhat.com>
830132720Skan
831132720Skan	PR libstdc++/9371
832132720Skan	PR libstdc++/9546
833132720Skan	PR libstdc++/10093
834132720Skan	PR libstdc++/10095
835132720Skan	* include/bits/basic_ios.h (basic_ios::setstate): Elide if goodbit.
836132720Skan	(basic_ios::_M_setstate): Consolidate common error handling code.
837132720Skan	* include/bits/basic_ios.tcc: Tweak.
838132720Skan	* include/bits/fstream.tcc: Tweak.
839132720Skan	* include/bits/istream.tcc: Use _M_setstate for common exception
840132720Skan	handling. Move setstate calls after catch. 
841132720Skan	(basic_istream::tellg): Check for exceptions thrown by streambuf
842132720Skan	virtual functions.
843132720Skan	(basic_istream::seekg): Same.
844132720Skan	* include/bits/ostream.tcc: Same, but for ostream.
845132720Skan	(basic_ostream::flush): Check for exceptions thrown by streambuf
846132720Skan	virtual functions.
847132720Skan	(basic_istream::tellp): Same.	
848132720Skan	(basic_istream::seekp): Same.
849132720Skan	* include/bits/locale_facets.tcc: Tweak.
850132720Skan	* include/bits/streambuf.tcc: Tweak.
851132720Skan	(__copy_streambufs): Propagate exceptions.
852132720Skan	* testsuite/testsuite_io.h (fail_streambuf): New.
853132720Skan	(fail_num_get): New.
854132720Skan	(fail_num_put): New.
855132720Skan	(facet_error): New.
856132720Skan	(underflow_error): New.
857132720Skan	(overflow_error): New.	
858132720Skan	(positioning_error): New.	
859132720Skan	* testsuite/27_io/basic_istream/exceptions/char/9561.cc: Tweak.
860132720Skan	* testsuite/27_io/basic_istream/extractors_arithmetic/char/
861132720Skan        exceptions_badbit_throw.cc, exceptions_failbit.cc,
862132720Skan        exceptions_failbit_throw.cc: New.
863132720Skan	* testsuite/27_io/basic_istream/extractors_other/char/
864132720Skan	error_failbit.cc, exceptions_badbit_throw.cc,
865132720Skan        exceptions_failbit_throw.cc, exceptions_null.cc: New.
866132720Skan	* testsuite/27_io/basic_istream/seekg/char/exceptions_badbit_throw.cc: 
867132720Skan	New.
868132720Skan	* testsuite/27_io/basic_istream/tellg/char/exceptions_badbit_throw.cc:
869132720Skan	New.
870132720Skan	* testsuite/27_io/basic_ostream/flush/char/exceptions_badbit_throw.cc:
871132720Skan	New.
872132720Skan	* testsuite/27_io/basic_ostream/inserters_arithmetic/char/
873132720Skan	exceptions_badbit_throw.cc, exceptions_failbit_throw.cc: New.
874132720Skan	* testsuite/27_io/basic_ostream/inserters_other/char/
875132720Skan	error_failbit.cc, exceptions_badbit_throw.cc,
876132720Skan        exceptions_failbit_throw.cc, exceptions_null.cc: New.
877132720Skan	* testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc: 
878132720Skan	New.
879132720Skan	* testsuite/27_io/basic_ostream/tellp/char/exceptions_badbit_throw.cc: 
880132720Skan	New.
881132720Skan
882132720Skan2003-11-26  Benjamin Kosnik  <bkoz@redhat.com>
883132720Skan
884132720Skan	PR libstdc++/12297
885132720Skan	* include/bits/istream.tcc
886132720Skan	(basic_istream::sentry::sentry): Set failbit and eofbit when eof.
887132720Skan	* testsuite/27_io/basic_istream/sentry/char/12297.cc: New.
888132720Skan	
889132720Skan2003-11-26  Paolo Carlini  <pcarlini@suse.de>
890132720Skan	    Petur Runolfsson  <peturr02@ru.is>
891132720Skan
892132720Skan	PR libstdc++/13171
893132720Skan	* include/bits/fstream.tcc (imbue): Relax the conditions under
894132720Skan	which the function succeeds: allow for two consecutive calls with
895132720Skan	the same name; state dependent encodings are ok even after open
896132720Skan	if at the beginning of the file; don't check seekoff return value
897132720Skan	(pipes, cin, cout, etc...)
898132720Skan	* testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: New.
899132720Skan	* testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: New.
900132720Skan	* testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc: New.
901132720Skan	* testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: New.
902132720Skan	* testsuite/27_io/basic_filebuf/imbue/char/2.cc: Tweak comment.
903132720Skan	* testsuite/27_io/basic_filebuf/imbue/char/3.cc: Likewise.
904132720Skan	* testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Tweak comment.
905132720Skan	* testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: Likewise.
906132720Skan
907132720Skan	* testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: More
908132720Skan	correctly use the UTF-8 locale appearing in the PR.
909132720Skan
910132720Skan2003-11-26  Paolo Carlini  <pcarlini@suse.de>
911132720Skan
912132720Skan	* include/bits/locale_facets.h
913132720Skan	(__numpunct_cache<>::_M_cache): Avoid zeroing _M_grouping,
914132720Skan	_M_truename and _M_falsename: the constructor always does
915132720Skan	it immediately before the _M_cache call.
916132720Skan
917132720Skan2003-11-25  Paolo Carlini  <pcarlini@suse.de>
918132720Skan
919132720Skan	* config/locale/gnu/codecvt_members.cc (codecvt::do_length):
920132720Skan	Rewrite, using both mbsnrtowcs and mbrtowc in a loop: the
921132720Skan	former is very fast, but stops if encounters a NUL.
922132720Skan	(codecvt::do_out): Tweaks.
923132720Skan	(codecvt::do_in): Tweaks, improve the code dealing with errors.
924132720Skan	* testsuite/performance/wchar_t_length.cc: New.
925132720Skan
926132720Skan2003-11-24  Paolo Carlini  <pcarlini@suse.de>
927132720Skan
928132720Skan	* config/locale/gnu/codecvt_members.cc (codecvt::do_in):
929132720Skan	Rewrite, using both mbsnrtowcs and mbrtowc in a loop: the
930132720Skan	former is very fast, but stops if encounters a NUL.
931132720Skan	(codecvt::do_out): Tweak.
932132720Skan	* testsuite/performance/wchar_t_in.cc: New.
933132720Skan
934132720Skan2003-11-24  Paolo Carlini  <pcarlini@suse.de>
935132720Skan
936132720Skan	* include/bits/locale_facets.h
937132720Skan	(__numpunct_cache<>::_M_cache): Set _M_allocated at the beginning
938132720Skan	in order to avoid memory leaks; simplify a bit.
939132720Skan
940132720Skan2003-11-24  Benjamin Kosnik  <bkoz@redhat.com>
941132720Skan	
942132720Skan	* include/bits/streambuf_iterator.h (ostreambuf_iterator): Remove
943132720Skan	non-standard throw specs.
944132720Skan	* testsuite/24_iterators/istreambuf_iterator.cc: Split into...
945132720Skan	* testsuite/24_iterators/istreambuf_iterator/1.cc
946132720Skan	* testsuite/24_iterators/istreambuf_iterator/2.cc
947132720Skan	* testsuite/24_iterators/istreambuf_iterator/2627.cc
948132720Skan	* testsuite/24_iterators/ostreambuf_iterator.cc: Split into...
949132720Skan	* testsuite/24_iterators/ostreambuf_iterator/1.cc
950132720Skan	* testsuite/24_iterators/ostreambuf_iterator/2.cc
951132720Skan
952132720Skan	* testsuite/24_iterators/reverse_iterator/1.cc: Just compile,
953132720Skan	don't link.
954132720Skan	
955132720Skan	* include/bits/allocator.h: Formatting tweak.
956132720Skan	
957132720Skan2003-11-24  Paolo Carlini  <pcarlini@suse.de>
958132720Skan
959132720Skan	* src/locale_init.cc: Cosmetic reformatting.
960132720Skan
961132720Skan2003-11-23  Paolo Carlini  <pcarlini@suse.de>
962132720Skan
963132720Skan	* include/bits/locale_facets.tcc (__add_grouping):
964132720Skan	Cosmetic reformatting.
965132720Skan
966132720Skan2003-11-23  Paolo Carlini  <pcarlini@suse.de>
967132720Skan
968132720Skan	* include/bits/locale_facets.tcc (_M_extract_float,
969132720Skan	_M_extract_int): Remove a wrong comment and simplify
970132720Skan	the corresponding code using char_traits::find().
971132720Skan
972132720Skan2003-11-22  Paolo Carlini  <pcarlini@suse.de>
973132720Skan
974132720Skan	* config/locale/gnu/monetary_members.cc
975132720Skan	(money_base::_S_construct_pattern): Factor out two assignments.
976132720Skan
977132720Skan2003-11-22  Paolo Carlini  <pcarlini@suse.de>
978132720Skan
979132720Skan	* include/bits/istream.tcc (getline(basic_string<>&)):
980132720Skan        Fix error in comment of the previous commit.
981132720Skan
982132720Skan2003-11-22  Paolo Carlini  <pcarlini@suse.de>
983132720Skan
984132720Skan	PR libstdc++/12593
985132720Skan	* include/bits/istream.tcc (operator>>(basic_string<>&),
986132720Skan	getline(basic_string<>&)): Implement resolution of DR 91 [WP];
987132720Skan	fix some minor issues with the exit conditions.
988132720Skan	* docs/html/ext/howto.html: Add an entry for DR 91.
989132720Skan
990132720Skan2003-11-21  Paolo Carlini  <pcarlini@suse.de>
991132720Skan
992132720Skan	* config/locale/gnu/monetary_members.cc
993132720Skan	(money_base::_S_construct_pattern): Factor out an assignment.
994132720Skan
995132720Skan2003-11-21  Paolo Carlini  <pcarlini@suse.de>
996132720Skan
997132720Skan	PR libstdc++/12882 (partial)
998132720Skan	* acinclude.m4 (GLIBCXX_CHECK_LFS): Check fseeko64
999132720Skan	and ftello64 too.
1000132720Skan	* include/ext/stdio_sync_filebuf.h (seekoff): Use fseeko64
1001132720Skan	and ftello64 if available.
1002132720Skan	* aclocal.m4: Regenerate.
1003132720Skan	* configure: Ditto.
1004132720Skan
1005132720Skan2003-11-20  Benjamin Kosnik  <bkoz@redhat.com>
1006132720Skan
1007132720Skan	* include/debug/formatter.h: Use _Tp as template argument.
1008132720Skan	* src/debug.cc: Same, instantiate std::size_t.
1009132720Skan	
1010132720Skan2003-11-20  Benjamin Kosnik  <bkoz@redhat.com>
1011132720Skan
1012132720Skan	PR libstdc++/13109
1013132720Skan	* include/debug/formatter.h (_Error_formatter::_M_format_word): New.
1014132720Skan	* src/debug.cc (__gnu_debug): Format. 
1015132720Skan	(_Error_formatter::_M_format_word): Define, use, instantiate.
1016132720Skan
1017132720Skan2003-11-20  Paolo Carlini  <pcarlini@suse.de>
1018132720Skan
1019132720Skan	PR libstdc++/11602
1020132720Skan	* config/locale/gnu/codecvt_members.cc (codecvt::do_out):
1021132720Skan	Rewrite, using both wcsnrtombs and wcrtomb in a loop: the
1022132720Skan	former is very fast, but stops if encounters a NUL.
1023132720Skan	* testsuite/performance/wchar_t_out.cc: New, from the PR.
1024132720Skan
1025132720Skan2003-11-19  Paolo Carlini  <pcarlini@suse.de>
1026132720Skan
1027132720Skan	* config/locale/gnu/codecvt_members.cc (do_out): If
1028132720Skan	we can upper bound the total number of external chars
1029132720Skan	to something smaller than __to_end - __to, avoid the
1030132720Skan	temporary buffer, the memcopy and simplify the loop.
1031132720Skan	* config/locale/generic/codecvt_members.cc (do_out):
1032132720Skan	Likewise.
1033132720Skan
1034132720Skan2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>
1035132720Skan
1036132720Skan	* testsuite/lib/libstdc++.exp: Add DYLD_LIBRARY_PATH for darwin.
1037132720Skan	* testsuite/libstdc++-dg/normal.exp: Add -multiply_defined suppress
1038132720Skan	flag.
1039132720Skan
1040132720Skan2003-11-18  Jonathan Wakely  <redi@gcc.gnu.org>
1041132720Skan
1042132720Skan	* docs/html/configopts.html, docs/html/debug.html,
1043132720Skan	docs/html/documentation.html, docs/html/explanations.html,
1044132720Skan	docs/html/install.html, docs/html/17_intro/contribute.html,
1045132720Skan	docs/html/17_intro/howto.html, docs/html/17_intro/license.html,
1046132720Skan	docs/html/18_support/howto.html, docs/html/19_diagnostics/howto.html,
1047132720Skan	docs/html/20_util/howto.html, docs/html/21_strings/howto.html,
1048132720Skan	docs/html/22_locale/codecvt.html, docs/html/22_locale/ctype.html,
1049132720Skan	docs/html/22_locale/howto.html, docs/html/22_locale/locale.html,
1050132720Skan	docs/html/22_locale/messages.html, docs/html/23_containers/howto.html,
1051132720Skan	docs/html/24_iterators/howto.html, docs/html/25_algorithms/howto.html,
1052132720Skan	docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
1053132720Skan	docs/html/ext/howto.html, docs/html/ext/sgiexts.html: Add <link> tags.
1054132720Skan
1055132720Skan2003-11-18  Paolo Carlini  <pcarlini@suse.de>
1056132720Skan
1057132720Skan	PR libstdc++/12868
1058132720Skan	* include/bits/fstream.tcc (imbue): For encodings != -1 it's
1059132720Skan	always ok to imbue a new locale, provided seekoff(0, cur, ...)
1060132720Skan	doesn't fail, of course.
1061132720Skan	(underflow): In order for the above to work, deal gracefully
1062132720Skan	with _M_codecvt->in returning codecvt_base::error while 
1063132720Skan	(__ilen = __iend - this->eback()) > 0: it just means __ilen
1064132720Skan	correctly converted internal characters before an error.	
1065132720Skan	* testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: New.
1066132720Skan
1067132720Skan2003-11-17  Paolo Carlini  <pcarlini@suse.de>
1068132720Skan
1069132720Skan	* include/bits/locale_facets.tcc: Fix typo in comment.
1070132720Skan
1071132720Skan2003-11-17  Paolo Carlini  <pcarlini@suse.de>
1072132720Skan
1073132720Skan	* testsuite/22_locale/num_put/put/char/8.cc: New test,
1074132720Skan	summarizing the discussion ensuing libstdc++/12988.
1075132720Skan	* testsuite/22_locale/num_put/put/wchar_t/8.cc: Ditto.
1076132720Skan
1077132720Skan2003-11-15  Paolo Carlini  <pcarlini@suse.de>
1078132720Skan
1079132720Skan	* include/std/std_fstream.h: Tweak a comment.
1080132720Skan
1081132720Skan2003-11-15  Roger Sayle  <roger@eyesopen.com>
1082132720Skan
1083132720Skan	* include/c_std/std_cmath.h: Don't import C99's float transcendentals
1084132720Skan	into the __gnu_cxx::__c99_binding namespace.
1085132720Skan	(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
1086132720Skan	ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
1087132720Skan	GCC's math builtins, i.e. __builtin_foo.
1088132720Skan	* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
1089132720Skan	ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
1090132720Skan	ldexpf, ldexpl, modff, modfl): Provide stub implementations.
1091132720Skan
1092132720Skan2003-11-14  Paolo Carlini  <pcarlini@suse.de>
1093132720Skan
1094132720Skan	* testsuite/22_locale/locale/cons/12352.cc: Use
1095132720Skan	__gnu_test::try_named_locale.
1096132720Skan
1097132720Skan2003-11-14  Paolo Carlini  <pcarlini@suse.de>
1098132720Skan
1099132720Skan	* docs/html/ext/howto.html: Add entries for DR 63, 75
1100132720Skan	and 305; tweak entries for DR 60 and 328.
1101132720Skan
1102132720Skan2003-11-13  Douglas Gregor  <gregod@cs.rpi.edu>
1103132720Skan
1104132720Skan	* docs/html/debug.html: Users are allowed to specialize in
1105132720Skan	namespace __gnu_debug, unlike in the Apple version of the debug
1106132720Skan	mode. Clear up a confusing double-negative. Note that
1107132720Skan	std::basic_string does provide extra debugging capabilities, but
1108132720Skan	not safe iterators.
1109132720Skan	* include/bits/basic_string.tcc: Make sure there's never an
1110132720Skan	ambiguity when calling __is_null_pointer. 
1111132720Skan	* include/debug/deque: (deque::erase) Properly handle invalidation
1112132720Skan	when erasing at the end of the deque.
1113132720Skan	* include/debug/vector: (vector::swap): Swap _M_guaranteed_capacity. 
1114132720Skan	(vector::clear): Set the guaranteed capacity to 0.
1115132720Skan	* testsuite/23_containers/deque/invalidation/4.cc: (test04): Test
1116132720Skan	iterator invalidation when erasing at the end of the deque.
1117132720Skan
1118132720Skan2003-11-13  Paolo Carlini  <pcarlini@suse.de>
1119132720Skan	    Petur Runolfsson  <peturr02@ru.is>
1120132720Skan
1121132720Skan	PR libstdc++/13007
1122132720Skan	* include/bits/fstream.tcc (imbue): Don't touch the stored
1123132720Skan	locale.
1124132720Skan	* include/std/std_streambuf.h (imbue): According to the
1125132720Skan	standard, base class version does nothing.
1126132720Skan	(pubimbue): Store the locale.
1127132720Skan	* testsuite/27_io/basic_filebuf/imbue/char/13007.cc: New.
1128132720Skan	* testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: New.
1129132720Skan	* testsuite/27_io/basic_filebuf/imbue/char/2.cc: Tweak.
1130132720Skan	* testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.
1131132720Skan	* testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: New.
1132132720Skan	* testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: New.
1133132720Skan	* testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: New.
1134132720Skan	* testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: New.
1135132720Skan
1136132720Skan2003-11-13  Petur Runolfsson  <peturr02@ru.is>
1137132720Skan
1138132720Skan	PR libstdc++/12594
1139132720Skan	* include/bits/ostream.tcc
1140132720Skan	(basic_ostream::operator<<(basic_ostream& (*)(basic_ostream&)),
1141132720Skan	basic_ostream::operator<<(basic_ios& (*)(basic_ios&)),
1142132720Skan	basic_ostream::operator<<(ios_base& (*)(ios_base&))):
1143132720Skan	Implement the resolution of DR 60 (TC): These are not formatted
1144132720Skan	output functions so don't construct sentry objects and don't
1145132720Skan	catch exceptions.
1146132720Skan	(basic_ostream::put, basic_ostream::write): Implement the
1147132720Skan	resolution of DR 63 (TC) by catching exceptions and setting
1148132720Skan	badbit.
1149132720Skan	(basic_ostream::flush): Implement the resolution of DR 60 (TC):
1150132720Skan	This is not an unformatted output function so don't construct
1151132720Skan	a sentry object.
1152132720Skan	* testsuite/testsuite_io.h (sync_streambuf): Define.
1153132720Skan	* testsuite/27_io/basic_ostream/flush/char/2.cc: New test.
1154132720Skan	* testsuite/27_io/basic_ostream/inserters_other/char/5.cc: New test.
1155132720Skan	* testsuite/27_io/basic_ostream/put/char/1.cc: New test.
1156132720Skan	* testsuite/27_io/basic_ostream/write/char/1.cc: New test.
1157132720Skan	
1158132720Skan2003-11-13  Paolo Carlini  <pcarlini@suse.de>
1159132720Skan
1160132720Skan	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1:
1161132720Skan	Fix, closely following the testcase included in the PR.
1162132720Skan	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: Ditto.
1163132720Skan	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: Ditto.
1164132720Skan	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: Ditto.
1165132720Skan
1166132720Skan2003-11-13  Jonathan Wakely <redi@gcc.gnu.org>
1167132720Skan
1168132720Skan	* docs/html/17_intro/configury.html: XHTML tweak.
1169132720Skan
1170132720Skan2003-11-13  Jonathan Wakely <redi@gcc.gnu.org>
1171132720Skan
1172132720Skan	* docs/html/debug_mode.html: XHTML fixes.
1173132720Skan
1174132720Skan2003-11-12  Benjamin Kosnik  <bkoz@redhat.com>
1175132720Skan
1176132720Skan	* docs/html/debug_mode.html: Update.
1177132720Skan	* docs/html/17_intro/TODO: Update.
1178132720Skan
1179132720Skan2003-11-12  Benjamin Kosnik  <bkoz@redhat.com>
1180132720Skan
1181132720Skan	* include/bits/c++config: Move using directive...
1182132720Skan	* include/debug/formatter.h: ...here.
1183132720Skan
1184132720Skan2003-11-12  Carlo Wood  <carlo@alinoe.com>
1185132720Skan
1186132720Skan        PR libstdc++/12947
1187132720Skan	* bits/demangle.h
1188132720Skan	(_GLIBCXX_DEMANGLER_STYLE_COMPACT_EXPR_OPS): Added.
1189132720Skan	(_GLIBCXX_DEMANGLER_STYLE_SIZEOF_TYPENAME): Added.
1190132720Skan	(session<Allocator>::next_peek() const): Added.
1191132720Skan	(decode_non_negative_decimal_integer(string_type&)):
1192132720Skan	Renamed from decode_decimal_integer(string_type&).
1193132720Skan	(session<Allocator>::decode_nested_name):
1194132720Skan	Decode <template_param> as well.
1195132720Skan	(session<Allocator>::add_substitution):
1196132720Skan	Handle <template-param> for <nested-name>'s.
1197132720Skan	(enum xary_nt): Added.
1198132720Skan	(struct entry_st): Added member `xary_nt type' instead of `bool unary'.
1199132720Skan	(symbol_name_table_c): Updated for `entry_st::type' and additional
1200132720Skan	operators (unary `operator+' and `sizeof(type)').
1201132720Skan	(offset_table_c): Updated for new operators (causing a new hash map).
1202132720Skan	(decode_operator_name): Match the updated hash map.
1203132720Skan	(session<Allocator>::decode_expression):
1204132720Skan	Support for `sizeof ([typename] type)' (st),
1205132720Skan	dependent names (sr) and casting operator (cv).  Handle
1206132720Skan	`entry_st::type'.  Handle _GLIBCXX_DEMANGLER_STYLE_COMPACT_EXPR_OPS
1207132720Skan	and _GLIBCXX_DEMANGLER_STYLE_SIZEOF_TYPENAME.
1208132720Skan	(session<Allocator>::decode_type_with_postfix):
1209132720Skan	Support `extern "C"' function types (FY).
1210132720Skan	* testsuite/demangle/regression/cw-16.cc: Added tests for the
1211132720Skan	added functionality.
1212132720Skan	* testsuite/demangle/regression/3111-2.cc: sizeof now has a space
1213132720Skan	appended.
1214132720Skan
1215132720Skan2003-11-11  Paolo Carlini  <pcarlini@suse.de>
1216132720Skan
1217132720Skan	PR libstdc++/12875
1218132720Skan	* include/bits/fstream.tcc (setbuf): Don't do anything
1219132720Skan	after open(), in particular don't discard data.
1220132720Skan	(_M_allocate_internal_buffer): Tweak to not allocate memory
1221132720Skan	in case the buffer is provided by the user via setbuf.
1222132720Skan	* include/ext/stdio_filebuf.h: Tweak comment.
1223132720Skan	* testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc: New.
1224132720Skan	* testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc: Likewise.
1225132720Skan	* testsuite/27_io/basic_filebuf/setbuf/char/2.cc: Tweak, now
1226132720Skan	setbuf does nothing after open().
1227132720Skan	* testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Likewise.
1228132720Skan
1229132720Skan2003-11-11  Doug Gregor  <gregod@cs.rpi.edu>
1230132720Skan
1231132720Skan	* docs/html/debug.html: Document libstdc++ debug mode.
1232132720Skan	* docs/html/debug_mode.html: Document libstdc++ debug mode design.
1233132720Skan	* docs/html/test.html: Document how to test under debug mode.
1234132720Skan	* docs/html/17_intro/howto.html: Document debug-mode macros.
1235132720Skan	* include/Makefile.am: Install debug-mode headers.
1236132720Skan	* src/Makefile.am: Include debug.cc.
1237132720Skan	* include/bits/basic_string.tcc: 
1238132720Skan	  (basic_string::_S_construct): Fix NULL pointer check.
1239132720Skan	  (__is_null_pointer): New.
1240132720Skan	  Add precondition annotations.
1241132720Skan	* include/bits/stream_iterator.h (istream_iterator,
1242132720Skan	ostream_iterator): Added precondition annotations.
1243132720Skan	* include/bits/streambuf_iterator.h (istreambuf_iterator): Ditto.
1244132720Skan	* include/bits/stl_queue.h (queue, priority_queue): Ditto.
1245132720Skan	* include/bits/stl_stack.h (stack): Ditto.
1246132720Skan	* include/bits/basic_string.h (basic_string): Ditto.
1247132720Skan	* include/bits/basic_string.tcc (basic_string): Ditto.
1248132720Skan	* include/std/std_memory.h (auto_ptr): Ditto.
1249132720Skan	* include/std/std_valarray.h (valarray): Ditto.
1250132720Skan	* include/bits/stl_algo.h: Added algorithm precondition
1251132720Skan	annotations.
1252132720Skan	* include/bits/stl_algobase.h: Added algorithm precondition
1253132720Skan	annotations.
1254132720Skan	* include/bits/stl_numeric.h: Ditto.
1255132720Skan	* include/ext/algorithm: Added algorithm precondition
1256132720Skan	annotations. 
1257132720Skan	(__is_heap): Moved away from here.
1258132720Skan	* include/bits/stl_heap.h: Added algorithm precondition
1259132720Skan	annotations. 
1260132720Skan	(__is_heap): Moved to the top of this file.
1261132720Skan	(__is_heap): Added iterator range overloads.
1262132720Skan	* testsuite/20_util/auto_ptr_neg.cc: Fix line numbers to match up
1263132720Skan	with changes in std_memory.h.
1264132720Skan	* testsuite/23_containers/list/operators/4.cc: Don't verify
1265132720Skan	performance guarantees when in debug mode.
1266132720Skan	* testsuite/23_containers/bitset/invalidation/1.cc: New.
1267132720Skan	* testsuite/23_containers/deque/invalidation/1.cc: New.
1268132720Skan	* testsuite/23_containers/deque/invalidation/2.cc: New.
1269132720Skan	* testsuite/23_containers/deque/invalidation/3.cc: New.
1270132720Skan	* testsuite/23_containers/deque/invalidation/4.cc: New.
1271132720Skan	* testsuite/23_containers/list/invalidation/1.cc: New.
1272132720Skan	* testsuite/23_containers/list/invalidation/2.cc: New.
1273132720Skan	* testsuite/23_containers/list/invalidation/3.cc: New.
1274132720Skan	* testsuite/23_containers/list/invalidation/4.cc: New.
1275132720Skan	* testsuite/23_containers/map/invalidation/1.cc: New.
1276132720Skan	* testsuite/23_containers/map/invalidation/2.cc: New.
1277132720Skan	* testsuite/23_containers/multimap/invalidation/1.cc: New.
1278132720Skan	* testsuite/23_containers/multimap/invalidation/2.cc: New.
1279132720Skan	* testsuite/23_containers/multiset/invalidation/1.cc: New.
1280132720Skan	* testsuite/23_containers/multiset/invalidation/2.cc: New.
1281132720Skan	* testsuite/23_containers/set/invalidation/1.cc: New.
1282132720Skan	* testsuite/23_containers/set/invalidation/2.cc: New.
1283132720Skan	* testsuite/23_containers/vector/invalidation/1.cc: New.
1284132720Skan	* testsuite/23_containers/vector/invalidation/2.cc: New.
1285132720Skan	* testsuite/23_containers/vector/invalidation/3.cc: New.
1286132720Skan	* testsuite/23_containers/vector/invalidation/4.cc: New.
1287132720Skan	* testsuite/25_algorithms/heap.cc: Don't verify
1288132720Skan	performance guarantees when in debug mode.
1289132720Skan	* include/debug/bitset: New.
1290132720Skan	* include/debug/debug.h: New.
1291132720Skan	* include/debug/deque: New.
1292132720Skan	* include/debug/formatter.h: New.
1293132720Skan	* include/debug/hash_map: New.
1294132720Skan	* include/debug/hash_map.h: New.	
1295132720Skan	* include/debug/hash_multimap.h: New.
1296132720Skan	* include/debug/hash_set: New.
1297132720Skan	* include/debug/hash_set.h: New.
1298132720Skan	* include/debug/hash_multiset.h: New.	
1299132720Skan	* include/debug/list: New.
1300132720Skan	* include/debug/map: New.
1301132720Skan	* include/debug/map.h: New.
1302132720Skan	* include/debug/multimap.h: New.
1303132720Skan	* include/debug/multiset.h: New.	
1304132720Skan	* include/debug/safe_base.h: New.
1305132720Skan	* include/debug/safe_iterator.h: New.
1306132720Skan	* include/debug/safe_iterator.tcc: New.
1307132720Skan	* include/debug/safe_sequence.h: New.
1308132720Skan	* include/debug/set: New.
1309132720Skan	* include/debug/set.h: New.	
1310132720Skan	* include/debug/string: New.
1311132720Skan	* include/debug/vector: New.
1312132720Skan	* src/debug.cc: New.
1313132720Skan	* config/linker-map.gnu: Add debug mode symbols.
1314132720Skan	
1315132720Skan2003-11-11  Benjamin Kosnik  <bkoz@redhat.com>
1316132720Skan
1317132720Skan	* src/string-inst.cc: Tweak namespaces.
1318132720Skan	* src/misc-inst.cc: Same.
1319132720Skan	* docs/html/debug.html: Edits.
1320132720Skan	* config/link-map.gnu: Remove cruft.
1321132720Skan
1322132720Skan	* include/bits/c++config: Add in namespace associations.
1323132720Skan	* include/std/std_bitset.h: Adjust namespace to __gnu_norm,
1324132720Skan	comment tweaks.
1325132720Skan	* include/bits/deque.tcc: Same.
1326132720Skan	* include/bits/list.tcc: Same.
1327132720Skan	* include/bits/stl_bvector.h: Same.
1328132720Skan	* include/bits/stl_deque.h: Same.
1329132720Skan	* include/bits/stl_list.h: Same.
1330132720Skan	* include/bits/stl_map.h: Same.
1331132720Skan	* include/bits/stl_multimap.h: Same.
1332132720Skan	* include/bits/stl_multiset.h: Same.
1333132720Skan	* include/bits/stl_set.h: Same.
1334132720Skan	* include/bits/stl_vector.h: Same.
1335132720Skan	* include/bits/vector.tcc: Same.
1336132720Skan
1337132720Skan	* include/std/std_algorithm.h: Remove markup comments.
1338132720Skan	* include/std/std_functional.h: Same.
1339132720Skan	* include/std/std_iterator.h: Same.
1340132720Skan	* include/std/std_numeric.h: Same.
1341132720Skan	* include/std/std_utility.h: Same.
1342132720Skan	* include/bits/stl_queue.h: Formatting tweaks.
1343132720Skan	* include/bits/stl_stack.h: Same.
1344132720Skan	* include/std/std_deque.h: Include debugging version in debug mode.
1345132720Skan	* include/std/std_list.h: Same.
1346132720Skan	* include/std/std_map.h: Same.
1347132720Skan	* include/std/std_set.h: Same.
1348132720Skan	* include/std/std_vector.h: Same.	
1349132720Skan	* include/std/std_queue.h: Use deque, vector.
1350132720Skan	* include/std/std_stack.h: Same.
1351132720Skan
1352132720Skan2003-11-09  Paolo Carlini  <pcarlini@suse.de>
1353132720Skan
1354132720Skan	* include/bits/locale_facets.tcc (_M_insert_int,
1355132720Skan	_M_insert_float): Move a couple of vars inside an if block.
1356132720Skan
1357132720Skan2003-11-09  Paolo Carlini  <pcarlini@suse.de>
1358132720Skan
1359132720Skan	PR libstdc++/12971
1360132720Skan	* include/bits/locale_facets.tcc
1361132720Skan	(money_put::do_put(..., long double)): Fix conversion
1362132720Skan	specification as per DR 328 [WP].
1363132720Skan	* testsuite/22_locale/money_put/put/char/12971.cc: Add.
1364132720Skan	* testsuite/22_locale/money_put/put/wchar_t/12971.cc: Ditto.
1365132720Skan	* docs/html/ext/howto.html: Add entry for DR 328.
1366132720Skan
1367132720Skan2003-11-08  Paolo Carlini  <pcarlini@suse.de>
1368132720Skan
1369132720Skan	PR libstdc++/12967
1370132720Skan	* include/bits/list.tcc (merge): Implement resolution of
1371132720Skan	DR 300 [WP].
1372132720Skan	* docs/html/ext/howto.html: Add entry for DR 300; tweak entry
1373132720Skan	for DR 231.
1374132720Skan
1375132720Skan	* docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
1376132720Skan	Import R27.
1377132720Skan
1378132720Skan2003-11-07  Jonathan Wakely  <redi@gcc.gnu.org>
1379132720Skan
1380132720Skan	* libsupc++/vec.cc: Conform to C++STYLE.
1381132720Skan
1382132720Skan2003-11-07  Carlo Wood  <carlo@alinoe.com>
1383132720Skan
1384132720Skan	PR libstdc++/12736
1385132720Skan	* bits/demangle.h (qualifier_list<Allocator>::decode_KVrA): Added.
1386132720Skan	(qualifier_list<Allocator>::decode_qualifiers): Collect concatenated
1387132720Skan	K, V, r and A qualifiers before processing them as a group.
1388132720Skan	* testsuite/demangle/abi_text/01.cc: Reordered CV-qualifiers.
1389132720Skan	* testsuite/demangle/regression/cw-16.cc: New.
1390132720Skan
1391132720Skan2003-11-07  Robert Millan  <robertmh@gnu.org>
1392132720Skan
1393132720Skan	* configure.host: Add kfreebsd*-gnu and knetbsd*-gnu.
1394132720Skan	* crossconfig.m4: Likewise.
1395132720Skan	* configure: Regenerate.
1396132720Skan
1397132720Skan2003-11-07  Carlo Wood  <carlo@alinoe.com>
1398132720Skan
1399132720Skan	* include/bits/demangle.h
1400132720Skan	(qualifier_list<Allocator>::decode_qualifiers(string_type&,
1401132720Skan	string_type&, bool member_function_pointer_qualifiers):
1402132720Skan	Always separate the '[' of an array type with a space from
1403132720Skan	what is left of it, except when that is the closing bracket
1404132720Skan	of another array dimension.
1405132720Skan
1406132720Skan2003-11-07  Carlo Wood  <carlo@alinoe.com>
1407132720Skan
1408132720Skan	* include/bits/demangle.h
1409132720Skan	(qualifier_list<Allocator>::decode_qualifiers(string_type&,
1410132720Skan	string_type&, bool) const): Made const.
1411132720Skan	(qualifier_list<Allocator>::M_printing_suppressed): Added mutable.
1412132720Skan	(_GLIBCXX_DEMANGLER_DOUT_ENTERING3, _GLIBCXX_DEMANGLER_RETURN3,
1413132720Skan	std::ostream& operator<<(std::ostream&, qualifier const&),
1414132720Skan	std::ostream& operator<<(std::ostream&, qualifier_list const&),
1415132720Skan	qualifier_list<Allocator>::decode_qualifiers(string_type&,
1416132720Skan	string_type&, bool) const,
1417132720Skan	session<Allocator>::decode_type_with_postfix(string_type&,
1418132720Skan	string_type&, qualifier_list<Allocator>*))
1419132720Skan	Added and/or changed debug-only hooks and code.
1420132720Skan
1421132720Skan2003-11-04  Jeffrey D. Oldham  <oldham@codesourcery.com>
1422132720Skan
1423132720Skan	* libsupc++/vec.cc (__cxa_vec_delete2): If given a NULL pointer,
1424132720Skan	immediately return.  This reflects a C++ ABI change 2003 Nov 03.
1425132720Skan	(__cxa_vec_delete3): Likewise.
1426132720Skan	
1427132720Skan2003-11-03  Petur Runolfsson  <peturr02@ru.is>
1428132720Skan
1429132720Skan	PR libstdc++/12790
1430132720Skan	* include/bits/fstream.tcc: Delete _M_last_overflowed.
1431132720Skan	(basic_filebuf::basic_filebuf): Initialize _M_state_last.
1432132720Skan	(basic_filebuf::open, basic_filebuf::close): Assign
1433132720Skan	_M_state_beg to _M_state_cur and _M_state_last.
1434132720Skan	(basic_filebuf::close): Call _M_terminate_output to handle
1435132720Skan	unshift and flushing.
1436132720Skan	(basic_filebuf::underflow): Assign _M_state_last, throw
1437132720Skan	exception instead of calling abort when codecvt::max_length()
1438132720Skan	is bad.
1439132720Skan	(basic_filebuf::seekoff): Use _M_state_last when calling
1440132720Skan	codecvt::length(), pass correct state to _M_seek.
1441132720Skan	(basic_filebuf::seekpos): Pass __pos.state() to _M_seek.
1442132720Skan	(basic_filebuf::_M_seek): Add __state_type parameter,
1443132720Skan	set _M_state_cur correctly, store the resulting state in
1444132720Skan	the return value and use _M_terminate_output to handle
1445132720Skan	flushing and unshift.
1446132720Skan	(basic_filebuf::_M_terminate_output): Flush contents of
1447132720Skan	output buffer, if any, then call codecvt::unshift as
1448132720Skan	needed and output the result.
1449132720Skan	(basic_filebuf::sync): Move here, don't modify _M_writing
1450132720Skan	or _M_reading.
1451132720Skan	
1452132720Skan	* include/std/std_fstream.h
1453132720Skan	(basic_filebuf::_M_state_last): Declare it.
1454132720Skan	(basic_filebuf::_M_last_overflowed): Delete.
1455132720Skan	(basic_filebuf::_M_seek): Add __state_type parameter.
1456132720Skan	(basic_filebuf::sync): Declare only.
1457132720Skan	(basic_filebuf::_M_output_unshift): Delete.
1458132720Skan	(basic_filebuf::_M_terminate_output): Declare it.
1459132720Skan	
1460132720Skan	* testsuite/testsuite_character.h:
1461132720Skan	Define character class and state class plus char_traits and
1462132720Skan	codecvt specializations for same for testing support for
1463132720Skan	stateful encodings.
1464132720Skan	
1465132720Skan	* testsuite/27_io/basic_filebuf/close/12790-1.cc,
1466132720Skan	* testsuite/27_io/basic_filebuf/close/char/12790-1.cc,
1467132720Skan	* testsuite/27_io/basic_filebuf/close/char/12790-2.cc,
1468132720Skan	* testsuite/27_io/basic_filebuf/close/char/12790-3.cc,
1469132720Skan	* testsuite/27_io/basic_filebuf/close/char/12790-4.cc,
1470132720Skan	* testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc,
1471132720Skan	* testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc,
1472132720Skan	* testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc,
1473132720Skan	* testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc,
1474132720Skan	* testsuite/27_io/basic_filebuf/open/12790-1.cc,
1475132720Skan	* testsuite/27_io/basic_filebuf/seekoff/12790-1.cc,
1476132720Skan	* testsuite/27_io/basic_filebuf/seekoff/12790-2.cc,
1477132720Skan	* testsuite/27_io/basic_filebuf/seekoff/12790-3.cc,
1478132720Skan	* testsuite/27_io/basic_filebuf/seekoff/12790-4.cc,
1479132720Skan	* testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc,
1480132720Skan	* testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc,
1481132720Skan	* testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc,
1482132720Skan	* testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc,
1483132720Skan	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc,
1484132720Skan	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc,
1485132720Skan	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc,
1486132720Skan	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc,
1487132720Skan	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc,
1488132720Skan	* testsuite/27_io/basic_filebuf/seekpos/12790-1.cc,
1489132720Skan	* testsuite/27_io/basic_filebuf/seekpos/12790-2.cc,
1490132720Skan	* testsuite/27_io/basic_filebuf/seekpos/12790-3.cc,
1491132720Skan	* testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc,
1492132720Skan	* testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc,
1493132720Skan	* testsuite/27_io/basic_filebuf/seekpos/char/12790-3.cc,
1494132720Skan	* testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc,
1495132720Skan	* testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc,
1496132720Skan	* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc,
1497132720Skan	* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc,
1498132720Skan	* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-3.cc,
1499132720Skan	* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc,
1500132720Skan	* testsuite/27_io/basic_filebuf/sync/char/1.cc,
1501132720Skan	* testsuite/27_io/basic_filebuf/sync/wchar_t/1.cc:
1502132720Skan	New tests.
1503132720Skan
1504132720Skan	* testsuite/27_io/basic_filebuf/3.cc,
1505132720Skan	* testsuite/27_io/basic_filebuf/seekoff/10132-2.cc,
1506132720Skan	* testsuite/27_io/basic_filebuf/seekpos/10132-3.cc,
1507132720Skan	* testsuite/27_io/basic_fstream/3.cc,
1508132720Skan	* testsuite/27_io/basic_ifstream/3.cc,
1509132720Skan	* testsuite/27_io/basic_ofstream/3.cc:
1510132720Skan	Use streamoff as off_type and fpos<state_type> as pos_type.
1511132720Skan
1512132720Skan	* testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc,
1513132720Skan	* testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc:
1514132720Skan	Check that sync does *not* set _M_writing to false.
1515132720Skan
1516132720Skan2003-11-03  Anthony Green  <green@redhat.com>
1517132720Skan
1518132720Skan	* libmath/stubs.c (sqrtf, sqrtl): Reorder so they appear before
1519132720Skan	they're used.
1520132720Skan
1521132720Skan2003-11-03  Benjamin Kosnik  <bkoz@redhat.com>
1522132720Skan
1523132720Skan	* include/bits/locale_facets.h (time_get::_M_extract_name): Add
1524132720Skan	ctype argument.	
1525132720Skan	* include/bits/locale_facets.tcc: Same, use it to allow
1526132720Skan	capitalized names.
1527132720Skan	
1528132720Skan	* include/bits/fstream.tcc: Spacing tweak.
1529132720Skan	* include/bits/istream.tcc: Same.
1530132720Skan	* include/bits/ostream.tcc: Same.
1531132720Skan
1532132720Skan2003-10-30  Paolo Carlini  <pcarlini@suse.de>
1533132720Skan
1534132720Skan	* include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
1535132720Skan	__mod is only assigned, never used its value, remove it.
1536132720Skan
1537132720Skan2003-10-29  Paolo Carlini  <pcarlini@suse.de>
1538132720Skan
1539132720Skan	* include/bits/locale_facets.tcc (time_get::do_get_year):
1540132720Skan	Absolutely avoid dereferencing end iterators.
1541132720Skan	(time_put::put): Minor clean up.
1542132720Skan
1543132720Skan	* include/bits/locale_facets.tcc: Cosmetic reformattings.
1544132720Skan
1545132720Skan2003-10-29  Paolo Carlini  <pcarlini@suse.de>
1546132720Skan
1547132720Skan	* include/bits/locale_facets.tcc (num_get::_M_extract_float):
1548132720Skan	Revert the last commit, is not correct, sorry.
1549132720Skan	
1550132720Skan2003-10-29  Paolo Carlini  <pcarlini@suse.de>
1551132720Skan
1552132720Skan	* config/locale/generic/c_locale.cc: Add back <cmath> and
1553132720Skan	<cstdlib>.
1554132720Skan
1555132720Skan	* include/bits/locale_facets.tcc (num_get::_M_extract_float):
1556132720Skan	Clean up.
1557132720Skan
1558132720Skan2003-10-29  Paolo Carlini  <pcarlini@suse.de>
1559132720Skan
1560132720Skan	* include/bits/locale_facets.tcc (time_put::put): Absolutely
1561132720Skan	avoid dereferencing end iterators; clean up.
1562132720Skan
1563132720Skan	* include/bits/locale_facets.tcc (num_get::_M_extract_float,
1564132720Skan	num_get::_M_extract_int): Minor tweak.
1565132720Skan
1566132720Skan2003-10-29  Paolo Carlini  <pcarlini@suse.de>
1567132720Skan
1568132720Skan	* include/bits/locale_facets.tcc: Remove some unnecessary
1569132720Skan	includes.
1570132720Skan	* config/locale/generic/c_locale.cc: Include <cerrno> here.
1571132720Skan	* config/locale/gnu/c_locale.cc: Likewise.
1572132720Skan
1573132720Skan2003-10-28  Paolo Carlini  <pcarlini@suse.de>
1574132720Skan
1575132720Skan	* include/bits/locale_facets.tcc
1576132720Skan	(money_get<>::do_get(..., string_type&)): Absolutely avoid
1577132720Skan	dereferencing end iterators; general clean up.
1578132720Skan
1579132720Skan2003-10-28  Paolo Carlini  <pcarlini@suse.de>
1580132720Skan
1581132720Skan	* include/bits/locale_facets.tcc (time_get::_M_extract_num):
1582132720Skan	Absolutely avoid dereferencing end iterators.
1583132720Skan	(time_get::_M_extract_name): Likewise.
1584132720Skan
1585132720Skan	* include/bits/locale_facets.tcc
1586132720Skan	(time_get::_M_extract_via_format, case 'e'): Don't try to
1587132720Skan	be smart wrt returning the right __beg in case of parse
1588132720Skan	error, time_get::_M_extract_num must be fixed instead.
1589132720Skan
1590132720Skan2003-10-27  Paolo Carlini  <pcarlini@suse.de>
1591132720Skan
1592132720Skan	PR libstdc++/12778
1593132720Skan	* acinclude.m4 (GLIBCXX_CHECK_LFS): Use the C++ compiler.
1594132720Skan	* aclocal.m4: Regenerate.
1595132720Skan	* configure: Regenerate.
1596132720Skan
1597132720Skan2003-10-27  Benjamin Kosnik  <bkoz@redhat.com>
1598132720Skan	
1599132720Skan	* docs/html/17_intro/TODO: Add links.
1600132720Skan	* testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
1601132720Skan	Uncomment.
1602132720Skan	
1603132720Skan2003-10-27  Paolo Carlini  <pcarlini@suse.de>
1604132720Skan
1605132720Skan	PR libstdc++/12750
1606132720Skan	* include/bits/locale_facets.tcc
1607132720Skan	(time_get::_M_extract_via_format): Deal with code 'e'.
1608132720Skan	* testsuite/22_locale/time_get/get_date/char/12750.cc: New.
1609132720Skan	* testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Ditto.
1610132720Skan
1611132720Skan	* include/bits/locale_facets.tcc
1612132720Skan	(time_get::_M_extract_via_format): Tweak to absolutely avoid
1613132720Skan	dereferencing end iterators.
1614132720Skan
1615132720Skan	* include/bits/locale_facets.h (__verify_grouping):
1616132720Skan	Const-ify second parameter.
1617132720Skan	* include/bits/locale_facets.tcc (__verify_grouping): Ditto.
1618132720Skan	* src/locale-inst.cc (__verify_grouping): Ditto.
1619132720Skan
1620132720Skan2003-10-27  Paolo Carlini  <pcarlini@suse.de>
1621132720Skan
1622132720Skan	* include/bits/locale_facets.tcc (num_get::_M_extract_float):
1623132720Skan	Various things: 1- Avoid absolutely end iterator dereferences;
1624132720Skan	2- Improve performance-wise the code skipping leading zeros;
1625132720Skan	3- Fix two bugs wrt early bail out in case of parsing errors
1626132720Skan	(see testcases); 4- General clean up.
1627132720Skan	(num_get::_M_extract_int): Likewise, except 3-. Additionally,
1628132720Skan	use __builtin_expect to favor base 10 inputs.
1629132720Skan	* testsuite/22_locale/num_get/get/char/7.cc: New.
1630132720Skan	* testsuite/22_locale/num_get/get/wchar_t/7.cc: Ditto.
1631132720Skan
1632132720Skan2003-10-26  Paolo Carlini  <pcarlini@suse.de>
1633132720Skan
1634132720Skan	* testsuite/22_locale/money_put/put/char/1.cc: Clean up.
1635132720Skan	* testsuite/22_locale/money_put/put/wchar_t/1.cc: Ditto.
1636132720Skan
1637132720Skan2003-10-25  Paolo Carlini  <pcarlini@suse.de>
1638132720Skan
1639132720Skan	* include/bits/locale_facets.tcc (num_get::_M_extract_int):
1640132720Skan	__pos in only incremented, never used its value, remove it.
1641132720Skan
1642132720Skan2003-10-24  Robert Millan  <robertmh@gnu.org>
1643132720Skan
1644132720Skan	* acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add kfreebsd*-gnu
1645132720Skan	and knetbsd*-gnu.
1646132720Skan	* aclocal.m4:  Regenerated.
1647132720Skan	* configure:  Regenerated.
1648132720Skan
1649132720Skan2003-10-24  Paolo Carlini  <pcarlini@suse.de>
1650132720Skan
1651132720Skan	* include/bits/locale_facets.tcc (money_get::do_get(...,
1652132720Skan	long double&): Properly size the temporary buffer.
1653132720Skan	* testsuite/22_locale/money_get/get/char/11.cc: New.
1654132720Skan	* testsuite/22_locale/money_get/get/wchar_t/11.cc: Ditto.
1655132720Skan
1656132720Skan	* include/bits/locale_facets.tcc (num_put::_M_group_int,
1657132720Skan	num_put::_M_group_float, money_put::do_put(..., const
1658132720Skan	string_type&), collate::do_compare, collate::do_transform):
1659132720Skan	Prefer basic_string::data() to c_str() when the '\0'
1660132720Skan	terminator is not really needed.
1661132720Skan
1662132720Skan2003-10-24  Paolo Carlini  <pcarlini@suse.de>
1663132720Skan
1664132720Skan	* include/bits/locale_facets.tcc (__verify_grouping):
1665132720Skan	Prefer '=' to an unnecessary '&='.
1666132720Skan
1667132720Skan2003-10-24  Paolo Carlini  <pcarlini@suse.de>
1668132720Skan
1669132720Skan	* include/bits/basic_ios.tcc (copyfmt(const basic_ios&)):
1670132720Skan	Tweak my fix for libstdc++/12657.
1671132720Skan
1672132720Skan2003-10-24  Paolo Carlini  <pcarlini@suse.de>
1673132720Skan
1674132720Skan	* include/bits/locale_facets.tcc (money_get::do_get(...,
1675132720Skan	string_type&): Minor tweak to the previous commit.
1676132720Skan
1677132720Skan2003-10-24  Paolo Carlini  <pcarlini@suse.de>
1678132720Skan
1679132720Skan	* include/bits/locale_facets.tcc (money_get::do_get(...,
1680132720Skan	string_type&): Disregard the previous commit: doesn't hurt but
1681132720Skan	doesn't accomplish anything useful either. This is the right
1682132720Skan	one, speeding up greatly the function in case of early fail.
1683132720Skan
1684132720Skan2003-10-24  Paolo Carlini  <pcarlini@suse.de>
1685132720Skan
1686132720Skan	* include/bits/locale_facets.tcc (money_get::do_get(...,
1687132720Skan	string_type&): Move an if block, thus minimizing the amount
1688132720Skan	of code processed anyway when __tmp_units.size() == 0.
1689132720Skan
1690132720Skan2003-10-24  Paolo Carlini  <pcarlini@suse.de>
1691132720Skan
1692132720Skan	* include/bits/locale_facets.tcc
1693132720Skan	(time_get<>::_M_extract_via_format): Deal with case 'C' too,
1694132720Skan	equivalent to 'y'.
1695132720Skan
1696132720Skan2003-10-23  Benjamin Kosnik  <bkoz@redhat.com>
1697132720Skan
1698132720Skan	* docs/html/documentation.html: Add a pointer to the doxygen style
1699132720Skan	guide.
1700132720Skan	* docs/html/17_intro/TODO: Update.
1701132720Skan	* docs/html/test.html: Add instructions for running a subset of
1702132720Skan	tests, update.
1703132720Skan
1704132720Skan2003-10-23  Paolo Carlini  <pcarlini@suse.de>
1705132720Skan
1706132720Skan	* include/bits/locale_facets.tcc (money_get<>::do_get(...,
1707132720Skan	string_type&)): Use find_first_not_of to strip leading
1708132720Skan	zeros; if __tmp_units == "0" never prefix it with '-';
1709132720Skan	always fail if __tmp_units is empty.
1710132720Skan	* testsuite/22_locale/money_get/get/char/10.cc: New.
1711132720Skan	* testsuite/22_locale/money_get/get/wchar_t/10.cc: Ditto.
1712132720Skan
1713132720Skan2003-10-23  Phil Edwards  <phil@codesourcery.com>
1714132720Skan
1715132720Skan	* config/os/vxworks/ctype_noninline.h:  Adjust ctor to match
1716132720Skan	2003-10-21 change.
1717132720Skan
1718132720Skan2003-10-22  Paolo Carlini  <pcarlini@suse.de>
1719132720Skan
1720132720Skan	* include/bits/locale_facets.tcc (__int_to_char): Remove
1721132720Skan	the const int parameter.
1722132720Skan	(_M_insert_int): Update caller.
1723132720Skan	* src/locale-inst.cc (__int_to_char): Update instantiations.	
1724132720Skan
1725132720Skan2003-10-22  Benjamin Kosnik  <bkoz@redhat.com>
1726132720Skan
1727132720Skan	* include/bits/locale_facets.h: Correct byname facets for "C"
1728132720Skan	locale.
1729132720Skan	* config/locale/generic/ctype_members.cc: Same.
1730132720Skan	* config/locale/generic/messages_members.h: Same.
1731132720Skan	* config/locale/gnu/ctype_members.cc: Same.
1732132720Skan	* config/locale/gnu/messages_members.h: Same.
1733132720Skan	* include/bits/codecvt.h: Same.
1734132720Skan	* src/ctype.cc: Same.
1735132720Skan	* testsuite/22_locale/codecvt_byname/1.cc: New.
1736132720Skan	* testsuite/22_locale/collate/1.cc: Edit.
1737132720Skan	* testsuite/22_locale/collate_byname/1.cc: Derivation tests, move to...
1738132720Skan	* testsuite/22_locale/collate_byname/named_equivalence.cc: ...here.
1739132720Skan	* testsuite/22_locale/ctype/1.cc: Derivation tests.
1740132720Skan	* testsuite/22_locale/ctype/11844.cc: Move...
1741132720Skan	* testsuite/22_locale/ctype_base/11844.cc: ...here.
1742132720Skan	* testsuite/22_locale/ctype_base/1.cc: Move mask bits here.
1743132720Skan	* testsuite/22_locale/ctype_byname/1.cc: Name.
1744132720Skan	* testsuite/22_locale/messages_byname/1.cc: New.
1745132720Skan	* testsuite/22_locale/messages_byname/named_equivalence.cc: New.
1746132720Skan	* testsuite/22_locale/moneypunct_byname/1.cc: Derivation test.
1747132720Skan	* testsuite/22_locale/moneypunct_byname/named_equivalence.cc: New.
1748132720Skan	* testsuite/22_locale/numpunct/1.cc: Edit.
1749132720Skan	* testsuite/22_locale/numpunct_byname/2.cc: Move...
1750132720Skan	* testsuite/22_locale/numpunct/members/char/3.cc: ...here.
1751132720Skan	* testsuite/22_locale/numpunct_byname/1.cc: Derivation tests.
1752132720Skan	* testsuite/22_locale/numpunct_byname/named_equivalence.cc: New.
1753132720Skan
1754132720Skan2003-10-22  Paolo Carlini  <pcarlini@suse.de>
1755132720Skan
1756132720Skan	PR libstdc++/8610
1757132720Skan	* acinclude.m4 (GLIBCXX_CHECK_INT64_T): New macro,
1758132720Skan	checking for the availability of int64_t.
1759132720Skan	(GLIBCXX_CHECK_LFS): New macro, checking for LFS support.
1760132720Skan	* configure.ac: Call here.
1761132720Skan	* acconfig.h: Add undef for the corresponding symbols.
1762132720Skan	* config/io/basic_file_stdio.cc	(__basic_file<char>::open):
1763132720Skan	Depending on _GLIBCXX_USE_LFS, call fopen64 or fopen.
1764132720Skan	(__basic_file<char>::seekoff): Likewise, call lseek64 when
1765132720Skan	available, otherwise lseek, checking the __off parameter.
1766132720Skan	* include/bits/postypes.h: Typedef __streamoff_base_type
1767132720Skan	to int64_t if available, otherwise long long.
1768132720Skan	* aclocal.m4: Regenerate.
1769132720Skan	* config.h.in: Likewise.
1770132720Skan	* configure: Likewise.
1771132720Skan
1772132720Skan	* acinclude.m4 (GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_WRITEV):
1773132720Skan	Use AC_TRY_LINK instead of AC_TRY_COMPILE.
1774132720Skan	
1775132720Skan2003-10-22  Paolo Carlini  <pcarlini@suse.de>
1776132720Skan
1777132720Skan	PR libstdc++/12657
1778132720Skan	* include/bits/basic_ios.tcc (copyfmt(const basic_ios&)):
1779132720Skan	Implement resolution of DR 292 (WP).
1780132720Skan	* docs/html/ext/howto.html: Add entry for DR 292.
1781132720Skan
1782132720Skan2003-10-21  Benjamin Kosnik  <bkoz@redhat.com>
1783132720Skan
1784132720Skan	* include/ext/mt_allocator.h: Change include to gthr.h.
1785132720Skan	* include/ext/rope: Same. Add _Refcount_base definitions.
1786132720Skan	* include/ext/pool_allocator.h: Adjust namespaces.
1787132720Skan	* include/bits/stl_threads.h (_Refcount_base): Move.
1788132720Skan	Put remaining into namespace __gnu_cxx.
1789132720Skan	
1790132720Skan2003-10-21  Benjamin Kosnik  <bkoz@redhat.com>
1791132720Skan 
1792132720Skan	PR libstdc++/9858
1793132720Skan	* include/bits/locale_facets.h (ctype<char>): Remove
1794132720Skan	__ctype_abstract_base.
1795132720Skan	(ctype<char>::do_is): Remove.
1796132720Skan	(ctype<char>::do_scan_is): Remove.
1797132720Skan	* src/ctype.cc: Same. Inline the rest.
1798132720Skan	* testsuite/22_locale/ctype/is/char/9858.cc: New.
1799132720Skan	* config/os/aix/ctype_noninline.h: Adjust ctor.
1800132720Skan	* config/os/bsd/freebsd/ctype_noninline.h: Same.
1801132720Skan	* config/os/bsd/netbsd/ctype_noninline.h: Same.
1802132720Skan	* config/os/djgpp/ctype_noninline.h: Same.
1803132720Skan	* config/os/generic/ctype_noninline.h: Same.
1804132720Skan	* config/os/gnu-linux/ctype_noninline.h: Same.
1805132720Skan	* config/os/hpux/ctype_noninline.h: Same.
1806132720Skan	* config/os/irix/irix5.2/ctype_noninline.h: Same.
1807132720Skan	* config/os/irix/irix6.5/ctype_noninline.h: Same.
1808132720Skan	* config/os/mingw32/ctype_noninline.h: Same.
1809132720Skan	* config/os/newlib/ctype_noninline.h: Same.
1810132720Skan	* config/os/qnx/qnx6.1/ctype_noninline.h: Same.
1811132720Skan	* config/os/solaris/solaris2.5/ctype_noninline.h: Same.
1812132720Skan	* config/os/solaris/solaris2.6/ctype_noninline.h: Same.
1813132720Skan	* config/os/solaris/solaris2.7/ctype_noninline.h: Same.
1814132720Skan	* config/os/windiss/ctype_noninline.h: Same.
1815132720Skan
1816132720Skan2003-10-21  Paolo Carlini  <pcarlini@suse.de>
1817132720Skan
1818132720Skan	* src/locale.cc: Tweak a comment.
1819132720Skan	* src/localename.cc: Move a comment.
1820132720Skan
1821132720Skan2003-10-20  Benjamin Kosnik  <bkoz@redhat.com>
1822132720Skan 
1823132720Skan	PR libstdc++/10081
1824132720Skan	* testsuite_hooks.h: Add pod_type, ctype and numpunct specializations.
1825132720Skan	* testsuite_hooks.cc: Same.
1826132720Skan	* 22_locale/numpunct/members/pod/1.cc: Edit.
1827132720Skan	* 22_locale/numpunct/members/pod/2.cc: Same.
1828132720Skan	* 27_io/basic_istream/sentry/char/3983-fstream.cc: Move ...
1829132720Skan	* 27_io/basic_istream/sentry/char/3983-sstream.cc: Move ...
1830132720Skan	* 27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc: Here.
1831132720Skan	* 27_io/basic_istream/extractors_character/pod/3983-2.cc: Here.
1832132720Skan	* 27_io/basic_istream/extractors_other/pod/3983-3.cc: Here.
1833132720Skan	* 27_io/basic_ostream/sentry/char/3983-fstream.cc: Remove.
1834132720Skan	* 27_io/basic_ostream/sentry/char/3983-sstream.cc: Remove.
1835132720Skan	* 27_io/basic_istream/sentry/pod/1.cc: New.
1836132720Skan	* 27_io/basic_ostream/sentry/pod/1.cc: New.
1837132720Skan	* 21_strings/basic_string/inserters_extractors/pod/10081-in.cc: New.
1838132720Skan	* 21_strings/basic_string/inserters_extractors/pod/10081-out.cc: New.
1839132720Skan
1840132720Skan2003-10-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1841132720Skan
1842132720Skan	* config/cpu/mips/atomicity.h (__atomic_add): Use _ABIO32 instead
1843132720Skan	of external _MIPS_SIM_ABI32.
1844132720Skan
1845132720Skan2003-10-20  Phil Edwards  <phil@codesourcery.com>
1846132720Skan
1847132720Skan	* configure.ac:  Fix comment typo.
1848132720Skan	* configure.host:  Add vxworks to host_os switch.
1849132720Skan	* crossconfig.m4:  Remove old commented os_include_dir variables
1850132720Skan	left over from autotools transition.
1851132720Skan	(*-vxworks):  New stanza.
1852132720Skan	(*-windiss):  Add missing symbols.
1853132720Skan	* configure:  Regenerate.
1854132720Skan	* config/os/vxworks/ctype_base.h, config/os/vxworks/ctype_inline.h,
1855132720Skan	config/os/vxworks/ctype_noninline.h, config/os/vxworks/os_defines.h:
1856132720Skan	New files.
1857132720Skan	* config/os/windiss/os_defines.h:  Define __C9X__.
1858132720Skan
1859132720Skan2003-10-19  David Edelsohn  <edelsohn@gnu.org>
1860132720Skan
1861132720Skan	PR other/12506
1862132720Skan	* configure.host (aix4,aix*): Define os_include_dir to os/generic.
1863132720Skan
1864132720Skan2003-10-18  Andreas Tobler  <a.tobler@schweiz.ch>
1865132720Skan
1866132720Skan	* src/locale.cc (locale::_S_initialize): Re-apply workaround a
1867132720Skan	confusion of the use of the gthr API when __gthread_active_p()
1868132720Skan	returns true.
1869132720Skan
1870132720Skan2003-10-17  Benjamin Kosnik  <bkoz@redhat.com>
1871132720Skan 
1872132720Skan	* src/Makefile.am: Add new files.
1873132720Skan	* src/Makefile.in: Regenerate.
1874132720Skan	* src/globals.cc: Split into..
1875132720Skan	* src/globals_io.cc: New.
1876132720Skan	* src/globals_locale.cc: New.
1877132720Skan	* src/ios.cc: Split into...
1878132720Skan	* src/ios_init.cc: New.
1879132720Skan	* src/ios_locale.cc: New.
1880132720Skan	* src/locale-inst.cc: Split into..
1881132720Skan	* src/wlocale-inst.cc: New.
1882132720Skan	* src/locale-misc-inst.cc: New.
1883132720Skan	* src/locale.cc, src/localename: Split into...
1884132720Skan	* src/locale_facets.cc: New.
1885132720Skan	* src/locale_init.cc: New.
1886132720Skan	* src/wstring-inst.cc: Add copyright info.
1887132720Skan
1888132720Skan2003-10-16  Petur Runolfsson  <peturr02@ru.is>
1889132720Skan
1890132720Skan	PR libstdc++/11450
1891132720Skan	PR libstdc++/11543
1892132720Skan	PR libstdc++/12065
1893132720Skan	* config/io/basic_file_stdio.cc (__basic_file::seekoff):
1894132720Skan	Change return value from streampos to streamoff.
1895132720Skan	(__basic_file::seekpos): Delete.
1896132720Skan	* config/io/basic_file_stdio.h: Same.
1897132720Skan	* config/io/c_io_stdio.h: Remove streamoff and wstreamsize typedefs.
1898132720Skan	* include/Makefile.am (bits_headers): Add bits/postypes.h.
1899132720Skan	* include/bits/char_traits.h: Include bits/postypes.h instead of
1900132720Skan	bits/fpos.h.
1901132720Skan	* include/bits/fstream.tcc (basic_filebuf::open,
1902132720Skan	basic_filebuf::pbackfail): Don't use < or >= to compare pos_type
1903132720Skan	values, use == and != instead.
1904132720Skan	(basic_filebuf::_M_seek): Use explicit conversion from streamoff
1905132720Skan	to pos_type.
1906132720Skan	(basic_filebuf::imbue):  Don't use ! on pos_type values, use
1907132720Skan	== instead. Don't use __check_facet(_M_codecvt) unless is_open().
1908132720Skan	* include/bits/postypes.h: New file.
1909132720Skan	Add __streamoff_base_type typedef, streamsize.
1910132720Skan	(streamoff, streampos, wstreampos): Define typedefs, with
1911132720Skan	streamoff defined as...
1912132720Skan	(streamoff): New class. Document implementation defined
1913132720Skan	aspects.
1914132720Skan	(fpos): New implementation. Document implementation defined
1915132720Skan	aspects.
1916132720Skan	* include/bits/sstream.tcc (basic_stringbuf::seekpos): Use
1917132720Skan	explicit conversion from pos_type to off_type.
1918132720Skan	* include/std/std_iosfwd.h: Include bits/postypes.h instead
1919132720Skan	of bits/fpos.h.
1920132720Skan	* testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: New test.
1921132720Skan	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: New test.
1922132720Skan	* testsuite/27_io/fpos/11450.cc: New test.
1923132720Skan	* testsuite/27_io/fpos/mbstate_t/12065.cc: New test.
1924132720Skan	* testsuite/27_io/fpos/mbstate_t/4_neg.cc: New test.
1925132720Skan	* testsuite/27_io/types/3.cc: New test.
1926132720Skan
1927132720Skan2003-10-16  Benjamin Kosnik  <bkoz@redhat.com>
1928132720Skan
1929132720Skan	* configure.host: Remove fpos_include_dir.
1930132720Skan	* configure.ac: Remove FPOS_INC_SRCDIR.
1931132720Skan	* configure: Regenerate.
1932132720Skan	* acinclude.m4 (GLIBCXX_ENABLE_CSTDIO): Remove FPOS_H.
1933132720Skan	* aclocal.m4: Regenerate.
1934132720Skan	* include/Makefile.am (host_headers): Remove fpos.h.
1935132720Skan	(bits_headers): Add postypes.h.
1936132720Skan	* include/Makefile.in: Regenerate.
1937132720Skan	* config/os/gnu-linux/fposh: Remove.
1938132720Skan	* config/os/generic/fpos.h: Remove.
1939132720Skan
1940132720Skan	* testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Fixup.
1941132720Skan	* testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Same.
1942132720Skan	* testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Same.
1943132720Skan	* testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Same.
1944132720Skan	* testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Same.
1945132720Skan	* testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Same.
1946132720Skan	* testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Same.
1947132720Skan	* testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Same.
1948132720Skan	* testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Same.
1949132720Skan	* testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Same.
1950132720Skan	* testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Same.
1951132720Skan	* testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Same.
1952132720Skan	* testsuite/27_io/basic_istream/seekg/char/2.cc: Same.
1953132720Skan	* testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Same.
1954132720Skan	* testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Same.
1955132720Skan	* testsuite/27_io/fpos/mbstate_t/3.cc: Same.
1956132720Skan	* testsuite/27_io/objects/char/10.cc: Same.
1957132720Skan
1958132720Skan2003-10-16  Paolo Carlini  <pcarlini@suse.de>
1959132720Skan
1960132720Skan	* src/locale.cc (locale::locale(const char*)): ... one
1961132720Skan	more comparison missed in the previous commit.
1962132720Skan
1963132720Skan2003-10-16  Benjamin Kosnik  <bkoz@redhat.com>
1964132720Skan
1965132720Skan        * acconfig.h: Add HAVE_DRAND48.
1966132720Skan	* crossconfig.m4: Remove ISATTY.
1967132720Skan	* aclocal.m4: Regenerated.
1968132720Skan	* config.h.in: Regenerated.
1969132720Skan	* configure: Regenerated.
1970132720Skan	
1971132720Skan2003-10-16  Bernardo Innocenti  <bernie@develer.com>
1972132720Skan
1973132720Skan	* config/cpu/m68k/atomicity.h (__exchange_and_add): Use TAS on
1974132720Skan	__mcf5400__. Don't rely on __mc68000__ to detect a bare 68000.
1975132720Skan	Document SMP safeness of asm macros.
1976132720Skan
1977132720Skan2003-10-16  Paolo Carlini  <pcarlini@suse.de>
1978132720Skan
1979132720Skan	* src/locale.cc (locale::locale(const char*)): Tweak
1980132720Skan	a couple of comparisons to use basic_string operators.
1981132720Skan
1982132720Skan2003-10-16  Paolo Carlini  <pcarlini@suse.de>
1983132720Skan
1984132720Skan	PR libstdc++/12540
1985132720Skan	* config/locale/gnu/monetary_members.cc
1986132720Skan	(moneypunct<wchar_t, true/false>::_M_initialize_moneypunct):
1987132720Skan	Don't leak memory if new throws.
1988132720Skan	* src/locale.cc (locale::locale(const char*)): In order not
1989132720Skan	to leak memory in case new throws, use a basic_string type
1990132720Skan	for __res too and avoid strdup.
1991132720Skan
1992132720Skan2003-10-14  Jeff Bailey  <jbailey@nisa.net>
1993132720Skan	
1994132720Skan	PR libstdc++/12562
1995132720Skan	* crossconfig.m4: Share the config between *-linux* and *-gnu*.
1996132720Skan	* configure: Regenerate.
1997132720Skan
1998132720Skan2003-10-14  Carlo Wood  <carlo@alinoe.com>
1999132720Skan
2000132720Skan	PR libstdc++/12600
2001132720Skan	* include/bits/demangle.h (session<Allocator>::
2002132720Skan	  decode_unqualified_name(string_type& output)): Fail on a
2003132720Skan	  <operator-name> when decoding <template-argument>.
2004132720Skan	* testsuite/demangle/regression/cw-15.cc: New.
2005132720Skan
2006132720Skan2003-10-14  Paolo Carlini  <pcarlini@unitus.it>
2007132720Skan
2008132720Skan	PR libstdc++/11480
2009132720Skan	* include/bits/stl_algo.h (unique): Fix.
2010132720Skan	* testsuite/25_algorithms/unique.cc: Move to unique/1.cc.
2011132720Skan	* testsuite/25_algorithms/unique/11480.cc: New, from the PR.
2012132720Skan	* testsuite/25_algorithms/unique/2.cc: New.
2013132720Skan
2014132720Skan2003-10-14  Paolo Carlini  <pcarlini@unitus.it>
2015132720Skan
2016132720Skan	* src/localename.cc (_M_replace_categories, M_replace_facet):
2017132720Skan	Const-ify a couple of variables.
2018132720Skan
2019132720Skan2003-10-14  Petur Runolfsson  <peturr02@ru.is>
2020132720Skan	    Andreas Tobler  <a.tobler@schweiz.ch>
2021132720Skan
2022132720Skan	* src/locale.cc (locale::_S_initialize): Workaround a confusion
2023132720Skan	of the use of the gthr API when __gthread_active_p() returns true.
2024132720Skan
2025132720Skan2003-10-12  Petur Runolfsson  <peturr02@ru.is>
2026132720Skan	    Paolo Carlini  <pcarlini@unitus.it>
2027132720Skan
2028132720Skan	PR libstdc++/11460
2029132720Skan	* src/strstream.cc (pbackfail): Fix to use to_int_type.
2030132720Skan	* testsuite/backward/11460.cc: New, from the PR.
2031132720Skan
2032132720Skan2003-10-12  Paolo Carlini  <pcarlini@unitus.it>
2033132720Skan
2034132720Skan	* config/locale/ieee_1003.1-2001/codecvt_specializations.h:
2035132720Skan	Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment.
2036132720Skan	* include/bits/basic_string.tcc: Likewise.
2037132720Skan	* include/bits/ios_base.h: Likewise.
2038132720Skan	* include/bits/istream.tcc: Likewise.
2039132720Skan	* include/bits/locale_facets.tcc: Likewise.
2040132720Skan	* include/bits/ostream.tcc: Likewise.
2041132720Skan	* include/bits/stl_function.h: Likewise.
2042132720Skan	* include/bits/stl_multiset.h: Likewise.
2043132720Skan	* include/bits/stl_pair.h: Likewise.
2044132720Skan	* include/bits/stl_set.h: Likewise.
2045132720Skan	* include/bits/streambuf_iterator.h
2046132720Skan	* include/std/std_iosfwd.h: Likewise.
2047132720Skan	* include/std/std_istream.h: Likewise.
2048132720Skan	* include/std/std_sstream.h: Likewise.
2049132720Skan	* include/std/std_streambuf.h: Likewise.
2050132720Skan	* src/ios.cc: Likewise.
2051132720Skan	* include/bits/c++config:
2052132720Skan	Comment out #define _GLIBCXX_RESOLVE_LIB_DEFECTS 1.
2053132720Skan	* testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak a
2054132720Skan	dg-error directive due to removal of a blank line.
2055132720Skan	* testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
2056132720Skan
2057132720Skan2003-10-12  Andreas Tobler  <a.tobler@schweiz.ch>
2058132720Skan	    Paolo Carlini  <pcarlini@unitus.it>
2059132720Skan
2060132720Skan	PR libstdc++/11844/11740 (cont)
2061132720Skan	* config/os/generic/ctype_inline.h (ctype<char>::is):
2062132720Skan	Generically, use a bitmasksize of 15 (instead of 10);
2063132720Skan	Fix the logic to actually return (M & m) != 0 as per
2064132720Skan	22.2.1.1.2.
2065132720Skan
2066132720Skan2003-10-11  Bernardo Innocenti  <bernie@develer.com>
2067132720Skan
2068132720Skan	* crossconfig.m4 (*-uclinux*): New target.
2069132720Skan	* configure: Regenerate.
2070132720Skan
2071132720Skan2003-10-10  Paolo Carlini  <pcarlini@unitus.it>
2072132720Skan
2073132720Skan	* include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT))
2074132720Skan	Avoid unnecessarily calling __builtin_alloca and dealing
2075132720Skan	explicitly with width() smaller than zero.
2076132720Skan	(operator<<(basic_ostream&, char), operator<<(basic_ostream&,
2077132720Skan	const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
2078132720Skan	const char*), operator<<(basic_ostream<char, _Traits>&,
2079132720Skan	const char*), operator<<(basic_ostream, const basic_string&)):
2080132720Skan	Likewise.
2081132720Skan
2082132720Skan2003-10-09  Benjamin Kosnik  <bkoz@redhat.com>
2083132720Skan
2084132720Skan	* config/linker-map.gnu: Make more *_type_info bits visible.
2085132720Skan	Move new/delete bits back into GLIBCXX space.
2086132720Skan
2087132720Skan	* include/bits/locale_classes.h: Move _M_id out of line, so that
2088132720Skan	locale::id::_S_highwater can be removed from the export list.
2089132720Skan	* src/locale.cc (locale::id::_M_id): Define.
2090132720Skan	
2091132720Skan2003-10-09  Andreas Tobler  <a.tobler@schweiz.ch>
2092132720Skan
2093132720Skan	* testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_64 for
2094132720Skan	SPARC64.
2095132720Skan
2096132720Skan2003-10-09  Paolo Carlini  <pcarlini@unitus.it>
2097132720Skan
2098132720Skan	PR libstdc++/11844
2099132720Skan	* config/os/aix/ctype_base.h: Fix 'alnum' and 'graph'
2100132720Skan	to conform to the requirements of 22.2.1.
2101132720Skan	* config/os/bsd/freebsd/ctype_base.h: Likewise.
2102132720Skan	* config/os/djgpp/ctype_base.h: Likewise.
2103132720Skan	* config/os/generic/ctype_base.h: Likewise.
2104132720Skan	* config/os/gnu-linux/ctype_base.h: Likewise.
2105132720Skan	* config/os/hpux/ctype_base.h: Likewise.
2106132720Skan	* config/os/irix/irix6.5/ctype_base.h: Likewise.
2107132720Skan	* config/os/solaris/solaris2.6/ctype_base.h: Likewise.
2108132720Skan	* config/os/solaris/solaris2.7/ctype_base.h: Likewise.
2109132720Skan	* testsuite/22_locale/ctype/11844.cc: New.
2110132720Skan
2111132720Skan	* config/locale/generic/ctype_members.cc (do_is):
2112132720Skan	Generically, use a bitmasksize of 15 (instead of 10), since
2113132720Skan	we don't know the numerical encoding of the various categories
2114132720Skan	in the underlying /usr/include/ctype.h.
2115132720Skan
2116132720Skan2003-10-09  Benjamin Kosnik  <bkoz@redhat.com>
2117132720Skan
2118132720Skan	* src/string-inst.cc: Prune.
2119132720Skan	* testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
2120132720Skan	* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2121132720Skan	
2122132720Skan2003-10-09  Petur Runolfsson  <peturr02@ru.is>
2123132720Skan
2124132720Skan	* src/io-inst.cc: Don't include iostream.
2125132720Skan	* include/bits/ios_base.h (ios_base::failure): Use string.
2126132720Skan	* src/Makefile.am: Add ios_failure.cc.
2127132720Skan	* src/Makefile.in: Regenerate.
2128132720Skan	* src/ios.cc: Move ios_base::failure definitions to...
2129132720Skan	* src/ios_failure.cc: ...here. New.
2130132720Skan
2131132720Skan2003-10-09  Petur Runolfsson  <peturr02@ru.is>
2132132720Skan
2133132720Skan	PR libstdc++/9874
2134132720Skan	* include/bits/fstream.tcc (basic_filebuf::seekoff):
2135132720Skan	Move code needed for both seekoff and seekpos...
2136132720Skan	(basic_filebuf::_M_seek): ...here. New function.
2137132720Skan	(basic_filebuf::seekpos): Don't call seekoff, call _M_seek.
2138132720Skan	* include/std/std_fstream.h (basic_filebuf::_M_seek): Declare it.
2139132720Skan	* testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: New test.
2140132720Skan
2141132720Skan	* testsuite/22_locale/locale/cons/12438.cc: Increase memory limit.
2142132720Skan
2143132720Skan2003-10-08  Paolo Carlini  <pcarlini@unitus.it>
2144132720Skan
2145132720Skan	* include/bits/locale_facets.tcc: More minor cosmetic
2146132720Skan	changes and const-ifications of some variables.
2147132720Skan
2148132720Skan2003-10-07  Paolo Carlini  <pcarlini@unitus.it>
2149132720Skan
2150132720Skan	* include/bits/locale_facets.tcc: Minor cosmetic changes
2151132720Skan	and const-ifications of some variables.
2152132720Skan
2153132720Skan	* include/bits/locale_facets.tcc
2154132720Skan	(money_get::do_get(..., string_type&)): Simplify an if-else.
2155132720Skan
2156132720Skan2003-10-06  Paolo Carlini  <pcarlini@unitus.it>
2157132720Skan
2158132720Skan	PR libstdc++/11740
2159132720Skan	* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is):
2160132720Skan	Fix to actually return (M & m) != 0 as per 22.2.1.1.2.
2161132720Skan	* config/locale/generic/ctype_members.cc: Same.
2162132720Skan	* testsuite/22_locale/ctype/is/wchar_t/11740.cc: New.
2163132720Skan
2164132720Skan2003-10-06  Paolo Carlini  <pcarlini@unitus.it>
2165132720Skan
2166132720Skan	* include/bits/locale_facets.tcc (__pad<>::_S_pad):
2167132720Skan	Improve performance-wise: avoid one traits::copy, avoid
2168132720Skan	the __builtin_alloca, streamline.
2169132720Skan
2170132720Skan2003-10-05  Paolo Carlini  <pcarlini@unitus.it>
2171132720Skan
2172132720Skan	* include/bits/locale_facets.tcc
2173132720Skan	(num_put::do_put(..., bool)): Prefer ?: to if-else.
2174132720Skan	(time_get::_M_extract_name): Qualify min with std::.
2175132720Skan	(__pad<>::_S_pad): Constify two variables; simplify an
2176132720Skan	if-else statement factoring out some code.
2177132720Skan
2178132720Skan	* include/bits/locale_facets.tcc: Minor cosmetic changes.
2179132720Skan
2180132720Skan2003-10-04  Paolo Carlini  <pcarlini@unitus.it>
2181132720Skan
2182132720Skan	* include/bits/locale_facets.tcc (num_get::_M_extract_float):
2183132720Skan	Constify a couple of variables.
2184132720Skan	(num_get::do_get(..., bool&)): Constify __c; prefer *__beg,
2185132720Skan	++__beg to *__beg++.
2186132720Skan
2187132720Skan2003-10-04  Paolo Carlini  <pcarlini@unitus.it>
2188132720Skan            Petur Runolfsson  <peturr02@ru.is>
2189132720Skan
2190132720Skan	* include/ext/stdio_sync_filebuf.h: Don't include the whole
2191132720Skan	<fstream>, only <streambuf> and <cstdio>.
2192132720Skan
2193132720Skan2003-10-04  Paolo Carlini  <pcarlini@unitus.it>
2194132720Skan
2195132720Skan	PR libstdc++/12206
2196132720Skan	* include/bits/fstream.tcc (imbue): In case a codecvt facet
2197132720Skan	is not available, set _M_codecvt = 0.
2198132720Skan	* testsuite/27_io/basic_filebuf/imbue/12206.cc: New.
2199132720Skan
2200132720Skan2003-10-02  Harald Boehme  <boehme@informatik.hu-berlin.de>
2201132720Skan
2202132720Skan	PR libstdc++/12451
2203132720Skan	* libsupc++/cxxabi.h: Move forward declaration of __class_type_info.
2204132720Skan	
2205132720Skan2003-10-02  Benjamin Kosnik  <bkoz@redhat.com>
2206132720Skan
2207132720Skan	* include/bits/locale_classes.h (locale::facet::_S_get_c_name): Add.
2208132720Skan	* src/locale.cc: Define.
2209132720Skan	* src/localename.cc: Use it.
2210132720Skan	* config/locale/generic/time_members.h: Same.
2211132720Skan	* config/locale/gnu/messages_members.h: Same.
2212132720Skan	* config/locale/gnu/time_members.h: Same.
2213132720Skan
2214132720Skan2003-10-02  Paolo Carlini  <pcarlini@unitus.it>
2215132720Skan
2216132720Skan	PR libstdc++/12232
2217132720Skan	* include/bits/fstream.tcc (seekoff): Ignore the openmode
2218132720Skan	argument; simplify.
2219132720Skan	* config/io/basic_file_stdio.h (__basic_file<char>::seekoff,
2220132720Skan	seekpos): Remove the openmode argument.
2221132720Skan	* config/io/basic_file_stdio.cc (__basic_file<char>::seekoff,
2222132720Skan	seekpos): Remove redundant placeholder for the openmode argument.
2223132720Skan	* testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: New.
2224132720Skan	* testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Tweak.
2225132720Skan	* testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise.
2226132720Skan	* testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise.
2227132720Skan	* testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise.
2228132720Skan
2229132720Skan2003-10-02  Benjamin Kosnik  <bkoz@redhat.com>
2230132720Skan
2231132720Skan	* src/locale.cc (locale::_S_initialize): Use __gthread_active_p.
2232132720Skan	(locale::facet::_S_get_c_locale): Same.
2233132720Skan	
2234132720Skan2003-10-02  Benjamin Kosnik  <bkoz@redhat.com>
2235132720Skan
2236132720Skan	* config/linker-map.gnu: Export _S_get_c_locale instead of
2237132720Skan	_S_c_locale object.
2238132720Skan
2239132720Skan2003-10-02  Petur Runolfsson  <peturr02@ru.is>
2240132720Skan
2241132720Skan	* config/locale/generic/c_locale.cc
2242132720Skan	(category_names, locale::_S_categories): Const qualify.
2243132720Skan	* config/locale/gnu/c_locale.cc: Same.
2244132720Skan	* config/locale/generic/time_members.h (__timepunct::__timepunct):
2245132720Skan	Copy string contents before assigning to _M_name_timepunct,
2246132720Skan	qualify strcpy and strlen with std::.
2247132720Skan	* config/locale/gnu/time_members.h: Same.
2248132720Skan	* config/locale/gnu/messages_members.h (messages::messages):
2249132720Skan	Copy string contents before assigning to _M_name_messages,
2250132720Skan	qualify strcpy and strlen with std::.
2251132720Skan	* config/os/gnu-linux/ctype_noninline.h
2252132720Skan	(ctype<char>::classic_table()): Don't call locale::classic().
2253132720Skan	* include/bits/locale_classes.h
2254132720Skan	(locale::_S_categories): Const qualify.	
2255132720Skan	(locale::_S_once, locale::_S_initialize_once,
2256132720Skan	locale::facet::_S_once, locale::facet::_S_initialize_once,
2257132720Skan	locale::facet::_S_get_c_locale): Declare.
2258132720Skan	(locale::_S_initialize): Don't define.
2259132720Skan	(locale::facet::_S_c_locale): Make private.
2260132720Skan	(locale::facet::_S_c_name): Same, const qualify.
2261132720Skan	(locale::_Impl::_Impl(facet**, size_t, bool)): Drop unused
2262132720Skan	parameters, add throw() specifier.
2263132720Skan	* include/bits/locale_facets.h (__timepunct::_M_name_timepunct,
2264132720Skan	messages::_M_name_messages): Const qualify.
2265132720Skan	* src/locale.cc
2266132720Skan	(locale::_S_once, locale::facet::_S_once): Define.
2267132720Skan	(locale::classic): Move initialization code...
2268132720Skan	(locale::_S_initialize_once): ...here.	
2269132720Skan	(locale::_S_initialize): Call _S_initialize_once through
2270132720Skan	__gthread_once.
2271132720Skan	(locale::facet::_S_initialize_once): Initialize _S_c_locale.
2272132720Skan	(locale::facet::_S_get_c_locale): Call _S_initialize_once through
2273132720Skan	__gthread_once before returning _S_c_locale.
2274132720Skan	* src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool)):
2275132720Skan	Drop unused parameters, add throw() specifier, don't initialize
2276132720Skan	locale::facet::_S_c_locale and _S_c_name.
2277132720Skan	
2278132720Skan	* config/locale/generic/messages_members.h:
2279132720Skan	Replace _S_c_locale with _S_get_c_locale().
2280132720Skan	* config/locale/gnu/c_locale.cc: Same.
2281132720Skan	* config/locale/gnu/messages_members.h: Same.
2282132720Skan	* config/locale/gnu/numeric_members.cc: Same.
2283132720Skan	* config/locale/gnu/time_members.cc: Same.
2284132720Skan	* config/os/gnu-linux/ctype_noninline.h: Same.
2285132720Skan	* include/bits/locale_facets.h: Same.
2286132720Skan	* include/bits/locale_facets.tcc: Same.
2287132720Skan	* src/codecvt.cc: Same.
2288132720Skan	* src/ctype.cc: Same.
2289132720Skan
2290132720Skan2003-10-02  Carlo Wood  <carlo@alinoe.com>
2291132720Skan
2292132720Skan	* include/bits/demangle.h (demangle<Allocator>::symbol(char const*)):
2293132720Skan	Decode symbols that start with _GLOBAL_[ID]_ differently: the
2294132720Skan	trailing part ends with a terminating zero and is not necessarily an
2295132720Skan	encoding.
2296132720Skan	* src/demangle.cc (): Same.
2297132720Skan	* testsuite/demangle/regression/cw-13.cc: Adjust for new output.
2298132720Skan
2299132720Skan2003-10-02  Paolo Carlini  <pcarlini@unitus.it>
2300132720Skan
2301132720Skan	* testsuite/22_locale/locale/cons/12438.cc: Use
2302132720Skan	__gnu_test::try_named_locale("").
2303132720Skan
2304132720Skan2003-10-01  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2305132720Skan
2306132720Skan	* linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define.
2307132720Skan	(GLIBCXX_CHECK_STDLIB_SUPPORT): Use it to test for lrand48
2308132720Skan	instead of drand48.
2309132720Skan	* acconfig.h (HAVE_DRAND48): Renamed to HAVE_LRAND48.
2310132720Skan	* crossconfig.m4 (*-freebsd*): Define HAVE_LRAND48 instead of
2311132720Skan	HAVE_DRAND48.
2312132720Skan	* config.h.in, configure: Regenerate.
2313132720Skan	* include/bits/stl_algo.h: Use _GLIBCXX_HAVE_LRAND48 to guard
2314132720Skan	lrand48 use.
2315132720Skan
2316132720Skan2003-10-01  Nathan Myers  <ncm@cantrip.org>
2317132720Skan
2318132720Skan	* include/bits/locale_facets.tcc (time_put::put): Avoid
2319132720Skan	expensive *__s++, in favor of *__s, ++__s.
2320132720Skan
2321132720Skan2003-10-01  Paolo Carlini  <pcarlini@unitus.it>
2322132720Skan
2323132720Skan	* include/bits/locale_facets.tcc (time_put::put): Minor
2324132720Skan	tweak to the previous commit.
2325132720Skan
2326132720Skan2003-10-01  Paolo Carlini  <pcarlini@unitus.it>
2327132720Skan
2328132720Skan	PR libstdc++/12439
2329132720Skan	* include/bits/locale_facets.tcc (time_put::put): Deal
2330132720Skan	with the three issues pointed out by the PR.
2331132720Skan	* testsuite/22_locale/time_put/put/char/12439_1.cc: New.
2332132720Skan	* testsuite/22_locale/time_put/put/char/12439_3.cc: New.
2333132720Skan	* testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: New.
2334132720Skan	* testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: New.
2335132720Skan	* testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: New.
2336132720Skan
2337132720Skan2003-09-30  Paolo Carlini  <pcarlini@unitus.it>
2338132720Skan
2339132720Skan	* include/bits/stl_algo.h: Minor cosmetic reformattings.
2340132720Skan
2341132720Skan2003-09-30  Paolo Carlini  <pcarlini@unitus.it>
2342132720Skan
2343132720Skan	* include/bits/stl_algo.h (search_n): Tweak, to spare the
2344132720Skan	first --__n.
2345132720Skan
2346132720Skan2003-09-30  Paolo Carlini  <pcarlini@unitus.it>
2347132720Skan
2348132720Skan	* testsuite/22_locale/locale/cons/12352.cc: Explicitly
2349132720Skan	qualify exception name.
2350132720Skan
2351132720Skan2003-09-30  Paolo Carlini  <pcarlini@unitus.it>
2352132720Skan
2353132720Skan	PR libstdc++/12438
2354132720Skan	* include/bits/locale_facets.tcc (locale::combine): Don't
2355132720Skan	leak memory if _M_replace_facet throws.
2356132720Skan	* testsuite/22_locale/locale/cons/12438.cc: New, from the PR.
2357132720Skan
2358132720Skan	* include/bits/locale_classes.h (locale::locale(const locale&,
2359132720Skan	_Facet*)): Tweak, use consistently _M_remove_reference.
2360132720Skan
2361132720Skan2003-09-30  Paolo Carlini  <pcarlini@unitus.it>
2362132720Skan
2363132720Skan	PR libstdc++/12352 (cont)
2364132720Skan	* src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
2365132720Skan	Don't leak __cloc; don't leak if any of the _M_init_facet(...)
2366132720Skan	calls fail.
2367132720Skan	(locale::_Impl::_Impl(const _Impl&, size_t)): Tweak.
2368132720Skan	(locale::_Impl::~_Impl): Don't do anything if !_M_facets,
2369132720Skan	!_M_caches, !_M_names.
2370132720Skan
2371132720Skan2003-09-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2372132720Skan
2373132720Skan	* configure.host: Handle Solaris 2.5 micro releases explicitly.
2374132720Skan	Remove wildcards from Solaris 2.6, 7-9: there were no
2375132720Skan	micro releases.
2376132720Skan	Treat Solaris 10 and up like 7-9.
2377132720Skan
2378132720Skan2003-09-29  Paolo Carlini  <pcarlini@unitus.it>
2379132720Skan
2380132720Skan	* include/bits/stl_algo.h (search_n): Improve the previous
2381132720Skan	fix as suggested by Martin.
2382132720Skan
2383132720Skan2003-09-29  Paolo Carlini  <pcarlini@unitus.it>
2384132720Skan
2385132720Skan	PR libstdc++/12296
2386132720Skan	* include/bits/istream.tcc (peek): Set eofbit if sgetc
2387132720Skan	returns eof.
2388132720Skan	* testsuite/27_io/basic_istream/peek/char/12296.cc:
2389132720Skan	New, from the PR.
2390132720Skan
2391132720Skan2003-09-29  Nathan Myers  <ncm@cantrip.org>
2392132720Skan	    Paolo Carlini  <pcarlini@unitus.it>
2393132720Skan
2394132720Skan	PR libstdc++/11400
2395132720Skan	* include/bits/stl_algo.h (search_n):
2396132720Skan	Use iterator_traits<>::difference_type for __n.
2397132720Skan	* testsuite/25_algorithms/search_n/11400.cc: New, from the PR.
2398132720Skan
2399132720Skan2003-09-29  Paolo Carlini  <pcarlini@unitus.it>
2400132720Skan
2401132720Skan	* testsuite/22_locale/locale/cons/12352.cc:
2402132720Skan	Use __attribute__((unused)) for test.
2403132720Skan
2404132720Skan2003-09-26  Ulrich Weigand  <uweigand@de.ibm.com>
2405132720Skan
2406132720Skan	* testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either 
2407132720Skan	"Son" or "So" as abbreviated name for Sunday in de_DE locale.
2408132720Skan	* testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise.
2409132720Skan
2410132720Skan2003-09-26  Brad Spencer  <spencer@infointeractive.com>
2411132720Skan
2412132720Skan	* testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc:
2413132720Skan	Explicitly qualify exceptions.
2414132720Skan	* testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same.
2415132720Skan	* testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
2416132720Skan	* testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
2417132720Skan	* testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
2418132720Skan	
2419132720Skan2003-09-25  Paolo Carlini  <pcarlini@unitus.it>
2420132720Skan
2421132720Skan	PR libstdc++/12352
2422132720Skan	* src/localename.cc (locale::_Impl::_Impl(const _Impl&,
2423132720Skan	size_t)): Don't leak if memory allocations for _M_facets,
2424132720Skan	_M_caches, and _M_names fail.
2425132720Skan	(locale::_Impl::_Impl(const char*, size_t)): Ditto.
2426132720Skan	(locale::_Impl::_M_replace_categories(const _Impl*,
2427132720Skan	category)): Ditto.
2428132720Skan	(locale::_Impl::_M_install_facet(const locale::id*,
2429132720Skan	const facet*)): Ditto.
2430132720Skan	* include/bits/locale_classes.h (locale::locale(const locale&,
2431132720Skan	_Facet*)): Don't leak memory.
2432132720Skan	* testsuite/22_locale/locale/cons/12352.cc: New, from the PR.
2433132720Skan
2434132720Skan	* src/localename.cc (locale::_Impl::_Impl(facet**, size_t,
2435132720Skan	bool)): Qualify with std:: strcpy, tweak.
2436132720Skan	* include/bits/locale_classes.h
2437132720Skan	(locale::_Impl::_M_check_same_name): Qualify strcmp.
2438132720Skan
2439132720Skan2003-09-25  Brad Spencer  <spencer@infointeractive.com>
2440132720Skan
2441132720Skan	PR libstdc++/6072
2442132720Skan	* acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf,
2443132720Skan	wcstof, iswblank.	
2444132720Skan	* aclocal.m4: Regenerate.
2445132720Skan	* config.h.in: Regenerate.
2446132720Skan	* configure: Regenerate.
2447132720Skan	* crossconfig.m4: Add in wchar_t bits for solaris crosses.
2448132720Skan	* config/io/basic_file_stdio.cc: Guard unistd.h.
2449132720Skan	* include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
2450132720Skan	* include/c_std/std_cwchar.h: Same.
2451132720Skan	* include/c_std/std_cwctype.h: Same.
2452132720Skan	
2453132720Skan2003-09-25  Benjamin Kosnik  <bkoz@redhat.com>
2454132720Skan
2455132720Skan	PR libstdc++/11065
2456132720Skan	* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
2457132720Skan	* config/locale/generic/ctype_members.cc: Same.
2458132720Skan	* testsuite/22_locale/ctype/is/char/1.cc: Initialize mask.
2459132720Skan	* testsuite/22_locale/ctype/is/wchar_t/1.cc: Same.
2460132720Skan
2461132720Skan	* config/os/generic/ctype_inline.h: Update.
2462132720Skan	
2463132720Skan2003-09-25  Ulrich Weigand  <uweigand@de.ibm.com>
2464132720Skan
2465132720Skan	* src/Makefile.am (version_dep): New variable.
2466132720Skan	(libstdc___la_DEPENDENCIES): Use it to add dependency on
2467132720Skan	libstdc++-symbol.ver only when using symbol versioning.
2468132720Skan	* src/Makefile.in: Regenerate.
2469132720Skan
2470132720Skan2003-09-23  Benjamin Kosnik  <bkoz@redhat.com>
2471132720Skan
2472132720Skan	* include/bits/locale_facets.tcc: Tweak to avoid warnings.
2473132720Skan	* testsuite/testsuite_hooks.h: Same.
2474132720Skan	* testsuite/*/*.cc: Same.
2475132720Skan
2476132720Skan2003-09-22  Petur Runolfsson  <peturr02@ru.is>
2477132720Skan
2478132720Skan	* include/bits/istream.tcc (basic_istream::read,
2479132720Skan	basic_istream::readsome, basic_istream::putback,
2480132720Skan	basic_istream::unget, operator>>(basic_istream, CharT)):
2481132720Skan	Avoid redundant setstate(failbit) calls when sentry::operator bool()
2482132720Skan	returns false.
2483132720Skan
2484132720Skan2003-09-22  Carlo Wood  <carlo@alinoe.com>
2485132720Skan
2486132720Skan	PR libstdc++/12365
2487132720Skan	* include/bits/demangle.h (qualifier(int, cv_qualifier_nt,
2488132720Skan	char const*, int, int)):  Remove unused identifier
2489132720Skan	cv_qualifier for overloaded constructor.
2490132720Skan
2491132720Skan2003-09-18  Benjamin Kosnik  <bkoz@redhat.com>
2492132720Skan
2493132720Skan	PR libstdc++/11504
2494132720Skan	* acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to
2495132720Skan	WARN_FLAGS, remove -Wno-format.
2496132720Skan	* aclocal.m4: Regenerate.
2497132720Skan	* configure: Regenerate.
2498132720Skan
2499132720Skan2003-09-18  Petur Runolfsson  <peturr02@ru.is>
2500132720Skan
2501132720Skan	* config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
2502132720Skan	* config/io/basic_file_stdio.h: Same.
2503132720Skan	* include/std/std_fstream.h (__ctype_type): Delete.
2504132720Skan	* include/std/std_streambuf.h (__ctype_type, __state_type): Delete.
2505132720Skan	
2506132720Skan2003-09-17  Benjamin Kosnik  <bkoz@redhat.com>
2507132720Skan
2508132720Skan	PR libstdc++/12239
2509132720Skan	* configure.host (abi_baseline_pair): Error out on solaris2
2510132720Skan	configurations without a minor version number.
2511132720Skan
2512132720Skan2003-09-13  Phil Edwards  <phil@codesourcery.com>
2513132720Skan
2514132720Skan	* docs/doxygen/run_doxygen:  Clear GENERATE_TAGFILE entirely
2515132720Skan	if man pages are on.
2516132720Skan	* docs/doxygen/user.cfg.in:  And here.
2517132720Skan
2518132720Skan2003-09-10  Daniel Jacobowitz  <drow@mvista.com>
2519132720Skan	    Andreas Jaeger <aj@suse.de>
2520132720Skan
2521132720Skan	PR libstdc++/12189
2522132720Skan	* acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
2523132720Skan	abi_check if cross compiling.
2524132720Skan	* aclocal.m4: Regenerated.
2525132720Skan	* configure: Regenerated.
2526132720Skan
2527132720Skan2003-09-10  Jeffrey D. Oldham  <oldham@codesourcery.com>
2528132720Skan
2529132720Skan	* libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns
2530132720Skan	NULL, return NULL.  This reflects a C++ ABI change 2003 Sep 05.
2531132720Skan	(__cxa_vec_new3): Likewise.
2532132720Skan
2533132720Skan2003-09-10  Petur Runolfsson  <peturr02@ru.is>
2534132720Skan
2535132720Skan	* include/bits/fstream.tcc (basic_filebuf::seekoff):
2536132720Skan	Use codecvt::length to handle variable-width stateless encodings
2537132720Skan	correctly.
2538132720Skan	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test.
2539132720Skan	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test.
2540132720Skan
2541132720Skan2003-09-10  Alan Modra  <amodra@bigpond.net.au>
2542132720Skan
2543132720Skan	* config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode
2544132720Skan	rather than or'ing.
2545132720Skan
2546132720Skan2003-09-09  Alan Modra  <amodra@bigpond.net.au>
2547132720Skan
2548132720Skan	* configure: Regenerate.
2549132720Skan
2550132720Skan2003-09-09  David Edelsohn  <edelsohn@gnu.org>
2551132720Skan
2552132720Skan	* src/ios.cc (ios_base::Init::Init): Remove unnecessary
2553132720Skan	qualifier from _S_synced_with_stdio.
2554132720Skan
2555132720Skan2003-09-09  Bernardo Innocenti  <bernie@develer.com>
2556132720Skan
2557132720Skan	* include/c_std/std_cstdlib.h: Avoid using missing C library symbols.
2558132720Skan
2559132720Skan2003-09-04  Petur Runolfsson  <peturr02@ru.is>
2560132720Skan
2561132720Skan	PR libstdc++/9028
2562132720Skan	* include/bits/fstream.tcc
2563132720Skan	(basic_filebuf::_M_destroy_internal_buffer): Destroy _M_ext_buf.
2564132720Skan	(basic_filebuf::basic_filebuf): Initialize _M_ext_buf,
2565132720Skan	_M_ext_buf_size, _M_ext_next and _M_ext_end.
2566132720Skan	(basic_filebuf::underflow): Handle variable-width stateless
2567132720Skan	encodings (codecvt::encoding() == 0), including UTF-8.
2568132720Skan	* include/std/std_fstream.h (basic_filebuf):
2569132720Skan	Declare _M_ext_buf, _M_ext_buf_size, _M_ext_next, _M_ext_end.
2570132720Skan	* testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: New test.
2571132720Skan	* testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: New test.
2572132720Skan	* testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: New test.
2573132720Skan	* testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: New test.
2574132720Skan	* testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: New test.
2575132720Skan	* testsuite/27_io/objects/wchar_t/12.cc: New test.
2576132720Skan	* testsuite/27_io/objects/wchar_t/13.cc: New test.
2577132720Skan
2578132720Skan2003-09-04  Jonathan Wakely  <redi@gcc.gnu.org>
2579132720Skan
2580132720Skan	* docs/html/faq/index.html: Note that a namespace alias can't be
2581132720Skan	used when specialising templates in extension namespace.
2582132720Skan	* docs/html/faq/index.txt: Regenerate.
2583132720Skan
2584132720Skan2003-09-03  Petur Runolfsson  <peturr02@ru.is>
2585132720Skan
2586132720Skan	PR libstdc++/12048
2587132720Skan	* include/ext/stdio_sync_filebuf.h
2588132720Skan	(stdio_sync_filebuf::_M_unget_buf): Declare it.
2589132720Skan	(stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf.
2590132720Skan	(stdio_sync_filebuf::uflow): Store the returned character in
2591132720Skan	_M_unget_buf.
2592132720Skan	(stdio_sync_filebuf::pbackfail): If argument is eof(), pass
2593132720Skan	_M_unget_buf to syncungetc(). Set _M_unget_buf to eof().
2594132720Skan	(stdio_sync_filebuf<char>::xsgetn): Store last read character in
2595132720Skan	_M_unget_buf, if any, else eof().
2596132720Skan	(stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in
2597132720Skan	_M_unget_buf, if any, else eof().
2598132720Skan	* testsuite/27_io/objects/char/12048.cc: Rename to...
2599132720Skan	* testsuite/27_io/objects/char/12048-1.cc: ...this.
2600132720Skan	* testsuite/27_io/objects/char/12048-2.cc: New test.
2601132720Skan	* testsuite/27_io/objects/char/12048-3.cc: New test.
2602132720Skan	* testsuite/27_io/objects/char/12048-4.cc: New test.
2603132720Skan	* testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL.
2604132720Skan	* testsuite/27_io/objects/wchar_t/12048-1.cc: New test.
2605132720Skan	* testsuite/27_io/objects/wchar_t/12048-2.cc: New test.
2606132720Skan	* testsuite/27_io/objects/wchar_t/12048-3.cc: New test.
2607132720Skan	* testsuite/27_io/objects/wchar_t/12048-4.cc: New test.
2608132720Skan	* testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL.
2609132720Skan	* testsuite/ext/stdio_sync_filebuf_char.cc
2610132720Skan	(test02, test03, test04, test05): New tests.
2611132720Skan	* testsuite/ext/stdio_sync_filebuf_wchar_t.cc
2612132720Skan	(test02, test03, test04, test05): New tests.
2613132720Skan
2614132720Skan2003-09-03  Petur Runolfsson  <peturr02@ru.is>
2615132720Skan
2616132720Skan	* docs/html/27_io/howto.html: setbuf(0, 0) has no effect on
2617132720Skan	stringbuf or strstreambuf. Fix typos.
2618132720Skan
2619132720Skan2003-09-02  Phil Edwards  <phil@codesourcery.com>
2620132720Skan
2621132720Skan	* acinclude.m4 (GLIBCXX_ENABLE_HOSTED):  #define _GLIBCXX_HOSTED
2622132720Skan	appropriately.
2623132720Skan	* config.h.in:  Add _GLIBCXX_HOSTED.
2624132720Skan	* libsupc++/eh_term_handler.cc:  Test it here; initialize
2625132720Skan	__terminate_handler to std::abort if freestanding.
2626132720Skan	* aclocal.m4, configure:  Regenerated.
2627132720Skan	* docs/html/configopts.html:  Document --disable-hosted-libstdcxx.
2628132720Skan
2629132720Skan2003-08-29  Nathan Myers  <ncm@cantrip.org>
2630132720Skan	
2631132720Skan	PR libstdc++/11990	
2632132720Skan	* include/bits/locale_facets.tcc (__pad): delete dead code.
2633132720Skan
2634132720Skan2003-08-28  Alan Modra  <amodra@bigpond.net.au>
2635132720Skan
2636132720Skan	* configure.ac: Test $with_cross_host against $build_alias, not $build.
2637132720Skan	* configure: Regenerate.
2638132720Skan
2639132720Skan2003-08-27  Petur Runolfsson  <peturr02@ru.is>
2640132720Skan
2641132720Skan	* testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff...
2642132720Skan	* testsuite/27_io/objects/wchar_t/11.cc: ...here. New file.
2643132720Skan
2644132720Skan2003-08-27  Phil Edwards  <pme@gcc.gnu.org>
2645132720Skan
2646132720Skan	* Makefile.am:  Remove trailing whitespace.  Remove needless
2647132720Skan	"foo = @foo@" assignments.  Replace direct uses of @foo@ with $(foo).
2648132720Skan	* include/Makefile.am:  Likewise.
2649132720Skan	* libmath/Makefile.am:  Likewise.
2650132720Skan	* libsupc++/Makefile.am:  Likewise.
2651132720Skan	* po/Makefile.am:  Likewise.
2652132720Skan	* src/Makefile.am:  Likewise.
2653132720Skan	* testsuite/Makefile.am:  Likewise.
2654132720Skan
2655132720Skan	* Makefile.in, include/Makefile.in, libmath/Makefile.in,
2656132720Skan	libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
2657132720Skan	testsuite/Makefile.in:  Regenerated.
2658132720Skan
2659132720Skan2003-08-27  Phil Edwards  <pme@gcc.gnu.org>
2660132720Skan
2661132720Skan	* acinclude.m4 (GLIBCXX_EXPORT_INCLUDES):  Change quoting of
2662132720Skan	includedir.
2663132720Skan	* aclocal.m4, configure:  Regenerate.
2664132720Skan
2665132720Skan2003-08-27  Daniel Jacobowitz  <drow@mvista.com>
2666132720Skan
2667132720Skan	* acinclude.m4: Include no-executables.m4.
2668132720Skan	* configure.ac: Uncomment GCC_NO_EXECUTABLES.
2669132720Skan	* aclocal.m4: Regenerated.
2670132720Skan	* configure: Regenerated.
2671132720Skan
2672132720Skan2003-08-27  Daniel Jacobowitz  <drow@mvista.com>
2673132720Skan
2674132720Skan	* acinclude.m4: Don't call AC_ISC_POSIX.
2675132720Skan	* aclocal.m4: Regenerated.
2676132720Skan	* configure: Regenerated.
2677132720Skan
2678132720Skan2003-08-27  Phil Edwards  <pme@gcc.gnu.org>
2679132720Skan
2680132720Skan	* acinclude.m4 (GLIBCXX_CONDITIONAL):  New macro.  Wrap
2681132720Skan	AM_CONDITIONAL.  Replace all calls to AM_CONDITIONAL with this one.
2682132720Skan	(GLIBCXX_ENABLE_HOSTED):  New macro, sets new variable is_hosted,
2683132720Skan	used elsewhere in this file.
2684132720Skan	(GLIBCXX_EVALUATE_CONDITIONALS):  New macro...
2685132720Skan	* configure.ac:  ...called here to expand all conditionals.
2686132720Skan	* Makefile.am:  Conditionalize SUBDIRS on GLIBCXX_HOSTED.
2687132720Skan	* include/Makefile.am:  Remove redundant gxx_include_dir assignment.
2688132720Skan	(install-freestanding-headers):  New target, a subset of
2689132720Skan	install-headers.  Conditionalize install-data-local on GLIBCXX_HOSTED.
2690132720Skan
2691132720Skan	* aclocal.m4, configure, Makefile.in, include/Makefile.in,
2692132720Skan	libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
2693132720Skan	src/Makefile.in, testsuite/Makefile.in:  Regenerated.
2694132720Skan
2695132720Skan2003-08-26  Phil Edwards  <pme@gcc.gnu.org>
2696132720Skan
2697132720Skan	* docs/doxygen/run_doxygen:  Shell fixes.  Remove hardcoded local
2698132720Skan	pathnames from generated tag file.
2699132720Skan
2700132720Skan2003-08-26  Phil Edwards  <pme@gcc.gnu.org>
2701132720Skan
2702132720Skan	* Makefile.am:  Add comment.
2703132720Skan	* acinclude.m4 (GLIBCXX_CONFIGURE):  Set new glibcxx_SUBDIRS and
2704132720Skan	SUBDIRS variables.
2705132720Skan	* configure.ac:  Use them both here, instead of hardcoded lists.
2706132720Skan
2707132720Skan	* fragment.am:  Add STAMP varaible.
2708132720Skan	* include/Makefile.am:  Cosmetic whitespace cleanup.  Use $(LN_S)
2709132720Skan	instead of @LN_S@.
2710132720Skan	(stamp-*):  Move file creation rule outside of 'if' branches to
2711132720Skan	ensure the stamp-* files are actually updated.  Use $(STAMP).
2712132720Skan	* src/Makefile.am:  Remove now-nonexistant variable.
2713132720Skan	* libsupc++/Makefile.am:  Likewise.  Snap the assignment chain
2714132720Skan	for -prefer-pic.
2715132720Skan	* po/Makefile.am:  Include same fragment as all the others.
2716132720Skan
2717132720Skan	* aclocal.m4, configure, Makefile.in, include/Makefile.in,
2718132720Skan	libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in:  Regenerated.
2719132720Skan
2720132720Skan2003-08-26  Loren J. Rittle  <ljrittle@acm.org>
2721132720Skan
2722132720Skan	* testsuite/data/cin_unget-1.txt: New.
2723132720Skan	* testsuite/27_io/objects/char/12048.cc: New.
2724132720Skan
2725132720Skan2003-08-25  Zack Weinberg  <zack@codesourcery.com>
2726132720Skan
2727132720Skan	* config/os/hpux/os_defines.h: Unconditionally define
2728132720Skan	_GLIBCXX_GTHREAD_USE_WEAK to 0.
2729132720Skan
2730132720Skan2003-08-19  Geoffrey Keating  <geoffk@apple.com>
2731132720Skan
2732132720Skan	* crossconfig.m4 (*-darwin*): Add a large and boring stanza for
2733132720Skan	crosses to Darwin targets.
2734132720Skan	* configure: Regenerate.
2735132720Skan
2736132720Skan2003-08-19  Petur Runolfsson  <peturr02@ru.is>
2737132720Skan
2738132720Skan	* include/ext/ropeimpl.h: #include <ostream> instead of <iostream>
2739132720Skan
2740132720Skan2003-08-17  Phil Edwards  <pme@gcc.gnu.org>
2741132720Skan
2742132720Skan	* configure.ac:  GCC_NO_EXECUTABLES was supposed to be commented
2743132720Skan	in the patch from 3 minutes ago.  Boy, is my face red.
2744132720Skan	* configure:  At least I remembered to regenerate this.
2745132720Skan
2746132720Skan2003-08-17  Phil Edwards  <pme@gcc.gnu.org>
2747132720Skan
2748132720Skan	* acinclude.m4 (GLIBCXX_EXPORT_INCLUDES):  Remove LIBMATH_INCLUDES
2749132720Skan	and LIBSUPCXX_INCLUDES.  Re-purpose TOPLEVEL_INCLUDES to refer to
2750132720Skan	things from the top level.
2751132720Skan	* configure.ac (GLIBCXX_IS_NATIVE):  Determine earlier and re-order.
2752132720Skan	Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH
2753132720Skan	(currently unused).  Strip the fake-VPATH shell fragment from
2754132720Skan	automake-generated rules, if present.
2755132720Skan	* linkage.m4:  Add comment.
2756132720Skan
2757132720Skan	* fragment.am:  New file, containing factored-out common settings.
2758132720Skan	(AM_CPPFLAGS):  Absorb the deprecated INCLUDES variable contents.
2759132720Skan	* Makefile.am:  Include fragment.am.  Remove common variables.
2760132720Skan	* include/Makefile.am:  Likewise.
2761132720Skan	* libmath/Makefile.am:  Likewise.
2762132720Skan	* libsupc++/Makefile.am:  Likewise.
2763132720Skan	* po/Makefile.am:  Likewise.  Print rules during check.
2764132720Skan	* src/Makefile.am:  Likewise.
2765132720Skan	* testsuite/Makefile.am:  Likewise.
2766132720Skan
2767132720Skan	* aclocal.m4, configure, Makefile.in, include/Makefile.in,
2768132720Skan	libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
2769132720Skan	src/Makefile.in, testsuite/Makefile.in:  Regenerate.
2770132720Skan
2771132720Skan2003-08-11  John Levon  <levon@movementarian.org>
2772132720Skan
2773132720Skan	* docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update
2774132720Skan	remaining places for the name change from GLIBCPP_FORCE_NEW
2775132720Skan	to GLIBCXX_FORCE_NEW
2776132720Skan
2777132720Skan2003-08-11  Benjamin Kosnik  <bkoz@redhat.com>
2778132720Skan
2779132720Skan	* include/bits/basic_ios.h: Remove *_iter typedefs, change num*
2780132720Skan	typedefs to num_*.
2781132720Skan	* include/bits/basic_ios.tcc: Same.
2782132720Skan	* include/bits/istream.tcc: Same.
2783132720Skan	* include/bits/locale_facets.h: Same.
2784132720Skan	* include/bits/ostream.tcc: Same.
2785132720Skan	* include/std/std_istream.h: Same.
2786132720Skan	* include/std/std_ostream.h: Same.
2787132720Skan	* testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
2788132720Skan
2789132720Skan	* include/ext/rope: Remove build warning.
2790132720Skan
2791132720Skan2003-08-11  Andreas Jaeger  <aj@suse.de>
2792132720Skan
2793132720Skan	* include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
2794132720Skan	to make SMP-safe.
2795132720Skan	* include/Makefile.in: Regenerated.
2796132720Skan
2797132720Skan2003-08-11  Phil Edwards  <pme@gcc.gnu.org>
2798132720Skan
2799132720Skan	* acinclude.m4 (GLIBCXX_CONFIGURE):  Unprecious CC and CFLAGS
2800132720Skan	when calling AC_PROG_CC.
2801132720Skan	* aclocal.m4, configure:  Regenerate.
2802132720Skan
2803132720Skan2003-08-11  Phil Edwards  <pme@gcc.gnu.org>
2804132720Skan
2805132720Skan	* acinclude.m4:  Properly quote variable which will be expanded
2806132720Skan	inside makefiles.  Use CXX instead of CC to extract compiler info.
2807132720Skan	* configure.ac (AC_INIT):  Use the new 4-arg form to finally get the
2808132720Skan	correct form in PACKAGE.
2809132720Skan	* aclocal.m4, configure:  Regenerate.
2810132720Skan
2811132720Skan2003-08-08  Benjamin Kosnik  <bkoz@redhat.com>
2812132720Skan
2813132720Skan	* testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++.
2814132720Skan	(check-abi-verbose): Same.
2815132720Skan	* testsuite/testsuite_performance.h (report_performance): Same.
2816132720Skan
2817132720Skan2003-08-08  Loren J. Rittle  <ljrittle@acm.org>
2818132720Skan
2819132720Skan	* testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
2820132720Skan
2821132720Skan2003-08-07  Doug Gregor  <dgregor@apple.com>
2822132720Skan
2823132720Skan	* include/bits/char_traits.h (char_traits::not_eof): Match operand
2824132720Skan	types in ? :.
2825132720Skan
2826132720Skan2003-08-07  Bernardo Innocenti  <bernie@develer.com>
2827132720Skan
2828132720Skan	PR libstdc++/11784
2829132720Skan	* libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
2830132720Skan	Replace variants with new BSET-based version.
2831132720Skan
2832132720Skan2003-08-07  Carlo Wood  <carlo@alinoe.com>
2833132720Skan
2834132720Skan	* include/bits/demangle.h: Do not use cctype functions that depend
2835132720Skan	on locale.
2836132720Skan
2837132720Skan2003-08-05  Phil Edwards  <pme@gcc.gnu.org>
2838132720Skan
2839132720Skan	* configure.in:  Rename...
2840132720Skan	* configure.ac:  ...to this.
2841132720Skan	* docs/html/17_intro/porting.texi:  Update name.
2842132720Skan
2843132720Skan	* docs/html/17_intro/porting.html:  Regenerate.
2844132720Skan	* config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in,
2845132720Skan	libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
2846132720Skan	testsuite/Makefile.in:  Regenerate (picks up new dependancy).
2847132720Skan
2848132720Skan2003-08-05  Phil Edwards  <pme@gcc.gnu.org>
2849132720Skan
2850132720Skan	* acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS):  Put down the crack
2851132720Skan	pipe, open the window to let out the fumes, redo the option-handling
2852132720Skan	logic to properly execute the detection test.
2853132720Skan	* aclocal.m4, configure:  Regenerate.
2854132720Skan
2855132720Skan2003-08-04  Phil Edwards  <pme@gcc.gnu.org>
2856132720Skan
2857132720Skan	Convert to new autotools.
2858132720Skan	* acconfig.h:  Update with correct names.
2859132720Skan	* configure.host (ATOMICITYH):  Rename to atomicity_include_dir.
2860132720Skan	(qnx6.[12]*):  'q' comes before 's', not after 'w'.
2861132720Skan	* configure.in:  Update.  Split hardcoded cross-configury settings
2862132720Skan	out to...
2863132720Skan	* crossconfig.m4:  ...here.  New file.  Contents untouched.
2864132720Skan	* acinclude.m4:  Reorganize and rewrite as needed.  Split large
2865132720Skan	chunks out to...
2866132720Skan	* linkage.m4:  ...here.  New file.  Math and stdlib linkage tests.
2867132720Skan	Contents untouched.
2868132720Skan	* scripts/testsuite_flags.in:  Update.
2869132720Skan
2870132720Skan	* Makefile.am:  Remove unneeded AUTOMAKE_OPTIONS settings and other
2871132720Skan	variables (already generated by automake).
2872132720Skan	* include/Makefile.am:  Ditto.
2873132720Skan	* libmath/Makefile.am:  Ditto.
2874132720Skan	* libsupc++/Makefile.am:  Ditto.
2875132720Skan	* po/Makefile.am:  Ditto.
2876132720Skan	* src/Makefile.am:  Ditto.
2877132720Skan
2878132720Skan	* aclocal.m4:  Regenerate using new versions.
2879132720Skan	* config.h.in:  Ditto.
2880132720Skan	* configure:  Ditto.
2881132720Skan	* Makefile.in:  Ditto.
2882132720Skan	* include/Makefile.in:  Ditto.
2883132720Skan	* libmath/Makefile.in:  Ditto.
2884132720Skan	* libsupc++/Makefile.in:  Ditto.
2885132720Skan	* po/Makefile.in:  Ditto.
2886132720Skan	* src/Makefile.in:  Ditto.
2887132720Skan	* testsuite/Makefile.in:  Ditto.
2888132720Skan
2889132720Skan2003-08-04  Phil Edwards  <pme@gcc.gnu.org>
2890132720Skan
2891132720Skan	* po/libstdc++.pot:  Re-extract/regenerate.
2892132720Skan
2893132720Skan2003-08-04  Phil Edwards  <pme@gcc.gnu.org>
2894132720Skan
2895132720Skan	* testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS):
2896132720Skan	Remove unneeded variable assignments.  Leave them for automake.
2897132720Skan	* testsuite/lib/libstdc++-v3.exp:  Rename...
2898132720Skan	* testsuite/lib/libstdc++.exp:  ...to this.  Adjust function names
2899132720Skan	accordingly.
2900132720Skan	* testsuite/libstdc++-v3.dg/dg.exp:  Rename...
2901132720Skan	* testsuite/libstdc++-dg/normal.exp:  ...to this.  Adjust function
2902132720Skan	names accordingly.
2903132720Skan
2904132720Skan2003-08-04  Phil Edwards  <pme@gcc.gnu.org>
2905132720Skan
2906132720Skan	* docs/doxygen/guide.html:  run_doxygen uses bash.
2907132720Skan	* docs/doxygen/mainpage.html:  We'll be shipping tag files.
2908132720Skan	* docs/doxygen/run_doxygen:  Tweaks and improvements.
2909132720Skan	* docs/doxygen/user.cfg.in:  Set GENERATE_TAGFILE.
2910132720Skan	* docs/html/install.html:  Update autoconf/automake requirements.
2911132720Skan	* docs/html/test.html:  Add section describing DejaGNU support.
2912132720Skan	* docs/html/17_intro/confdeps.dot:  New file, generates...
2913132720Skan	* docs/html/17_intro/confdeps.png:  ...this new file.
2914132720Skan	* docs/html/Makefile:  Generated here.
2915132720Skan	* docs/html/17_intro/configury.html:  New file.
2916132720Skan
2917132720Skan2003-07-31  Phil Edwards  <pme@gcc.gnu.org>
2918132720Skan
2919132720Skan	* testsuite/lib/libstdc++-v3-dg.exp:  Rename...
2920132720Skan	* testsuite/lib/libstdc++-v3.exp:  ...to this.
2921132720Skan	* testsuite/libstdc++-v3.dg/dg.exp:  No special case needed now.
2922132720Skan
2923132720Skan2003-07-31  Doug Gregor  <dgregor@apple.com>
2924132720Skan
2925132720Skan	Add user specialization tests.
2926132720Skan	* testsuite/23_containers/deque/1.cc: New.
2927132720Skan	* testsuite/23_containers/list/1.cc: New.
2928132720Skan	* testsuite/23_containers/map/1.cc: New.
2929132720Skan	* testsuite/23_containers/multimap/1.cc: New.
2930132720Skan	* testsuite/23_containers/multiset/1.cc: New.
2931132720Skan	* testsuite/23_containers/set/1.cc: New.
2932132720Skan	* testsuite/23_containers/vector/1.cc: New.
2933132720Skan
2934132720Skan2003-07-31  Benjamin Kosnik  <bkoz@redhat.com>
2935132720Skan
2936132720Skan	Reshuffle 23_containers testsuite.
2937132720Skan	* 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc,
2938132720Skan	bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
2939132720Skan	list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
2940132720Skan	map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
2941132720Skan	set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
2942132720Skan	vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
2943132720Skan	vector_resize.cc: Split into...
2944132720Skan	* 23_containers/bitset/cons/1.cc: New.
2945132720Skan	* 23_containers/bitset/cons/6282.cc: New.
2946132720Skan	* 23_containers/bitset/count/6124.cc: New.
2947132720Skan	* 23_containers/bitset/operations/1.cc: New.
2948132720Skan	* 23_containers/bitset/operations/2.cc: New.
2949132720Skan	* 23_containers/bitset/test/1.cc: New.
2950132720Skan	* 23_containers/bitset/to_ulong/1.cc: New.
2951132720Skan	* 23_containers/deque/cons/1.cc: New.
2952132720Skan	* 23_containers/deque/cons/2.cc: New.
2953132720Skan	* 23_containers/deque/operators/1.cc: New.
2954132720Skan	* 23_containers/list/capacity/1.cc: New.
2955132720Skan	* 23_containers/list/cons/1.cc: New.
2956132720Skan	* 23_containers/list/cons/2.cc: New.
2957132720Skan	* 23_containers/list/cons/3.cc: New.
2958132720Skan	* 23_containers/list/cons/4.cc: New.
2959132720Skan	* 23_containers/list/cons/5.cc: New.
2960132720Skan	* 23_containers/list/cons/6.cc: New.
2961132720Skan	* 23_containers/list/cons/7.cc: New.
2962132720Skan	* 23_containers/list/cons/8.cc: New.
2963132720Skan	* 23_containers/list/cons/9.cc: New.
2964132720Skan	* 23_containers/list/modifiers/1.cc: New.
2965132720Skan	* 23_containers/list/modifiers/2.cc: New.
2966132720Skan	* 23_containers/list/modifiers/3.cc: New.
2967132720Skan	* 23_containers/list/operators/1.cc: New.
2968132720Skan	* 23_containers/list/operators/2.cc: New.
2969132720Skan	* 23_containers/list/operators/3.cc: New.
2970132720Skan	* 23_containers/list/operators/4.cc: New.
2971132720Skan	* 23_containers/map/insert/1.cc: New.
2972132720Skan	* 23_containers/map/operators/1.cc: New.
2973132720Skan	* 23_containers/map/operators/1_neg.cc: New.
2974132720Skan	* 23_containers/multiset/insert/1.cc: New.
2975132720Skan	* 23_containers/priority_queue/members/7161.cc: New.
2976132720Skan	* 23_containers/queue/members/7157.cc: New.
2977132720Skan	* 23_containers/set/operators/1_neg.cc: New.
2978132720Skan	* 23_containers/stack/members/7158.cc: New.
2979132720Skan	* 23_containers/vector/bool/1.cc: New.
2980132720Skan	* 23_containers/vector/bool/6886.cc: New.
2981132720Skan	* 23_containers/vector/capacity/1.cc: New.
2982132720Skan	* 23_containers/vector/capacity/2.cc: New.
2983132720Skan	* 23_containers/vector/capacity/8230.cc: New.
2984132720Skan	* 23_containers/vector/cons/1.cc: New.
2985132720Skan	* 23_containers/vector/cons/2.cc: New.
2986132720Skan	* 23_containers/vector/cons/3.cc: New.
2987132720Skan	* 23_containers/vector/cons/4.cc: New.
2988132720Skan	* 23_containers/vector/cons/6513.cc: New.
2989132720Skan	* 23_containers/vector/element_access/1.cc: New.
2990132720Skan	* 23_containers/vector/modifiers/1.cc: New.
2991132720Skan	* 23_containers/vector/modifiers/2.cc: New.
2992132720Skan	* 23_containers/vector/resize/1.cc: New.
2993132720Skan
2994132720Skan2003-07-31  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2995132720Skan
2996132720Skan	* testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
2997132720Skan	dg-options.
2998132720Skan	* testsuite/thread/pthread2.cc: Likewise.
2999132720Skan	* testsuite/thread/pthread3.cc: Likewise.
3000132720Skan	* testsuite/thread/pthread4.cc: Likewise.
3001132720Skan	* testsuite/thread/pthread5.cc: Likewise.
3002132720Skan	* testsuite/thread/pthread6.cc: Likewise.
3003132720Skan	* testsuite/thread/pthread7-rope.cc: Likewise.
3004132720Skan
3005132720Skan2003-07-30  Phil Edwards  <pme@gcc.gnu.org>
3006132720Skan
3007132720Skan	* include/bits/c++config:  Partial reversion (comment placement) of
3008132720Skan	previous patch.
3009132720Skan
3010132720Skan2003-07-30  Benjamin Kosnik  <bkoz@redhat.com>
3011132720Skan
3012132720Skan	* include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
3013132720Skan	(_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
3014132720Skan	(_GLIBCXX_AT_AT): Remove.
3015132720Skan	(__USE_MALLOC): Remove.
3016132720Skan	* include/std/std_fstream.h: Modify.
3017132720Skan	* include/bits/basic_ios.h: Same.
3018132720Skan	* include/bits/valarray_array.h: Same.
3019132720Skan	* include/c_std/std_cmath.h: Same.
3020132720Skan	* include/c_std/cmath.tcc: Same.
3021132720Skan	* include/std/std_vector.h: Same.
3022132720Skan	* include/std/std_string.h: Same.
3023132720Skan	* include/std/std_stack.h: Same.
3024132720Skan	* include/std/std_queue.h: Same.
3025132720Skan	* include/std/std_list.h: Same.
3026132720Skan	* include/std/std_deque.h: Same.
3027132720Skan	* include/std/std_streambuf.h: Same.
3028132720Skan	* include/std/std_sstream.h: Same.
3029132720Skan	* include/std/std_ostream.h: Same.
3030132720Skan	* include/std/std_istream.h: Same.
3031132720Skan	* include/bits/valarray_array.tcc: Same, format.
3032132720Skan
3033132720Skan	* include/c/std_cctype.h: Fix include guards.
3034132720Skan	* include/c/std_cerrno.h: Same.
3035132720Skan	* include/c/std_cfloat.h: Same.
3036132720Skan	* include/c/std_climits.h: Same.
3037132720Skan	* include/c/std_clocale.h: Same.
3038132720Skan	* include/c/std_cmath.h: Same.
3039132720Skan	* include/c/std_csetjmp.h: Same.
3040132720Skan	* include/c/std_csignal.h: Same.
3041132720Skan	* include/c/std_cstdarg.h: Same.
3042132720Skan	* include/c/std_cstddef.h: Same.
3043132720Skan	* include/c/std_cstdio.h: Same.
3044132720Skan	* include/c/std_cstdlib.h: Same.
3045132720Skan	* include/c/std_cstring.h: Same.
3046132720Skan	* include/c/std_ctime.h: Same.
3047132720Skan	* include/c/std_cwchar.h: Same.
3048132720Skan	* include/c/std_cwctype.h: Same.
3049132720Skan	* include/c_std/cmath.tcc: Same.
3050132720Skan	* include/c_std/std_cmath.h: Same.
3051132720Skan
3052132720Skan2003-07-30  Gawain Bolton  <gp.bolton@computer.org>
3053132720Skan
3054132720Skan	PR libstdc++/11504.
3055132720Skan	* include/bits/stl_tree.h: Replace C-style casts with C++-style
3056132720Skan	casts.  Changes to avoid casting away constness.  Eliminate
3057132720Skan	_Rb_tree_base_iterator class.  Change _Rb_tree_iterator to use
3058132720Skan	initialization lists.  Move out implementation of __black_count()
3059132720Skan	to...
3060132720Skan	* src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
3061132720Skan	Rename_Rb_tree_base_iterator::_M_increment() to
3062132720Skan	_Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
3063132720Skan	_Rb_tree_decrement.
3064132720Skan	* config/linker-map.gnu: Add and change symbols here.
3065132720Skan
3066132720Skan2003-07-30  Jonathan Wakely  <redi@gcc.gnu.org>
3067132720Skan
3068132720Skan	* docs/html/22_locale/howto.html: Use locale::classic() instead
3069132720Skan	of locale("C").
3070132720Skan
3071132720Skan2003-07-28  Benjamin Kosnik  <bkoz@redhat.com>
3072132720Skan
3073132720Skan	* testsuite/testsuite_hooks.h: Remove list include.
3074132720Skan	(func_callback): Define as unique type, not std::list.
3075132720Skan	Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
3076132720Skan	* testsuite/libstdc++-v3.dg/dg.exp: Same.
3077132720Skan	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
3078132720Skan	* testsuite/23_containers/bitset_ctor.cc:
3079132720Skan	* testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
3080132720Skan	* testsuite/18_support/numeric_limits.cc: Same.
3081132720Skan	* testsuite/21_strings/basic_string/append/char/1.cc: Same.
3082132720Skan	* testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
3083132720Skan	* testsuite/21_strings/basic_string/compare/char/1.cc: Same.
3084132720Skan	* testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
3085132720Skan	* testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
3086132720Skan	* testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
3087132720Skan	* testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
3088132720Skan	* testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
3089132720Skan	* testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
3090132720Skan	* testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
3091132720Skan	* testsuite/21_strings/basic_string/find/char/1.cc: Same.
3092132720Skan	* testsuite/21_strings/basic_string/find/char/2.cc: Same.
3093132720Skan	* testsuite/21_strings/basic_string/find/char/3.cc: Same.
3094132720Skan	* testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
3095132720Skan	* testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
3096132720Skan	* testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
3097132720Skan	* testsuite/21_strings/basic_string/insert/char/1.cc: Same.
3098132720Skan	* testsuite/21_strings/basic_string/insert/char/2.cc: Same.
3099132720Skan	* testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
3100132720Skan	* testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
3101132720Skan	* testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
3102132720Skan	* testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
3103132720Skan	* testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
3104132720Skan	* testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
3105132720Skan	* testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
3106132720Skan	* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
3107132720Skan	* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
3108132720Skan	* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
3109132720Skan	* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
3110132720Skan	* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
3111132720Skan	* testsuite/21_strings/basic_string/operators/char/1.cc: Same.
3112132720Skan	* testsuite/21_strings/basic_string/operators/char/2.cc: Same.
3113132720Skan	* testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
3114132720Skan	* testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
3115132720Skan	* testsuite/21_strings/basic_string/replace/char/1.cc: Same.
3116132720Skan	* testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
3117132720Skan	* testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
3118132720Skan	* testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
3119132720Skan	* testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
3120132720Skan	* testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
3121132720Skan	* testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
3122132720Skan	* testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
3123132720Skan	* testsuite/21_strings/basic_string/substr/char/1.cc: Same.
3124132720Skan	* testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
3125132720Skan	* testsuite/23_containers/bitset_ctor.cc: Same.
3126132720Skan	* testsuite/23_containers/bitset_shift.cc: Same.
3127132720Skan	* testsuite/23_containers/vector_ctor.cc: Same.
3128132720Skan	* testsuite/23_containers/vector_element_access.cc: Same.
3129132720Skan	* testsuite/24_iterators/istreambuf_iterator.cc: Same.
3130132720Skan	* testsuite/24_iterators/iterator.cc: Same.
3131132720Skan	* testsuite/24_iterators/ostreambuf_iterator.cc: Same.
3132132720Skan	* testsuite/25_algorithms/lower_bound.cc: Same.
3133132720Skan	* testsuite/26_numerics/complex_inserters_extractors.cc: Same.
3134132720Skan	* testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
3135132720Skan	* testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
3136132720Skan	* testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
3137132720Skan	* testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
3138132720Skan	* testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
3139132720Skan	* testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
3140132720Skan	* testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
3141132720Skan	* testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
3142132720Skan	* testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
3143132720Skan	* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
3144132720Skan	Same.
3145132720Skan
3146132720Skan2003-07-28  Phil Edwards  <pme@gcc.gnu.org>
3147132720Skan
3148132720Skan	* docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
3149132720Skan	docs/html/test.html, docs/html/17_intro/headers_cc.txt,
3150132720Skan	docs/html/17_intro/howto.html, docs/html/ext/howto.html:  Change
3151132720Skan	GLIBCPP to GLIBCXX (and explain as needed).
3152132720Skan
3153132720Skan2003-07-28  Phil Edwards  <pme@gcc.gnu.org>
3154132720Skan
3155132720Skan	* README:  Update.
3156132720Skan
3157132720Skan2003-07-28  Phil Edwards  <pme@gcc.gnu.org>
3158132720Skan
3159132720Skan	* testsuite/22_locale/messages/members/char/1.cc,
3160132720Skan	testsuite/22_locale/messages/members/char/2.cc,
3161132720Skan	testsuite/22_locale/messages/members/char/3.cc,
3162132720Skan	testsuite/22_locale/messages_byname/1.cc:  Update comment regarding
3163132720Skan	the origin of LOCALEDIR.
3164132720Skan	* testsuite/lib/libstdc++-v3.exp:  New file.
3165132720Skan
3166132720Skan2003-07-25  Benjamin Kosnik  <bkoz@redhat.com>
3167132720Skan
3168132720Skan	* include/bits/char_traits.h: Update copyright, tweak.
3169132720Skan	* testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
3170132720Skan	std types.
3171132720Skan
3172132720Skan2003-07-24  Matt Austern  <austern@apple.com>
3173132720Skan
3174132720Skan	* /include/bits/char_traits.h (class char_traits): Put all the
3175132720Skan	real work into the new class template __gnu_cxx::char_traits.
3176132720Skan	Gave generic definitions for member functions.  Types are taken
3177132720Skan	from the new class template __gnu_cxx::_Char_types.
3178132720Skan	* testsuite/21_strings/char_traits/requirements/short/1.cc: New
3179132720Skan	file.  Test of std::char_traits<short>, which serves as a test of
3180132720Skan	the char_traits primary template.
3181132720Skan
3182132720Skan2003-07-24  Benjamin Kosnik  <bkoz@redhat.com>
3183132720Skan
3184132720Skan	* testsuite/*: Change __gnu_cxx_test to __gnu_test.
3185132720Skan
3186132720Skan2003-07-24  Nathan Myers  <ncm-nospam@cantrip.org>
3187132720Skan
3188132720Skan	* testsuite/23_containers/map_operators.cc: Conform to
3189132720Skan	container requirement as value must be Assignable.
3190132720Skan
3191132720Skan2003-07-23  Alexandre Oliva  <aoliva@redhat.com>
3192132720Skan
3193132720Skan	* acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
3194132720Skan	tests not only generation of pch files, but also their use.
3195132720Skan	* aclocal.m4, configure: Rebuilt.
3196132720Skan
3197132720Skan2003-07-23  Steve Ellcey  <sje@cup.hp.com>
3198132720Skan
3199132720Skan	* config/cpu/hppa/atomicity.h: Change
3200132720Skan	_GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
3201132720Skan	to match misc-inst.cc
3202132720Skan
3203132720Skan2003-07-23  Steve Ellcey  <sje@cup.hp.com>
3204132720Skan
3205132720Skan	* include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
3206132720Skan	* include/c_std/std_cctype.h: Ditto.
3207132720Skan	* include/c_std/std_cerrno.h: Ditto.
3208132720Skan	* include/c_std/std_cfloat.h: Ditto.
3209132720Skan	* include/c_std/std_climits.h: Ditto.
3210132720Skan	* include/c_std/std_clocale.h: Ditto.
3211132720Skan	* include/c_std/std_cmath.h: Ditto.
3212132720Skan	* include/c_std/std_csetjmp.h: Ditto.
3213132720Skan	* include/c_std/std_csignal.h: Ditto.
3214132720Skan	* include/c_std/std_cstdarg.h: Ditto.
3215132720Skan	* include/c_std/std_cstddef.h: Ditto.
3216132720Skan	* include/c_std/std_cstdio.h: Ditto.
3217132720Skan	* include/c_std/std_cstdlib.h: Ditto.
3218132720Skan	* include/c_std/std_cstring.h: Ditto.
3219132720Skan	* include/c_std/std_ctime.h: Ditto.
3220132720Skan	* include/c_std/std_cwchar.h: Ditto.
3221132720Skan	* include/c_std/std_cwctype.h: Ditto.
3222132720Skan	* include/std/std_algorithm.h: Ditto.
3223132720Skan	* include/std/std_bitset.h: Ditto.
3224132720Skan	* include/std/std_complex.h: Ditto.
3225132720Skan	* include/std/std_deque.h: Ditto.
3226132720Skan	* include/std/std_fstream.h: Ditto.
3227132720Skan	* include/std/std_functional.h: Ditto.
3228132720Skan	* include/std/std_iomanip.h: Ditto.
3229132720Skan	* include/std/std_ios.h: Ditto.
3230132720Skan	* include/std/std_iosfwd.h: Ditto.
3231132720Skan	* include/std/std_iostream.h: Ditto.
3232132720Skan	* include/std/std_istream.h: Ditto.
3233132720Skan	* include/std/std_iterator.h: Ditto.
3234132720Skan	* include/std/std_limits.h: Ditto.
3235132720Skan	* include/std/std_list.h: Ditto.
3236132720Skan	* include/std/std_locale.h: Ditto.
3237132720Skan	* include/std/std_map.h: Ditto.
3238132720Skan	* include/std/std_memory.h: Ditto.
3239132720Skan	* include/std/std_numeric.h: Ditto.
3240132720Skan	* include/std/std_ostream.h: Ditto.
3241132720Skan	* include/std/std_queue.h: Ditto.
3242132720Skan	* include/std/std_set.h: Ditto.
3243132720Skan	* include/std/std_sstream.h: Ditto.
3244132720Skan	* include/std/std_stack.h: Ditto.
3245132720Skan	* include/std/std_stdexcept.h: Ditto.
3246132720Skan	* include/std/std_streambuf.h: Ditto.
3247132720Skan	* include/std/std_string.h: Ditto.
3248132720Skan	* include/std/std_utility.h: Ditto.
3249132720Skan	* include/std/std_valarray.h: Ditto.
3250132720Skan	* include/std/std_vector.h: Ditto.
3251132720Skan
3252132720Skan2003-07-22  Doug Gregor  <dgregor@apple.com>
3253132720Skan
3254132720Skan	* include/bits/basic_string.h (basic_string::insert): Deprecate
3255132720Skan	GNU extension.
3256132720Skan
3257132720Skan2003-07-21  Benjamin Kosnik  <bkoz@redhat.com>
3258132720Skan
3259132720Skan	* scripts/testsuite_flags.in (--build-includes): Remove extraneous
3260132720Skan	paths for libio.
3261132720Skan	* testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
3262132720Skan	(test03): Include typeinfo for bad_cast.
3263132720Skan	* testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
3264132720Skan	* testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
3265132720Skan	* testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
3266132720Skan
3267132720Skan2003-07-21  Doug Gregor  <dgregor@apple.com>
3268132720Skan
3269132720Skan	* include/bits/boost_concept_check.h:
3270132720Skan	(_EqualityComparableConcept::__constraints): Remove != from the
3271132720Skan	list of constraints; it is not listed in Table 28 of the C++98
3272132720Skan	standard.
3273132720Skan
3274132720Skan2003-07-18  Andreas Jaeger  <aj@suse.de>
3275132720Skan
3276132720Skan	* config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
3277132720Skan	* config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
3278132720Skan	* config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
3279132720Skan	* config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
3280132720Skan
3281132720Skan2003-07-17  Benjamin Kosnik  <bkoz@redhat.com>
3282132720Skan
3283132720Skan	* config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
3284132720Skan	* config/locale/generic/messages_members.h: Tweaks.
3285132720Skan	* config/locale/generic/monetary_members.cc
3286132720Skan	(moneypunct::_M_initialize_moneypunct): Use cache.
3287132720Skan	(moneypunct::~moneypunct): Delete cache.
3288132720Skan	* config/locale/generic/time_members.cc:
3289132720Skan	(__timepunct::_M_initialize_timepunct): Use cache.
3290132720Skan	* config/locale/generic/time_members.h:
3291132720Skan	(__timepunct::~__timepunct): Delete cache.
3292132720Skan	(__timepunct::__timepunct): Set cache.
3293132720Skan	* config/locale/gnu/messages_members.h: Tweaks.
3294132720Skan	* config/locale/gnu/monetary_members.cc:
3295132720Skan	(moneypunct::_M_initialize_moneypunct): Use cache.
3296132720Skan	(moneypunct::~moneypunct): Delete cache.
3297132720Skan	* config/locale/gnu/time_members.cc:
3298132720Skan	(__timepunct::_M_initialize_timepunct): Use cache.
3299132720Skan	* config/locale/gnu/time_members.h:
3300132720Skan	(__timepunct::~__timepunct): Delete cache.
3301132720Skan	(__timepunct::__timepunct): Set cache.
3302132720Skan	* include/bits/locale_facets.h (__timepunct_cache): New.
3303132720Skan	(__moneypunct_cache): New.
3304132720Skan	* include/bits/locale_facets.tcc: Tweak.
3305132720Skan	* src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
3306132720Skan	* src/locale-inst.cc: Instantiate caches.
3307132720Skan	* src/globals.cc: Add "C" caches.
3308132720Skan	* src/localename.cc: Use external "C" caches.
3309132720Skan
3310132720Skan2003-07-17  Phil Edwards  <pme@gcc.gnu.org>
3311132720Skan
3312132720Skan	* docs/doxygen/guide.html:  Fix typo.
3313132720Skan
3314132720Skan2003-07-16  Benjamin Kosnik  <bkoz@redhat.com>
3315132720Skan
3316132720Skan	* include/ext/pod_char_traits.h: Add state template argument.
3317132720Skan
3318132720Skan2003-07-16  Benjamin Kosnik  <bkoz@redhat.com>
3319132720Skan
3320132720Skan	* include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
3321132720Skan	(num_get::_M_convert_int): To _M_insert_int.
3322132720Skan	(num_get::_M_convert_float): To _M_insert_float.
3323132720Skan	* include/bits/locale_facets.tcc (num_get::_M_extract_float):
3324132720Skan	Use caches for ctype, num_get.
3325132720Skan	(num_get::_M_extract_int): Same.
3326132720Skan	(num_get::get(bool)): Same.
3327132720Skan	(__verify_grouping): Use size_t.
3328132720Skan	* src/locale-inst.cc: Update.
3329132720Skan	* src/locale.cc: Adjust _S_atoms_in.
3330132720Skan
3331132720Skan2003-07-16  Phil Edwards  <pme@gcc.gnu.org>
3332132720Skan
3333132720Skan	* docs/doxygen/mainpage.html:  Move building/writing instructions...
3334132720Skan	* docs/doxygen/guide.html:  ...to here.  New file.
3335132720Skan
3336132720Skan2003-07-16  Jonathan Wakely  <redi@gcc.gnu.org>
3337132720Skan
3338132720Skan	* docs/html/ext/howto.html: Update URL for SGI STL docs.
3339132720Skan	* docs/html/faq/index.html: Same.
3340132720Skan	* docs/html/faq/index.txt: Regenerate.
3341132720Skan
3342132720Skan2003-07-16  Paolo Carlini  <pcarlini@unitus.it>
3343132720Skan
3344132720Skan	PR libstdc++/11528
3345132720Skan	* include/bits/locale_facets.tcc (money_get::do_get):
3346132720Skan	Strip only _leading_ zeros.
3347132720Skan	* testsuite/22_locale/money_get/get/char/11528.cc: Add.
3348132720Skan	* testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
3349132720Skan
3350132720Skan2003-07-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
3351132720Skan
3352132720Skan	* include/ext/hash_map (class hash_multimap): Remove extra
3353132720Skan	semicolons from __glibcxx_class_requires3 entries.
3354132720Skan	* include/ext/hash_set (class hash_set): Ditto.
3355132720Skan	(class hash_multiset): Ditto.
3356132720Skan
3357132720Skan2003-07-15  Petur Runolfsson  <peturr02@ru.is>
3358132720Skan
3359132720Skan	* include/bits/char_traits.h (char_traits<wchar_t>::move):
3360132720Skan	Change last parameter from int_type to size_t.
3361132720Skan
3362132720Skan2003-07-15  Jerry Quinn  <jlquinn@optonline.net>
3363132720Skan
3364132720Skan	* include/bits/stl_algo.h (includes, set_union, set_intersection,
3365132720Skan	set_difference, set_symmetric_difference, max_element, min_element,
3366132720Skan	next_permutation, prev_permutation, find_first_of, find_end):
3367132720Skan	Document.
3368132720Skan	* include/bits/stl_algobase.h (copy,copy_backward):  Clarify overlap
3369132720Skan	restrictions in docs.
3370132720Skan	* include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
3371132720Skan	Document.
3372132720Skan	* docs/doxygen/doxygroups.cc (setoperations):  New group.
3373132720Skan
3374132720Skan2003-07-15  Jerry Quinn  <jlquinn@optonline.net>
3375132720Skan
3376132720Skan	* include/bits/basic_string.h:  Document public functions.
3377132720Skan	* docs/doxygen/TODO:  Update c21 todo.
3378132720Skan
3379132720Skan2003-07-15  Jerry Quinn  <jlquinn@optonline.net>
3380132720Skan
3381132720Skan	* include/bits/stl_list.h:  Document more functions.
3382132720Skan	* docs/doxygen/TODO:  Update c23 todo.
3383132720Skan
3384132720Skan2003-07-14  Paolo Carlini  <pcarlini@unitus.it>
3385132720Skan
3386132720Skan	* config/locale/gnu/c_locale.h (__convert_from_v): One more
3387132720Skan	qualification.
3388132720Skan
3389132720Skan2003-07-14  Paolo Carlini  <pcarlini@unitus.it>
3390132720Skan
3391132720Skan	* include/bits/stl_tempbuf.h: Qualify free with std::.
3392132720Skan	* src/locale.cc: Include <cstdlib>, qualify getenv.
3393132720Skan
3394132720Skan2003-07-14  Paolo Carlini  <pcarlini@unitus.it>
3395132720Skan
3396132720Skan	* config/locale/gnu/c_locale.h (__convert_from_v): Include
3397132720Skan	<cstdio>. Qualify names.
3398132720Skan	* config/locale/generic/c_locale.h (__convert_from_v): Ditto.
3399132720Skan
3400132720Skan2003-07-14  Paolo Carlini  <pcarlini@unitus.it>
3401132720Skan	    Nathan C. Myers  <ncm-nospam@cantrip.org>
3402132720Skan
3403132720Skan	PR libstdc++/11378
3404132720Skan	* include/std/std_fstream.h (xsputn): Declare only.
3405132720Skan	* include/bits/fstream.tcc (xsputn): Define, optimize for the
3406132720Skan	always_noconv() case: when __n is sufficiently large flush
3407132720Skan	the buffer and issue a direct write, if possible combining the
3408132720Skan	two with writev in __basic_file<>::xsputn_2.
3409132720Skan	* config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
3410132720Skan	New, declare.
3411132720Skan	* config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
3412132720Skan	Define.
3413132720Skan	* acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
3414132720Skan	the availability of writev in <sys/uio.h>.
3415132720Skan	* configure.in: Call here.
3416132720Skan	* acconfig.h: Add undef for the corresponding symbol.
3417132720Skan	* aclocal.m4: Regenerate.
3418132720Skan	* configure: Regenerate.
3419132720Skan	* config.h.in: Regenerate.
3420132720Skan	* testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
3421132720Skan
3422132720Skan	* include/std/std_fstream.h (sync): Constify a variable.
3423132720Skan
3424132720Skan2003-07-14  Benjamin Kosnik  <bkoz@redhat.com>
3425132720Skan
3426132720Skan	* testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
3427132720Skan	* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
3428132720Skan
3429132720Skan2003-07-14  Gabriel Dos Reis  <gcc@integrable-solutions.net>
3430132720Skan
3431132720Skan	* config/locale/gnu/c_locale.h (__convert_from_v): Include
3432132720Skan	<cstring> and <cstdlib>. Qualify names.
3433132720Skan
3434132720Skan2003-07-13  Mark Mitchell  <mark@codesourcery.com>
3435132720Skan
3436132720Skan	* config/locale/generic/c_locale.h: Include <cstdlib> and
3437132720Skan	<cstring>.
3438132720Skan	* include/bits/boost_concept_check.h: Add this-> to unqualified
3439132720Skan	method calls.
3440132720Skan	* include/bits/deque.tcc: Likewise.
3441132720Skan	* include/bits/locale_facets.h : Likewise.
3442132720Skan	* include/bits/ostream.tcc: Likewise.
3443132720Skan	* include/bits/stl_algo.h: Likewise.
3444132720Skan	* include/bits/stl_bvector.h: Likewise.
3445132720Skan	* include/bits/stl_deque.h: Likewise.
3446132720Skan	* include/bits/stl_list.h: Likewise.
3447132720Skan	* include/bits/stl_tree.h: Likewise.
3448132720Skan	* include/bits/stl_vector.h: Likewise.
3449132720Skan	* include/bits/vector.tcc: Likewise.
3450132720Skan	* include/ext/rope: Likewise.
3451132720Skan	* include/ext/ropeimpl.h: Likewise.
3452132720Skan	* include/ext/stdio_filebuf.h: Likewise.
3453132720Skan
3454132720Skan2003-07-11  Jerry Quinn  <jlquinn@optonline.net>
3455132720Skan
3456132720Skan	* include/bits/basic_ios.h (copyfmt): Document.
3457132720Skan	* include/bits/ios_base.h (event, event_callback, register_callback,
3458132720Skan	xalloc, iword, pword):  Document.
3459132720Skan	(imbue, ~ios_base): Update docs on callbacks.
3460132720Skan
3461132720Skan2003-07-11  Phil Edwards  <pme@gcc.gnu.org>
3462132720Skan
3463132720Skan	* acinclude.m4 (GLIBCC_ENABLE_SYMVERS):  Tweak comments.  Add
3464132720Skan	warning messages if the environment cannot support symbol versioning.
3465132720Skan	(port_specific_symbol_file):  It's plural, add an 's' on the end.
3466132720Skan	* configure.host:  Likewise.
3467132720Skan	* src/Makefile.am:  Likewise.
3468132720Skan	* config/linker-map.gnu:  Remove one semicolon, heh.
3469132720Skan	* scripts/extract_symvers:  Don't assume useful 'export' syntax.
3470132720Skan	Set LANG as well as LC_ALL for possibly-broken sort(1)s.
3471132720Skan	* aclocal.m4, configure, src/Makefile.in:  Regenerated.
3472132720Skan
3473132720Skan2003-07-09  Benjamin Kosnik  <bkoz@redhat.com>
3474132720Skan
3475132720Skan	* include/bits/locale_facets.tcc: Use function object for
3476132720Skan	__use_cache instead of template function. Partially specialize for
3477132720Skan	__numpunct<_CharT>.
3478132720Skan	* include/bits/locale_classes.h: Update friend declaration for
3479132720Skan	__use_cache.
3480132720Skan	(_M_install_cache): No throw exception specs.
3481132720Skan	* src/locale.cc: Remove __use_cache specializations.
3482132720Skan	* include/ext/pod_char_traits.h (length): Tweak.
3483132720Skan	* include/bits/locale_facets.h (__numpunct_cache): Remove
3484132720Skan	char_type typedef.
3485132720Skan	* testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
3486132720Skan	(pod_long): Remove.
3487132720Skan	* testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
3488132720Skan	* testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
3489132720Skan	* testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
3490132720Skan	* testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
3491132720Skan	* testsuite/22_locale/numpunct/members/pod/1.cc: New.
3492132720Skan	* testsuite/22_locale/numpunct/members/pod/2.cc: New.
3493132720Skan
3494132720Skan2003-07-09  Jerry Quinn  <jlquinn@optonline.net>
3495132720Skan
3496132720Skan	* src/ios.cc (_M_grow_words):  Fix spelling.
3497132720Skan
3498132720Skan2003-07-09  Gawain Bolton  <gp.bolton@computer.org>
3499132720Skan
3500132720Skan	* include/bits/stl_tree.h: Move larger member functions in
3501132720Skan	_Rb_tree_base_iterator and _Rb_tree_node to...
3502132720Skan	* src/stl_tree.cc: Here.
3503132720Skan	* src/Makefile.in: Add stl_tree.cc.
3504132720Skan	* src/Makefile.in: Regenerated.
3505132720Skan	* config/linker-map.gnu: Add symbols here.
3506132720Skan
3507132720Skan2003-07-08  Benjamin Kosnik  <bkoz@redhat.com>
3508132720Skan
3509132720Skan	* testsuite/ext/pod_char_traits.cc: New.
3510132720Skan	* include/ext/pod_char_traits.h: New.
3511132720Skan	* include/Makefile.am (ext_headers): Add pod_char_traits.h.
3512132720Skan	* include/Makefile.in: Regenerate.
3513132720Skan	* docs/html/21_strings/howto.html: Update.
3514132720Skan
3515132720Skan2003-07-08  Gawain Bolton  <gp.bolton@computer.org>
3516132720Skan
3517132720Skan	* testsuite/performance/list_create_fill_sort.cc: New.
3518132720Skan
3519132720Skan2003-07-08  Benjamin Kosnik  <bkoz@redhat.com>
3520132720Skan
3521132720Skan	* config/locale/generic/numeric_members.cc: Correct type info.
3522132720Skan	* config/locale/gnu/numeric_members.cc: Same.
3523132720Skan	* include/bits/locale_facets.h: Same.
3524132720Skan
3525132720Skan	* include/bits/char_traits.h: Correct spacing.
3526132720Skan
3527132720Skan	* src/locale.cc: Wrap to 80 col.
3528132720Skan
3529132720Skan2003-07-07  Paolo Carlini  <pcarlini@unitus.it>
3530132720Skan
3531132720Skan	* include/std/std_complex.h: Partially revert last
3532132720Skan	changes: cmath functions must not be qualified.
3533132720Skan
3534132720Skan2003-07-06  Phil Edwards  <pme@gcc.gnu.org>
3535132720Skan
3536132720Skan	* acinclude.m4 (GLIBCXX_ENABLE_SYMVERS):  Do not test for binutils
3537132720Skan	2.11 with globbing backport fix.
3538132720Skan	* aclocal.m4, configure:  Regenerated.
3539132720Skan
3540132720Skan2003-07-06  Paolo Carlini  <pcarlini@unitus.it>
3541132720Skan
3542132720Skan	* include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
3543132720Skan	if output is at all possible (!_M_reading), cannot be active.
3544132720Skan
3545132720Skan	* include/std/std_fstream.h: Tweak comments to doxygen style.
3546132720Skan
3547132720Skan2003-07-06  Paolo Carlini  <pcarlini@unitus.it>
3548132720Skan
3549132720Skan	* include/bits/locale_classes.h: Fully qualify standard
3550132720Skan	functions with std::, thus avoiding Koenig lookup.
3551132720Skan	* include/bits/locale_facets.tcc: Likewise.
3552132720Skan	* src/locale.cc: Likewise.
3553132720Skan	* src/localename.cc: Likewise.
3554132720Skan
3555132720Skan2003-07-06  Phil Edwards  <pme@gcc.gnu.org>
3556132720Skan
3557132720Skan	* include/bits/allocator_traits.h:  Fix doxygen markup.
3558132720Skan	* include/ext/mt_allocator.h:  Likewise.
3559132720Skan
3560132720Skan2003-07-06  Phil Edwards  <pme@gcc.gnu.org>
3561132720Skan
3562132720Skan	* testsuite/testsuite_hooks.h:  Guard against a missing unlink().
3563132720Skan
3564132720Skan2003-07-05  Phil Edwards  <pme@gcc.gnu.org>
3565132720Skan
3566132720Skan	* acinclude.m4 (GLIBCXX_ENABLE_SYMVERS):  Bump minimal version
3567132720Skan	requirement.  Add port_specific_symbol_file variable.
3568132720Skan	* configure.host:  Add docs for port_specific_symbol_file.
3569132720Skan	Clean up try_cpu block for x86.
3570132720Skan	* config/linker-map.gnu:  No more "last symbol can't have a
3571132720Skan	semicolon" kaka.  Add hook for port-specific symbols.
3572132720Skan	* src/Makefile.am:  Remove trailing whitespace.
3573132720Skan	(libstdc++-symbol.ver):  Detect the presence of port-specific
3574132720Skan	symbols, and add them accordingly.
3575132720Skan
3576132720Skan	* docs/html/17_intro/porting.texi:  Bring up to date.
3577132720Skan
3578132720Skan	* src/Makefile.in, aclocal.m4, configure,
3579132720Skan	docs/html/17_intro/porting.html:  Regenerated.
3580132720Skan
3581132720Skan2003-07-05  Phil Edwards  <pme@gcc.gnu.org>
3582132720Skan
3583132720Skan	* scripts/create_testsuite_files:  New file.
3584132720Skan	* testsuite/Makefile.am (all-local, check-performance):  Use it.
3585132720Skan	* testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests):  Remove.
3586132720Skan	* testsuite/Makefile.in:  Regenerated.
3587132720Skan
3588132720Skan	* testsuite/performance/filebuf_sputc.cc:  Remove the temporary
3589132720Skan	files at the end.
3590132720Skan	* testsuite/performance/fstream_seek_write.cc:  Likewise.
3591132720Skan	* testsuite/performance/ofstream_insert_float.cc:  Likewise.
3592132720Skan	* testsuite/performance/ofstream_insert_int.cc:  Likewise.
3593132720Skan	* testsuite/abi_check.cc (main):  Nicer spacing in usage output.
3594132720Skan
3595132720Skan2003-07-05  Gawain Bolton  <gp.bolton@computer.org>
3596132720Skan
3597132720Skan	* include/bits/stl_list.h: Performance and memory usage
3598132720Skan	improvements. In particular, the behaviour of the constructor and
3599132720Skan	destructor as the list header node is no longer dynamically
3600132720Skan	allocated/de-allocated.
3601132720Skan	* include/bits/list.tcc: Likewise.
3602132720Skan
3603132720Skan2003-07-05  Paolo Carlini  <pcarlini@unitus.it>
3604132720Skan
3605132720Skan	* include/std/std_complex.h: Fully qualify standard
3606132720Skan	functions with std::, thus avoiding Koenig lookup.
3607132720Skan	* include/std/std_memory.h: Likewise.
3608132720Skan	* include/std/std_valarray.h: Likewise.
3609132720Skan
3610132720Skan2003-07-05  Gawain Bolton  <gp.bolton@computer.org>
3611132720Skan
3612132720Skan	* include/bits/stl_tree.h: _Rb_tree_rebalance():  Add local
3613132720Skan	  variable for grandparent and use const
3614132720Skan
3615132720Skan2003-07-05  David Billinghurst <David.Billinghurst@riotinto.com>
3616132720Skan
3617132720Skan	* testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
3618132720Skan	* testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
3619132720Skan	* testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
3620132720Skan 	* testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
3621132720Skan	* testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
3622132720Skan 	* testsuite/27_io/objects/char/7.cc: Ditto
3623132720Skan 	* testsuite/27_io/objects/char/9661-1.cc: Ditto
3624132720Skan
3625132720Skan2003-07-05  Paolo Carlini  <pcarlini@unitus.it>
3626132720Skan
3627132720Skan	* include/std/std_bitset.h: Fully qualify standard
3628132720Skan	functions with std::, thus avoiding Koenig lookup.
3629132720Skan
3630132720Skan	* include/std/std_fstream.h: Change comment to doxygen style.
3631132720Skan
3632132720Skan2003-07-05  Phil Edwards  <pme@gcc.gnu.org>
3633132720Skan
3634132720Skan	* include/std/std_limits.h:  More CPP->CXX changes.
3635132720Skan	* scripts/check_survey.in:  Likewise.
3636132720Skan
3637132720Skan2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>
3638132720Skan
3639132720Skan	Move from CPP to CXX.
3640132720Skan	* include/bits/c++config: Move to GLIBCXX from GLIBCPP.
3641132720Skan	* testsuite/Makefile.am: Same.
3642132720Skan	* testsuite/Makefile.in: Regenerate.
3643132720Skan	* po/Makefile.am: Same.
3644132720Skan	* po/Makefile.in: Regenerate.
3645132720Skan	* libsupc++/Makefile.am: Same.
3646132720Skan	* libsupc++/Makefile.in: Regenerate.
3647132720Skan	* libmath/Makefile.am: Same.
3648132720Skan	* libmath/Makefile.in: Regenerate.
3649132720Skan	* include/Makefile.am: Same.
3650132720Skan	* include/Makefile.in: Regenerate.
3651132720Skan	* src/Makefile.am: Same.
3652132720Skan	* src/Makefile.in: Regenerate.
3653132720Skan	* acconfig.h: Same.
3654132720Skan	* configure.host: Same.
3655132720Skan	* configure.in: Same.
3656132720Skan	* configure: Regenerate.
3657132720Skan	* acinclude.m4: Same.
3658132720Skan	* aclocal.m4: Same.
3659132720Skan	* src: Change all files in this directory.
3660132720Skan	* testsuite: Same.
3661132720Skan	* include: Same, standardize include guards.
3662132720Skan	* config: Same.
3663132720Skan	* libsupc++: Same.
3664132720Skan
3665132720Skan2003-07-04  Zack Weinberg  <zack@codesourcery.com>
3666132720Skan
3667132720Skan	* testsuite/22_locale/collate/compare/wchar_t/2.cc
3668132720Skan	* testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
3669132720Skan	* testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
3670132720Skan	* testsuite/22_locale/collate/hash/wchar_t/2.cc
3671132720Skan	* testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
3672132720Skan	* testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
3673132720Skan	* testsuite/22_locale/collate/transform/wchar_t/2.cc
3674132720Skan	* testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
3675132720Skan	* testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
3676132720Skan	XFAIL on all targets.
3677132720Skan
3678132720Skan2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>
3679132720Skan
3680132720Skan	* acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
3681132720Skan	* aclocal.m4: Regenerate.
3682132720Skan	* configure: Regenerate.
3683132720Skan
3684132720Skan2003-07-04  Jerry Quinn  <jlquinn@optonline.net>
3685132720Skan
3686132720Skan	* include/bits/locale_facets.tcc (__int_to_char): Move common case
3687132720Skan	to the top.
3688132720Skan
3689132720Skan2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>
3690132720Skan	    Petur Runolfsson  <peturr02@ru.is>
3691132720Skan
3692132720Skan	* config/io/basic_file_stdio.cc: Revert.
3693132720Skan
3694132720Skan2003-07-04  Paolo Carlini  <pcarlini@unitus.it>
3695132720Skan
3696132720Skan	* include/bits/deque.tcc: Fully qualify standard
3697132720Skan	functions with std::, thus avoiding Koenig lookup.
3698132720Skan	* include/bits/gslice_array.h: Likewise.
3699132720Skan	* include/bits/indirect_array.h: Likewise.
3700132720Skan	* include/bits/list.tcc: Likewise.
3701132720Skan	* include/bits/mask_array.h: Likewise.
3702132720Skan	* include/bits/slice_array.h: Likewise.
3703132720Skan
3704132720Skan2003-07-04  Gawain Bolton  <gbolton@free.fr>
3705132720Skan
3706132720Skan	* include/bits/stl_tree.h: Performance and memory usage
3707132720Skan	improvements.
3708132720Skan
3709132720Skan2003-07-04  H.J. Lu <hongjiu.lu@intel.com>
3710132720Skan
3711132720Skan	* Makefile.am: Replace PWD with PWD_COMMAND.
3712132720Skan	* Makefile.in: Regenerated.
3713132720Skan	* docs/html/Makefile: Likewise.
3714132720Skan
3715132720Skan2003-07-04  Paolo Carlini  <pcarlini@unitus.it>
3716132720Skan
3717132720Skan	* include/bits/valarray_array.h: Fully qualify standard
3718132720Skan	functions with std::, thus avoiding Koenig lookup.
3719132720Skan	* include/bits/vector.tcc: Likewise.
3720132720Skan
3721132720Skan2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>
3722132720Skan
3723132720Skan	* include/Makefile.am: Update target_ to host_.
3724132720Skan	* include/Makefile.in: Regenerate.
3725132720Skan	* src/Makefile.am: Same.
3726132720Skan	* src/Makefile.in: Regenerate.
3727132720Skan
3728132720Skan	* config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
3729132720Skan
3730132720Skan2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>
3731132720Skan
3732132720Skan	* acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
3733132720Skan	--enable-libstdcxx-debug-flags.
3734132720Skan	(GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
3735132720Skan	(GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
3736132720Skan	* aclocal.m4: Regenerate.
3737132720Skan	* configure: Same.
3738132720Skan	* docs/html/configopts.html: Update.
3739132720Skan
3740132720Skan2003-07-04  Paolo Carlini  <pcarlini@unitus.it>
3741132720Skan
3742132720Skan	Revert the fix for libstdc++/11378.
3743132720Skan
3744132720Skan2003-07-04  Paolo Carlini  <pcarlini@unitus.it>
3745132720Skan
3746132720Skan	PR libstdc++/11378
3747132720Skan	* include/std/std_fstream.h (xsputn): In the unbuffered case,
3748132720Skan	provided always_noconv(), issue directly _M_file.xsputn.
3749132720Skan	* testsuite/performance/filebuf_unbuf_sputn.cc: New.
3750132720Skan
3751132720Skan2003-07-04  Paolo Carlini  <pcarlini@unitus.it>
3752132720Skan
3753132720Skan	* include/bits/stl_list.h: Fully qualify standard
3754132720Skan	functions with std::, thus avoiding Koenig lookup.
3755132720Skan	* include/bits/stl_queue.h: Likewise.
3756132720Skan	* include/bits/stl_raw_storage_iter.h: Likewise.
3757132720Skan	* include/bits/stl_tempbuf.h: Likewise.
3758132720Skan	* include/bits/stl_tree.h: Likewise.
3759132720Skan	* include/bits/stl_uninitialized.h: Likewise.
3760132720Skan	* include/bits/stl_vector.h: Likewise.
3761132720Skan	* include/ext/rope: Change includes order.
3762132720Skan
3763132720Skan2003-07-04  Benjamin Kosnik  <bkoz@redhat.com>
3764132720Skan
3765132720Skan	* configure.host (fpos_include_dir): Fix.
3766132720Skan
3767132720Skan2003-07-04  Paolo Carlini  <pcarlini@unitus.it>
3768132720Skan
3769132720Skan	* include/bits/stl_heap.h: Fully qualify standard
3770132720Skan	functions with std::, thus avoiding Koenig lookup.
3771132720Skan	* include/bits/stl_iterator_base_funcs.h: Likewise.
3772132720Skan
3773132720Skan	* include/bits/stl_algo.h: Qualify __iterator_category too.
3774132720Skan	* include/bits/stl_algobase.h: Likewise.
3775132720Skan	* include/bits/stl_bvector.h: Likewise.
3776132720Skan
3777132720Skan	* include/bits/stl_algo.h: Don't qualify the pair type.
3778132720Skan
3779132720Skan2003-07-03  Benjamin Kosnik  <bkoz@redhat.com>
3780132720Skan
3781132720Skan	* include/Makefile.am (target_headers): Add fpos.h
3782132720Skan	(bits_headers): Remove.
3783132720Skan	* include/Makefile.in: Regenerate.
3784132720Skan	* configure.in: Add FPOS_INC_SRCDIR, substitute it.
3785132720Skan	* configure: Regenerate.
3786132720Skan	* configure.host: Add fpos_include_dir.
3787132720Skan	* config/os/gnu-linux/fpos.h: New.
3788132720Skan	* config/os/generic/fpos.h: Add.
3789132720Skan	* include/bits/fpos.h: Remove.
3790132720Skan
3791132720Skan	* config/io/c_io_stdio.h: Remove fpos_t typedef.
3792132720Skan
3793132720Skan	* include/bits/fstream.tcc: Tweaks.
3794132720Skan	* include/std/std_fstream.h: Same.
3795132720Skan
3796132720Skan	* testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
3797132720Skan	* testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
3798132720Skan	* testsuite/27_io/fpos/mbstate_t/2.cc: Same.
3799132720Skan	* testsuite/27_io/fpos/mbstate_t/3.cc: Same.
3800132720Skan	* testsuite/27_io/fpos/1.cc: New.
3801132720Skan
3802132720Skan2003-07-03  Benjamin Kosnik  <bkoz@redhat.com>
3803132720Skan	    Petur Runolfsson  <peturr02@ru.is>
3804132720Skan
3805132720Skan	* include/std/std_streambuf.h: Remove _M_pos.
3806132720Skan	* config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
3807132720Skan	* config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
3808132720Skan	use fread/fwrite instead of read/write.
3809132720Skan	* testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
3810132720Skan	* testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
3811132720Skan	before reading again.
3812132720Skan	* testsuite/27_io/objects/char/6.cc: Tweak.
3813132720Skan
3814132720Skan2003-07-03  David Edelsohn  <edelsohn@gnu.org>
3815132720Skan
3816132720Skan	* testsuite/22_locale/num_put/put/char/7.cc: Guard with
3817132720Skan	_GLIBCPP_USE_WCHAR_T.
3818132720Skan
3819132720Skan2003-07-02  Paolo Carlini  <pcarlini@unitus.it>
3820132720Skan
3821132720Skan	* include/bits/basic_string.tcc (_M_replace_aux): Constify
3822132720Skan	__n1 and __off1.
3823132720Skan
3824132720Skan2003-07-02  Paolo Carlini  <pcarlini@unitus.it>
3825132720Skan
3826132720Skan	* include/bits/stl_bvector.h: Fully qualify standard
3827132720Skan	functions with std::, thus avoiding Koenig lookup.
3828132720Skan	* include/bits/stl_construct.h: Likewise.
3829132720Skan	* include/bits/stl_deque.h: Likewise.
3830132720Skan
3831132720Skan2003-07-02  Paolo Carlini  <pcarlini@unitus.it>
3832132720Skan
3833132720Skan	* testsuite/22_locale/num_put/put/char/7.cc: Include
3834132720Skan	<testsuite_hooks.h>, tweak.
3835132720Skan	* testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
3836132720Skan
3837132720Skan2003-07-01  Phil Edwards  <pme@gcc.gnu.org>
3838132720Skan
3839132720Skan	* testsuite/Makefile.am (AM_MAKEFLAGS):  Set to -j1 (affects
3840132720Skan	check* targets, but not libs/programs).
3841132720Skan	* testsuite/Makefile.in:  Regenerate.
3842132720Skan
3843132720Skan2003-07-01  Roger Sayle  <roger@eyesopen.com>
3844132720Skan
3845132720Skan	* acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
3846132720Skan	(GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
3847132720Skan	* aclocal.m4: Regenerate.
3848132720Skan	* configure: Regenerate.
3849132720Skan
3850132720Skan2003-07-01  Benjamin Kosnik  <bkoz@redhat.com>
3851132720Skan
3852132720Skan	* acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
3853132720Skan	* aclocal.m4: Regenerated.
3854132720Skan	* configure: Regenerated.
3855132720Skan
3856132720Skan2003-07-01  Paolo Carlini  <pcarlini@unitus.it>
3857132720Skan
3858132720Skan	PR libstdc++/11389
3859132720Skan	* include/bits/fstream.tcc (underflow): For encoding() == 0
3860132720Skan	don't read more than __buflen chars.
3861132720Skan	* testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
3862132720Skan	* testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
3863132720Skan	* testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
3864132720Skan	* testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
3865132720Skan
3866132720Skan2003-07-01  Jerry Quinn  <jlquinn@optonline.net>
3867132720Skan
3868132720Skan	* 22_locale/num_put/put/char/7.cc: New.
3869132720Skan	* 22_locale/num_put/put/wchar_t/7.cc: New.
3870132720Skan
3871132720Skan2003-06-30  Jerry Quinn  <jlquinn@optonline.net>
3872132720Skan
3873132720Skan	* src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
3874132720Skan	* include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
3875132720Skan
3876132720Skan2003-06-30  Benjamin Kosnik  <bkoz@redhat.com>
3877132720Skan
3878132720Skan	* 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
3879132720Skan	* 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
3880132720Skan	* 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
3881132720Skan	* 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
3882132720Skan	* 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
3883132720Skan	* 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
3884132720Skan	* 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
3885132720Skan	* 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
3886132720Skan	* 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
3887132720Skan	* 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
3888132720Skan	* 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
3889132720Skan	* 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
3890132720Skan	* 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
3891132720Skan	* 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
3892132720Skan	* 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
3893132720Skan	* 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
3894132720Skan	* 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
3895132720Skan	* 27_io/basic_filebuf/seekpos/char/2.cc: Change.
3896132720Skan	* 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
3897132720Skan	* 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
3898132720Skan	* 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
3899132720Skan	* 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
3900132720Skan 	* data/seekoff-1.tst: Remove.
3901132720Skan	* data/seekoff-1io.tst: New.
3902132720Skan	* data/seekoff-1out.tst: New.
3903132720Skan	* data/seekoff-2.tst: Remove.
3904132720Skan	* data/seekoff-2io.tst: New.
3905132720Skan	* data/seekoff-2out.tst: New.
3906132720Skan	* data/seekoff.txt
3907132720Skan	* data/seekpos-1.tst: Remove.
3908132720Skan	* data/seekpos-1io.tst: New.
3909132720Skan	* data/seekpos-1out.tst: New.
3910132720Skan	* data/seekpos-2.tst: Remove.
3911132720Skan	* data/seekpos-2io.tst: New.
3912132720Skan	* data/seekpos-2out.tst: New.
3913132720Skan	* data/seekpos.txt: New.
3914132720Skan
3915132720Skan2003-06-30  Jerry Quinn  <jlquinn@optonline.net>
3916132720Skan
3917132720Skan	* src/locale.cc (__use_cache<numpunct>): Move from here ...
3918132720Skan	* include/bits/locale_facets.tcc (__use_cache<numpunct>): To
3919132720Skan	here.
3920132720Skan
3921132720Skan2003-06-30  Paolo Carlini  <pcarlini@unitus.it>
3922132720Skan
3923132720Skan	* include/bits/stl_algobase.h: Fully qualify standard
3924132720Skan	functions with std::, thus avoiding Koenig lookup.
3925132720Skan
3926132720Skan2003-06-30  Doug Gregor <dgregor@apple.com>
3927132720Skan
3928132720Skan	* include/bits/locale_facets.tcc (money_get::do_get): Avoid
3929132720Skan	subscripting empty string.
3930132720Skan
3931132720Skan2003-06-30  Phil Edwards  <pme@gcc.gnu.org>
3932132720Skan
3933132720Skan	* testsuite/Makefile.am (check-am):  Do not override.
3934132720Skan	(baseline_symbols):  Declare as PHONY, so no need to 'touch' it.
3935132720Skan	* testsuite/Makefile.in:  Regenerate.
3936132720Skan
3937132720Skan2003-06-30  Doug Gregor <dgregor@apple.com>
3938132720Skan
3939132720Skan	* testsuite/24_iterators/insert_iterator.cc (test01, test02):
3940132720Skan	Don't initialize an insert_iterator with a singular iterator.
3941132720Skan
3942132720Skan2003-06-30  Benjamin Kosnik  <bkoz@redhat.com>
3943132720Skan
3944132720Skan	* acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
3945132720Skan	* aclocal.m4: Regenerate.
3946132720Skan	* configure.in (GLIBCPP_CHECK_PCH): Move, change to
3947132720Skan	GLIBCPP_ENABLE_PCH, default to yes.
3948132720Skan	* configure: Regenerate.
3949132720Skan	* docs/html/configopts.html: Add --enable-pch.
3950132720Skan
3951132720Skan2003-06-30  Phil Edwards  <pme@gcc.gnu.org>
3952132720Skan
3953132720Skan	* testsuite/lib/libstdc++-v3-dg.exp:  Add comments.
3954132720Skan	(libstdc++-v3-init):  Also set LD_RUN_PATH.
3955132720Skan
3956132720Skan2003-06-30  Paolo Carlini  <pcarlini@unitus.it>
3957132720Skan
3958132720Skan	* include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
3959132720Skan	from here to filebuf and stringbuf.
3960132720Skan	(~basic_streambuf()): Don't set _M_mode.
3961132720Skan	(basic_streambuf()): Don't set _M_mode.
3962132720Skan	* include/std/std_fstream.h (_M_mode): Move here, from streambuf.
3963132720Skan	(~basic_filebuf()): Clean up.
3964132720Skan	* include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
3965132720Skan	* include/std/std_sstream.h (_M_mode): Move here, from streambuf.
3966132720Skan	* testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
3967132720Skan	* testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
3968132720Skan	* testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
3969132720Skan	* testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
3970132720Skan	* testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
3971132720Skan
3972132720Skan2003-06-30  Paolo Carlini  <pcarlini@unitus.it>
3973132720Skan
3974132720Skan	* include/std/std_fstream.h (_M_underflow): Remove.
3975132720Skan	(uflow): Remove, inherited from streambuf.
3976132720Skan	(underflow): Only declare.
3977132720Skan	* include/bits/fstream.tcc (_M_underflow): Rename to
3978132720Skan	underflow, to which is equivalent for __bump == false,
3979132720Skan	simplify.
3980132720Skan	* include/std/std_sstream.h (_M_underflow): Remove.
3981132720Skan	(uflow): Remove, inherited from streambuf.
3982132720Skan	(underflow): Only declare.
3983132720Skan	* include/bits/sstream.tcc (_M_underflow): Rename to
3984132720Skan	underflow, to which is equivalent for __bump == false,
3985132720Skan	simplify.
3986132720Skan
3987132720Skan2003-06-29  Paolo Carlini  <pcarlini@unitus.it>
3988132720Skan
3989132720Skan	* include/bits/stl_algo.h: Fully qualify standard functions
3990132720Skan	with std::, thus avoiding Koenig lookup.
3991132720Skan
3992132720Skan2003-06-29  Paolo Carlini  <pcarlini@unitus.it>
3993132720Skan
3994132720Skan	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
3995132720Skan	Improve type correctness-wise.
3996132720Skan	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
3997132720Skan	Likewise.
3998132720Skan	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
3999132720Skan	Likewise.
4000132720Skan	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
4001132720Skan	Likewise.
4002132720Skan
4003132720Skan2003-06-29  Paolo Carlini  <pcarlini@unitus.it>
4004132720Skan
4005132720Skan	* include/std/std_streambuf.h (uflow): According to
4006132720Skan	27.5.2.4.3,p16, don't check gptr() < egptr().
4007132720Skan
4008132720Skan2003-06-28  Paolo Carlini  <pcarlini@unitus.it>
4009132720Skan
4010132720Skan	PR libstdc++/9875
4011132720Skan	* include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
4012132720Skan	(seekpos): Likewise.
4013132720Skan	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
4014132720Skan	New test.
4015132720Skan	* testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
4016132720Skan	New test.
4017132720Skan
4018132720Skan2003-06-27  Benjamin Kosnik  <bkoz@redhat.com>
4019132720Skan
4020132720Skan	* testsuite/testsuite_performance.h (__gnu_cxx_test): Change
4021132720Skan	output name to libstdc++-v3-performance.sum.
4022132720Skan	* testsuite/Makefile.am (CLEANFILES): Remove .performance.
4023132720Skan	* testsuite/Makefile.in: Regenerate.
4024132720Skan
4025132720Skan2003-06-27  Matthias Klose  <doko@debian.org>
4026132720Skan
4027132720Skan	* testsuite/Makefile.am (check-abi, check-abi-verbose): Save
4028132720Skan	output of abi-check in libstdc++-v3-abi.sum.
4029132720Skan	* testsuite/Makefile.in: Regenerate.
4030132720Skan
4031132720Skan2003-06-27  Krister Walfridsson  <cato@df.lth.se>
4032132720Skan
4033132720Skan	* config/os/bsd/netbsd/ctype_noninline.h
4034132720Skan	(_C_ctype_): Declare.
4035132720Skan	(ctype<char>::classic_table): Return _C_ctype_ + 1.
4036132720Skan	(ctype<char>::ctype): Use classic_table.
4037132720Skan
4038132720Skan2003-06-27  Paolo Carlini  <pcarlini@unitus.it>
4039132720Skan	    Nathan C. Myers  <ncm-nospam@cantrip.org>
4040132720Skan
4041132720Skan	PR libstdc++/9178
4042132720Skan	* include/bits/fstream.tcc (_M_underflow): Properly estimate
4043132720Skan	the worst-case number of external bytes for a given get area.
4044132720Skan	* testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
4045132720Skan
4046132720Skan2003-06-27  Paolo Carlini  <pcarlini@unitus.it>
4047132720Skan	    Petur Runolfsson  <peturr02@ru.is>
4048132720Skan
4049132720Skan	PR libstdc++/11305
4050132720Skan	* include/bits/fstream.tcc (overflow): Properly estimate the
4051132720Skan	worst-case number of external bytes for a given put area
4052132720Skan	(by using codecvt::max_length()).
4053132720Skan	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
4054132720Skan	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
4055132720Skan	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
4056132720Skan	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
4057132720Skan
4058132720Skan2003-06-27  Nathan Sidwell  <nathan@codesourcery.com>
4059132720Skan
4060132720Skan	* config/linker-map.gnu: Remove ; after __numpunct_cache.
4061132720Skan
4062132720Skan2003-06-26  Benjamin Kosnik  <bkoz@redhat.com>
4063132720Skan
4064132720Skan	* include/bits/ios_base.h (ios_base::_M_getloc): Return reference
4065132720Skan	to the imbued locale.
4066132720Skan	* include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
4067132720Skan	_M_getloc.
4068132720Skan	(num_put::_M_convert_float): Use.
4069132720Skan
4070132720Skan2003-06-26  Benjamin Kosnik  <bkoz@redhat.com>
4071132720Skan	    Jerry Quinn  <jlquinn@optonline.net>
4072132720Skan
4073132720Skan	* config/linker-map.gnu: Add __numpunct_cache.
4074132720Skan	* config/locale/gnu/numeric_members.cc
4075132720Skan	(numpunct::_M_initialize_numpunct): Account for _M_data, fill in
4076132720Skan	all elements for "C" locale.
4077132720Skan	(numpunct::~numpunct): Delete _M_data.
4078132720Skan	* config/locale/generic/numeric_members.cc: Same.
4079132720Skan	* include/bits/basic_ios.tcc
4080132720Skan	(basic_ios::init): Remove __locale_cache bits.
4081132720Skan	(basic_ios::_M_cache_locale): Same.
4082132720Skan	* include/bits/ios_base.h: Same. Tweaks.
4083132720Skan	* include/bits/locale_classes.h: Tweaks. Reorder classes.
4084132720Skan	(__use_cache): Make friends with _Impl, locale.
4085132720Skan	(_Impl::_M_caches): Add.
4086132720Skan	(_Impl::_M_install_cache): Add.
4087132720Skan	* include/bits/locale_facets.h (__numpunct_cache): New.
4088132720Skan	(numpunct): Encapsulate data members in __numpunct_cache member,
4089132720Skan	_M_data. Adjust virtuals.
4090132720Skan	(numpunct::numpunct): New ctor for the same.
4091132720Skan	(__locale_cache_base): Remove.
4092132720Skan	(__locale_cache): Remove.
4093132720Skan	* include/bits/locale_facets.tcc (__use_cache): New function,
4094132720Skan	specializations.
4095132720Skan	(num_put::_M_convert_int, _M_convert_float, do_put): Use it.
4096132720Skan	* src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
4097132720Skan	* src/ios.cc (ios_base::ios_base): Remove __locale_cache.
4098132720Skan	* src/locale-inst.cc: Same. Add __numpunct_cache.
4099132720Skan	* src/locale.cc: Tweak inlines.
4100132720Skan	(__use_cache): Define specializations.
4101132720Skan	* src/localename.cc: Use global bits.
4102132720Skan	(_Impl::~Impl): Deal with __numpunct_cache destruction.
4103132720Skan	(_Impl::_Impl): Same. Pre-cache standard numpunct facets.
4104132720Skan	(_Impl::_M_init_facet): Take into account __numpunct_cache.
4105132720Skan	* testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
4106132720Skan	* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
4107132720Skan
4108132720Skan2003-06-26  Nathan C. Myers  <ncm-nospam@cantrip.org>
4109132720Skan	    Paolo Carlini  <pcarlini@unitus.it>
4110132720Skan
4111132720Skan	* testsuite/performance/filebuf_copy.cc: New, testing char
4112132720Skan	by char file copy.
4113132720Skan
4114132720Skan2003-06-26  Paolo Carlini  <pcarlini@unitus.it>
4115132720Skan	    Nathan C. Myers  <ncm-nospam@cantrip.org>
4116132720Skan
4117132720Skan	* include/bits/fstream.tcc (_M_underflow): When the actual
4118132720Skan	end of file is reached, set 'uncommitted' mode to allow a
4119132720Skan	next write without an intervening seek (see C++98 27.8.1.1,2
4120132720Skan	and C89 7.9.5.3).
4121132720Skan	* testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
4122132720Skan
4123132720Skan2003-06-25  Nathan C. Myers  <ncm-nospam@cantrip.org>
4124132720Skan
4125132720Skan	* include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
4126132720Skan	sputc): Move inline, from here...
4127132720Skan	* include/std/std_streambuf.h: ... to here.
4128132720Skan
4129132720Skan	* include/std/std_streambuf.h (snextc, sbumpc, sgetc,
4130132720Skan	sputbackc, sungetc, sputc): Use __builtin_expect.
4131132720Skan
4132132720Skan2003-06-24  Phil Edwards  <pme@gcc.gnu.org>
4133132720Skan
4134132720Skan	* docs/doxygen/mainpage.html:  Use a useful title.
4135132720Skan
4136132720Skan2003-06-24  Benjamin Kosnik  <bkoz@redhat.com>
4137132720Skan
4138132720Skan	* docs/html/documentation.html: Remove assignment info.
4139132720Skan	* docs/html/17_intro/contribute.html: Edits.
4140132720Skan	* docs/html/17_intro/libstdc++-assign.tx: Remove.
4141132720Skan
4142132720Skan	* docs/html/test.html: Update.
4143132720Skan
4144132720Skan	* README: Update.
4145132720Skan
4146132720Skan2003-06-24  Benjamin Kosnik  <bkoz@redhat.com>
4147132720Skan	    Ulrich Drepper  <drepper@redhat.com>
4148132720Skan
4149132720Skan	* testsuite/testsuite_performance.h: Tweak mallinfo.
4150132720Skan
4151132720Skan2003-06-24  Paolo Carlini  <pcarlini@unitus.it>
4152132720Skan	    Nathan C. Myers  <ncm-nospam@cantrip.org>
4153132720Skan
4154132720Skan	* include/std/std_fstream.h (_M_filepos): Remove.
4155132720Skan	(_M_reading, _M_writing): New, encode the various I/O modes:
4156132720Skan	'read', 'write' and 'uncommitted'.
4157132720Skan	(sync): If there is something to flush, do it, then go to
4158132720Skan	'uncommitted' mode.
4159132720Skan	* include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
4160132720Skan	with three different cases: __off > 0 (upon underflow),
4161132720Skan	__off == 0 (upon overflow), __off == -1 (upon open, setbuf,
4162132720Skan	seekoff/pos).
4163132720Skan	(_M_underflow): Don't call overflow, set _M_reading to true
4164132720Skan	on success, tweak.
4165132720Skan	(pbackfail): Set _M_reading to true on pback creation, tweak.
4166132720Skan	(overflow): Don't seek, deal with overflow in 'uncommitted' mode,
4167132720Skan	set _M_writing to true on success, tweak.
4168132720Skan	(seekoff): Simplify, set _M_reading, _M_writing to false, call
4169132720Skan	_M_set_buffer(-1) ('uncommitted').
4170132720Skan	(open, close, setbuf): Set _M_reading, _M_writing to false and
4171132720Skan	call _M_set_buffer(-1), tweak.
4172132720Skan	(basic_filebuf): Don't set _M_buf_unified.
4173132720Skan	(_M_destroy_internal_buffer): Don't call setg and setp.
4174132720Skan	* include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
4175132720Skan	_M_writing and _M_set_buffer(-1).
4176132720Skan	* include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
4177132720Skan	_M_out_lim, _M_buf_unified): Remove.
4178132720Skan	(basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
4179132720Skan	(setp): Don't set _M_out_lim.
4180132720Skan	* testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
4181132720Skan	the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
4182132720Skan	upon open the mode is 'uncommitted' and therefore the put area
4183132720Skan	pointers are null.
4184132720Skan	* testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
4185132720Skan	* testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
4186132720Skan	* testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
4187132720Skan	* testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
4188132720Skan	* testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
4189132720Skan	* testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
4190132720Skan	* testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
4191132720Skan	* testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
4192132720Skan	* testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
4193132720Skan	* testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
4194132720Skan	* testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
4195132720Skan	* testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
4196132720Skan	* testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
4197132720Skan	* testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
4198132720Skan	* testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
4199132720Skan	* testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
4200132720Skan	* testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
4201132720Skan	* testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
4202132720Skan	* testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
4203132720Skan	* testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
4204132720Skan
4205132720Skan	* include/bits/fstream.tcc (showmanyc): Use only the
4206132720Skan	documented derivation interface to basic_streambuf (gptr(),
4207132720Skan	setg(), etc.) to work right with user specializations.
4208132720Skan	* include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
4209132720Skan	sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
4210132720Skan	* include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
4211132720Skan	Likewise.
4212132720Skan	* include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
4213132720Skan	xsgetn): Likewise.
4214132720Skan
4215132720Skan2003-06-23  Loren J. Rittle  <ljrittle@acm.org>
4216132720Skan
4217132720Skan	* configure.host (freebsd*): Set abi_baseline_pair.
4218132720Skan	* config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
4219132720Skan	(at or near first release) to 3.3.
4220132720Skan	* config/abi/i386-freebsd5/baseline_symbols.txt: New file.
4221132720Skan	* config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
4222132720Skan	* config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
4223132720Skan
4224132720Skan	* include/ext/mt_allocator.h: Portability.
4225132720Skan	* testsuite/testsuite_performance.h: Likewise.
4226132720Skan
4227132720Skan2003-06-23  Benjamin Kosnik  <bkoz@redhat.com>
4228132720Skan
4229132720Skan	* docs/html/17_intro/libstdc++-assign.txt: Update address.
4230132720Skan
4231132720Skan	* testsuite/performance/ifstream_getline.cc: Fix.
4232132720Skan
4233132720Skan2003-06-23  Doug Gregor <dgregor@apple.com>
4234132720Skan
4235132720Skan	* include/bits/boost_concept_check.h: Don't use _D or _R for type
4236132720Skan	names.
4237132720Skan
4238132720Skan2003-06-22  Paolo Carlini  <pcarlini@unitus.it>
4239132720Skan	    Nathan C. Myers  <ncm-nospam@cantrip.org>
4240132720Skan
4241132720Skan	* include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
4242132720Skan	is now used only for filebuf, when _M_buf_unified is true.
4243132720Skan	epgtr() plays the role of _M_out_lim but it's only updated
4244132720Skan	upon overflow, underflow, uflow, seekoff/pos.
4245132720Skan	* include/bits/sstream.tcc (_M_underflow): New, implements
4246132720Skan	stringbuf::underflow and uflow.
4247132720Skan	(seekoff, seekpos): Tweak, use  _M_update_egptr.
4248132720Skan	* include/std/std_sstream.h (str): Rewrote, deal correctly
4249132720Skan	with the new logic, in particular, when pptr() > egptr().
4250132720Skan	(_M_sync): When __testout && !__testin set all the get area
4251132720Skan	pointers to the current string end.
4252132720Skan	(_M_update_egptr): New, internal function updating egptr()
4253132720Skan	to the actual string end.
4254132720Skan	(_M_underflow): New, declare.
4255132720Skan	(underflow): Dispatch to _M_underflow(false).
4256132720Skan	(uflow): Dispatch to _M_underflow(true).
4257132720Skan
4258132720Skan	* include/bits/sstream.tcc (pbackfail, overflow, seekoff,
4259132720Skan	seekpos): Use only the documented derivation interface to
4260132720Skan	basic_streambuf (gptr(), setg(), etc.) to work right with
4261132720Skan	user specializations.
4262132720Skan	* include/std/std_sstream.h (str, _M_sync): Likewise.
4263132720Skan
4264132720Skan2003-06-20  Doug Gregor <dgregor@apple.com>
4265132720Skan
4266132720Skan	* testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
4267132720Skan	* testsuite/21_strings/basic_string/replace/char/4.cc: Don't
4268132720Skan	dereference end iterator.
4269132720Skan	* testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
4270132720Skan	* testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
4271132720Skan	index equal to the length of a string.
4272132720Skan	* testsuite/22_locale/ctype/narrow/char/2.cc: Same.
4273132720Skan	* testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
4274132720Skan	* testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
4275132720Skan	* testsuite/22_locale/ctype/widen/char/1.cc: Same.
4276132720Skan	* testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
4277132720Skan	* testsuite/23_containers/list_modifiers.cc: Don't dereference
4278132720Skan	singular reverse iterator.
4279132720Skan	* testsuite/23_containers/vector_bool.cc: Don't increment singular
4280132720Skan	iterator.
4281132720Skan	* testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
4282132720Skan
4283132720Skan2003-06-20  Doug Gregor <dgregor@apple.com>
4284132720Skan
4285132720Skan	* include/bits/basic_string.h (basic_string::replace): Dispatch
4286132720Skan	_InputIterator version based on _Is_integer.
4287132720Skan	* include/bits/basic_string.tcc (basic_string::replace):
4288132720Skan	Renamed replace(iterator, iterator, size_type, _CharT) to
4289132720Skan	_M_replace_aux.
4290132720Skan	* testsuite/21_strings/basic_string/assign/char/1.cc (test01):
4291132720Skan	Test basic_string::assign(_InputIterator, _InputIterator),
4292132720Skan	which calls basic_string::replace(iterator, iterator,
4293132720Skan	_Input_iterator, _InputIterator).
4294132720Skan
4295132720Skan2003-06-20  Benjamin Kosnik  <bkoz@redhat.com>
4296132720Skan
4297132720Skan	* testsuite/testsuite_performance.h (resource_counter): Don't use
4298132720Skan	mallinfo at the moment.
4299132720Skan
4300132720Skan2003-06-20  Matthias Klose  <doko@debian.org>
4301132720Skan
4302132720Skan	* configure.host: Set try_cpu to target_cpu for existing
4303132720Skan	baseline files.
4304132720Skan
4305132720Skan2003-06-19  Andreas Jaeger  <aj@suse.de>
4306132720Skan
4307132720Skan	* testsuite/Makefile.am (extract_symvers): Revert accidental
4308132720Skan	change.
4309132720Skan	* testsuite/Makefile.in: Regenerate.
4310132720Skan
4311132720Skan	* configure.in: Pass MULTISUBDIR to testsuite/Makefile.
4312132720Skan	* configure: Regenerated.
4313132720Skan
4314132720Skan2003-06-19  Paolo Carlini  <pcarlini@unitus.it>
4315132720Skan
4316132720Skan	* include/std/std_sstream.h (_M_sync): Make non virtual.
4317132720Skan
4318132720Skan2003-06-18  Benjamin Kosnik  <bkoz@redhat.com>
4319132720Skan
4320132720Skan	* testsuite/testsuite_performance.h (time_counter): New.
4321132720Skan	(resource_counter): New.
4322132720Skan	(report_performance): New.
4323132720Skan	(start_counters): New.
4324132720Skan	(stop_counters): New.
4325132720Skan	(clear_counters): New.
4326132720Skan	* testsuite/performance/allocator.cc: Instrument.
4327132720Skan	* testsuite/performance/cout_insert_int.cc: Same.
4328132720Skan	* testsuite/performance/complex_norm.cc: Same.
4329132720Skan	* testsuite/performance/filebuf_sputc.cc: New.
4330132720Skan	* testsuite/performance/fstream_seek_write.cc: Same.
4331132720Skan	* testsuite/performance/ifstream_getline.cc: Same.
4332132720Skan	* testsuite/performance/map_create_fill.cc: Same.
4333132720Skan	* testsuite/performance/ofstream_insert_float.cc: Same.
4334132720Skan	* testsuite/performance/ofstream_insert_int.cc: Same.
4335132720Skan	* testsuite/performance/string_append.cc: Convert.
4336132720Skan	* scripts/check_performance: New.
4337132720Skan	* testsuite/Makefile.am (check-performance): New.
4338132720Skan	(CLEANFILES): Add.
4339132720Skan
4340132720Skan2003-06-18  Paolo Carlini  <pcarlini@unitus.it>
4341132720Skan	    Benjamin Kosnik  <bkoz@redhat.com>
4342132720Skan
4343132720Skan	* include/std/std_sstream.h (setbuf): Check __n >= 0.
4344132720Skan	* include/bits/fstream.tcc (setbuf): Tweak.
4345132720Skan
4346132720Skan2003-06-18  Paolo Carlini  <pcarlini@unitus.it>
4347132720Skan
4348132720Skan	* include/bits/sstream.tcc (seekoff): We can't seek beyond
4349132720Skan	_M_out_lim, therefore _M_move_out_cur boils down to simply
4350132720Skan	updating _M_out_cur.
4351132720Skan	(seekpos): Likewise, clean up.
4352132720Skan
4353132720Skan2003-06-18  Nathan C. Myers  <ncm-nospam@cantrip.org>
4354132720Skan	    Paolo Carlini  <pcarlini@unitus.it>
4355132720Skan
4356132720Skan	* include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
4357132720Skan	simply equivalent to the unbuffered case (0, 0) as far as
4358132720Skan	_M_buf_size is concerned.
4359132720Skan
4360132720Skan2003-06-18  Andreas Jaeger  <aj@suse.de>
4361132720Skan
4362132720Skan	* testsuite/Makefile.am (new-abi-baseline): Create baseline
4363132720Skan	directory.
4364132720Skan	(baseline_file): Use baseline_dir.
4365132720Skan	(baseline_dir): New.
4366132720Skan	(mkinstalldirs): New.
4367132720Skan
4368132720Skan	* acinclude.m4: Rename baseline_file to baseline_dir, strip
4369132720Skan	filename from baseline_dir.
4370132720Skan
4371132720Skan	* testsuite/Makefile.in: Regenerated.
4372132720Skan	* Makefile.in: Regenerated.
4373132720Skan	* aclocal.m4: Regenerated.
4374132720Skan	* configure: Regenerated.
4375132720Skan
4376132720Skan2003-06-17  Benjamin Kosnik  <bkoz@redhat.com>
4377132720Skan
4378132720Skan	* configure.in: Missed check_survey bit.
4379132720Skan	* configure: Regenerated.
4380132720Skan
4381132720Skan2003-06-17  Benjamin Kosnik  <bkoz@redhat.com>
4382132720Skan
4383132720Skan	* scripts: New.
4384132720Skan	* config/abi/extract_symvers: Move to...
4385132720Skan	* scripts/extract_symvers: ...here.
4386132720Skan	* mkcheck.in: Move to..
4387132720Skan	* scripts/check_survey.in: ...here.
4388132720Skan	* testsuite_flags.in: Move to..
4389132720Skan	* scripts/testsuite_flags.in: ...here.
4390132720Skan	* configure.in: Change check and testsuite_flags locations.
4391132720Skan	* configure: Regenerate.
4392132720Skan	* testsuite/Makefile.am (current_symbols.txt): Change location.
4393132720Skan	* testsuite/Makefile.in: Regenerate.
4394132720Skan	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
4395132720Skan	location of testsuite_flags.
4396132720Skan	* Makefile.am (check-script): Move..
4397132720Skan	(check-script-install): Move...
4398132720Skan	* testsuite/Makefile.am: ... here.
4399132720Skan	* testsuite/Makefile.in: Regenerate.
4400132720Skan	* Makefile.in: Regenerate.
4401132720Skan
4402132720Skan2003-06-17  Benjamin Kosnik  <bkoz@redhat.com>
4403132720Skan
4404132720Skan	* config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
4405132720Skan
4406132720Skan2003-06-16  Benjamin Kosnik  <bkoz@redhat.com>
4407132720Skan
4408132720Skan	* Makefile.am (check-abi): Move...
4409132720Skan	(new-abi-baseline): Move...
4410132720Skan	* testsuite/Makefile.am: ...here.
4411132720Skan	(new-abi-baseline): Conditionalize.
4412132720Skan	(check-abi): Conditionalize.
4413132720Skan	(check-abi-verbose): New.
4414132720Skan	* Makefile.in: Regenerate.
4415132720Skan	* testsuite/Makefile.in: Regenerate.
4416132720Skan	* configure.in: Consolidate testsuite configure bits.
4417132720Skan	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
4418132720Skan	* configure: Regenerate.
4419132720Skan	* aclocal.m4: Regenerate.
4420132720Skan	* testsuite/abi_check.cc: Add --check-verbose.
4421132720Skan	Only output detailed information if --check-verbose.
4422132720Skan
4423132720Skan2003-06-16  Andreas Jaeger  <aj@suse.de>
4424132720Skan
4425132720Skan	* testsuite/abi_check.cc: Create summary report.
4426132720Skan
4427132720Skan2003-06-16  Paolo Carlini  <pcarlini@unitus.it>
4428132720Skan
4429132720Skan	* testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
4430132720Skan	for systems with BUFSIZ != 8192.
4431132720Skan	* testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
4432132720Skan	* testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
4433132720Skan	Minor tweaks.
4434132720Skan
4435132720Skan2003-06-16  Andreas Jaeger  <aj@suse.de>
4436132720Skan
4437132720Skan	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
4438132720Skan	check-abi multilib aware.
4439132720Skan	* aclocal.m4: Regenerate.
4440132720Skan	* configure: Regenerate.
4441132720Skan
4442132720Skan2003-06-16  Benjamin Kosnik  <bkoz@redhat.com>
4443132720Skan	    Andreas Jaeger  <aj@suse.de>
4444132720Skan
4445132720Skan	* configure.host: Set x86_64 abi_baseline pair correctly.
4446132720Skan
4447132720Skan2003-06-16  Paolo Carlini  <pcarlini@unitus.it>
4448132720Skan
4449132720Skan	* testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
4450132720Skan	fix for missing seeks between gets and puts into...
4451132720Skan	* testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
4452132720Skan	* testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
4453132720Skan	* testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
4454132720Skan	* testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
4455132720Skan	* testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
4456132720Skan	* testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
4457132720Skan
4458132720Skan2003-06-15  Richard Henderson  <rth@redhat.com>
4459132720Skan
4460132720Skan	* config/linker-map.gnu: Export virtual function thunks for
4461132720Skan	64-bit systems too.
4462132720Skan
4463132720Skan2003-06-13  Benjamin Kosnik  <bkoz@redhat.com>
4464132720Skan
4465132720Skan	* config/abi/i686-pc-linux-gnu: To..
4466132720Skan	* config/abi/i486-linux-gnu: ...this.
4467132720Skan	* config/abi/alphaev67-unknown-linux-gnu: To..
4468132720Skan	* config/abi/alpha-linux-gnu: ...this.
4469132720Skan	* config/abi/ia64-unknown-linux-gnu: To...
4470132720Skan	* config/abi/ia64-linux-gnu: ...this.
4471132720Skan	* config/abi/x86_64-unknown-linux-gnu: To...
4472132720Skan	* config/abi/x86_64-linux-gnu: ...this.
4473132720Skan	* config/abi/i386-unknown-freebsd4: To...
4474132720Skan	* config/abi/i386-freebsd4: ...this.
4475132720Skan	* config/linker-map.gnu: Cleanups, move libsupc++ bits into
4476132720Skan	CXXABI.
4477132720Skan	* configure.host: abi_baseline_triplet to abi_baseline_pair.
4478132720Skan	Simplify cpu bits so that abi_baseline_pair can use the same
4479132720Skan	cpu configuration.
4480132720Skan	* acinclude.m4: Same.
4481132720Skan	* aclocal.m4: Regenerate.
4482132720Skan	* configure.in: Can't get enable_abi_check to yes unless native.
4483132720Skan	* configure: Regenerate.
4484132720Skan
4485132720Skan2003-06-13  Paolo Carlini  <pcarlini@unitus.it>
4486132720Skan
4487132720Skan	* testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
4488132720Skan	fix for missing seeks between gets and puts into...
4489132720Skan	* testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
4490132720Skan	* testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
4491132720Skan	* testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
4492132720Skan	* testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
4493132720Skan	* testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
4494132720Skan	* testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
4495132720Skan	for missing seeks between gets and puts.
4496132720Skan	* testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
4497132720Skan	* testsuite/data/seekoff-1.tst: New.
4498132720Skan	* testsuite/data/seekoff-2.tst: New.
4499132720Skan	* testsuite/data/seekpos-1.tst: New.
4500132720Skan	* testsuite/data/seekpos-2.tst: New.
4501132720Skan
4502132720Skan2003-06-13  Nathan C. Myers <ncm-nospam@cantrip.org>
4503132720Skan
4504132720Skan	Avoid multi-processor bus contention on increment/decrement-and-
4505132720Skan	test of the reference count in the empty-string object, by comparing
4506132720Skan	addresses first, and never touching the reference count of the empty-
4507132720Skan	string object.
4508132720Skan	* include/bits/basic_string.h:
4509132720Skan	(_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
4510132720Skan	members.
4511132720Skan	(_Rep::_S_empty_rep()): New accessor.
4512132720Skan	(_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
4513132720Skan	a base class _Rep_base.
4514132720Skan	(_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
4515132720Skan	(basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
4516132720Skan	since no longer must increment its refcount.
4517132720Skan	* include/bits/basic_string.tcc:
4518132720Skan	(_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
4519132720Skan	return immediately.  The former might be unnecessary.  The latter
4520132720Skan	prevents begin() and end() from cloning it unnecessarily.
4521132720Skan	(_S_construct(_InIterator, _InIterator, const _Alloc&,
4522132720Skan	input_iterator_tag), _S_construct(_InIterator, _InIterator,
4523132720Skan	const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
4524132720Skan	const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
4525132720Skan	(_M_mutate): Check for the empty string and treat it as shared.
4526132720Skan	This is necessary here because _M_mutate is sometimes called with
4527132720Skan	all-zero arguments; in all other uses of _M_is_shared, the test comes
4528132720Skan	out right anyhow.
4529132720Skan
4530132720Skan2003-06-12  Benjamin Kosnik  <bkoz@redhat.com>
4531132720Skan
4532132720Skan	* src/allocator-inst.cc: Explicitly instantiate.
4533132720Skan	* include/ext/pool_allocator.h: Inhibit implicit instantiations.
4534132720Skan	Tweaks.
4535132720Skan	* config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
4536132720Skan
4537132720Skan2003-06-11  Benjamin Kosnik  <bkoz@redhat.com>
4538132720Skan
4539132720Skan	* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
4540132720Skan	* aclocal.m4: Regenerate.
4541132720Skan	* Makefile.am (SUBDIRS): Remove libio.
4542132720Skan	* Makefile.in: Regenerate.
4543132720Skan	* configure.in: Same.
4544132720Skan	* configure: Regenerate.
4545132720Skan	* config/io/basic_file_libio.cc: Remove.
4546132720Skan	* config/io/basic_file_libio.h: Remove.
4547132720Skan	* config/io/c_io_libio_codecvt.c: Remove.
4548132720Skan	* config/io/c_io_libio.h: Remove.
4549132720Skan	* libio/*: Remove.
4550132720Skan	* src/Makefile.am: Same.
4551132720Skan	* src/Makefile.in: Regenerate.
4552132720Skan	* docs/html/configopts.html: Edits.
4553132720Skan	* docs/html/explanations.html: Edits.
4554132720Skan
4555132720Skan2003-06-11  Benjamin Kosnik  <bkoz@redhat.com>
4556132720Skan
4557132720Skan	* include/bits/stl_alloc.h (__debug_alloc): Move out.
4558132720Skan	(__malloc_alloc): Same.
4559132720Skan	(__pool_alloc): Same.
4560132720Skan	(__new_alloc): Same.
4561132720Skan	Rename to..
4562132720Skan	* include/bits/allocator.h: ...this.
4563132720Skan	* include/bits/stl_deque.h: Modify comment.
4564132720Skan	* include/bits/stl_tree.h: Modify include.
4565132720Skan	* include/std/std_memory.h: Same.
4566132720Skan	* include/ext/rope: Same.
4567132720Skan	* include/ext/slist: Same.
4568132720Skan	* include/std/std_vector.h: Same.
4569132720Skan	* include/std/std_stack.h: Same.
4570132720Skan	* include/std/std_queue.h: Same.
4571132720Skan	* include/std/std_list.h: Same.
4572132720Skan	* include/std/std_deque.h: Same.
4573132720Skan	* include/backward/alloc.h: Same.
4574132720Skan	* include/ext/debug_allocator.h: New.
4575132720Skan	* include/ext/malloc_allocator.h: New.
4576132720Skan	* include/ext/pool_allocator.h: New.
4577132720Skan	* include/ext/new_allocator.h: New.
4578132720Skan	* include/bits/pthread_allocimpl.h: Remove.
4579132720Skan	* include/bits/stl_pthread_alloc.h: Remove.
4580132720Skan	* include/Makefile.am (ext_headers): Add.
4581132720Skan	* include/Makefile.in: Regenerate.
4582132720Skan	* src/stl-inst.cc: Use __gnu_cxx namespace.
4583132720Skan	* src/stl-inst.cc: Move to...
4584132720Skan	* src/allocator-inst.cc: Here.
4585132720Skan	* src/Makefile.am (sources): Update.
4586132720Skan	* src/Makefile.in: Regenerate.
4587132720Skan	* config/linker-map.gnu: Remove __pool_alloc bits.
4588132720Skan	* testsuite/ext/headers.cc: Add.
4589132720Skan	* testsuite/ext/allocators.cc: Fixup.
4590132720Skan
4591132720Skan2003-06-11  Stefan Olsson  <stefan@snon.net>
4592132720Skan	    Ola R�nnerup  <fnolis@home.se>
4593132720Skan
4594132720Skan	* include/Makefile.am (ext_headers): Add.
4595132720Skan	* include/Makefile.in: Regenerate.
4596132720Skan	* include/ext/mt_allocator.h: New file.
4597132720Skan
4598132720Skan2003-06-10  Paolo Carlini  <pcarlini@unitus.it>
4599132720Skan
4600132720Skan	* include/bits/fstream.tcc (close): Clean up a bit.
4601132720Skan
4602132720Skan	* include/bits/streambuf.tcc (sbumpc): Clean up a bit.
4603132720Skan
4604132720Skan	* include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
4605132720Skan	- the saved _M_in_cur, that is - cannot be null.
4606132720Skan	(sync): Constify a variable.
4607132720Skan
4608132720Skan	* include/std/std_streambuf.h: Tweak a comment.
4609132720Skan	(in_avail): Constify a variable.
4610132720Skan
4611132720Skan2003-06-10  Phil Edwards  <pme@gcc.gnu.org>
4612132720Skan
4613132720Skan	* docs/html/17_intro/BUGS:  Update from 2.90.8 snapshot.
4614132720Skan	* docs/html/17_intro/CHECKLIST:  Bring up to date with respect to
4615132720Skan	correctness of container::iterator typedefs.  Fix whitespace.
4616132720Skan	* docs/html/20_util/howto.html, docs/html/ext/howto.html:  Add links
4617132720Skan	to allocator docs.
4618132720Skan	* docs/html/documentation.html:  Regenerate.
4619132720Skan
4620132720Skan	* include/bits/basic_string.h, include/bits/basic_string.tcc,
4621132720Skan	include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
4622132720Skan	include/bits/stl_algobase.h, include/bits/stl_bvector.h,
4623132720Skan	include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
4624132720Skan	include/bits/stl_list.h, include/bits/stl_uninitialized.h,
4625132720Skan	include/bits/stl_vector.h, include/bits/vector.tcc,
4626132720Skan	include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
4627132720Skan	Change _Iter names to _Iterator, and __pos to __position.
4628132720Skan
4629132720Skan	* include/bits/stl_relops.h, include/bits/stl_numeric.h,
4630132720Skan	include/bits/stl_multiset.h, include/bits/stl_set.h:
4631132720Skan	Remove emacs markers.
4632132720Skan
4633132720Skan	* include/bits/stl_threads.h (_STL_auto_lock):  Add __unused__.
4634132720Skan
4635132720Skan2003-06-10  Paolo Carlini  <pcarlini@unitus.it>
4636132720Skan
4637132720Skan	* include/bits/fstream.tcc (overflow): According to
4638132720Skan	27.5.2.4.5, overflow() returns not_eof(eof()).
4639132720Skan	* testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
4640132720Skan	* testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
4641132720Skan
4642132720Skan2003-06-10  Paolo Carlini  <pcarlini@unitus.it>
4643132720Skan
4644132720Skan	* include/bits/fstream.tcc (_M_underflow): Check overflow return
4645132720Skan	value; tweak slightly.
4646132720Skan
4647132720Skan2003-06-09  Paolo Carlini  <pcarlini@unitus.it>
4648132720Skan
4649132720Skan	* include/bits/fstream.tcc (_M_underflow): Do not special
4650132720Skan	case the unbuffered case, which really means simply a one char
4651132720Skan	get area.
4652132720Skan	(basic_filebuf): Initialize _M_buf_size.
4653132720Skan	(setbuf): Unbuffered means _M_buf_size == 1, since only
4654132720Skan	_M_buf_size - 1 == 0 chars are going to be used for the
4655132720Skan	put area and 1 for the get area.
4656132720Skan	* include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
4657132720Skan	(~basic_streambuf): Tweak.
4658132720Skan	(basic_streambuf): Do not initialize _M_buf_size.
4659132720Skan	* include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
4660132720Skan	(~basic_filebuf): Tweak.
4661132720Skan	(_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
4662132720Skan	unbuffered situation (i.e., put area pointers NULL).
4663132720Skan	* include/bits/streambuf.tcc (sbumpc): Clean up.
4664132720Skan	* testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
4665132720Skan	* testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
4666132720Skan	* testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
4667132720Skan	* testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
4668132720Skan	* testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
4669132720Skan	* testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
4670132720Skan	* testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
4671132720Skan
4672132720Skan2003-06-09  Phil Edwards  <pme@gcc.gnu.org>
4673132720Skan
4674132720Skan	* acinclude.m4:  Move all AM_CONDITIONAL calls out.
4675132720Skan	(GLIBCPP_CONFIGURE):  Set defaults for variables used in AM_CONDITIONAL
4676132720Skan	statements.
4677132720Skan	* configure.in:  Centralize AM_CONDITIONALs so that they are always
4678132720Skan	run.  Make use of GLIBCPP_IS_CROSS_COMPILING.
4679132720Skan	* aclocal.m4, configure:  Regenerated.
4680132720Skan
4681132720Skan2003-06-09  Paolo Carlini  <pcarlini@unitus.it>
4682132720Skan
4683132720Skan	* docs/html/ext/howto.html ('LWG Issues'):  Add issue 235.
4684132720Skan
4685132720Skan2003-06-06  Nathan Myers  <ncm-nospam@cantrip.org>
4686132720Skan
4687132720Skan	* include/bits/stl_iterator.h
4688132720Skan	(reverse_iterator::reverse_iterator()): Apply DR235: default
4689132720Skan	constructor default-initializes data member.  Instantiated on a
4690132720Skan	pointer type, the member has to end up equal to zero.
4691132720Skan
4692132720Skan2003-06-06  Benjamin Kosnik  <bkoz@redhat.com>
4693132720Skan
4694132720Skan	* include/bits/stl_alloc.h: Cleanups.
4695132720Skan	* include/ext/functional: Same.
4696132720Skan	* include/ext/hash_map: Same.
4697132720Skan	* include/ext/hash_set: Same.
4698132720Skan	* include/ext/iterator: Same.
4699132720Skan	* include/ext/memory: Same.
4700132720Skan	* include/ext/numeric: Same.
4701132720Skan	* include/ext/rb_tree: Same.
4702132720Skan	* include/ext/ropeimpl.h: Same.
4703132720Skan	* include/ext/slist: Same.
4704132720Skan	* include/ext/stdio_filebuf.h: Same.
4705132720Skan	* include/ext/stdio_sync_filebuf.h: Same.
4706132720Skan	* include/ext/stl_rope.h: Move to...
4707132720Skan	* include/ext/rope: ...here.
4708132720Skan	* include/ext/stl_hash_fun.h: Move to...
4709132720Skan	* include/ext/hash_fun.h: ...here.
4710132720Skan	* include/ext/stl_hashtable.h: Move to...
4711132720Skan	* include/ext/hashtable.h: ...here.
4712132720Skan	* include/backward/hashtable.h: Reflect new names.
4713132720Skan	* include/Makefile.am: Same.
4714132720Skan	* include/Makefile.in: Regenerated.
4715132720Skan
4716132720Skan2003-06-05  Benjamin Kosnik  <bkoz@redhat.com>
4717132720Skan
4718132720Skan	PR libstdc++/9024
4719132720Skan	* include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
4720132720Skan	* include/bits/stl_algobase.h: Tweak.
4721132720Skan	* include/std/std_fstream.h: Move _M_buf_size to...
4722132720Skan	* include/std/std_streambuf.h: ...here. Modify.
4723132720Skan	* include/bits/streambuf.tcc: Same.
4724132720Skan	* testsuite/testsuite_hooks.h: Tweak.
4725132720Skan	* testsuite/testsuite_io.h (constraint_filebuf): New.
4726132720Skan	* testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
4727132720Skan	* testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
4728132720Skan	* testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
4729132720Skan	* testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
4730132720Skan	* testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
4731132720Skan	* testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
4732132720Skan	* testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
4733132720Skan	* testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
4734132720Skan	* testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
4735132720Skan	* testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
4736132720Skan	* testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
4737132720Skan	* testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
4738132720Skan	* testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
4739132720Skan	* testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
4740132720Skan	* testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
4741132720Skan	* testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
4742132720Skan	* testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
4743132720Skan	* testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
4744132720Skan	* testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
4745132720Skan	* testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
4746132720Skan	* testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
4747132720Skan	* testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
4748132720Skan	* testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
4749132720Skan	* testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
4750132720Skan	* testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
4751132720Skan	* testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
4752132720Skan	* testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
4753132720Skan	* testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
4754132720Skan	* testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
4755132720Skan	* testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
4756132720Skan	* testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
4757132720Skan	* testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
4758132720Skan	* testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
4759132720Skan	* testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
4760132720Skan	* testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
4761132720Skan	* testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
4762132720Skan	* testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
4763132720Skan	* testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
4764132720Skan	* testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
4765132720Skan	* testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
4766132720Skan	* testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
4767132720Skan	* testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
4768132720Skan	* testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
4769132720Skan	* testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
4770132720Skan	* testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
4771132720Skan	* testsuite/data/sgetc.txt: New.
4772132720Skan	* testsuite/data/sgetn.txt: New.
4773132720Skan
4774132720Skan2003-06-05  Paolo Carlini  <pcarlini@unitus.it>
4775132720Skan
4776132720Skan	PR libstdc++/11095
4777132720Skan	* include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
4778132720Skan	Deal with width() smaller than zero.
4779132720Skan	* include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
4780132720Skan	operator<<(basic_ostream&, char), operator<<(basic_ostream&, const
4781132720Skan	_CharT*), operator<<(basic_ostream<_CharT, _Traits>&, const
4782132720Skan	char*), operator<<(basic_ostream<char, _Traits>&, const char*),
4783132720Skan	operator<<(basic_ostream, const basic_string&)): Likewise.
4784132720Skan
4785132720Skan	* testsuite/27_io/basic_istream/extractors_character/char/
4786132720Skan	(11095-i.cc, 11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
4787132720Skan	* testsuite/27_io/basic_ostream/inserters_character/char/
4788132720Skan	(11095-oa.cc, 11095-ob.cc, 11095-oc.cc): New.
4789132720Skan	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/
4790132720Skan	(11095-od.cc, 11095-oe.cc, 11095-of.cc): New.
4791132720Skan
4792132720Skan2003-06-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4793132720Skan
4794132720Skan	* acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS if
4795132720Skan	.gch compilation works.
4796132720Skan	* aclocal.m4, configure: Regenerate.
4797132720Skan	* testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to
4798132720Skan	initialize PCHFLAGS.
4799132720Skan
4800132720Skan2003-06-04  Paolo Carlini  <pcarlini@unitus.it>
4801132720Skan
4802132720Skan	* include/bits/basic_string.h (_M_fold, insert(iterator, _CharT),
4803132720Skan	erase(iterator), erase(iterator, iterator), c_str,
4804132720Skan	compare(const basic_string&)): Constify various variables.
4805132720Skan	* include/bits/basic_string.tcc (_S_construct(_InIter, _InIter,
4806132720Skan	const _Alloc&, input_iterator_tag), _M_destroy, _M_mutate,
4807132720Skan	_S_create, resize, _M_replace, _M_replace_safe,
4808132720Skan	append(const basic_string&), append(const basic_string&, size_type,
4809132720Skan	size_type), append(const _CharT*, size_type), append(size_type,
4810132720Skan	_CharT), operator+(const _CharT*, const basic_string&),
4811132720Skan	operator+(_CharT, const basic_string&), replace(iterator, iterator,
4812132720Skan	size_type, _CharT), find(const _CharT*, size_type, size_type),
4813132720Skan	find(_CharT, size_type), rfind(const _CharT*, size_type, size_type),
4814132720Skan	rfind(_CharT, size_type), compare(size_type, size_type,
4815132720Skan	const basic_string&), compare(size_type, size_type,
4816132720Skan	const basic_string&, size_type, size_type), compare(const _CharT*),
4817132720Skan	compare(size_type, size_type, const _CharT*), compare(size_type,
4818132720Skan	size_type, const _CharT*, size_type)): Likewise.
4819132720Skan
4820132720Skan2003-06-03  Benjamin Kosnik  <bkoz@redhat.com>
4821132720Skan
4822132720Skan	* include/bits/fstream.tcc (pbackfail): Make a rarely taken
4823132720Skan	'if' branch less obscure.
4824132720Skan
4825132720Skan2003-06-02  Andrew Pinski  <pinskia@physics.uc.edu>
4826132720Skan
4827132720Skan	PR libstdc++/9815
4828132720Skan	* config/cpu/i386/atomicity.h (__exchange_and_add): add intel
4829132720Skan	asm case to asm.
4830132720Skan	* config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
4831132720Skan	(__atomic_add): likewise.
4832132720Skan
4833132720Skan2003-06-02  Paolo Carlini  <pcarlini@unitus.it>
4834132720Skan
4835132720Skan	* include/bits/sstream.tcc (pbackfail): Minor clean up and
4836132720Skan	reformatting, consistent with basic_filebuf::pbackfail.
4837132720Skan
4838132720Skan2003-06-02  Richard Kreckel  <Richard.Kreckel@GiNaC.DE>
4839132720Skan
4840132720Skan	PR libstdc++/11062
4841132720Skan	* config/cpu/mips/atomicity.h:  Change __attribute__ ((unused)) to
4842132720Skan	__attribute__ ((__unused__)).
4843132720Skan	* config/os/aix/atomicity.h:  Likewise.
4844132720Skan
4845132720Skan2003-06-02  Paolo Carlini  <pcarlini@unitus.it>
4846132720Skan
4847132720Skan	PR libstdc++/9761
4848132720Skan	* include/bits/fstream.tcc (pbackfail): If the pback buffer
4849132720Skan	is already active don't try to store in it a second char.
4850132720Skan	* testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.
4851132720Skan
4852132720Skan	* include/bits/fstream.tcc (pbackfail): Add unbuffered bits.
4853132720Skan
4854132720Skan2003-06-02  Paolo Carlini  <pcarlini@unitus.it>
4855132720Skan
4856132720Skan	* testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
4857132720Skan	line spacing.
4858132720Skan
4859132720Skan2003-06-02  Paolo Carlini  <pcarlini@unitus.it>
4860132720Skan
4861132720Skan	* include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
4862132720Skan	instead of unnecessarily taking the address of _M_pback.
4863132720Skan	(xsgetn): Simplify slightly for a single char pback buffer.
4864132720Skan
4865132720Skan2003-06-02  Paolo Carlini  <pcarlini@unitus.it>
4866132720Skan
4867132720Skan	* include/bits/sstream.tcc (seekoff): Remove four unnecessary
4868132720Skan	variables and two 'if', clean up.
4869132720Skan
4870132720Skan2003-06-02  Paolo Carlini  <pcarlini@unitus.it>
4871132720Skan
4872132720Skan	* include/bits/sstream.tcc (seekpos): Test against _M_out_lim
4873132720Skan	not _M_out_end, since the former actually points to the string
4874132720Skan	end (vs buffer end).
4875132720Skan	* testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.
4876132720Skan
4877132720Skan2003-05-30  Phil Edwards  <pme@gcc.gnu.org>
4878132720Skan
4879132720Skan	* docs/doxygen/filter:  New file.
4880132720Skan	* docs/doxygen/filter.sed:  New file.
4881132720Skan	* docs/doxygen/run_doxygen:  Add g flag to sed substitutions.  Duh.
4882132720Skan	* docs/doxygen/user.cfg.in (INPUT_FILTER):  Point to new filter.
4883132720Skan	* docs/html/documentation.html:  Fix links to doxygen pages.
4884132720Skan
4885132720Skan2003-05-30  Paolo Carlini  <pcarlini@unitus.it>
4886132720Skan
4887132720Skan	* include/bits/fstream.tcc (_M_convert_to_external): Don't
4888132720Skan	check for __ilen > 0.
4889132720Skan
4890132720Skan2003-05-29  Sylvain Pion  <Sylvain.Pion@mpi-sb.mpg.de>
4891132720Skan
4892132720Skan	PR libstdc++/10783
4893132720Skan	* include/bits/stl_iterator.h (class __normal_iterator):
4894132720Skan	Don't inherit from iterator, add missing typedefs.
4895132720Skan
4896132720Skan2003-05-29  Paolo Carlini <pcarlini@unitus.it>
4897132720Skan
4898132720Skan	* testsuite/24_iterators/reverse_iterator.cc: Split up, as follows.
4899132720Skan	* testsuite/24_iterators/reverse_iterator/1.cc: New.
4900132720Skan	* testsuite/24_iterators/reverse_iterator/2.cc: New.
4901132720Skan	* testsuite/24_iterators/reverse_iterator/3.cc: New, from
4902132720Skan	PR libstdc++/10783.
4903132720Skan
4904132720Skan2003-05-27  Steve Ellcey  <sje@cup.hp.com>
4905132720Skan
4906132720Skan	* config/os/hpux/os_defines.h: Define _LIBUNWIND_STD_ABI if we are
4907132720Skan	on IA64 HP-UX.
4908132720Skan	* libsupc++/eh_throw.cc: Don't call _Unwind_Resume_or_Rethrow if
4909132720Skan	_LIBUNWIND_STD_ABI is set.
4910132720Skan
4911132720Skan2003-05-26  Brendan Kehoe  <brendan@zen.org>
4912132720Skan
4913132720Skan	* include/bits/locale_facets.tcc (do_get): Honor $22.2.6.3.3/8 and
4914132720Skan	make sure the number of digits required after the decimal-point
4915132720Skan	(if any) is exactly the value returned by frac_digits().
4916132720Skan	* testsuite/22_locale/money_get/get/char/9.cc: New.
4917132720Skan	* testsuite/22_locale/money_get/get/wchar_t/9.cc: New.
4918132720Skan
4919132720Skan2003-05-27  Jonathan Wakely  <redi@gcc.gnu.org>
4920132720Skan
4921132720Skan	* include/std/std_istream.h, include/std/std_ostream.h: Typo in
4922132720Skan	comment.
4923132720Skan
4924132720Skan2003-05-26  Benjamin Kosnik  <bkoz@redhat.com>
4925132720Skan
4926132720Skan	PR libstdc++/9339
4927132720Skan	* include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
4928132720Skan	(_M_pback): No array necessary.
4929132720Skan	* include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
4930132720Skan	unbuffered case, coalesec into ...
4931132720Skan	(basic_filebuf::overflow): ...this.
4932132720Skan	* testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
4933132720Skan	* testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.
4934132720Skan
4935132720Skan2003-05-24  Nathanael Nerode  <neroden@gcc.gnu.org>
4936132720Skan
4937132720Skan	* libsupc++/Makefile.am, libsupc++/cxxabi.h, libsupc++/del_op.cc,
4938132720Skan	libsupc++/del_opnt.cc, libsupc++/del_opv.cc, libsupc++/del_opvnt.cc,
4939132720Skan	libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc,
4940132720Skan	libsupc++/eh_catch.cc, libsupc++/eh_exception.cc,
4941132720Skan	libsupc++/eh_globals.cc, libsupc++/eh_personality.cc,
4942132720Skan	libsupc++/eh_term_handler.cc, libsupc++/eh_terminate.cc,
4943132720Skan	libsupc++/eh_throw.cc, libsupc++/eh_type.cc,
4944132720Skan	libsupc++/eh_unex_handler.cc, libsupc++/exception,
4945132720Skan	libsupc++/new, libsupc++/new_handler.cc, libsupc++/new_op.cc,
4946132720Skan	libsupc++/new_opnt.cc, libsupc++/new_opv.cc, libsupc++/new_opvnt.cc,
4947132720Skan	libsupc++/pure.cc, libsupc++/tinfo.cc, libsupc++/tinfo2.cc,
4948132720Skan	libsupc++/typeinfo, libsupc++/unwind-cxx.h, libsupc++/vec.cc:
4949132720Skan	Replace "GNU CC" with "GCC".
4950132720Skan
4951132720Skan	* include/backward/new.h: Replace "GNU CC" with "GCC".
4952132720Skan
4953132720Skan2003-05-22  Benjamin Kosnik  <bkoz@redhat.com>
4954132720Skan
4955132720Skan	PR libstdc++/3066.
4956132720Skan	* configure.in: Switch target to host, don't assume newlib.
4957132720Skan	(target_alias): Remove.
4958132720Skan	* configure: Regenerate.
4959132720Skan	* acinclude.m4: Same.
4960132720Skan	* aclocal.m4: Regenerate.
4961132720Skan	* configure.target: Same. Rename to...
4962132720Skan	* configure.host: This.
4963132720Skan
4964132720Skan2003-05-22  Paolo Carlini  <pcarlini@unitus.it>
4965132720Skan
4966132720Skan	* include/std/std_fstream.h (_S_pback_size): Remove definition.
4967132720Skan	(_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
4968132720Skan	pback buffer.
4969132720Skan	* include/bits/fstream.tcc (_S_pback_size): Remove declaration.
4970132720Skan	* testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
4971132720Skan	of _S_pback_size for systems with no COMDAT or weak support.
4972132720Skan	* testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
4973132720Skan	* testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
4974132720Skan	* testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
4975132720Skan	* testsuite/27_io/basic_fstream/3.cc: Likewise.
4976132720Skan	* testsuite/27_io/basic_ifstream/3.cc: Likewise.
4977132720Skan	* testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
4978132720Skan	* testsuite/27_io/basic_ofstream/3.cc: Likewise.
4979132720Skan	* testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
4980132720Skan	* testsuite/27_io/basic_streambuf/3.cc: Likewise.
4981132720Skan
4982132720Skan2003-05-22  Paolo Carlini  <pcarlini@unitus.it>
4983132720Skan
4984132720Skan	* include/bits/fstream.tcc (_M_underflow): Simplify:
4985132720Skan	!__testout implies _M_filepos == _M_in_end, therefore
4986132720Skan	the first _M_file.seekoff call is never issued.
4987132720Skan
4988132720Skan2003-05-22  Benjamin Kosnik  <bkoz@redhat.com>
4989132720Skan
4990132720Skan	* configure.in: Sort cross table.
4991132720Skan	* configure: Regenerate.
4992132720Skan
4993132720Skan2003-05-22  Brad Spencer  <spencer@infointeractive.com>
4994132720Skan
4995132720Skan	PR libstdc++/10106
4996132720Skan	* configure.in: Add Solaris cross bits.
4997132720Skan
4998132720Skan2003-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
4999132720Skan
5000132720Skan	* libstdc++-v3/config/os/mingw32/os_defines.h
5001132720Skan	(__GTHREAD_HIDE_WIN32API): Define to 1 by defualt.
5002132720Skan	(NOMINMAX): Define.  Update copyright year.
5003132720Skan
5004132720Skan2003-05-21  Paolo Carlini  <pcarlini@unitus.it>
5005132720Skan
5006132720Skan	* include/std/std_fstream.h (_M_set_buffer): Fix indentation.
5007132720Skan
5008132720Skan2003-05-21  Jonathan Wakely  <redi@gcc.gnu.org>
5009132720Skan
5010132720Skan	* docs/html/faq/index.html: Fix typo.
5011132720Skan	* docs/html/faq/index.txt: Regenerate.
5012132720Skan
5013132720Skan2003-05-21  Jonathan Wakely  <redi@gcc.gnu.org>
5014132720Skan
5015132720Skan	* docs/html/test.html: Fix markup.
5016132720Skan
5017132720Skan2003-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
5018132720Skan
5019132720Skan	* libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
5020132720Skan	zero.
5021132720Skan	Update copyright year.
5022132720Skan
5023132720Skan2003-05-20  Paolo Carlini  <pcarlini@unitus.it>
5024132720Skan
5025132720Skan	* testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.
5026132720Skan
5027132720Skan2003-05-20  Paolo Carlini  <pcarlini@unitus.it>
5028132720Skan
5029132720Skan	* testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
5030132720Skan	further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
5031132720Skan
5032132720Skan2003-05-20  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5033132720Skan
5034132720Skan	* include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
5035132720Skan	Cast via void* to avoid -Wcast-align warnings.
5036132720Skan	(__default_alloc_template::_S_refill): Likewise.
5037132720Skan
5038132720Skan2003-05-20  Benjamin Kosnik  <bkoz@redhat.com>
5039132720Skan
5040132720Skan	* testsuite/README: Move to...
5041132720Skan	* docs/html/test.html: ...here. Add documentation.
5042132720Skan	* docs/html/install.html: Move testing bits out..
5043132720Skan	* docs/html/documentation.html: Add separate testing link.
5044132720Skan	* testsuite/performance: Add.
5045132720Skan	* testsuite/performance/allocator.cc: New.
5046132720Skan	* testsuite/performance/complex_norm.cc: New.
5047132720Skan	* testsuite/performance/cout_insert_int.cc: New.
5048132720Skan	* testsuite/performance/fstream_seek_write.cc: New.
5049132720Skan	* testsuite/performance/ifstream_getline.cc: New.
5050132720Skan	* testsuite/performance/map_create_fill.cc: New.
5051132720Skan	* testsuite/performance/ofstream_insert_float.cc: New.
5052132720Skan	* testsuite/performance/ofstream_insert_int.cc: New.
5053132720Skan	* testsuite/performance/string_append.cc: New.
5054132720Skan	* testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
5055132720Skan	performance tests.
5056132720Skan
5057132720Skan2003-05-20  Gabriel Dos Reis <gdr@integrable-solutions.net>
5058132720Skan
5059132720Skan	PR libstdc++/10689
5060132720Skan	* include/std/std_complex.h (pow): Tidy.
5061132720Skan
5062132720Skan2003-05-19  Paolo Carlini  <pcarlini@unitus.it>
5063132720Skan
5064132720Skan	* testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
5065132720Skan	that upon filebuf::close() 27.8.1.1,3 is enforced.
5066132720Skan
5067132720Skan2003-05-15  Loren J. Rittle  <ljrittle@acm.org>
5068132720Skan
5069132720Skan	* testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
5070132720Skan
5071132720Skan2003-05-15  Paolo Carlini  <pcarlini@unitus.it>
5072132720Skan	    Nathan Myers  <ncm@cantrip.org>
5073132720Skan
5074132720Skan	* include/bits/fstream.tcc (_M_overflow): Rewrote to call
5075132720Skan	_M_convert_to_external only once (_M_buf_size is now the size of
5076132720Skan	the put area + 1 for the overflow char of a full area); call
5077132720Skan	_M_set_buffer instead of _M_set_indeterminate.
5078132720Skan	(setbuf): Don't accept a buffer smaller than 2 chars.
5079132720Skan	(_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
5080132720Skan	instead of _M_set_determinate.
5081132720Skan	(open): Call _M_set_buffer, instead of _M_set_indeterminate.
5082132720Skan	(seekoff): Likewise.
5083132720Skan	* include/ext/stdio_filebuf.h (stdio_filebuf(int,
5084132720Skan	std::ios_base::openmode, bool, size_t),
5085132720Skan	stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
5086132720Skan	Likewise.
5087132720Skan	* include/std/std_fstream.h (_M_set_indeterminate): Remove.
5088132720Skan	(_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
5089132720Skan	_M_buf_size - 1.
5090132720Skan	* include/std/std_streambuf.h: Tweak _M_out_lim comment.
5091132720Skan	* testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
5092132720Skan	into account that, for _M_buf_size == BUFSIZ == 8192, the size of
5093132720Skan	the put area is now BUFSIZ - 1.
5094132720Skan	* testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
5095132720Skan	that now the smallest _M_buf_size is 2 (still fails, for the same
5096132720Skan	reason, with 3.2.3)
5097132720Skan
5098132720Skan2003-05-14  Loren J. Rittle  <ljrittle@acm.org>
5099132720Skan
5100132720Skan	* testsuite/thread/pthread4.cc: Tweak test.
5101132720Skan
5102132720Skan2003-05-13  Benjamin Kosnik  <bkoz@redhat.com>
5103132720Skan
5104132720Skan	* testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
5105132720Skan	excess errors dg marker, use dg-errors instead.
5106132720Skan	* testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
5107132720Skan	* testsuite/20_util/auto_ptr_neg.cc: Same.
5108132720Skan
5109132720Skan2003-05-12  Benjamin Kosnik  <bkoz@redhat.com>
5110132720Skan
5111132720Skan	* include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
5112132720Skan	cached member.
5113132720Skan	* include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
5114132720Skan	Initialize _M_codecvt.
5115132720Skan	(basic_filebuf::imbue): Same.
5116132720Skan	(basic_filebuf::showmanyc): Use it.
5117132720Skan	(basic_filebuf::underflow): Use it.
5118132720Skan	(basic_filebuf::_M_convert_to_external): Use it.
5119132720Skan	(basic_filebuf::seekoff): Use it.
5120132720Skan	(basic_filebuf::imbue): Use it, tweaks.
5121132720Skan	* include/bits/localefwd.h (__check_facet): New.
5122132720Skan	* include/bits/locale_classes.h: Tweaks.
5123132720Skan	* include/bits/locale_facets.tcc: Tweaks.
5124132720Skan	* include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
5125132720Skan	_M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
5126132720Skan	_M_num_get. Change _M_check_facet to __check_facet. Tweaks.
5127132720Skan	* include/bits/basic_ios.tcc: Same.
5128132720Skan	* include/bits/istream.tcc: Same.
5129132720Skan	* include/bits/ostream.tcc: Same.
5130132720Skan	* include/std/std_streambuf.h: Same.
5131132720Skan	* testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
5132132720Skan	* testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
5133132720Skan	* testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
5134132720Skan	* testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
5135132720Skan	* testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
5136132720Skan	* testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.
5137132720Skan
5138132720Skan2003-05-12  Paolo Carlini  <pcarlini@unitus.it>
5139132720Skan
5140132720Skan	* testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
5141132720Skan	unnecessary includes and unused string literals.
5142132720Skan	* testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
5143132720Skan	* testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
5144132720Skan	* testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
5145132720Skan	* testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
5146132720Skan
5147132720Skan2003-05-12  Benjamin Kosnik  <bkoz@redhat.com>
5148132720Skan
5149132720Skan	* include/bits/fstream.tcc (_M_overflow): Remove unbuffered bits.
5150132720Skan
5151132720Skan2003-05-12  Paolo Carlini  <pcarlini@unitus.it>
5152132720Skan
5153132720Skan	* include/std/std_fstream.h (_M_convert_to_external): Change
5154132720Skan	to return bool, take two less streamsize parameters.
5155132720Skan	* include/bits/fstream.tcc (_M_convert_to_external): Tweak
5156132720Skan	consistently definition.
5157132720Skan	(_M_overflow): Adjust call points.
5158132720Skan
5159132720Skan2003-05-12  Benjamin Kosnik  <bkoz@redhat.com>
5160132720Skan
5161132720Skan	* testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
5162132720Skan
5163132720Skan2003-05-11  Phil Edwards  <pme@gcc.gnu.org>
5164132720Skan
5165132720Skan	* testsuite/Makefile.am:  Properly quote /both/ LD_RUN_PATHs.
5166132720Skan	* testsuite/Makefile.in:  Regenerate.
5167132720Skan
5168132720Skan2003-05-11  Phil Edwards  <pme@gcc.gnu.org>
5169132720Skan
5170132720Skan	* testsuite/Makefile.am:  Properly quote LD_RUN_PATH.
5171132720Skan	* testsuite/Makefile.in:  Regenerate.
5172132720Skan
5173132720Skan2003-05-11  Gabriel Dos Reis <gdr@integrable-solutions.net>
5174132720Skan
5175132720Skan	PR libstdc++/3181
5176132720Skan	* include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
5177132720Skan	(acos): Handle integer argument.
5178132720Skan	(asin): Likewise.
5179132720Skan	(atan): Likewise.
5180132720Skan	(atan2): Likewise.
5181132720Skan	(ceil): Likewise.
5182132720Skan	(cos): Likewise.
5183132720Skan	(cosh): Likewise.
5184132720Skan	(exp): Likewise.
5185132720Skan	(fabs): Likewise.
5186132720Skan	(floor): Likewise.
5187132720Skan	(frexp): Likewise.
5188132720Skan	(ldexp): Likewise.
5189132720Skan	(log): Likewise.
5190132720Skan	(log10): Likewise.
5191132720Skan	(sin): Likewise.
5192132720Skan	(sinh): Likewise.
5193132720Skan	(sqrt): Likewise.
5194132720Skan	(tan): Likewise.
5195132720Skan	(tanh): Likewise.
5196132720Skan	* include/bits/cpp_type_traits.h (__are_same<>): New traits.
5197132720Skan	(__enable_if): Likewise.
5198132720Skan	* testsuite/26_numerics/cmath/overloads.C: New test.
5199132720Skan
5200132720Skan2003-05-10  Petur Runolfsson  <peturr02@ru.is>
5201132720Skan
5202132720Skan	PR libstdc++/9027
5203132720Skan	PR libstdc++/9520
5204132720Skan	PR libstdc++/10096
5205132720Skan	* include/bits/fstream.tcc (basic_file::_M_underflow):  Add generic
5206132720Skan	implementation, based on old wchar_t specialization, add support
5207132720Skan	for codecvt::in() return value of codecvt_base::noconv, remove
5208132720Skan	_M_file.sys_ungetc() call.
5209132720Skan	* include/std/std_fstream.h (basic_file::underflow,
5210132720Skan	basic_file::uflow, basic_file::_M_underflow):  Remove
5211132720Skan	specialization declarations, call _M_underflow from generic versions
5212132720Skan	of underflow and uflow.
5213132720Skan	* src/fstream.cc (basic_file::underflow, basic_file::uflow,
5214132720Skan	basic_file::_M_underflow):  Remove specializations.
5215132720Skan	* src/Makefile.am (sources):  Remove fstream.cc.
5216132720Skan	* src/Makefile.in:  Regenerated.
5217132720Skan	* testsuite/27_io/basic_filebuf/underflow/10096.cc:  New test.
5218132720Skan	* testsuite/27_io/basic_filebuf/underflow/char/1.cc:  New test.
5219132720Skan	* testsuite/27_io/basic_filebuf/underflow/char/9027.cc:  New test.
5220132720Skan	* testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc:  New test.
5221132720Skan
5222132720Skan2003-05-10  Benjamin Kosnik  <bkoz@redhat.com>
5223132720Skan
5224132720Skan	* include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
5225132720Skan	buffer.
5226132720Skan	* config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
5227132720Skan	unbuffered bits.
5228132720Skan	(__basic_file::xsputn): Same.
5229132720Skan	(__basic_file::seekoff): Same.
5230132720Skan	(__basic_file::seekpos): Same.
5231132720Skan	(__basic_file::showmanyc): Same.
5232132720Skan	* config/io/basic_file_stdio.cc: Same.
5233132720Skan	* include/std/std_fstream.h: Same.
5234132720Skan	* include/bits/fstream.tcc: Same.
5235132720Skan	* src/fstream.cc: Same.
5236132720Skan	* testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.
5237132720Skan
5238132720Skan2003-05-10  Petur Runolfsson  <peturr02@ru.is>
5239132720Skan
5240132720Skan	PR libstdc++/9520
5241132720Skan	PR libstdc++/9661
5242132720Skan	PR libstdc++/9662
5243132720Skan	* include/ext/stdio_sync_filebuf.h:  New file.
5244132720Skan	(basic_stdiobuf):  New.
5245132720Skan	* include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
5246132720Skan	* include/Makefile.in: Regenerate.
5247132720Skan	* include/bits/ios_base.h (Init::_S_create_buffers,
5248132720Skan	Init::_S_destroy_buffers):  Remove declarations.
5249132720Skan	* src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
5250132720Skan	buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync):  Define.
5251132720Skan	* src/ios.cc (Init::_S_create_buffers,
5252132720Skan	Init::_S_destroy_buffers):  Remove.
5253132720Skan	(Init::Init):  Create and use syncronized buffers.
5254132720Skan	(ios_base::sync_with_stdio):  Destroy syncronized buffers,
5255132720Skan	create and install unsyncronized buffers.
5256132720Skan	* testsuite/27_io/objects/char/10.cc:  New test.
5257132720Skan	* testsuite/27_io/objects/char/9.cc:  New test.
5258132720Skan	* testsuite/27_io/objects/char/9661-1.cc:  New test.
5259132720Skan	* testsuite/27_io/objects/char/9661-2_xin.cc:  New test.
5260132720Skan	* testsuite/27_io/objects/char/9661-2_xin.in:  New.
5261132720Skan	* testsuite/27_io/objects/wchar_t/1.cc:  New test.
5262132720Skan	* testsuite/27_io/objects/wchar_t/10.cc:  New test.
5263132720Skan	* testsuite/27_io/objects/wchar_t/2.cc:  New test.
5264132720Skan	* testsuite/27_io/objects/wchar_t/2523-1_xin.cc:  New test.
5265132720Skan	* testsuite/27_io/objects/wchar_t/2523-1_xin.in:  New.
5266132720Skan	* testsuite/27_io/objects/wchar_t/2523-2_xin.cc:  New test.
5267132720Skan	* testsuite/27_io/objects/wchar_t/2523-2_xin.in:  New.
5268132720Skan	* testsuite/27_io/objects/wchar_t/3045.cc:  New test.
5269132720Skan	* testsuite/27_io/objects/wchar_t/3647.cc:  New test.
5270132720Skan	* testsuite/27_io/objects/wchar_t/3_xin.cc:  New test.
5271132720Skan	* testsuite/27_io/objects/wchar_t/3_xin.in:  New.
5272132720Skan	* testsuite/27_io/objects/wchar_t/4_xin.cc:  New test.
5273132720Skan	* testsuite/27_io/objects/wchar_t/4_xin.in:  New.
5274132720Skan	* testsuite/27_io/objects/wchar_t/5.cc:  New test.
5275132720Skan	* testsuite/27_io/objects/wchar_t/5268.cc:  New test.
5276132720Skan	* testsuite/27_io/objects/wchar_t/5280_xin.cc:  New test.
5277132720Skan	* testsuite/27_io/objects/wchar_t/5280_xin.in:  New.
5278132720Skan	* testsuite/27_io/objects/wchar_t/6.cc:  New test.
5279132720Skan	* testsuite/27_io/objects/wchar_t/6548_xin.cc:  New test.
5280132720Skan	* testsuite/27_io/objects/wchar_t/6548_xin.in:  New.
5281132720Skan	* testsuite/27_io/objects/wchar_t/6648-1_xin.cc:  New test.
5282132720Skan	* testsuite/27_io/objects/wchar_t/6648-1_xin.in:  New.
5283132720Skan	* testsuite/27_io/objects/wchar_t/6648-2_xin.cc:  New test.
5284132720Skan	* testsuite/27_io/objects/wchar_t/6648-2_xin.in:  New.
5285132720Skan	* testsuite/27_io/objects/wchar_t/7.cc:  New test.
5286132720Skan	* testsuite/27_io/objects/wchar_t/7744_xin.cc:  New test.
5287132720Skan	* testsuite/27_io/objects/wchar_t/7744_xin.in:  New.
5288132720Skan	* testsuite/27_io/objects/wchar_t/8.cc:  New test.
5289132720Skan	* testsuite/27_io/objects/wchar_t/9_xin.cc:  New test.
5290132720Skan	* testsuite/27_io/objects/wchar_t/9_xin.in:  New.
5291132720Skan	* testsuite/27_io/objects/wchar_t/9520.cc:  New test.
5292132720Skan	* testsuite/27_io/objects/wchar_t/9661-1.cc:  New test.
5293132720Skan	* testsuite/27_io/objects/wchar_t/9661-2_xin.cc:  New test.
5294132720Skan	* testsuite/27_io/objects/wchar_t/9661-2_xin.in:  New.
5295132720Skan	* testsuite/27_io/objects/wchar_t/9662.cc:  New test.
5296132720Skan	* testsuite/ext/stdiobuf_char.cc:  New test.
5297132720Skan	* testsuite/ext/stdiobuf_wchar_t.cc:  New test.
5298132720Skan
5299132720Skan2003-05-10  Paolo Carlini  <pcarlini@unitus.it>
5300132720Skan
5301132720Skan	* testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
5302132720Skan	unnecessary includes and unused string literals.
5303132720Skan	* testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
5304132720Skan
5305132720Skan2003-05-08  Paolo Carlini  <pcarlini@unitus.it>
5306132720Skan
5307132720Skan	* include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.
5308132720Skan
5309132720Skan2003-05-07  Richard Henderson  <rth@redhat.com>
5310132720Skan
5311132720Skan	PR c++/10570
5312132720Skan	* libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
5313132720Skan	(__cxa_end_catch): Likewise.
5314132720Skan	* libsupc++/eh_throw.cc (__cxa_rethrow): Likewise.  Use
5315132720Skan	_Unwind_Resume_or_Rethrow.
5316132720Skan	* libsupc++/eh_personality.cc (empty_exception_spec): New.
5317132720Skan	(PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
5318132720Skan	for _UA_FORCE_UNWIND.  Honor empty filter spec for foreign
5319132720Skan	exceptions.  Don't push terminate/unexpected to cxa functions.
5320132720Skan	(__cxa_call_unexpected): Remove foreign exception fixmes.
5321132720Skan
5322132720Skan2003-05-07  Benjamin Kosnik  <bkoz@redhat.com>
5323132720Skan
5324132720Skan	* testsuite/27_io/ios_base/cons: New.
5325132720Skan	* testsuite/27_io/ios_base/cons/assign_neg.cc: New.
5326132720Skan	* testsuite/27_io/ios_base/cons/copy_neg.cc: New.
5327132720Skan
5328132720Skan2003-05-07  Paolo Carlini  <pcarlini@unitus.it>
5329132720Skan
5330132720Skan	* include/std/std_fstream.h (_M_is_indeterminate): Remove.
5331132720Skan	* src/fstream.cc
5332132720Skan	(basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
5333132720Skan	there is no buffer or __testget == !__testinit.
5334132720Skan
5335132720Skan	* src/fstream.cc
5336132720Skan	(basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
5337132720Skan	automatically sets, if appropriate, _M_out_cur == _M_in_cur.
5338132720Skan
5339132720Skan	* include/std/std_fstream.h (_M_destroy_pback): Don't set
5340132720Skan	unnecessarily _M_pback_cur_save and _M_pback_end_save.
5341132720Skan
5342132720Skan	* include/std/std_fstream.h (_M_set_determinate): Minor tweak.
5343132720Skan
5344132720Skan	* include/std/std_sstream.h (_M_sync): Minor tweak.
5345132720Skan
5346132720Skan	* include/bits/fstream.tcc (close): No need to call
5347132720Skan	_M_destroy_pback, setting _M_pback_init to false suffices
5348132720Skan	to clean up.
5349132720Skan
5350132720Skan2003-05-06  Benjamin Kosnik  <bkoz@redhat.com>
5351132720Skan
5352132720Skan	* include/bits/stl_algo.h: Enums as _S_.
5353132720Skan	* include/bits/stl_tree.h: Same.
5354132720Skan	* include/bits/stl_bvector.h: Same.
5355132720Skan	* include/bits/ios_base.h: Same.
5356132720Skan	* include/bits/stl_alloc.h: Same.
5357132720Skan	* include/ext/stl_hashtable.h: Same.
5358132720Skan	* src/ios.cc: And here.
5359132720Skan
5360132720Skan	* include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
5361132720Skan	* include/bits/sstream.tcc: Same.
5362132720Skan
5363132720Skan	* include/bits/basic_ios.h: Correct spacing for '< ctype'.
5364132720Skan
5365132720Skan	* include/bits/locale_facets.tcc: Replace __temp to __tmp.
5366132720Skan
5367132720Skan	* include/bits/locale_facets.h (__num_base): Remove protected.
5368132720Skan	Use _S_[io]* names for enumerations.
5369132720Skan	(_S_format_int): Remove.
5370132720Skan	* include/bits/locale_facets.tcc: Same.
5371132720Skan	* src/locale.cc: Same.
5372132720Skan
5373132720Skan	* include/std/std_sstream.h (stringbuf::str): Tweak formatting.
5374132720Skan
5375132720Skan2003-05-06  Phil Edwards  <pme@gcc.gnu.org>
5376132720Skan
5377132720Skan	* docs/html/faq/index.html (3.10):  Add note about mips atomicity.h.
5378132720Skan	* docs/html/faq/index.txt:  Regenerated.
5379132720Skan
5380132720Skan2003-05-06  Michael Ritzert <Ritzert@t-online.de>
5381132720Skan	    Matt Kraai <kraai@alumni.cmu.edu>
5382132720Skan
5383132720Skan	* include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
5384132720Skan	And retweak.
5385132720Skan
5386132720Skan2003-05-06  Richard Sandiford  <rsandifo@redhat.com>
5387132720Skan
5388132720Skan	* configure.target (mips*): Use the generic atomicity.h by default.
5389132720Skan
5390132720Skan2003-05-05  Loren J. Rittle  <ljrittle@acm.org>
5391132720Skan	    (Inspired by an alternate patch from Danny Smith.)
5392132720Skan
5393132720Skan	* include/bits/stl_threads.h (_Atomic_swap): Kill it...
5394132720Skan	(_Swap_lock_struct<>): ...and the horse it rode in on.
5395132720Skan	* src/globals.cc (_Swap_lock_struct<>): Likewise.
5396132720Skan	* include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): New
5397132720Skan	member to support...
5398132720Skan	* include/ext/ropeimpl.h (rope<>::c_str): Follow *all* memory
5399132720Skan	visibility rules related to POSIX threads.
5400132720Skan	* testsuite/thread/pthread7-rope.cc: New test.
5401132720Skan
5402132720Skan2003-05-04  Paolo Carlini  <pcarlini@unitus.it>
5403132720Skan
5404132720Skan	* testsuite/21_strings/basic_string/find/char/3.cc: New
5405132720Skan	file, testing basic_string<char>::find_first_not_of.
5406132720Skan	* testsuite/21_strings/basic_string/find/wchar_t/3.cc:
5407132720Skan	Likewise for basic_string<wchar_t>.
5408132720Skan
5409132720Skan2003-05-03  Loren J. Rittle  <ljrittle@acm.org>
5410132720Skan
5411132720Skan	* testsuite/thread/pthread1.cc: Remove special case for FreeBSD.
5412132720Skan
5413132720Skan2003-05-02  Benjamin Kosnik  <bkoz@redhat.com>
5414132720Skan
5415132720Skan	* include/Makefile.am (CLEANFILES): Remove PCH files in target
5416132720Skan	directory.
5417132720Skan	* include/Makefile.in: Regenerate.
5418132720Skan
5419132720Skan2003-05-02  Paolo Carlini  <pcarlini@unitus.it>
5420132720Skan
5421132720Skan	* include/std/std_sstream.h (str()): Tidy.
5422132720Skan
5423132720Skan2003-05-02  Nathan Myers  <ncm@cantrip.org>
5424132720Skan	    Paolo Carlini  <pcarlini@unitus.it>
5425132720Skan
5426132720Skan	* include/bits/streambuf.tcc (__copy_streambufs): Rewrote.
5427132720Skan
5428132720Skan2003-05-02  Jonathan Wakely  <redi@gcc.gnu.org>
5429132720Skan
5430132720Skan	* include/bits/basic_string.h (swap): Remove redundant template
5431132720Skan	parameters from declaration of non-template member function.
5432132720Skan
5433132720Skan2003-05-01  Phil Edwards  <pme@gcc.gnu.org>
5434132720Skan
5435132720Skan	* acconfig.h (_GLIBCPP_USE_NLS):  New symbol.
5436132720Skan	* configure.in:  Move libintl.h header test...
5437132720Skan	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE):  ...to here.  Gather all
5438132720Skan	the NLS-related test results into one symbol.
5439132720Skan	* src/functexcept.cc:  Use it here.
5440132720Skan	* aclocal.m4, config.h.in, configure:  Regenerated.
5441132720Skan
5442132720Skan2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
5443132720Skan
5444132720Skan	* include/bits/sstream.tcc (overflow): Instead of calling
5445132720Skan	str(), then _M_string.reserve, thus copying the contents
5446132720Skan	of the current buffer two times, just copy the latter in
5447132720Skan	a temporary, then use the 'swap trick'.
5448132720Skan
5449132720Skan2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
5450132720Skan
5451132720Skan	* include/std/std_sstream.h (str()): Revert the best of the
5452132720Skan	previous 'improvement', incorrect due to the COW nature of
5453132720Skan	v3 basic_string; simplify.
5454132720Skan
5455132720Skan2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
5456132720Skan
5457132720Skan	* include/bits/streambuf.tcc (__copy_streambufs): Adjust the
5458132720Skan	type of __avail to ptrdiff_t to avoid signed-unsigned warning.
5459132720Skan
5460132720Skan2003-05-01  Benjamin Kosnik  <bkoz@redhat.com>
5461132720Skan
5462132720Skan	* testsuite/abi_check.cc (check_version): Update known versions.
5463132720Skan	Check added symbols for version_name != base version. Add missing
5464132720Skan	symbols to incompatible list.
5465132720Skan
5466132720Skan2003-05-01  Benjamin Kosnik  <bkoz@redhat.com>
5467132720Skan
5468132720Skan	* acinclude.m4 (GLIBCPP_EXPORT_FLAGS): Remove -Winline.
5469132720Skan	* aclocal.m4: Regenerated.
5470132720Skan	* configure: Regenerated.
5471132720Skan
5472132720Skan2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
5473132720Skan
5474132720Skan	* include/bits/streambuf.tcc (basic_streambuf::xsgetn):
5475132720Skan	Const-ify some variables.
5476132720Skan	(basic_streambuf::xsputn): Likewise; change the type of some
5477132720Skan	variables to size_t.
5478132720Skan	(__copy_streambufs): Change some variables to size_t.
5479132720Skan
5480132720Skan2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
5481132720Skan
5482132720Skan	* include/std/std_sstream.h (str()): Avoid constructing
5483132720Skan	a basic_string temporary not only when it would turn out
5484132720Skan	to be zero-sized but also when identical to the current
5485132720Skan	_M_string buffer.
5486132720Skan
5487132720Skan2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
5488132720Skan
5489132720Skan	* include/ext/stdio_filebuf.h
5490132720Skan	(stdio_filebuf(int, std::ios_base::openmode, bool, size_t),
5491132720Skan	stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t)):
5492132720Skan	Shorten a bit (-10 lines) by factoring out some code.
5493132720Skan
5494132720Skan2003-04-30  Phil Edwards  <pme@gcc.gnu.org>
5495132720Skan
5496132720Skan	* acinclude.m4:  Add bit missing from previous patch.
5497132720Skan	* aclocal.m4, configure:  Regenerated.
5498132720Skan
5499132720Skan2003-04-29  Phil Edwards  <pme@gcc.gnu.org>
5500132720Skan
5501132720Skan	* docs/doxygen/mainpage.html:  Bring up to date.
5502132720Skan	* docs/doxygen/run_doxygen:  Cosmetic tweaks.  Work around a bug
5503132720Skan	in Doxygen.
5504132720Skan	* docs/doxygen/user.cfg.in:  Scanning the precompiled headers
5505132720Skan	breaks everything.  Don't scan them.
5506132720Skan	* docs/html/documentation.html:  Point to "Write after approval"
5507132720Skan	notes.
5508132720Skan
5509132720Skan2003-04-29  Phil Edwards  <pme@gcc.gnu.org>
5510132720Skan
5511132720Skan	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE):  Search for gettext outside
5512132720Skan	of libc if message translations are being used.  Fix info text in
5513132720Skan	xieee_1003.1-2001 case.
5514132720Skan	* aclocal.m4, configure:  Regenerate.
5515132720Skan
5516132720Skan2003-04-29 Joel Sherrill  <joel.sherrill@OARcorp.com>
5517132720Skan	   Loren J. Rittle <ljrittle@acm.org>
5518132720Skan	   Martin v. Loewis  <martin@v.loewis.de>
5519132720Skan
5520132720Skan	* config/cpu/i386/atomicity.h: New file.
5521132720Skan
5522132720Skan2003-04-29  Paolo Carlini  <pcarlini@unitus.it>
5523132720Skan
5524132720Skan	* include/bits/fstream.tcc (open): Change to single return.
5525132720Skan
5526132720Skan2003-04-29  Paolo Carlini  <pcarlini@unitus.it>
5527132720Skan
5528132720Skan	* include/std/std_sstream.h (underflow): Change to single return.
5529132720Skan
5530132720Skan2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
5531132720Skan
5532132720Skan	* include/std/std_streambuf.h (_M_buf): is currently
5533132720Skan	used only for basic_filebuf, therefore move it there.
5534132720Skan	(basic_streambuf(), ~basic_streambuf()): Adjust.
5535132720Skan	* include/std/std_fstream.h (_M_buf): Moved here.
5536132720Skan	* include/std/std_sstream.h (setbuf): Don't set _M_buf,
5537132720Skan	is actually redundant for basic_stringbuf.
5538132720Skan	(_M_really_sync): Likewise.
5539132720Skan	* include/bits/fstream.tcc (basic_filebuf()): Adjust.
5540132720Skan	* include/bits/sstream.tcc (seekoff): Adjust.
5541132720Skan
5542132720Skan2003-04-28  Benjamin Kosnik  <bkoz@redhat.com>
5543132720Skan
5544132720Skan	* src/localename.cc: Standardize exception strings.
5545132720Skan	* src/locale.cc: Same.
5546132720Skan	* src/ios.cc: Same.
5547132720Skan	* include/bits/basic_string.tcc: Same.
5548132720Skan	* include/bits/basic_ios.tcc: Same.
5549132720Skan	* include/std/std_bitset.h: Same.
5550132720Skan	* include/ext/ropeimpl.h: Same.
5551132720Skan	* include/bits/stl_vector.h: Same.
5552132720Skan	* include/bits/stl_deque.h: Same.
5553132720Skan	* include/bits/stl_bvector.h: Same.
5554132720Skan	* config/locale/generic/c_locale.cc: Same.
5555132720Skan	* config/locale/gnu/c_locale.cc: Same.
5556132720Skan	* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
5557132720Skan
5558132720Skan	* testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
5559132720Skan
5560132720Skan2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
5561132720Skan
5562132720Skan	* include/std/std_streambuf.h (_M_buf_size): is currently
5563132720Skan	used only for basic_filebuf, therefore move it there.
5564132720Skan	(basic_streambuf(), ~basic_streambuf()): Adjust.
5565132720Skan	* include/std/std_fstream.h (_M_buf_size): Moved here.
5566132720Skan	* include/bits/fstream.tcc (basic_filebuf()): Adjust.
5567132720Skan
5568132720Skan2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
5569132720Skan
5570132720Skan	* include/bits/streambuf.tcc (__copy_streambufs): Don't use
5571132720Skan	_M_buf_size (synced input is now correctly dealt with
5572132720Skan	elsewhere); when the output buffer is full don't fall back
5573132720Skan	to a snextc-sputc loop, call overflow instead.
5574132720Skan
5575132720Skan2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
5576132720Skan
5577132720Skan	* include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
5578132720Skan	the innermost 'if' by factoring out some code.
5579132720Skan
5580132720Skan2003-04-28  Phil Edwards  <pme@gcc.gnu.org>
5581132720Skan
5582132720Skan	* configure.in:  Test for libintl.h.
5583132720Skan	* include/bits/c++config:  Define __N for everybody.
5584132720Skan	* include/bits/basic_string.h, include/bits/stl_bvector.h,
5585132720Skan	include/bits/stl_deque.h, include/bits/stl_vector.h,
5586132720Skan	include/std/std_bitset.h:  Wrap all __throw* text with __N.
5587132720Skan	* po/Makefile.am (pot):  New rule, mostly working.
5588132720Skan	* src/functexcept.cc:  Call gettext on all __throw* arguments when
5589132720Skan	-fexceptions is in effect.
5590132720Skan	* po/Makefile.in, config.h.in, configure:  Regenerate.
5591132720Skan
5592132720Skan2003-04-28  Petur Runolfsson  <peturr02@ru.is>
5593132720Skan
5594132720Skan	PR libstdc++/9523
5595132720Skan	* include/bits/ios_base.h (Init::_S_ios_create,
5596132720Skan	Init::_S_ios_destroy):  Remove declarations.
5597132720Skan	(Init::_S_create_buffers,
5598132720Skan	Init::_S_destroy_buffers):  Declare
5599132720Skan	* src/ios.cc (Init::_S_ios_create):  Remove
5600132720Skan	(Init::_S_create_buffers):  Create buffers and add to streams.
5601132720Skan	(Init::_S_ios_destroy):  Rename to...
5602132720Skan	(Init::_S_destroy_buffers):  this.
5603132720Skan	(Init::Init):  Only construct streams once.
5604132720Skan	(Init::~Init):  Flush streams, don't destroy them.
5605132720Skan	(ios_base::sync_with_stdio):  Don't destroy streams, only buffers.
5606132720Skan	* testsuite/27_io/ios_base/sync_with_stdio/9523.cc:  New test.
5607132720Skan	* testsuite/27_io/objects/char/5.cc:  New test.
5608132720Skan	* testsuite/27_io/objects/char/5268.cc:  Avoid undefined behavior.
5609132720Skan	* testsuite/27_io/objects/char/6.cc:  New test.
5610132720Skan	* testsuite/27_io/objects/char/7.cc:  New test.
5611132720Skan
5612132720Skan2003-04-28  Benjamin Kosnik  <bkoz@redhat.com>
5613132720Skan
5614132720Skan	* testsuite/27_io/objects/char/8.cc:  New test.
5615132720Skan
5616132720Skan2003-04-28  Benjamin Kosnik  <bkoz@redhat.com>
5617132720Skan
5618132720Skan	* testsuite/22_locale/codecvt/unicode/char.cc: Remove bom usage.
5619132720Skan	* testsuite/22_locale/codecvt/unicode/wchar_t.cc: Same.
5620132720Skan
5621132720Skan2003-04-27  Benjamin Kosnik  <bkoz@redhat.com>
5622132720Skan
5623132720Skan	* include/std/std_fstream.h (basic_filebuf): _M_pback_destroy to
5624132720Skan	_M_destroy_pback. _M_pback_create to
5625132720Skan	_M_create_pback. _M_underflow_common to
5626132720Skan	_M_underflow. _M_really_overflow to _M_overflow.
5627132720Skan	* include/bits/fstream.tcc: Same.
5628132720Skan	* src/fstream.cc: Same.
5629132720Skan	* include/std/std_streambuf.h (basic_streambuf): _M_in_cur_move to
5630132720Skan	_M_move_in_cur.  _M_out_cur_move to _M_move_out_cur.
5631132720Skan	* include/bits/streambuf.tcc: Same.
5632132720Skan	* include/bits/fstream.tcc: Same.
5633132720Skan	* include/bits/sstream.tcc: Same.
5634132720Skan
5635132720Skan2003-04-27  Benjamin Kosnik  <bkoz@redhat.com>
5636132720Skan
5637132720Skan	* include/bits/locale_classes.h (locale::_Impl): Change _M_names
5638132720Skan	from fixed size array.
5639132720Skan	(locale): Change _S_categories as well.
5640132720Skan	Formatting tweaks.
5641132720Skan	* include/bits/locale_facets.tcc: Tweak.
5642132720Skan	* config/locale/gnu/c_locale.cc: Assign _S_categories.
5643132720Skan	* config/locale/generic/c_locale.cc: Same.
5644132720Skan	* src/locale.cc: Tweak.
5645132720Skan	* src/globals.cc: Change facet_name to name_vec, add names_c.
5646132720Skan	* src/localename.cc: Use them.
5647132720Skan	(locale::_Impl::~_Impl): Destroy _M_names.
5648132720Skan	(locale::_Impl::_Impl): Create _M_names.
5649132720Skan
5650132720Skan2003-04-27  Andreas Schwab  <schwab@suse.de>
5651132720Skan
5652132720Skan	* config/locale/ieee_1003.1-2001/codecvt_specializations.h
5653132720Skan	(__enc_traits): Use __ibom and __ebom instead of ignoring them.
5654132720Skan
5655132720Skan2003-04-27  Nathan Myers  <ncm@cantrip.org>
5656132720Skan
5657132720Skan	Move some basic_string members out of line because
5658132720Skan	they are too big to reasonably be inline.
5659132720Skan	* include/bits/basic_string.h
5660132720Skan	(assign(const basic_string&, size_type, size_type),
5661132720Skan	assign(const _CharT*, size_type),
5662132720Skan	insert(size_type, const basic_string&, size_type, size_type),
5663132720Skan	insert(size_type, const _CharT*, size_type),
5664132720Skan	replace(size_type, size_type, const _CharT*, size_type)):
5665132720Skan	Move from here to...
5666132720Skan	* include/bits/basic_string.tcc: ...here.
5667132720Skan
5668132720Skan2003-04-26  Paolo Carlini  <pcarlini@unitus.it>
5669132720Skan
5670132720Skan	* include/bits/fstream.tcc (pbackfail): Shorten a bit (10 lines)
5671132720Skan	the innermost 'if' by factoring out some code.
5672132720Skan
5673132720Skan2003-04-26  Paolo Carlini  <pcarlini@unitus.it>
5674132720Skan
5675132720Skan	* include/bits/streambuf.tcc (__copy_streambufs): Don't
5676132720Skan	use in_avail(), simplify.
5677132720Skan
5678132720Skan2003-04-26  Paolo Carlini  <pcarlini@unitus.it>
5679132720Skan
5680132720Skan	* include/std/std_sstream.h (setbuf): don't set _M_buf_size,
5681132720Skan	in basic_stringbuf it's unused.
5682132720Skan
5683132720Skan	* include/std/std_sstream.h (underflow): consistently use
5684132720Skan	_M_in_cur, not gptr().
5685132720Skan
5686132720Skan2003-04-25  Ranjit Mathew  <rmathew@hotmail.com>
5687132720Skan	    Phil Edwards  <pme@gcc.gnu.org>
5688132720Skan
5689132720Skan	* testsuite_flags.in: Guard against the possibility
5690132720Skan	of having "xgcc" as a part of a folder name in the
5691132720Skan	path to the GCC build folder.
5692132720Skan	* testsuite/Makefile.am: Likewise.
5693132720Skan	* testsuite/Makefile.in: Regenerated.
5694132720Skan
5695132720Skan2003-04-25  Benjamin Kosnik  <bkoz@redhat.com>
5696132720Skan
5697132720Skan	PR libstdc++/10132
5698132720Skan	* include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
5699132720Skan	exception specifications.
5700132720Skan	(basic_filebuf::close): Same.
5701132720Skan	(basic_filebuf::_M_pback_destroy): Same.
5702132720Skan	(basic_filebuf::_M_destroy_internal_buffer): Same.
5703132720Skan	(basic_filebuf): Remove __res_type typedef.
5704132720Skan	* src/fstream.cc: Same.
5705132720Skan	* include/bits/fstream.tcc
5706132720Skan	(basic_filebuf::_M_convert_to_external): Simplify.
5707132720Skan	(basic_filebuf::seekoff): Use has_facet	before use_facet.
5708132720Skan	(basic_filebuf::close): Add exception specification of throw().
5709132720Skan	* testsuite/27_io/basic_filebuf/cons: New.
5710132720Skan	* testsuite/27_io/basic_filebuf/cons/wchar_t: New.
5711132720Skan	* testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
5712132720Skan	* testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
5713132720Skan	* testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.
5714132720Skan
5715132720Skan2003-04-25  Benjamin Kosnik  <bkoz@redhat.com>
5716132720Skan
5717132720Skan	* include/bits/locale_classes.h
5718132720Skan	(locale::_S_extra_categories_size): Remove.
5719132720Skan	* src/locale.cc: Remove _S_extra_categories_size.
5720132720Skan	* src/localename.cc: Same.
5721132720Skan	* config/locale/gnu/c_locale.cc: Same.
5722132720Skan	* config/locale/generic/c_locale.cc: Same.
5723132720Skan
5724132720Skan2003-04-24  Richard Sandiford  <rsandifo@redhat.com>
5725132720Skan
5726132720Skan	* src/localename.cc (__gnu_cxx::facet_vec): Correct types.
5727132720Skan
5728132720Skan2003-04-24  Phil Edwards  <pme@gcc.gnu.org>
5729132720Skan
5730132720Skan	* docs/html/17_intro/howto.html:  Update some links.
5731132720Skan	* docs/html/18_support/howto.html:  Link doxygen numeric_limits notes.
5732132720Skan	* docs/html/27_io/howto.html:  Link doxygen stdio_filebuf notes.
5733132720Skan	* docs/html/ext/howto.html:  Link to demangler notes and API.
5734132720Skan	* docs/html/faq/index.html:  Remove trailing whitespace.
5735132720Skan	(1.4, 2.4, 3.8, 4.1):  Bring up to date.
5736132720Skan	(5.6):  Change to a bulleted list.
5737132720Skan
5738132720Skan	* docs/html/faq/index.txt, docs/html/documentation.html,
5739132720Skan	docs/html/17_intro/porting.html:  Regenerate.
5740132720Skan
5741132720Skan2003-04-23  Paolo Carlini  <pcarlini@unitus.it>
5742132720Skan
5743132720Skan	* testsuite/27_io/basic_filebuf/3.cc: _S_pback_size now
5744132720Skan	belongs to basic_filebuf.
5745132720Skan	* testsuite/27_io/basic_fstream/3.cc: Likewise.
5746132720Skan	* testsuite/27_io/basic_ifstream/3.cc: Likewise.
5747132720Skan	* testsuite/27_io/basic_ios/3.cc: Remove _S_pback_size
5748132720Skan	instantiation (now belongs to basic_filebuf).
5749132720Skan	* testsuite/27_io/basic_iostream/3.cc: Likewise.
5750132720Skan	* testsuite/27_io/basic_istream/3.cc: Likewise.
5751132720Skan	* testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
5752132720Skan	_S_pback_size now belongs to basic_filebuf.
5753132720Skan	* testsuite/27_io/basic_istringstream/3.cc: Remove _S_pback_size
5754132720Skan	instantiation (now belongs to basic_filebuf).
5755132720Skan	* testsuite/27_io/basic_ofstream/3.cc: _S_pback_size now
5756132720Skan	belongs to basic_filebuf.
5757132720Skan	* testsuite/27_io/basic_ostream/3.cc: Remove _S_pback_size
5758132720Skan	instantiation (now belongs to basic_filebuf).
5759132720Skan	* testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc:
5760132720Skan	_S_pback_size now belongs to basic_filebuf.
5761132720Skan	* testsuite/27_io/basic_ostringstream/3.cc: Remove _S_pback_size
5762132720Skan	instantiation (now belongs to basic_filebuf).
5763132720Skan	* testsuite/27_io/basic_streambuf/3.cc: _S_pback_size now belongs
5764132720Skan	to basic_filebuf.
5765132720Skan	* testsuite/27_io/basic_stringbuf/3.cc: Remove _S_pback_size
5766132720Skan	instantiation (now belongs to basic_filebuf).
5767132720Skan	* testsuite/27_io/basic_stringstream/3.cc: Likewise.
5768132720Skan
5769132720Skan2003-04-23  Benjamin Kosnik  <bkoz@redhat.com>
5770132720Skan
5771132720Skan	* configure.in: Move GLIBCPP_CHECK_PCH before native/cross conditions.
5772132720Skan	* configure: Regenerated.
5773132720Skan
5774132720Skan2003-04-23  Benjamin Kosnik  <bkoz@redhat.com>
5775132720Skan
5776132720Skan	* config/locale/generic/c_locale.h (__convert_from_v): Use
5777132720Skan	attribute unused.
5778132720Skan
5779132720Skan2003-04-23  Phil Edwards  <pme@gcc.gnu.org>
5780132720Skan
5781132720Skan	* docs/html/ext/howto.html ('LWG Issues'):  Add issue 60, partial
5782132720Skan	implementation only.
5783132720Skan	* include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
5784132720Skan	Comment and change to comply with DR 60 and the effect on gcount().
5785132720Skan	* include/std/std_istream.h:  Update comments.
5786132720Skan	* testsuite/27_io/basic_istream/putback/char/1.cc (test01):  Add
5787132720Skan	comments about reasons for tests.  Test sync() against gcount().
5788132720Skan	* testsuite/27_io/basic_istream/seekg/char/2.cc:  New file, test
5789132720Skan	for effect on gcount().
5790132720Skan	* testsuite/27_io/basic_istream/tellg/char/2.cc:  New file, test
5791132720Skan	for effect on gcount().
5792132720Skan
5793132720Skan2003-04-22  Loren J. Rittle  <ljrittle@acm.org>
5794132720Skan
5795132720Skan	* testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
5796132720Skan	Adjust timing.
5797132720Skan
5798132720Skan2003-04-22  Paolo Carlini  <pcarlini@unitus.it>
5799132720Skan
5800132720Skan	* include/std/std_streambuf.h (_S_pback_size, _M_pback,
5801132720Skan	_M_pback_cur_save, _M_pback_end_save, _M_pback_init,
5802132720Skan	_M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
5803132720Skan	(basic_streambuf::basic_streambuf()): Adjust.
5804132720Skan	* include/std/std_fstream.h (_S_pback_size, _M_pback,
5805132720Skan	_M_pback_cur_save, _M_pback_end_save, _M_pback_init,
5806132720Skan	_M_pback_create(), _M_pback_destroy()): Moved here
5807132720Skan	from basic_streambuf.
5808132720Skan	* include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
5809132720Skan	Adjust.
5810132720Skan	(basic_filebuf::_S_pback_size): Add declaration.
5811132720Skan	* include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
5812132720Skan	Remove declaration.
5813132720Skan
5814132720Skan2003-04-21  Paolo Carlini  <pcarlini@unitus.it>
5815132720Skan
5816132720Skan	Consistently use _M_in_beg instead of eback(), _M_in_cur
5817132720Skan	instead of gptr(), and so on.
5818132720Skan	* include/bits/fstream.tcc (pbackfail, imbue): Here.
5819132720Skan	* include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
5820132720Skan	* include/bits/streambuf.tcc (sbumpc, sputbackc,
5821132720Skan	__copy_streambufs): Ditto.
5822132720Skan	* include/std/std_streambuf.h (sgetc): Ditto.
5823132720Skan
5824132720Skan2003-04-21  Paolo Carlini  <pcarlini@unitus.it>
5825132720Skan
5826132720Skan	* include/bits/sstream.tcc (pbackfail, overflow):
5827132720Skan	Formatting fixes.
5828132720Skan
5829132720Skan2003-04-21  Paolo Carlini  <pcarlini@unitus.it>
5830132720Skan
5831132720Skan	* include/std/std_streambuf.h (uflow()): It's used only by
5832132720Skan	basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
5833132720Skan	therefore do not consider the _M_buf_unified == true case.
5834132720Skan
5835132720Skan	* include/std/std_streambuf.h (sgetc()): Restore __ret variable.
5836132720Skan
5837132720Skan2003-04-20  Paolo Carlini  <pcarlini@unitus.it>
5838132720Skan
5839132720Skan	* docs/html/ext/howto.html ('LWG Issues'):
5840132720Skan	Add issues 19, 90, 171, 231, 271.
5841132720Skan
5842132720Skan2003-04-20  Paolo Carlini  <pcarlini@unitus.it>
5843132720Skan
5844132720Skan	* include/bits/sstream.tcc (pbackfail): Remove redundant
5845132720Skan	NULL pointer check from test involving _M_in_*.
5846132720Skan	(overflow, seekoff, seekpos): Const qualify bool variables.
5847132720Skan	* include/std/std_sstream.h (underflow): Remove redundant
5848132720Skan	NULL pointer check from test involving _M_in_*.
5849132720Skan	(_M_really_sync): Const qualify bool variables.
5850132720Skan	* src/fstream.cc (_M_underflow_common): Remove redundant
5851132720Skan	NULL pointer check from test involving _M_in_*, const qualify
5852132720Skan	bool variables.
5853132720Skan
5854132720Skan	* include/std/std_streambuf.h (sgetc): Remove redundant
5855132720Skan	variable.
5856132720Skan
5857132720Skan2003-04-18  Paolo Carlini  <pcarlini@unitus.it>
5858132720Skan
5859132720Skan	According to 5.9 para 2 (second bullet) for pointers p, q
5860132720Skan	pointing to the same type, with  p == 0 and q == 0, (p < q)
5861132720Skan	is false.
5862132720Skan	* include/bits/fstream.tcc (close, overflow, _M_really_overflow,
5863132720Skan	seekoff): Remove redundant NULL pointer checks from tests
5864132720Skan	involving _M_out_* and _M_in_*, const qualify bool variables.
5865132720Skan	(showmanyc, pbackfail, _M_convert_to_external, imbue): Const
5866132720Skan	qualify bool variables.
5867132720Skan	* include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
5868132720Skan	Remove redundant NULL pointer checks from tests involving
5869132720Skan	_M_out_* and _M_in_*, const qualify bool variables.
5870132720Skan	* include/std/std_fstream.h (sync): Likewise.
5871132720Skan	(_M_is_indeterminate): Const qualify bool variables.
5872132720Skan	* include/std/std_streambuf.h (sgetc, uflow): Remove redundant
5873132720Skan	NULL pointer checks from tests involving _M_out_* and _M_in_*,
5874132720Skan	const qualify bool variables.
5875132720Skan	(_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
5876132720Skan	variables.
5877132720Skan
5878132720Skan2003-04-18  Loren J. Rittle  <ljrittle@acm.org>
5879132720Skan
5880132720Skan	* include/c_std/std_cmath.h (C99 FP capture): Only undefine said
5881132720Skan	C99 FP macros, if actually captured.
5882132720Skan
5883132720Skan	* docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
5884132720Skan	(_GLIBCPP_USE_C99_DYNAMIC): New macro.
5885132720Skan	(_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
5886132720Skan	(_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
5887132720Skan	* config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
5888132720Skan	New macro.
5889132720Skan	(_GLIBCPP_USE_C99_DYNAMIC): New macro.
5890132720Skan	(_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
5891132720Skan	(_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
5892132720Skan	* include/c_std/std_cstdlib.h: Use new macros.
5893132720Skan	* include/c_std/std_cstdio.h: Use new macros.
5894132720Skan	* include/c_std/std_cwchar.h: Use new macros.
5895132720Skan
5896132720Skan2003-04-17  Benjamin Kosnik  <bkoz@redhat.com>
5897132720Skan
5898132720Skan	PR libstdc++/9555
5899132720Skan	* include/bits/ostream.tcc: Catch all exceptions for formatted
5900132720Skan	output, instead of std::exception and derivatives.
5901132720Skan	* include/bits/istream.tcc: Same.
5902132720Skan	* testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
5903132720Skan	* testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
5904132720Skan	* testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
5905132720Skan	* testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
5906132720Skan	* testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
5907132720Skan	* testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
5908132720Skan	New.
5909132720Skan
5910132720Skan2003-04-17  Phil Edwards  <pme@gcc.gnu.org>
5911132720Skan
5912132720Skan	* include/bits/c++config:  Minor cosmetic tweaks.
5913132720Skan
5914132720Skan2003-04-17  Loren J. Rittle  <ljrittle@acm.org>
5915132720Skan
5916132720Skan	* testsuite_flags.in (PCHFLAGS): Find PCH in new home.
5917132720Skan	* include/Makefile.am (pch_input): Find in ${target_builddir}.
5918132720Skan	(pch_output): Rename to...
5919132720Skan	(pch_output_builddir): ..this.  Find in ${target_builddir}.
5920132720Skan	(pch_source): Tweak.
5921132720Skan	(pch_build): Key off a built file.
5922132720Skan	(pch_output rule): Rename to...
5923132720Skan	(pch_input rule): ...this.  Produce ${pch_output_builddir}
5924132720Skan	instead of ${pch_output}.
5925132720Skan	(install-pch rule): Install ${pch_output_builddir}.
5926132720Skan	* include/Makefile.in: Regenerated.
5927132720Skan
5928132720Skan2003-04-17  Paolo Carlini  <pcarlini@unitus.it>
5929132720Skan
5930132720Skan	* include/std/std_streambuf.h (setp): _M_out_lim, being
5931132720Skan	the end limit of used put area, is set equal to _M_out_beg.
5932132720Skan
5933132720Skan2003-04-16  Benjamin Kosnik  <bkoz@redhat.com>
5934132720Skan
5935132720Skan	* acinclude.m4 (GLIBCPP_CHECK_PCH): New.
5936132720Skan	* aclocal.m4: Regenerated.
5937132720Skan	* configure.in: Remove old demangler bits.
5938132720Skan	Call pch checks.
5939132720Skan	* configure: Regenerate.
5940132720Skan	* config.h.in: Regenerate.
5941132720Skan	* include/Makefile.am (allstamps): Now allstamped.
5942132720Skan	(allcreated): Define this.
5943132720Skan	(all-local): Use 'em.
5944132720Skan	Conditionally define pch_build, pch_install based on
5945132720Skan	GLIBCPP_BUILD_PCH.
5946132720Skan	(${pch_output}): New rule.
5947132720Skan	(install-pch): New rule.
5948132720Skan	(install-headers): New rule.
5949132720Skan	(install-data-local): Install headers and conditionally pch.
5950132720Skan	* include/Makefile.in: Regenerate.
5951132720Skan	* testsuite_flags.in (--build-cxx): Use pch file.
5952132720Skan
5953132720Skan2003-04-16  Jonathan Wakely  <redi@gcc.gnu.org>
5954132720Skan
5955132720Skan	* docs/html/ext/sgiexts.html: Fix path to stylesheet.
5956132720Skan
5957132720Skan2003-04-15  Benjamin Kosnik  <bkoz at redhat dot com>
5958132720Skan	    Paolo Carlini  <pcarlini at unitus dot it>
5959132720Skan
5960132720Skan	PR libstdc++/9423
5961132720Skan	* docs/html/27_io/howto.html
5962132720Skan	('The buffering is screwing up my program!'): Explain that
5963132720Skan	opening counts as an I/O operation.
5964132720Skan
5965132720Skan2003-04-15  Andreas Tobler  <a.tobler@schweiz.ch>
5966132720Skan
5967132720Skan	* testsuite/thread/pthread1.cc: Enable for darwin test.
5968132720Skan	* testsuite/thread/pthread2.cc: Same.
5969132720Skan	* testsuite/thread/pthread3.cc: Same.
5970132720Skan	* testsuite/thread/pthread4.cc: Same.
5971132720Skan	* testsuite/thread/pthread5.cc: Same.
5972132720Skan	* testsuite/thread/pthread6.cc: Same.
5973132720Skan
5974132720Skan2003-04-15  Loren J. Rittle  <ljrittle@acm.org>
5975132720Skan
5976132720Skan	libstdc++/7680
5977132720Skan	* include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
5978132720Skan	Populate it with multiple legal ways to obtain the C99 float
5979132720Skan	transcendentals.  Use them instead of direct global reference.
5980132720Skan	(C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
5981132720Skan	* docs/html/17_intro/porting.texi
5982132720Skan	(_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
5983132720Skan	(_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
5984132720Skan	(_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
5985132720Skan	* config/os/bsd/freebsd/os_defines.h
5986132720Skan	(_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
5987132720Skan	(_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
5988132720Skan	* testsuite/26_numerics/c_math_dynamic.cc: New file.
5989132720Skan
5990132720Skan2003-04-14  Andreas Tobler  <toa@pop.agri.ch>
5991132720Skan	    Benjamin Kosnik  <bkoz@redhat.com>
5992132720Skan
5993132720Skan	* config/os/generic/ctype_inline.h: Fix.
5994132720Skan
5995132720Skan2003-04-14  Benjamin Kosnik  <bkoz@redhat.com>
5996132720Skan
5997132720Skan	* testsuite/testsuite_hooks.h
5998132720Skan	(__gnu_cxx_test::run_test_wrapped_generic_locale_exception_catcher):
5999132720Skan	Change to try_named_locale.
6000132720Skan	* testsuite/testsuite_hooks.cc (__gnu_cxx_test): Same.
6001132720Skan
6002132720Skan	* testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Use
6003132720Skan	try_named_locale.
6004132720Skan	* testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
6005132720Skan	* testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
6006132720Skan	* testsuite/22_locale/codecvt/encoding/wchar_t/2.cc: Same.
6007132720Skan	* testsuite/22_locale/codecvt/encoding/wchar_t/3.cc: Same.
6008132720Skan	* testsuite/22_locale/codecvt/encoding/wchar_t/4.cc: Same.
6009132720Skan	* testsuite/22_locale/codecvt/in/wchar_t/2.cc: Same.
6010132720Skan	* testsuite/22_locale/codecvt/in/wchar_t/3.cc: Same.
6011132720Skan	* testsuite/22_locale/codecvt/in/wchar_t/4.cc: Same.
6012132720Skan	* testsuite/22_locale/codecvt/in/wchar_t/7.cc: Same.
6013132720Skan	* testsuite/22_locale/codecvt/in/wchar_t/8.cc: Same.
6014132720Skan	* testsuite/22_locale/codecvt/in/wchar_t/9.cc: Same.
6015132720Skan	* testsuite/22_locale/codecvt/length/wchar_t/2.cc: Same.
6016132720Skan	* testsuite/22_locale/codecvt/length/wchar_t/3.cc: Same.
6017132720Skan	* testsuite/22_locale/codecvt/length/wchar_t/4.cc: Same.
6018132720Skan	* testsuite/22_locale/codecvt/length/wchar_t/7.cc: Same.
6019132720Skan	* testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
6020132720Skan	* testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
6021132720Skan	* testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
6022132720Skan	* testsuite/22_locale/codecvt/out/wchar_t/2.cc: Same.
6023132720Skan	* testsuite/22_locale/codecvt/out/wchar_t/3.cc: Same.
6024132720Skan	* testsuite/22_locale/codecvt/out/wchar_t/4.cc: Same.
6025132720Skan	* testsuite/22_locale/codecvt/out/wchar_t/7.cc: Same.
6026132720Skan	* testsuite/22_locale/codecvt/unshift/wchar_t/2.cc: Same.
6027132720Skan	* testsuite/22_locale/codecvt/unshift/wchar_t/3.cc: Same.
6028132720Skan	* testsuite/22_locale/codecvt/unshift/wchar_t/4.cc: Same.
6029132720Skan	* testsuite/22_locale/collate/compare/char/1.cc: Same.
6030132720Skan	* testsuite/22_locale/collate/compare/char/2.cc: Same.
6031132720Skan	* testsuite/22_locale/collate/compare/char/3.cc: Same.
6032132720Skan	* testsuite/22_locale/collate/compare/wchar_t/1.cc: Same.
6033132720Skan	* testsuite/22_locale/collate/compare/wchar_t/2.cc: Same.
6034132720Skan	* testsuite/22_locale/collate/compare/wchar_t/3.cc: Same.
6035132720Skan	* testsuite/22_locale/collate/hash/char/2.cc: Same.
6036132720Skan	* testsuite/22_locale/collate/hash/wchar_t/2.cc: Same.
6037132720Skan	* testsuite/22_locale/collate/transform/char/2.cc: Same.
6038132720Skan	* testsuite/22_locale/collate/transform/char/3.cc: Same.
6039132720Skan	* testsuite/22_locale/collate/transform/wchar_t/2.cc: Same.
6040132720Skan	* testsuite/22_locale/collate/transform/wchar_t/3.cc: Same.
6041132720Skan	* testsuite/22_locale/collate_byname/1.cc: Same.
6042132720Skan	* testsuite/22_locale/ctype/is/char/2.cc: Same.
6043132720Skan	* testsuite/22_locale/ctype/is/wchar_t/2.cc: Same.
6044132720Skan	* testsuite/22_locale/ctype/narrow/wchar_t/3.cc: Same.
6045132720Skan	* testsuite/22_locale/ctype/widen/wchar_t/2.cc: Same.
6046132720Skan	* testsuite/22_locale/ctype/widen/wchar_t/3.cc: Same.
6047132720Skan	* testsuite/22_locale/facet/2.cc: Same.
6048132720Skan	* testsuite/22_locale/locale/cons/2.cc: Same.
6049132720Skan	* testsuite/22_locale/locale/cons/4.cc: Same.
6050132720Skan	* testsuite/22_locale/locale/cons/5.cc: Same.
6051132720Skan	* testsuite/22_locale/locale/cons/7.cc: Same.
6052132720Skan	* testsuite/22_locale/locale/cons/7222-c.cc: Same.
6053132720Skan	* testsuite/22_locale/locale/cons/7222-env.cc: Same.
6054132720Skan	* testsuite/22_locale/locale/global_locale_objects/2.cc: Same.
6055132720Skan	* testsuite/22_locale/messages/members/char/1.cc: Same.
6056132720Skan	* testsuite/22_locale/messages/members/char/2.cc: Same.
6057132720Skan	* testsuite/22_locale/messages/members/char/3.cc: Same.
6058132720Skan	* testsuite/22_locale/messages_byname/1.cc: Same.
6059132720Skan	* testsuite/22_locale/money_get/get/char/1.cc: Same.
6060132720Skan	* testsuite/22_locale/money_get/get/char/2.cc: Same.
6061132720Skan	* testsuite/22_locale/money_get/get/char/3.cc: Same.
6062132720Skan	* testsuite/22_locale/money_get/get/char/4.cc: Same.
6063132720Skan	* testsuite/22_locale/money_get/get/wchar_t/1.cc: Same.
6064132720Skan	* testsuite/22_locale/money_get/get/wchar_t/2.cc: Same.
6065132720Skan	* testsuite/22_locale/money_get/get/wchar_t/3.cc: Same.
6066132720Skan	* testsuite/22_locale/money_get/get/wchar_t/4.cc: Same.
6067132720Skan	* testsuite/22_locale/money_put/put/char/1.cc: Same.
6068132720Skan	* testsuite/22_locale/money_put/put/char/2.cc: Same.
6069132720Skan	* testsuite/22_locale/money_put/put/char/3.cc: Same.
6070132720Skan	* testsuite/22_locale/money_put/put/wchar_t/1.cc: Same.
6071132720Skan	* testsuite/22_locale/money_put/put/wchar_t/2.cc: Same.
6072132720Skan	* testsuite/22_locale/money_put/put/wchar_t/3.cc: Same.
6073132720Skan	* testsuite/22_locale/moneypunct/members/char/2.cc: Same.
6074132720Skan	* testsuite/22_locale/moneypunct/members/wchar_t/2.cc: Same.
6075132720Skan	* testsuite/22_locale/moneypunct_byname/1.cc: Same.
6076132720Skan	* testsuite/22_locale/num_get/get/char/1.cc: Same.
6077132720Skan	* testsuite/22_locale/num_get/get/char/2.cc: Same.
6078132720Skan	* testsuite/22_locale/num_get/get/char/3.cc: Same.
6079132720Skan	* testsuite/22_locale/num_get/get/char/5.cc: Same.
6080132720Skan	* testsuite/22_locale/num_get/get/char/6.cc: Same.
6081132720Skan	* testsuite/22_locale/num_get/get/wchar_t/1.cc: Same.
6082132720Skan	* testsuite/22_locale/num_get/get/wchar_t/2.cc: Same.
6083132720Skan	* testsuite/22_locale/num_get/get/wchar_t/3.cc: Same.
6084132720Skan	* testsuite/22_locale/num_get/get/wchar_t/5.cc: Same.
6085132720Skan	* testsuite/22_locale/num_get/get/wchar_t/6.cc: Same.
6086132720Skan	* testsuite/22_locale/num_put/put/char/1.cc: Same.
6087132720Skan	* testsuite/22_locale/num_put/put/char/2.cc: Same.
6088132720Skan	* testsuite/22_locale/num_put/put/char/3.cc: Same.
6089132720Skan	* testsuite/22_locale/num_put/put/char/5.cc: Same.
6090132720Skan	* testsuite/22_locale/num_put/put/wchar_t/1.cc: Same.
6091132720Skan	* testsuite/22_locale/num_put/put/wchar_t/2.cc: Same.
6092132720Skan	* testsuite/22_locale/num_put/put/wchar_t/3.cc: Same.
6093132720Skan	* testsuite/22_locale/num_put/put/wchar_t/5.cc: Same.
6094132720Skan	* testsuite/22_locale/numpunct/members/char/1.cc: Same.
6095132720Skan	* testsuite/22_locale/numpunct/members/char/2.cc: Same.
6096132720Skan	* testsuite/22_locale/numpunct/members/wchar_t/1.cc: Same.
6097132720Skan	* testsuite/22_locale/numpunct/members/wchar_t/2.cc: Same.
6098132720Skan	* testsuite/22_locale/numpunct_byname/1.cc: Same.
6099132720Skan	* testsuite/22_locale/numpunct_byname/2.cc: Same.
6100132720Skan	* testsuite/22_locale/time_get/date_order/char/1.cc: Same.
6101132720Skan	* testsuite/22_locale/time_get/date_order/wchar_t/1.cc: Same.
6102132720Skan	* testsuite/22_locale/time_get/get_date/char/1.cc: Same.
6103132720Skan	* testsuite/22_locale/time_get/get_date/char/2.cc: Same.
6104132720Skan	* testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Same.
6105132720Skan	* testsuite/22_locale/time_get/get_date/wchar_t/2.cc: Same.
6106132720Skan	* testsuite/22_locale/time_get/get_monthname/char/1.cc: Same.
6107132720Skan	* testsuite/22_locale/time_get/get_monthname/char/2.cc: Same.
6108132720Skan	* testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Same.
6109132720Skan	* testsuite/22_locale/time_get/get_monthname/wchar_t/2.cc: Same.
6110132720Skan	* testsuite/22_locale/time_get/get_time/char/1.cc: Same.
6111132720Skan	* testsuite/22_locale/time_get/get_time/char/2.cc: Same.
6112132720Skan	* testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Same.
6113132720Skan	* testsuite/22_locale/time_get/get_time/wchar_t/2.cc: Same.
6114132720Skan	* testsuite/22_locale/time_get/get_weekday/char/1.cc: Same.
6115132720Skan	* testsuite/22_locale/time_get/get_weekday/char/2.cc: Same.
6116132720Skan	* testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Same.
6117132720Skan	* testsuite/22_locale/time_get/get_weekday/wchar_t/2.cc: Same.
6118132720Skan	* testsuite/22_locale/time_get/get_year/char/1.cc: Same.
6119132720Skan	* testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Same.
6120132720Skan	* testsuite/22_locale/time_put/put/char/1.cc: Same.
6121132720Skan	* testsuite/22_locale/time_put/put/char/2.cc: Same.
6122132720Skan	* testsuite/22_locale/time_put/put/char/3.cc: Same.
6123132720Skan	* testsuite/22_locale/time_put/put/char/4.cc: Same.
6124132720Skan	* testsuite/22_locale/time_put/put/char/5.cc: Same.
6125132720Skan	* testsuite/22_locale/time_put/put/char/6.cc: Same.
6126132720Skan	* testsuite/22_locale/time_put/put/char/7.cc: Same.
6127132720Skan	* testsuite/22_locale/time_put/put/char/8.cc: Same.
6128132720Skan	* testsuite/22_locale/time_put/put/wchar_t/1.cc: Same.
6129132720Skan	* testsuite/22_locale/time_put/put/wchar_t/2.cc: Same.
6130132720Skan	* testsuite/22_locale/time_put/put/wchar_t/3.cc: Same.
6131132720Skan	* testsuite/22_locale/time_put/put/wchar_t/4.cc: Same.
6132132720Skan	* testsuite/22_locale/time_put/put/wchar_t/5.cc: Same.
6133132720Skan	* testsuite/22_locale/time_put/put/wchar_t/6.cc: Same.
6134132720Skan	* testsuite/22_locale/time_put/put/wchar_t/7.cc: Same.
6135132720Skan	* testsuite/22_locale/time_put/put/wchar_t/8.cc: Same.
6136132720Skan	* testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Same.
6137132720Skan	* testsuite/27_io/basic_ios/copyfmt/char/2.cc: Same.
6138132720Skan	* testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Same.
6139132720Skan	* testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Same.
6140132720Skan	* testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Same.
6141132720Skan
6142132720Skan2003-04-14  Andreas Tobler  <toa@pop.agri.ch>
6143132720Skan
6144132720Skan	* configure.target (_cpu_incdir_fullpath): Solaris 2.9 uses
6145132720Skan	solaris includes, not generic.
6146132720Skan
6147132720Skan2003-04-14  Loren J. Rittle  <ljrittle@acm.org>
6148132720Skan
6149132720Skan	* testsuite/26_numerics/c99_classification_macros_c.cc: Add XFAIL.
6150132720Skan
6151132720Skan	* include/std/std_bitset.h (_M_do_find_next): Fix -Wall nit.
6152132720Skan	* include/bits/concept_check.h: Fix multi-line comment.
6153132720Skan	* testsuite/17_intro/headers.cc (dg-options): Add -Wall -Wsystem-header
6154132720Skan	when target is *-*-freebsd*.
6155132720Skan
6156132720Skan2003-04-14  Nathan Myers  <ncm@cantrip.org>
6157132720Skan	    Paolo Carlini  <pcarlini@unitus.it>
6158132720Skan
6159132720Skan	PR libstdc++/9701 (in_avail())
6160132720Skan	* include/std/std_streambuf.h (in_avail): Simplify, in_avail
6161132720Skan	doesn't care if there is anything in some putback cell.
6162132720Skan	* testsuite/27_io/basic_streambuf/in_avail/char/9701-3.cc: Add.
6163132720Skan
6164132720Skan	* testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Remove some
6165132720Skan	unused string literals.
6166132720Skan
6167132720Skan2003-04-14  Paolo Carlini  <pcarlini@unitus.it>
6168132720Skan
6169132720Skan	* include/bits/fstream.tcc (basic_filebuf::setbuf): Don't set
6170132720Skan	_M_out_end, _M_set_indeterminate() does it.
6171132720Skan
6172132720Skan2003-04-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6173132720Skan
6174132720Skan	* os/hpux/ctype_inline.h: Replace with gnu-linux version.
6175132720Skan
6176132720Skan2003-04-12  David Edelsohn  <edelsohn@gnu.org>
6177132720Skan
6178132720Skan	* testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
6179132720Skan	Change basic_streambuf instantiation to "unsigned char".
6180132720Skan	* testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
6181132720Skan
6182132720Skan2003-04-12  Paolo Carlini  <pcarlini@unitus.it>
6183132720Skan
6184132720Skan	Remove _M_buf_size_opt, use directly _M_buf_size instead.
6185132720Skan	* include/bits/fstream.tcc
6186132720Skan	(basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
6187132720Skan	references to _M_buf_size_opt.
6188132720Skan	* include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
6189132720Skan	* include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
6190132720Skan	__bufsize to __in_avail and __size_opt to __buf_size.
6191132720Skan	* include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
6192132720Skan	* include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
6193132720Skan	* include/std/std_streambuf.h (~basic_streambuf(),
6194132720Skan	basic_streambuf()): Likewise, remove _M_buf_size_opt member.
6195132720Skan	* testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
6196132720Skan	* testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
6197132720Skan	* testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
6198132720Skan	* testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
6199132720Skan	* testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
6200132720Skan	* testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
6201132720Skan	* testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
6202132720Skan	* testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
6203132720Skan	* testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
6204132720Skan	* testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
6205132720Skan	* testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
6206132720Skan	* testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
6207132720Skan
6208132720Skan2003-04-12  Paolo Carlini  <pcarlini at unitus dot it>
6209132720Skan
6210132720Skan	* include/ext/stdio_filebuf.h
6211132720Skan	(stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
6212132720Skan	stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
6213132720Skan	_M_buf_size_opt == 0 only means "not to use an allocated buffer"
6214132720Skan	since a stack-based buffer is used for small values of the size_t
6215132720Skan	parameter.
6216132720Skan	* include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
6217132720Skan	If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
6218132720Skan	* testsuite/ext/stdio_filebuf_2.cc: New testfile.
6219132720Skan
6220132720Skan2003-04-12  Paolo Carlini  <pcarlini@unitus.it>
6221132720Skan
6222132720Skan	PR libstdc++/9533
6223132720Skan	* testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
6224132720Skan	* testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.
6225132720Skan
6226132720Skan2003-04-11  Benjamin Kosnik  <bkoz@redhat.com>
6227132720Skan
6228132720Skan	* testsuite/22_locale/locale/cons/3.cc: Split.
6229132720Skan	* testsuite/22_locale/locale/cons/7222-c.cc: New.
6230132720Skan	* testsuite/22_locale/locale/cons/7222-env.cc: New.
6231132720Skan	Check before trying to create a locale from the environment.
6232132720Skan	* testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
6233132720Skan	* testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
6234132720Skan	Adjust includes.
6235132720Skan
6236132720Skan2003-04-11  Benjamin Kosnik  <bkoz@redhat.com>
6237132720Skan
6238132720Skan	* testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
6239132720Skan	locale to construct this hybrid locale, not the global locale.
6240132720Skan
6241132720Skan2003-04-11  Benjamin Kosnik  <bkoz@redhat.com>
6242132720Skan
6243132720Skan	* testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
6244132720Skan	instantiation for AIX.
6245132720Skan	* testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
6246132720Skan	* testsuite/25_algorithms/min_max.cc: Same.
6247132720Skan
6248132720Skan2003-04-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6249132720Skan
6250132720Skan	* basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
6251132720Skan	twice.  Always set _M_cfile to 0 when stream was open.
6252132720Skan
6253132720Skan2003-04-09  Benjamin Kosnik  <bkoz@redhat.com>
6254132720Skan
6255132720Skan	Reshuffle 27_io testsuite.  
6256132720Skan	* testsuite/27_io/filebuf.cc,
6257132720Skan	filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
6258132720Skan	filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
6259132720Skan	filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
6260132720Skan	filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
6261132720Skan	ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
6262132720Skan	ifstream_members.cc, instantiations.cc, ios.cc,
6263132720Skan	ios_base_callbacks.cc, ios_base_members_static-1.tst,
6264132720Skan	ios_base_members_static.cc, ios_base_storage.cc,
6265132720Skan	ios_base_types.cc, ios_ctor.cc, ios_init.cc,
6266132720Skan	ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
6267132720Skan	iostream.cc, iostream_members.cc, istream.cc,
6268132720Skan	istream_exception.cc, istream_extractor_char.cc,
6269132720Skan	istream_extractor_other-1.tst, istream_extractor_other-1.txt,
6270132720Skan	istream_extractor_other-2.tst, istream_extractor_other.cc,
6271132720Skan	istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
6272132720Skan	istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
6273132720Skan	istream_sentry.cc, istream_unformatted-1.tst,
6274132720Skan	istream_unformatted-1.txt, istream_unformatted.cc,
6275132720Skan	istringstream.cc, istringstream_members.cc,
6276132720Skan	narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
6277132720Skan	ofstream_members.cc, ostream.cc, ostream_exception.cc,
6278132720Skan	ostream_fail.cc, ostream_inserter_arith.cc,
6279132720Skan	ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
6280132720Skan	ostream_inserter_char.cc, ostream_inserter_other-1.tst,
6281132720Skan	ostream_inserter_other-2.tst, ostream_inserter_other.cc,
6282132720Skan	ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
6283132720Skan	ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
6284132720Skan	ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
6285132720Skan	streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
6286132720Skan	stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
6287132720Skan	wide_stream_objects.cc, istream_extractor_arith/01.cc,
6288132720Skan	istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
6289132720Skan	istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
6290132720Skan	istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
6291132720Skan	istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
6292132720Skan	istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
6293132720Skan	Split into...
6294132720Skan	* 27_io/basic_filebuf/1.cc: New.
6295132720Skan	* 27_io/basic_filebuf/2.cc: New.
6296132720Skan	* 27_io/basic_filebuf/3.cc: New.
6297132720Skan	* 27_io/basic_filebuf/4.cc: New.
6298132720Skan	* 27_io/basic_filebuf/close/char/1.cc: New.
6299132720Skan	* 27_io/basic_filebuf/close/char/2.cc: New.
6300132720Skan	* 27_io/basic_filebuf/close/char/3.cc: New.
6301132720Skan	* 27_io/basic_filebuf/close/char/4879.cc: New.
6302132720Skan	* 27_io/basic_filebuf/close/char/9964.cc: New.
6303132720Skan	* 27_io/basic_filebuf/imbue/char/1.cc: New.
6304132720Skan	* 27_io/basic_filebuf/imbue/char/9322.cc: New.
6305132720Skan	* 27_io/basic_filebuf/in_avail/char/1.cc: New.
6306132720Skan	* 27_io/basic_filebuf/is_open/char/1.cc: New.
6307132720Skan	* 27_io/basic_filebuf/open/char/1.cc: New.
6308132720Skan	* 27_io/basic_filebuf/open/char/2.cc: New.
6309132720Skan	* 27_io/basic_filebuf/open/char/3.cc: New.
6310132720Skan	* 27_io/basic_filebuf/open/char/9507.cc: New.
6311132720Skan	* 27_io/basic_filebuf/overflow/char/1.cc: New.
6312132720Skan	* 27_io/basic_filebuf/overflow/char/3599.cc: New.
6313132720Skan	* 27_io/basic_filebuf/overflow/char/9169.cc: New.
6314132720Skan	* 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
6315132720Skan	* 27_io/basic_filebuf/overflow/char/9988.cc: New.
6316132720Skan	* 27_io/basic_filebuf/sbumpc/char/1.cc: New.
6317132720Skan	* 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
6318132720Skan	* 27_io/basic_filebuf/seekoff/char/1.cc: New.
6319132720Skan	* 27_io/basic_filebuf/seekoff/char/2.cc: New.
6320132720Skan	* 27_io/basic_filebuf/seekpos/char/1.cc: New.
6321132720Skan	* 27_io/basic_filebuf/seekpos/char/2.cc: New.
6322132720Skan	* 27_io/basic_filebuf/setbuf/char/1.cc: New.
6323132720Skan	* 27_io/basic_filebuf/setbuf/char/2.cc: New.
6324132720Skan	* 27_io/basic_filebuf/setbuf/char/3.cc: New.
6325132720Skan	* 27_io/basic_filebuf/sgetc/char/1.cc: New.
6326132720Skan	* 27_io/basic_filebuf/sgetn/char/1.cc: New.
6327132720Skan	* 27_io/basic_filebuf/sgetn/char/2.cc: New.
6328132720Skan	* 27_io/basic_filebuf/snextc/char/1.cc: New.
6329132720Skan	* 27_io/basic_filebuf/sputbackc/char/1.cc: New.
6330132720Skan	* 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
6331132720Skan	* 27_io/basic_filebuf/sputc/char/1.cc: New.
6332132720Skan	* 27_io/basic_filebuf/sputc/char/1057.cc: New.
6333132720Skan	* 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
6334132720Skan	* 27_io/basic_filebuf/sputn/char/1.cc: New.
6335132720Skan	* 27_io/basic_filebuf/sputn/char/1057.cc: New.
6336132720Skan	* 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
6337132720Skan	* 27_io/basic_filebuf/sungetc/char/1.cc: New.
6338132720Skan	* 27_io/basic_filebuf/sync/char/1057.cc: New.
6339132720Skan	* 27_io/basic_filebuf/sync/char/9182-1.cc: New.
6340132720Skan	* 27_io/basic_filebuf/underflow/char/10097.cc: New.
6341132720Skan	* 27_io/basic_fstream/1.cc: New.
6342132720Skan	* 27_io/basic_fstream/2.cc: New.
6343132720Skan	* 27_io/basic_fstream/3.cc: New.
6344132720Skan	* 27_io/basic_fstream/4.cc: New.
6345132720Skan	* 27_io/basic_fstream/rdbuf/char/2832.cc: New.
6346132720Skan	* 27_io/basic_ifstream/1.cc: New.
6347132720Skan	* 27_io/basic_ifstream/2.cc: New.
6348132720Skan	* 27_io/basic_ifstream/3.cc: New.
6349132720Skan	* 27_io/basic_ifstream/4.cc: New.
6350132720Skan	* 27_io/basic_ifstream/cons/char/1.cc: New.
6351132720Skan	* 27_io/basic_ifstream/open/char/1.cc: New.
6352132720Skan	* 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
6353132720Skan	* 27_io/basic_ios/1.cc: New.
6354132720Skan	* 27_io/basic_ios/2.cc: New.
6355132720Skan	* 27_io/basic_ios/3.cc: New.
6356132720Skan	* 27_io/basic_ios/4.cc: New.
6357132720Skan	* 27_io/basic_ios/clear/char/1.cc: New.
6358132720Skan	* 27_io/basic_ios/cons/char/1.cc: New.
6359132720Skan	* 27_io/basic_ios/cons/char/2.cc: New.
6360132720Skan	* 27_io/basic_ios/cons/char/3.cc: New.
6361132720Skan	* 27_io/basic_ios/copyfmt/char/1.cc: New.
6362132720Skan	* 27_io/basic_ios/copyfmt/char/2.cc: New.
6363132720Skan	* 27_io/basic_ios/exceptions/char/1.cc: New.
6364132720Skan	* 27_io/basic_ios/locales/char/1.cc: New.
6365132720Skan	* 27_io/basic_iostream/1.cc: New.
6366132720Skan	* 27_io/basic_iostream/2.cc: New.
6367132720Skan	* 27_io/basic_iostream/3.cc: New.
6368132720Skan	* 27_io/basic_iostream/4.cc: New.
6369132720Skan	* 27_io/basic_istream/1.cc: New.
6370132720Skan	* 27_io/basic_istream/2.cc: New.
6371132720Skan	* 27_io/basic_istream/3.cc: New.
6372132720Skan	* 27_io/basic_istream/4.cc: New.
6373132720Skan	* 27_io/basic_istream/exceptions/char/9561.cc: New.
6374132720Skan	* 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
6375132720Skan	* 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
6376132720Skan	* 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
6377132720Skan	* 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
6378132720Skan	* 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
6379132720Skan	* 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
6380132720Skan	* 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
6381132720Skan	* 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
6382132720Skan	* 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
6383132720Skan	* 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
6384132720Skan	* 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
6385132720Skan	* 27_io/basic_istream/extractors_character/char/1.cc: New.
6386132720Skan	* 27_io/basic_istream/extractors_character/char/2.cc: New.
6387132720Skan	* 27_io/basic_istream/extractors_character/char/3.cc: New.
6388132720Skan	* 27_io/basic_istream/extractors_character/char/9826.cc: New.
6389132720Skan	* 27_io/basic_istream/extractors_other/char/1.cc: New.
6390132720Skan	* 27_io/basic_istream/extractors_other/char/2.cc: New.
6391132720Skan	* 27_io/basic_istream/extractors_other/char/3.cc: New.
6392132720Skan	* 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
6393132720Skan	* 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
6394132720Skan	* 27_io/basic_istream/get/char/1.cc: New.
6395132720Skan	* 27_io/basic_istream/get/char/2.cc: New.
6396132720Skan	* 27_io/basic_istream/getline/char/1.cc: New.
6397132720Skan	* 27_io/basic_istream/getline/char/2.cc: New.
6398132720Skan	* 27_io/basic_istream/getline/char/3.cc: New.
6399132720Skan	* 27_io/basic_istream/ignore/char/1.cc: New.
6400132720Skan	* 27_io/basic_istream/ignore/char/6360.cc: New.
6401132720Skan	* 27_io/basic_istream/ignore/char/7220.cc: New.
6402132720Skan	* 27_io/basic_istream/peek/char/1.cc: New.
6403132720Skan	* 27_io/basic_istream/peek/char/6414.cc: New.
6404132720Skan	* 27_io/basic_istream/putback/char/1.cc: New.
6405132720Skan	* 27_io/basic_istream/read/char/1.cc: New.
6406132720Skan	* 27_io/basic_istream/read/char/2.cc: New.
6407132720Skan	* 27_io/basic_istream/read/char/3.cc: New.
6408132720Skan	* 27_io/basic_istream/readsome/char/6746-1.cc: New.
6409132720Skan	* 27_io/basic_istream/readsome/char/6746-2.cc: New.
6410132720Skan	* 27_io/basic_istream/readsome/char/8258.cc: New.
6411132720Skan	* 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
6412132720Skan	* 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
6413132720Skan	* 27_io/basic_istream/seekg/char/8348-1.cc: New.
6414132720Skan	* 27_io/basic_istream/seekg/char/8348-2.cc: New.
6415132720Skan	* 27_io/basic_istream/seekg/char/fstream.cc: New.
6416132720Skan	* 27_io/basic_istream/seekg/char/sstream.cc: New.
6417132720Skan	* 27_io/basic_istream/sentry/char/1.cc: New.
6418132720Skan	* 27_io/basic_istream/sentry/char/2.cc: New.
6419132720Skan	* 27_io/basic_istream/sentry/char/3.cc: New.
6420132720Skan	* 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
6421132720Skan	* 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
6422132720Skan	* 27_io/basic_istream/tellg/char/1.cc: New.
6423132720Skan	* 27_io/basic_istream/tellg/char/8348.cc: New.
6424132720Skan	* 27_io/basic_istream/tellg/char/fstream.cc: New.
6425132720Skan	* 27_io/basic_istream/tellg/char/sstream.cc: New.
6426132720Skan	* 27_io/basic_istream/ws/char/1.cc: New.
6427132720Skan	* 27_io/basic_istringstream/1.cc: New.
6428132720Skan	* 27_io/basic_istringstream/2.cc: New.
6429132720Skan	* 27_io/basic_istringstream/3.cc: New.
6430132720Skan	* 27_io/basic_istringstream/4.cc: New.
6431132720Skan	* 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
6432132720Skan	* 27_io/basic_istringstream/str/char/1.cc: New.
6433132720Skan	* 27_io/basic_ofstream/1.cc: New.
6434132720Skan	* 27_io/basic_ofstream/2.cc: New.
6435132720Skan	* 27_io/basic_ofstream/3.cc: New.
6436132720Skan	* 27_io/basic_ofstream/4.cc: New.
6437132720Skan	* 27_io/basic_ofstream/cons/char/2.cc: New.
6438132720Skan	* 27_io/basic_ofstream/open/char/1.cc: New.
6439132720Skan	* 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
6440132720Skan	* 27_io/basic_ostream/1.cc: New.
6441132720Skan	* 27_io/basic_ostream/2.cc: New.
6442132720Skan	* 27_io/basic_ostream/3.cc: New.
6443132720Skan	* 27_io/basic_ostream/4.cc: New.
6444132720Skan	* 27_io/basic_ostream/cons/char/9827.cc: New.
6445132720Skan	* 27_io/basic_ostream/endl/char/1.cc: New.
6446132720Skan	* 27_io/basic_ostream/ends/char/1.cc: New.
6447132720Skan	* 27_io/basic_ostream/ends/char/2.cc: New.
6448132720Skan	* 27_io/basic_ostream/exceptions/char/9561.cc: New.
6449132720Skan	* 27_io/basic_ostream/flush/char/1.cc: New.
6450132720Skan	* 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
6451132720Skan	* 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
6452132720Skan	* 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
6453132720Skan	* 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
6454132720Skan	* 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
6455132720Skan	* 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
6456132720Skan	* 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
6457132720Skan	* 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
6458132720Skan	* 27_io/basic_ostream/inserters_character/char/1.cc: New.
6459132720Skan	* 27_io/basic_ostream/inserters_character/char/2.cc: New.
6460132720Skan	* 27_io/basic_ostream/inserters_character/char/3.cc: New.
6461132720Skan	* 27_io/basic_ostream/inserters_character/char/4.cc: New.
6462132720Skan	* 27_io/basic_ostream/inserters_character/char/5.cc: New.
6463132720Skan	* 27_io/basic_ostream/inserters_character/char/6.cc: New.
6464132720Skan	* 27_io/basic_ostream/inserters_character/char/8.cc: New.
6465132720Skan	* 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
6466132720Skan	* 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
6467132720Skan	* 27_io/basic_ostream/inserters_other/char/1.cc: New.
6468132720Skan	* 27_io/basic_ostream/inserters_other/char/2.cc: New.
6469132720Skan	* 27_io/basic_ostream/inserters_other/char/3.cc: New.
6470132720Skan	* 27_io/basic_ostream/inserters_other/char/4.cc: New.
6471132720Skan	* 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
6472132720Skan	* 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
6473132720Skan	* 27_io/basic_ostream/sentry/char/1.cc: New.
6474132720Skan	* 27_io/basic_ostream/sentry/char/2.cc: New.
6475132720Skan	* 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
6476132720Skan	* 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
6477132720Skan	* 27_io/basic_ostream/tellp/char/1.cc: New.
6478132720Skan	* 27_io/basic_ostream/tellp/char/2.cc: New.
6479132720Skan	* 27_io/basic_ostringstream/1.cc: New.
6480132720Skan	* 27_io/basic_ostringstream/2.cc: New.
6481132720Skan	* 27_io/basic_ostringstream/3.cc: New.
6482132720Skan	* 27_io/basic_ostringstream/4.cc: New.
6483132720Skan	* 27_io/basic_ostringstream/cons/char/3.cc: New.
6484132720Skan	* 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
6485132720Skan	* 27_io/basic_ostringstream/str/char/1.cc: New.
6486132720Skan	* 27_io/basic_ostringstream/str/char/2.cc: New.
6487132720Skan	* 27_io/basic_streambuf/1.cc: New.
6488132720Skan	* 27_io/basic_streambuf/2.cc: New.
6489132720Skan	* 27_io/basic_streambuf/3.cc: New.
6490132720Skan	* 27_io/basic_streambuf/cons/char/1.cc: New.
6491132720Skan	* 27_io/basic_streambuf/imbue/char/1.cc: New.
6492132720Skan	* 27_io/basic_streambuf/imbue/char/9322.cc: New.
6493132720Skan	* 27_io/basic_streambuf/overflow/char/1.cc: New.
6494132720Skan	* 27_io/basic_streambuf/overflow/char/2.cc: New.
6495132720Skan	* 27_io/basic_streambuf/overflow/char/3599.cc: New.
6496132720Skan	* 27_io/basic_streambuf/sgetc/char/1.cc: New.
6497132720Skan	* 27_io/basic_streambuf/sgetn/char/1.cc: New.
6498132720Skan	* 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
6499132720Skan	* 27_io/basic_streambuf/sputc/char/1057.cc: New.
6500132720Skan	* 27_io/basic_streambuf/sputn/char/1.cc: New.
6501132720Skan	* 27_io/basic_streambuf/sputn/char/1057.cc: New.
6502132720Skan	* 27_io/basic_streambuf/sync/char/1057.cc: New.
6503132720Skan	* 27_io/basic_stringbuf/1.cc: New.
6504132720Skan	* 27_io/basic_stringbuf/2.cc: New.
6505132720Skan	* 27_io/basic_stringbuf/3.cc: New.
6506132720Skan	* 27_io/basic_stringbuf/4.cc: New.
6507132720Skan	* 27_io/basic_stringbuf/5.cc: New.
6508132720Skan	* 27_io/basic_stringbuf/imbue/char/1.cc: New.
6509132720Skan	* 27_io/basic_stringbuf/imbue/char/9322.cc: New.
6510132720Skan	* 27_io/basic_stringbuf/in_avail/char/1.cc: New.
6511132720Skan	* 27_io/basic_stringbuf/overflow/char/2.cc: New.
6512132720Skan	* 27_io/basic_stringbuf/overflow/char/3599.cc: New.
6513132720Skan	* 27_io/basic_stringbuf/overflow/char/9988.cc: New.
6514132720Skan	* 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
6515132720Skan	* 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
6516132720Skan	* 27_io/basic_stringbuf/seekoff/char/1.cc: New.
6517132720Skan	* 27_io/basic_stringbuf/seekoff/char/2.cc: New.
6518132720Skan	* 27_io/basic_stringbuf/seekpos/char/1.cc: New.
6519132720Skan	* 27_io/basic_stringbuf/seekpos/char/2.cc: New.
6520132720Skan	* 27_io/basic_stringbuf/setbuf/char/1.cc: New.
6521132720Skan	* 27_io/basic_stringbuf/setbuf/char/2.cc: New.
6522132720Skan	* 27_io/basic_stringbuf/setbuf/char/3.cc: New.
6523132720Skan	* 27_io/basic_stringbuf/sgetc/char/1.cc: New.
6524132720Skan	* 27_io/basic_stringbuf/sgetn/char/1.cc: New.
6525132720Skan	* 27_io/basic_stringbuf/snextc/char/1.cc: New.
6526132720Skan	* 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
6527132720Skan	* 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
6528132720Skan	* 27_io/basic_stringbuf/sputc/char/1.cc: New.
6529132720Skan	* 27_io/basic_stringbuf/sputc/char/1057.cc: New.
6530132720Skan	* 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
6531132720Skan	* 27_io/basic_stringbuf/sputn/char/1.cc: New.
6532132720Skan	* 27_io/basic_stringbuf/sputn/char/1057.cc: New.
6533132720Skan	* 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
6534132720Skan	* 27_io/basic_stringbuf/str/char/1.cc: New.
6535132720Skan	* 27_io/basic_stringbuf/str/char/2.cc: New.
6536132720Skan	* 27_io/basic_stringbuf/str/char/3.cc: New.
6537132720Skan	* 27_io/basic_stringbuf/str/char/3955.cc: New.
6538132720Skan	* 27_io/basic_stringbuf/sungetc/char/1.cc: New.
6539132720Skan	* 27_io/basic_stringbuf/sync/char/1057.cc: New.
6540132720Skan	* 27_io/basic_stringstream/1.cc: New.
6541132720Skan	* 27_io/basic_stringstream/2.cc: New.
6542132720Skan	* 27_io/basic_stringstream/3.cc: New.
6543132720Skan	* 27_io/basic_stringstream/4.cc: New.
6544132720Skan	* 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
6545132720Skan	* 27_io/basic_stringstream/str/char/1.cc: New.
6546132720Skan	* 27_io/basic_stringstream/str/char/2.cc: New.
6547132720Skan	* 27_io/basic_stringstream/str/char/3.cc: New.
6548132720Skan	* 27_io/basic_stringstream/str/char/4.cc: New.
6549132720Skan	* 27_io/fpos/1.cc: New.
6550132720Skan	* 27_io/fpos/2.cc: New.
6551132720Skan	* 27_io/fpos/3.cc: New.
6552132720Skan	* 27_io/ios_base/callbacks/1.cc: New.
6553132720Skan	* 27_io/ios_base/state/1.cc: New.
6554132720Skan	* 27_io/ios_base/storage/1.cc: New.
6555132720Skan	* 27_io/ios_base/storage/2.cc: New.
6556132720Skan	* 27_io/ios_base/storage/3.cc: New.
6557132720Skan	* 27_io/ios_base/sync_with_stdio/1.cc: New.
6558132720Skan	* 27_io/ios_base/sync_with_stdio/2.cc: New.
6559132720Skan	* 27_io/manipulators/adjustfield/char/1.cc: New.
6560132720Skan	* 27_io/manipulators/adjustfield/char/2.cc: New.
6561132720Skan	* 27_io/manipulators/basefield/char/1.cc: New.
6562132720Skan	* 27_io/manipulators/standard/char/1.cc: New.
6563132720Skan	* 27_io/manipulators/standard/char/2.cc: New.
6564132720Skan	* 27_io/objects/char/1.cc: New.
6565132720Skan	* 27_io/objects/char/2.cc: New.
6566132720Skan	* 27_io/objects/char/2523-1_xin.cc: New.
6567132720Skan	* 27_io/objects/char/2523-1_xin.in: New.
6568132720Skan	* 27_io/objects/char/2523-2_xin.cc: New.
6569132720Skan	* 27_io/objects/char/2523-2_xin.in: New.
6570132720Skan	* 27_io/objects/char/3045.cc: New.
6571132720Skan	* 27_io/objects/char/3647.cc: New.
6572132720Skan	* 27_io/objects/char/3_xin.cc: New.
6573132720Skan	* 27_io/objects/char/3_xin.in: New.
6574132720Skan	* 27_io/objects/char/4_xin.cc: New.
6575132720Skan	* 27_io/objects/char/4_xin.in: New.
6576132720Skan	* 27_io/objects/char/5268.cc: New.
6577132720Skan	* 27_io/objects/char/5280_xin.cc: New.
6578132720Skan	* 27_io/objects/char/5280_xin.in: New.
6579132720Skan	* 27_io/objects/char/6548_xin.cc: New.
6580132720Skan	* 27_io/objects/char/6548_xin.in: New.
6581132720Skan	* 27_io/objects/char/6648-1_xin.cc: New.
6582132720Skan	* 27_io/objects/char/6648-1_xin.in: New.
6583132720Skan	* 27_io/objects/char/6648-2_xin.cc: New.
6584132720Skan	* 27_io/objects/char/6648-2_xin.in: New.
6585132720Skan	* 27_io/objects/char/7744_xin.cc: New.
6586132720Skan	* 27_io/objects/char/7744_xin.in: New.
6587132720Skan	* 27_io/objects/wchar_t/1.cc: New.
6588132720Skan	* 27_io/types/1.cc: New.
6589132720Skan	* 27_io/types/2.cc: New.
6590132720Skan	* data/filebuf_members-1.tst: New.
6591132720Skan	* data/filebuf_members-1.txt: New.
6592132720Skan	* data/filebuf_virtuals-1.tst: New.
6593132720Skan	* data/filebuf_virtuals-1.txt: New.
6594132720Skan	* data/filebuf_virtuals-2.tst: New.
6595132720Skan	* data/filebuf_virtuals-3.tst: New.
6596132720Skan	* data/ifstream_members-1.tst: New.
6597132720Skan	* data/ifstream_members-1.txt: New.
6598132720Skan	* data/ios_base_members_static-1.tst: New.
6599132720Skan	* data/istream_extractor_other-1.tst: New.
6600132720Skan	* data/istream_extractor_other-1.txt: New.
6601132720Skan	* data/istream_extractor_other-2.tst: New.
6602132720Skan	* data/istream_seeks-1.tst: New.
6603132720Skan	* data/istream_seeks-1.txt: New.
6604132720Skan	* data/istream_seeks-2.tst: New.
6605132720Skan	* data/istream_seeks-3.tst: New.
6606132720Skan	* data/istream_unformatted-1.tst: New.
6607132720Skan	* data/istream_unformatted-1.txt: New.
6608132720Skan	* data/ofstream_members-1.tst: New.
6609132720Skan	* data/ostream_inserter_char-1.tst: New.
6610132720Skan	* data/ostream_inserter_char-1.txt: New.
6611132720Skan	* data/ostream_inserter_other-1.tst: New.
6612132720Skan	* data/ostream_inserter_other-2.tst: New.
6613132720Skan	* data/ostream_seeks-1.tst: New.
6614132720Skan
6615132720Skan2003-04-09  Benjamin Kosnik  <bkoz@redhat.com>
6616132720Skan
6617132720Skan	* include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
6618132720Skan	requirement that __mode must be strict input or output.
6619132720Skan
6620132720Skan	* include/std/std_streambuf.h (basic_streambuf::setp): Set
6621132720Skan	_M_out_lim.
6622132720Skan
6623132720Skan	* include/std/std_sstream.h (basic_strinbuf::str): Zero length
6624132720Skan	output string shouldn't core.
6625132720Skan	(basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
6626132720Skan	type.
6627132720Skan	* include/bits/sstream.tcc: Adjust _M_really_sync bits here.
6628132720Skan
6629132720Skan	* include/bits/istream.tcc (basic_istream::putback): Set gcount to
6630132720Skan	zero.
6631132720Skan
6632132720Skan2003-04-09  Benjamin Kosnik  <bkoz@redhat.com>
6633132720Skan
6634132720Skan	* testsuite/data: New directory.
6635132720Skan	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
6636132720Skan	to copy files from the testsuite data directory.
6637132720Skan	(libstdc++-v3-list-sourcefiles): Add another test list filter, for
6638132720Skan	testfiles containing _xin, which now means this is an interactive
6639132720Skan	test and should be run with the interactive dejagnu hooks.
6640132720Skan	* testsuite/Makefile.am: Remove testsuite_* files.
6641132720Skan	* testsuite/Makefile.in: Regenerate.
6642132720Skan
6643132720Skan2003-04-09  Zack Weinberg  <zack@codesourcery.com>
6644132720Skan
6645132720Skan	* docs/html/install.html: Document complete list of locales
6646132720Skan	required by test suite.  Document procedure for installing
6647132720Skan	said locales under Debian.  Solicit instructions for other
6648132720Skan	operating systems.
6649132720Skan
6650132720Skan2003-04-08  Alexandre Oliva  <aoliva@redhat.com>
6651132720Skan
6652132720Skan	* include/bits/sstream.tcc (overflow): Make sure operands of min
6653132720Skan	and max have the same type.
6654132720Skan
6655132720Skan2003-04-04  Jerry Quinn  <jlquinn@optonline.net>
6656132720Skan
6657132720Skan	PR libstdc++/10276
6658132720Skan	* src/ios.cc (ios_base::_M_init): Remove _M_callbacks
6659132720Skan	initialization.
6660132720Skan
6661132720Skan2003-03-31  Paolo Carlini  <pcarlini@unitus.it>
6662132720Skan
6663132720Skan	* include/std/std_streambuf.h (_M_out_buf_size()): Remove.
6664132720Skan	* include/bits/fstream.tcc (_M_allocate_internal_buffer):
6665132720Skan	Don't set _M_out_end.
6666132720Skan	(basic_filebuf::overflow): Replace _M_out_buf_size() with
6667132720Skan	this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
6668132720Skan	* include/bits/sstream.tcc (basic_stringbuf::overflow):
6669132720Skan	Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
6670132720Skan	* include/bits/streambuf.tcc (basic_streambuf::sputc):
6671132720Skan	Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
6672132720Skan	(basic_streambuf::xsputn): Replace _M_out_buf_size() with
6673132720Skan	_M_out_end - _M_out_cur.
6674132720Skan	(__copy_streambufs): Likewise.
6675132720Skan	* include/std/std_fstream.h (_M_set_determinate): Set
6676132720Skan	_M_out_end here.
6677132720Skan
6678132720Skan2003-03-30  Paolo Carlini  <pcarlini@unitus.it>
6679132720Skan
6680132720Skan	* include/bits/fstream.tcc (basic_filebuf::showmanyc,
6681132720Skan	_M_convert_to_external, _M_really_overflow, seekoff): Fix
6682132720Skan	test for synced buffer.
6683132720Skan	* include/std/std_fstream.h (sync): Likewise.
6684132720Skan	* src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
6685132720Skan	basic_filebuf<wchar_t>::_M_underflow_common): Likewise.
6686132720Skan
6687132720Skan2003-03-28  Benjamin Kosnik  <bkoz@redhat.com>
6688132720Skan
6689132720Skan	* include/std/std_sstream.h (basic_istringstream): Adjust
6690132720Skan	initialization.
6691132720Skan	(basic_ostringstream): Same.
6692132720Skan	(basic_stringstream): Same.
6693132720Skan	* include/std/std_fstream.h (basic_ifstream): Adjust initialization.
6694132720Skan	(basic_ofstream): Same.
6695132720Skan	(basic_fstream): Same.
6696132720Skan	* include/std/std_ostream.h (basic_ostrem): Add protected ctor
6697132720Skan	that does not call init.
6698132720Skan	* include/std/std_istream.h (basic_istream): Same.
6699132720Skan	(basic_iostream): Construct istream, ostream uninitialized, use
6700132720Skan	init to initialize just once. Add protected ctor that does not
6701132720Skan	call init.
6702132720Skan
6703132720Skan2003-03-28  Paolo Carlini  <pcarlini@unitus.it>
6704132720Skan	    Nathan Myers  <ncm@cantrip.org>
6705132720Skan
6706132720Skan	PR libstdc++/9533
6707132720Skan	* include/bits/fstream.tcc (basic_filebuf<>::open): Don't
6708132720Skan	call underflow().
6709132720Skan	(basic_filebuf<>::showmanyc): Use the information provided
6710132720Skan	by codecvt and __basic_file<>::showmanyc_helper to implement
6711132720Skan	a non-trivial showmanyc.
6712132720Skan	* config/io/basic_file_stdio.h
6713132720Skan	(__basic_file<>::showmanyc_helper): New, declare.
6714132720Skan	* config/io/basic_file_stdio.cc
6715132720Skan	(__basic_file<>::showmanyc_helper): Define.
6716132720Skan	(__basic_file<>::_M_open_mode): Don't set O_NONBLOCK.
6717132720Skan	(__basic_file<char>::open): Don't call fcntl().
6718132720Skan	* acinclude.m4 (GLIBCPP_CHECK_S_ISREG_OR_S_IFREG,
6719132720Skan	GLIBCPP_CHECK_POLL): New macros.
6720132720Skan	* configure.in: Call here.
6721132720Skan	* acconfig.h: Add #undefs for the corresponding symbols.
6722132720Skan	* aclocal.m4: Regenerate.
6723132720Skan	* configure: Regenerate.
6724132720Skan	* config.h.in: Regenerate.
6725132720Skan
6726132720Skan2003-03-24  Benjamin Kosnik  <bkoz@redhat.com>
6727132720Skan
6728132720Skan	* config/linker-map.gnu: Remove string export restrictions.
6729132720Skan
6730132720Skan2003-03-24  Paolo Carlini  <pcarlini@unitus.it>
6731132720Skan
6732132720Skan	* testsuite/21_strings/basic_string/find/char/1.cc: Remove
6733132720Skan	find_first_of, find_last_of and find_last_not_of tests.
6734132720Skan	* testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
6735132720Skan	tests here, new file.
6736132720Skan	* testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise,
6737132720Skan	remove wchar_t find_first_of, find_last_of and find_last_not_of tests.
6738132720Skan	* testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
6739132720Skan	wchar_t find_first_of tests here, new file.
6740132720Skan	* testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of
6741132720Skan	tests here.
6742132720Skan	* testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
6743132720Skan	tests here.
6744132720Skan	* testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
6745132720Skan	wchar_t find_last_of tests here.
6746132720Skan	* testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
6747132720Skan	wchar_t find_last_not_of tests here.
6748132720Skan
6749132720Skan2003-03-22  Loren J. Rittle  <ljrittle@acm.org>
6750132720Skan
6751132720Skan	* config/os/hpux/ctype_noninline.h (ctype<char>::classic_table):
6752132720Skan	Correct return value.
6753132720Skan
6754132720Skan2003-03-21  Jerry Quinn  <jlquinn@optonline.net>
6755132720Skan
6756132720Skan	PR libstdc++/5730
6757132720Skan	* include/bits/c++config (_GLIBCPP_FAST_MATH): Define.
6758132720Skan	* include/std/std_complex.h (norm):  Use faster,
6759132720Skan	less accurate computation for builtin float types under --fast-math.
6760132720Skan
6761132720Skan2003-03-21  Magnus Fromreide  <gnats@magfr.user.lysator.liu.se>
6762132720Skan
6763132720Skan	* testsuite/testsuite_hooks.h: Fix warning nits.
6764132720Skan
6765132720Skan2003-03-19  Alexandre Oliva  <aoliva@redhat.com>
6766132720Skan
6767132720Skan	* config/cpu/mips/atomicity.h (__exchange_and_add, __atomic_add):
6768132720Skan	Only .set mips2 for the o32 ABI.
6769132720Skan
6770132720Skan2003-03-19  Paolo Carlini  <pcarlini@unitus.it>
6771132720Skan
6772132720Skan	* testsuite/21_strings/char_traits/requirements/char/1.cc:
6773132720Skan	Test char not wchar_t.
6774132720Skan
6775132720Skan2003-03-18  Paolo Carlini  <pcarlini@unitus.it>
6776132720Skan
6777132720Skan	* testsuite/21_strings/basic_string/append/wchar_t/1.cc:
6778132720Skan	Correct size, taking into account sizeof(wchar_t).
6779132720Skan
6780132720Skan2003-03-18  Paolo Carlini  <pcarlini@unitus.it>
6781132720Skan
6782132720Skan	Reshuffle 21_strings testsuite.
6783132720Skan	* testsuite/21_strings/append.cc, c_strings.cc, invariants.cc,
6784132720Skan	assign.cc, ctor_copy_dtor.cc, nonmember.cc, capacity.cc,
6785132720Skan	element_access.cc, operations.cc, char_traits_requirements.cc,
6786132720Skan	find.cc, replace.cc, char_traits_typedefs.cc, insert.cc, rfind.cc,
6787132720Skan	compare.cc, inserters_extractors.cc, substr.cc: Split up, add
6788132720Skan	wchar_t tests as follows.
6789132720Skan	* 21_strings/basic_string/append/char/1.cc: New.
6790132720Skan	* 21_strings/basic_string/append/wchar_t/1.cc: New.
6791132720Skan	* 21_strings/basic_string/assign/char/1.cc: New.
6792132720Skan	* 21_strings/basic_string/assign/char/2.cc: New.
6793132720Skan	* 21_strings/basic_string/assign/char/3.cc: New.
6794132720Skan	* 21_strings/basic_string/assign/wchar_t/1.cc: New.
6795132720Skan	* 21_strings/basic_string/assign/wchar_t/2.cc: New.
6796132720Skan	* 21_strings/basic_string/assign/wchar_t/3.cc: New.
6797132720Skan	* 21_strings/basic_string/capacity/1.cc: New.
6798132720Skan	* 21_strings/basic_string/capacity/char/1.cc: New.
6799132720Skan	* 21_strings/basic_string/capacity/char/2.cc: New.
6800132720Skan	* 21_strings/basic_string/capacity/wchar_t/1.cc: New.
6801132720Skan	* 21_strings/basic_string/capacity/wchar_t/2.cc: New.
6802132720Skan	* 21_strings/basic_string/compare/char/1.cc: New.
6803132720Skan	* 21_strings/basic_string/compare/wchar_t/1.cc: New.
6804132720Skan	* 21_strings/basic_string/cons/char/1.cc: New.
6805132720Skan	* 21_strings/basic_string/cons/char/2.cc: New.
6806132720Skan	* 21_strings/basic_string/cons/char/3.cc: New.
6807132720Skan	* 21_strings/basic_string/cons/char/4.cc: New.
6808132720Skan	* 21_strings/basic_string/cons/char/5.cc: New.
6809132720Skan	* 21_strings/basic_string/cons/wchar_t/1.cc: New.
6810132720Skan	* 21_strings/basic_string/cons/wchar_t/2.cc: New.
6811132720Skan	* 21_strings/basic_string/cons/wchar_t/3.cc: New.
6812132720Skan	* 21_strings/basic_string/cons/wchar_t/4.cc: New.
6813132720Skan	* 21_strings/basic_string/cons/wchar_t/5.cc: New.
6814132720Skan	* 21_strings/basic_string/element_access/char/1.cc: New.
6815132720Skan	* 21_strings/basic_string/element_access/char/2.cc: New.
6816132720Skan	* 21_strings/basic_string/element_access/char/3.cc: New.
6817132720Skan	* 21_strings/basic_string/element_access/wchar_t/1.cc: New.
6818132720Skan	* 21_strings/basic_string/element_access/wchar_t/2.cc: New.
6819132720Skan	* 21_strings/basic_string/element_access/wchar_t/3.cc: New.
6820132720Skan	* 21_strings/basic_string/find/char/1.cc: New.
6821132720Skan	* 21_strings/basic_string/find/wchar_t/1.cc: New.
6822132720Skan	* 21_strings/basic_string/insert/char/1.cc: New.
6823132720Skan	* 21_strings/basic_string/insert/char/2.cc: New.
6824132720Skan	* 21_strings/basic_string/insert/wchar_t/1.cc: New.
6825132720Skan	* 21_strings/basic_string/insert/wchar_t/2.cc: New.
6826132720Skan	* 21_strings/basic_string/inserters_extractors/char/1.cc: New.
6827132720Skan	* 21_strings/basic_string/inserters_extractors/char/4.cc: New.
6828132720Skan	* 21_strings/basic_string/inserters_extractors/char/5.cc: New.
6829132720Skan	* 21_strings/basic_string/inserters_extractors/char/6.cc: New.
6830132720Skan	* 21_strings/basic_string/inserters_extractors/char/7.cc: New.
6831132720Skan	* 21_strings/basic_string/inserters_extractors/char/8.cc: New.
6832132720Skan	* 21_strings/basic_string/inserters_extractors/char/9.cc: New.
6833132720Skan	* 21_strings/basic_string/inserters_extractors/wchar_t/1.cc: New.
6834132720Skan	* 21_strings/basic_string/inserters_extractors/wchar_t/4.cc: New.
6835132720Skan	* 21_strings/basic_string/inserters_extractors/wchar_t/5.cc: New.
6836132720Skan	* 21_strings/basic_string/inserters_extractors/wchar_t/6.cc: New.
6837132720Skan	* 21_strings/basic_string/inserters_extractors/wchar_t/7.cc: New.
6838132720Skan	* 21_strings/basic_string/inserters_extractors/wchar_t/8.cc: New.
6839132720Skan	* 21_strings/basic_string/inserters_extractors/wchar_t/9.cc: New.
6840132720Skan	* 21_strings/basic_string/operators/char/1.cc: New.
6841132720Skan	* 21_strings/basic_string/operators/char/2.cc: New.
6842132720Skan	* 21_strings/basic_string/operators/wchar_t/1.cc: New.
6843132720Skan	* 21_strings/basic_string/operators/wchar_t/2.cc: New.
6844132720Skan	* 21_strings/basic_string/replace/char/1.cc: New.
6845132720Skan	* 21_strings/basic_string/replace/char/2.cc: New.
6846132720Skan	* 21_strings/basic_string/replace/char/3.cc: New.
6847132720Skan	* 21_strings/basic_string/replace/char/4.cc: New.
6848132720Skan	* 21_strings/basic_string/replace/char/5.cc: New.
6849132720Skan	* 21_strings/basic_string/replace/wchar_t/1.cc: New.
6850132720Skan	* 21_strings/basic_string/replace/wchar_t/2.cc: New.
6851132720Skan	* 21_strings/basic_string/replace/wchar_t/3.cc: New.
6852132720Skan	* 21_strings/basic_string/replace/wchar_t/4.cc: New.
6853132720Skan	* 21_strings/basic_string/replace/wchar_t/5.cc: New.
6854132720Skan	* 21_strings/basic_string/rfind/char/1.cc: New.
6855132720Skan	* 21_strings/basic_string/rfind/char/2.cc: New.
6856132720Skan	* 21_strings/basic_string/rfind/char/3.cc: New.
6857132720Skan	* 21_strings/basic_string/rfind/wchar_t/1.cc: New.
6858132720Skan	* 21_strings/basic_string/rfind/wchar_t/2.cc: New.
6859132720Skan	* 21_strings/basic_string/rfind/wchar_t/3.cc: New.
6860132720Skan	* 21_strings/basic_string/substr/char/1.cc: New.
6861132720Skan	* 21_strings/basic_string/substr/wchar_t/1.cc: New.
6862132720Skan	* 21_strings/c_strings/char/1.cc: New.
6863132720Skan	* 21_strings/c_strings/char/2.cc: New.
6864132720Skan	* 21_strings/c_strings/wchar_t/1.cc: New.
6865132720Skan	* 21_strings/c_strings/wchar_t/2.cc: New.
6866132720Skan	* 21_strings/char_traits/requirements/char/1.cc: New.
6867132720Skan	* 21_strings/char_traits/requirements/wchar_t/1.cc: New.
6868132720Skan	* 21_strings/char_traits/typedefs/char/1.cc: New.
6869132720Skan
6870132720Skan2003-03-17  Paolo Carlini  <pcarlini@unitus.it>
6871132720Skan	    Petur Runolfsson  <peturr02@ru.is>
6872132720Skan
6873132720Skan	PR libstdc++/10097
6874132720Skan	* src/fstream.cc (basic_filebuf<char>::_M_underflow_common,
6875132720Skan	basic_filebuf<wchar_t>::_M_underflow_common):
6876132720Skan	if (gptr() < egptr()) return *gptr().
6877132720Skan	* testsuite/27_io/filebuf_virtuals.cc (test16): Add.
6878132720Skan
6879132720Skan	* testsuite/27_io/filebuf_members.cc (test_04): Minor
6880132720Skan	changes: unlink fifo before making it, fix spelling error.
6881132720Skan
6882132720Skan2003-03-17  Benjamin Kosnik  <bkoz@redhat.com>
6883132720Skan
6884132720Skan	* testsuite/Makefile.am (CLEANFILES): Add tmp*.
6885132720Skan	* testsuite/Makefile.in: Regenerate.
6886132720Skan	* testsuite/27_io/filebuf_members.cc: Consistently name tmp files.
6887132720Skan	Cleanups.
6888132720Skan
6889132720Skan2003-03-17  Petur Runolfsson  <peturr02@ru.is>
6890132720Skan
6891132720Skan	PR libstdc++/9964
6892132720Skan	* include/bits/fstream.tcc (basic_filebuf::close):
6893132720Skan	Always close file, even when write fails.
6894132720Skan	* testsuite/27_io/filebuf_members.cc (test_07):  New test.
6895132720Skan
6896132720Skan2003-03-17  Danny Smith  <dannysmith@users.sourceforge.net>
6897132720Skan
6898132720Skan	* libsupc++/Makefile.am (C_COMPILE): Remove.
6899132720Skan	(LTCOMPILE): Likewise.
6900132720Skan	* libsupc++/Makefile.in: Regenerate.
6901132720Skan
6902132720Skan2003-03-14  Benjamin Kosnik  <bkoz@redhat.com>
6903132720Skan
6904132720Skan	* testsuite/23_containers/bitset_members.cc: Add test variable.
6905132720Skan	* testsuite/23_containers/map_insert.cc: Same.
6906132720Skan	* testsuite/22_locale/ctype/cons/char/1.cc: Same.
6907132720Skan	* testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same.
6908132720Skan	* testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same.
6909132720Skan	* testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same.
6910132720Skan	* testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same.
6911132720Skan	* testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same.
6912132720Skan	* testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same.
6913132720Skan	* testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same.
6914132720Skan	* testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same.
6915132720Skan	* testsuite/27_io/istream_exception.cc: Same.
6916132720Skan	* testsuite/27_io/filebuf_virtuals.cc: Same.
6917132720Skan	* testsuite/27_io/stringbuf_virtuals.cc: Same.
6918132720Skan	* testsuite/27_io/ostream_inserter_arith.cc: Same.
6919132720Skan	* testsuite/26_numerics/valarray_operators.cc: Same.
6920132720Skan	* testsuite/26_numerics/slice.cc: Same.
6921132720Skan	* testsuite/26_numerics/slice_array_assignment.cc: Same.
6922132720Skan	* testsuite/24_iterators/istream_iterator.cc: Same.
6923132720Skan	* mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible.
6924132720Skan
6925132720Skan2003-03-14  Petur Runolfsson  <peturr02@ru.is>
6926132720Skan
6927132720Skan	PR libstdc++/9581
6928132720Skan	PR libstdc++/9870
6929132720Skan	* config/locale/generic/ctype_members.cc,
6930132720Skan	* config/locale/gnu/ctype_members.cc
6931132720Skan	(ctype<wchar_t>::do_widen(char)):  Cast argument to
6932132720Skan	unsigned char before passing to btowc.
6933132720Skan	(ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)):
6934132720Skan	Convert characters with btowc instead of mbsrtowcs.
6935132720Skan	(ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*,
6936132720Skan	char, char*):
6937132720Skan	Convert characters with wctob instead of wcsrtombs.
6938132720Skan	* testsuite/22_locale/ctype/narrow/wchar_t/3.cc:  New test.
6939132720Skan	* testsuite/22_locale/ctype/widen/wchar_t/2.cc:  New test.
6940132720Skan	* testsuite/22_locale/ctype/widen/wchar_t/3.cc:  New test.
6941132720Skan
6942132720Skan2003-03-14  Benjamin Kosnik  <bkoz@redhat.com>
6943132720Skan
6944132720Skan	* include/stdc++.h: New.
6945132720Skan	* libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard.
6946132720Skan	* include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch
6947132720Skan	* include/Makefile.in: Regenerate.
6948132720Skan	* testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS.
6949132720Skan	(--cxxflags): Put -g -O2 here.
6950132720Skan	* testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here.
6951132720Skan
6952132720Skan2003-03-14  Loren J. Rittle  <ljrittle@acm.org>
6953132720Skan
6954132720Skan	* testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
6955132720Skan	missing named locale.
6956132720Skan
6957132720Skan2003-03-14  Andreas Schwab  <schwab@suse.de>
6958132720Skan
6959132720Skan	* configure.in: Only append to makefiles that are newly created to
6960132720Skan	avoid multiple multi-do/multi-clean rules.
6961132720Skan	* configure: Rebuilt.
6962132720Skan
6963132720Skan2003-03-13  Jonathan Wakely  <redi@gcc.gnu.org>
6964132720Skan
6965132720Skan	* docs/html/configopts.html, docs/html/documentation.html,
6966132720Skan	docs/html/explanations.html, docs/html/install.html,
6967132720Skan	docs/html/19_diagnostics/howto.html, docs/html/faq/index.html: Fix
6968132720Skan	invalid XHTML and make page header style consistent.
6969132720Skan
6970132720Skan2003-03-12  Jonathan Wakely  <redi@gcc.gnu.org>
6971132720Skan
6972132720Skan	* docs/html/faq/index.html: Explain memory "leaks" due to allocators.
6973132720Skan	* docs/html/faq/index.txt: Regenerate.
6974132720Skan	* docs/html/debug.html: Add a bit to allocator text and fix XHTML.
6975132720Skan
6976132720Skan2003-03-12  Andreas Schwab  <schwab@suse.de>
6977132720Skan
6978132720Skan	* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
6979132720Skan	glibcpp_toolexeclibdir.
6980132720Skan	* aclocal.m4, configure: Rebuilt.
6981132720Skan
6982132720Skan2003-03-11  Jonathan Wakely  <redi@gcc.gnu.org>
6983132720Skan
6984132720Skan	* docs/html/faq/index.html: Update text about location of headers.
6985132720Skan	* docs/html/faq/index.txt: Regenerate.
6986132720Skan
6987132720Skan2003-03-11  Carlo Wood  <carlo@alinoe.com>
6988132720Skan
6989132720Skan	* include/bits/demangle.h: Prepend accessors of
6990132720Skan	class qualifier with 'get_' in order to fix warnings
6991132720Skan	when compiling with -Wshadow.
6992132720Skan
6993132720Skan2003-03-11  Loren J. Rittle  <ljrittle@acm.org>
6994132720Skan
6995132720Skan	* config/os/bsd/freebsd/ctype_inline.h:  Support _M_table
6996132720Skan	when so installed.
6997132720Skan	* testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
6998132720Skan
6999132720Skan	* testsuite/testsuite_hooks.h (run_tests_wrapped_env): Do not
7000132720Skan	report lack of setenv().
7001132720Skan
7002132720Skan2003-03-09  Paolo Carlini  <pcarlini@unitus.it>
7003132720Skan
7004132720Skan	* config/io/basic_file_stdio.cc: include <unistd.h>.
7005132720Skan
7006132720Skan2003-03-09  Paolo Carlini  <pcarlini@unitus.it>
7007132720Skan	    Nathan Myers  <ncm@cantrip.org>
7008132720Skan
7009132720Skan	PR libstdc++/7744
7010132720Skan	* config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
7011132720Skan	seekoff, seekpos): Add a boolean parameter __stdio.
7012132720Skan	* config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
7013132720Skan	seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
7014132720Skan	fseek/ftell, respectively), otherwise read (write, lseek, lseek,
7015132720Skan	respectively).
7016132720Skan	* include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
7017132720Skan	_M_really_overflow, seekoff): Use the boolean parameter in the calls.
7018132720Skan	* include/std/std_fstream.h (sync): Likewise.
7019132720Skan	* src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
7020132720Skan	* src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert
7021132720Skan	libstdc++/8399 commit involving isatty(0).
7022132720Skan	* acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
7023132720Skan	(GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
7024132720Skan	* configure.in: Remove call.
7025132720Skan	* aclocal.m4: Regenerate.
7026132720Skan	* config.h.in: Regenerate.
7027132720Skan	* configure: Regenerate.
7028132720Skan	* testsuite/27_io/narrow_stream_objects.cc (test11): Add.
7029132720Skan
7030132720Skan2003-03-09  Paolo Carlini  <pcarlini@unitus.it>
7031132720Skan
7032132720Skan	PR libstdc++/9988
7033132720Skan	* include/bits/fstream.tcc (overflow): don't write EOF to file.
7034132720Skan	* testsuite/27_io/filebuf_virtuals.cc (test15): Add.
7035132720Skan
7036132720Skan2003-03-08  Jerry Quinn  <jlquinn@optonline.net>
7037132720Skan
7038132720Skan	PR libstdc++/9561
7039132720Skan	* include/bits/basic_ios.h (_M_setstate): New.
7040132720Skan	* include/bits/ostream.tcc (operator<<): Use it.
7041132720Skan	* include/bits/istream.tcc (operator>>): Use it.
7042132720Skan	* include/std/std_ostream.h (operator<<): Make friends.
7043132720Skan	* include/std/std_istream.h (operator>>): Make friends.
7044132720Skan	* testsuite/27_io/ostream_exception.cc,
7045132720Skan	testsuite/27_io/istream_exception.cc: New tests.
7046132720Skan
7047132720Skan2003-03-08  Benjamin Kosnik  <bkoz@redhat.com>
7048132720Skan
7049132720Skan	* include/bits/locale_facets.tcc: Fix typo.
7050132720Skan
7051132720Skan2003-03-08  Loren J. Rittle  <ljrittle@acm.org>
7052132720Skan
7053132720Skan	* testsuite/26_numerics/c99_classification_macros_c.cc: Tweak test.
7054132720Skan
7055132720Skan	* config/locale/generic/c_locale.cc
7056132720Skan	(locale::facet::_S_create_c_locale): Throw runtime exception when
7057132720Skan	unsupported language is specified.
7058132720Skan	* testsuite/testsuite_hooks.h
7059132720Skan	(run_test_wrapped_generic_locale_exception_catcher): New function.
7060132720Skan	* testsuite/testsuite_hooks.cc (run_tests_wrapped_locale):
7061132720Skan	Suppress runtime exception thrown by generic implementation.
7062132720Skan	(run_tests_wrapped_env): Likewise.
7063132720Skan	(run_test_wrapped_generic_locale_exception_catcher): New function.
7064132720Skan	* testsuite/22_locale/collate/compare/char/1.cc: New test wrap.
7065132720Skan	* testsuite/22_locale/collate/compare/char/2.cc: New test wrap.
7066132720Skan	* testsuite/22_locale/collate/compare/char/3.cc: New test wrap.
7067132720Skan	* testsuite/22_locale/collate/hash/char/2.cc: New test wrap.
7068132720Skan	* testsuite/22_locale/collate/transform/char/2.cc: New test wrap.
7069132720Skan	* testsuite/22_locale/collate/transform/char/3.cc: New test wrap.
7070132720Skan	* testsuite/22_locale/collate_byname/1.cc: New test wrap.
7071132720Skan	* testsuite/22_locale/ctype/is/char/2.cc: New test wrap.
7072132720Skan	* testsuite/22_locale/facet/2.cc: New test wrap.
7073132720Skan	* testsuite/22_locale/locale/cons/4.cc: New test wrap.
7074132720Skan	* testsuite/22_locale/locale/cons/5.cc: New test wrap.
7075132720Skan	* testsuite/22_locale/locale/cons/7.cc: New test wrap.
7076132720Skan	* testsuite/22_locale/messages/members/char/1.cc: New test wrap.
7077132720Skan	* testsuite/22_locale/messages/members/char/2.cc: New test wrap.
7078132720Skan	* testsuite/22_locale/messages/members/char/3.cc: New test wrap.
7079132720Skan	* testsuite/22_locale/messages_byname/1.cc: New test wrap.
7080132720Skan	* testsuite/22_locale/money_get/get/char/1.cc: New test wrap.
7081132720Skan	* testsuite/22_locale/money_get/get/char/2.cc: New test wrap.
7082132720Skan	* testsuite/22_locale/money_get/get/char/3.cc: New test wrap.
7083132720Skan	* testsuite/22_locale/money_get/get/char/4.cc: New test wrap.
7084132720Skan	* testsuite/22_locale/money_put/put/char/1.cc: New test wrap.
7085132720Skan	* testsuite/22_locale/money_put/put/char/2.cc: New test wrap.
7086132720Skan	* testsuite/22_locale/money_put/put/char/3.cc: New test wrap.
7087132720Skan	* testsuite/22_locale/moneypunct/members/char/2.cc: New test wrap.
7088132720Skan	* testsuite/22_locale/moneypunct_byname/1.cc: New test wrap.
7089132720Skan	* testsuite/22_locale/num_get/get/char/1.cc: New test wrap.
7090132720Skan	* testsuite/22_locale/num_get/get/char/2.cc: New test wrap.
7091132720Skan	* testsuite/22_locale/num_get/get/char/3.cc: New test wrap.
7092132720Skan	* testsuite/22_locale/num_get/get/char/5.cc: New test wrap.
7093132720Skan	* testsuite/22_locale/num_get/get/char/6.cc: New test wrap.
7094132720Skan	* testsuite/22_locale/num_put/put/char/1.cc: New test wrap.
7095132720Skan	* testsuite/22_locale/num_put/put/char/2.cc: New test wrap.
7096132720Skan	* testsuite/22_locale/num_put/put/char/3.cc: New test wrap.
7097132720Skan	* testsuite/22_locale/num_put/put/char/5.cc: New test wrap.
7098132720Skan	* testsuite/22_locale/numpunct/members/char/1.cc: New test wrap.
7099132720Skan	* testsuite/22_locale/numpunct/members/char/2.cc: New test wrap.
7100132720Skan	* testsuite/22_locale/numpunct_byname/1.cc: New test wrap.
7101132720Skan	* testsuite/22_locale/numpunct_byname/2.cc: New test wrap.
7102132720Skan	* testsuite/22_locale/time_get/date_order/char/1.cc: New test wrap.
7103132720Skan	* testsuite/22_locale/time_get/get_date/char/1.cc: New test wrap.
7104132720Skan	* testsuite/22_locale/time_get/get_date/char/2.cc: New test wrap.
7105132720Skan	* testsuite/22_locale/time_get/get_monthname/char/1.cc: New test wrap.
7106132720Skan	* testsuite/22_locale/time_get/get_monthname/char/2.cc: New test wrap.
7107132720Skan	* testsuite/22_locale/time_get/get_time/char/1.cc: New test wrap.
7108132720Skan	* testsuite/22_locale/time_get/get_time/char/2.cc: New test wrap.
7109132720Skan	* testsuite/22_locale/time_get/get_weekday/char/1.cc: New test wrap.
7110132720Skan	* testsuite/22_locale/time_get/get_weekday/char/2.cc: New test wrap.
7111132720Skan	* testsuite/22_locale/time_get/get_year/char/1.cc: New test wrap.
7112132720Skan	* testsuite/22_locale/time_put/put/char/1.cc: New test wrap.
7113132720Skan	* testsuite/22_locale/time_put/put/char/2.cc: New test wrap.
7114132720Skan	* testsuite/22_locale/time_put/put/char/3.cc: New test wrap.
7115132720Skan	* testsuite/22_locale/time_put/put/char/4.cc: New test wrap.
7116132720Skan	* testsuite/22_locale/time_put/put/char/5.cc: New test wrap.
7117132720Skan	* testsuite/22_locale/time_put/put/char/6.cc: New test wrap.
7118132720Skan	* testsuite/22_locale/time_put/put/char/7.cc: New test wrap.
7119132720Skan	* testsuite/22_locale/time_put/put/char/8.cc: New test wrap.
7120132720Skan	* testsuite/27_io/filebuf_virtuals.cc: New test wrap.
7121132720Skan	* testsuite/27_io/ios_members.cc: New test wrap.
7122132720Skan	* testsuite/27_io/ostream_inserter_arith.cc (test02): Make void.
7123132720Skan	New test wrap.
7124132720Skan	* testsuite/27_io/streambuf_members.cc: New test wrap.
7125132720Skan	* testsuite/27_io/stringbuf_virtuals.cc: New test wrap.
7126132720Skan
7127132720Skan2003-03-08  Paolo Carlini <pcarlini@unitus.it>
7128132720Skan	    Petur Runolfsson  <peturr02@ru.is>
7129132720Skan
7130132720Skan	PR libstdc++/9424
7131132720Skan	* include/bits/streambuf.tcc (__copy_streambufs): Use
7132132720Skan	sgetn-sputn only when sputn cannot fail, otherwise fall back
7133132720Skan	to safe snextc-sputc.
7134132720Skan	* testsuite/27_io/streambuf_members.cc (test11, test12): Add.
7135132720Skan
7136132720Skan2003-03-08  Jerry Quinn  <jlquinn@optonline.net>
7137132720Skan
7138132720Skan	* include/bits/locale_facets.tcc (num_put::do_put(bool)): Use
7139132720Skan	locale cache for truename and falsename.
7140132720Skan
7141132720Skan2003-03-08  Jerry Quinn  <jlquinn@optonline.net>
7142132720Skan
7143132720Skan	* src/ios.cc (ios_base::ios_base): Correct order of _M_word and
7144132720Skan	_M_word_size initialization.
7145132720Skan
7146132720Skan2003-03-07  Paolo Carlini  <pcarlini@unitus.it>
7147132720Skan
7148132720Skan	* include/bits/fstream.tcc (_M_convert_to_external):
7149132720Skan	Set __elen to zero if codecvt::out eventually fails.
7150132720Skan
7151132720Skan2003-03-07  Paolo Carlini  <pcarlini@unitus.it>
7152132720Skan
7153132720Skan	PR libstdc++/9182
7154132720Skan	* include/bits/fstream.tcc (_M_really_overflow): Check
7155132720Skan	for _M_convert_to_external possible failures.
7156132720Skan	* include/std/std_fstream.h (sync): Check _M_really_overflow
7157132720Skan	return value and return -1 in case of failure.
7158132720Skan	* testsuite/27_io/filebuf_virtuals.cc (test13, test14): Add.
7159132720Skan
7160132720Skan2003-03-07  Paolo Carlini  <pcarlini@unitus.it>
7161132720Skan
7162132720Skan	PR libstdc++/9826
7163132720Skan	* include/bits/istream.tcc (operator>>(_CharT*),
7164132720Skan	operator>>(basic_string&), ws): Pass a char_type to __ctype.is.
7165132720Skan	* testsuite/27_io/stringstream.cc (test02): Add.
7166132720Skan
7167132720Skan	* include/bits/istream.tcc (operator>>(_CharT*)):
7168132720Skan	Assign a char_type to *__s.
7169132720Skan
7170132720Skan2003-03-07  Petur Runolfsson  <peturr02@ru.is>
7171132720Skan
7172132720Skan	PR libstdc++/9817
7173132720Skan	* include/bits/locale_facets.tcc
7174132720Skan	(collate::do_compare, collate::do_transform):
7175132720Skan	Handle nul characters in input.
7176132720Skan	* testsuite/22_locale/collate/compare/char/3.cc:  New test.
7177132720Skan	* testsuite/22_locale/collate/compare/wchar_t/3.cc:  New test.
7178132720Skan	* testsuite/22_locale/collate/transform/char/3.cc:  New test.
7179132720Skan	* testsuite/22_locale/collate/transform/wchar_t/3.cc:  New test.
7180132720Skan
7181132720Skan2003-03-07  Jerry Quinn  <jlquinn@optonline.net>
7182132720Skan
7183132720Skan	* include/bits/streambuf_iterator.h (_M_put): Set _M_failed if
7184132720Skan	sputn fails.
7185132720Skan	* testsuite/27_io/ostream_fail.cc: New test.
7186132720Skan
7187132720Skan2003-03-07  Matthias Klose  <doko@debian.org>
7188132720Skan
7189132720Skan	* Makefile.am (AM_MAKEFLAGS): Also pass gxx_include_dir.
7190132720Skan	FLAGS_TO_PASS: Set to AM_MAKEFLAGS
7191132720Skan	* Makefile.in: Regenerate.
7192132720Skan	* libsupc++/Makefile.am: Express glibcppinstalldir in terms
7193132720Skan	of gxx_include_dir.
7194132720Skan	AM_MAKEFLAGS: Pass gxx_include_dir.
7195132720Skan	* libsupc++/Makefile.in: Regenerate.
7196132720Skan
7197132720Skan2003-03-06  Jerry Quinn  <jlquinn@optonline.net>
7198132720Skan
7199132720Skan	* testsuite/27_io/ios_base_storage.cc (test02): Set exception
7200132720Skan	mask.  Test setting small-numbered pword and iword slots.  Test
7201132720Skan	behavior at limit of numeric_limits::max.  Check that values are
7202132720Skan	still good after failures.
7203132720Skan
7204132720Skan2003-03-06  Jerry Quinn  <jlquinn@optonline.net>
7205132720Skan
7206132720Skan	* src/ios.cc (ios_base::_M_init): Remove _M_word_size.
7207132720Skan	(ios_base::ios_base): Set _M_word, _M_word_size.
7208132720Skan	(ios_base::~ios_base): Remove redundant test.
7209132720Skan	* testsuite/27_io/ios_base_storage.cc (test03): New.
7210132720Skan
7211132720Skan2003-03-04  Alexandre Oliva  <aoliva@redhat.com>
7212132720Skan
7213132720Skan	* src/strstream.cc, include/bits/basic_string.tcc: Remove
7214132720Skan	incorrect whitespace added in my previous change.
7215132720Skan
7216132720Skan2003-03-05  Carlo Wood  <carlo@alinoe.com>
7217132720Skan
7218132720Skan	* include/bits/ios_base.h(ios_base::Init::_S_initialized()): Added
7219132720Skan	_S_initialized() in order to allow debugging libraries to detect
7220132720Skan	when the std streams are initialized from an overloaded operator
7221132720Skan	new.
7222132720Skan
7223132720Skan2003-03-05  Benjamin Kosnik  <bkoz@redhat.com>
7224132720Skan
7225132720Skan	* libsupc++/demangle.h: Move to..
7226132720Skan	* include/bits/demangle.h: ...here.
7227132720Skan	* src/demangle.cc: Adjust include.
7228132720Skan	* include/Makefile.am (bits_headers): Add.
7229132720Skan	* include/Makefile.in: Regenerate.
7230132720Skan
7231132720Skan2003-03-04  Benjamin Kosnik  <bkoz@redhat.com>
7232132720Skan
7233132720Skan	* src/globals.cc: Clarify comments, remove c_locale_imp_compat.
7234132720Skan
7235132720Skan	* config/linker-map.gnu: Filter typeinfo and vtable info.
7236132720Skan
7237132720Skan2003-03-04  Jerry Quinn  <jlquinn@optonline.net>
7238132720Skan
7239132720Skan	* src/ios.cc (ios_base::_M_grow_words): Don't delete _M_word on
7240132720Skan	new failure.  Throw exception if badbit and exception mask when ix
7241132720Skan	>= numeric_limits<int>::max().
7242132720Skan
7243132720Skan2003-03-04  Alexandre Oliva  <aoliva@redhat.com>
7244132720Skan
7245132720Skan	* src/strstream.cc (strstreambuf::overflow): Make sure operands of
7246132720Skan	min and max have the same type.
7247132720Skan	* include/bits/basic_string.tcc (append, rfind, compare): Likewise.
7248132720Skan
7249132720Skan2003-03-04  Benjamin Kosnik  <bkoz@redhat.com>
7250132720Skan
7251132720Skan	* include/Makefile.am (allstamps): Remove stamp-std-precompile.
7252132720Skan	* include/Makefile.in: Regenerate.
7253132720Skan
7254132720Skan2003-03-03  Benjamin Kosnik  <bkoz@redhat.com>
7255132720Skan
7256132720Skan	* testsuite/abi_check.cc (report_symbol_info): Add version info.
7257132720Skan
7258132720Skan	* config/linker-map.gnu: Hide more stuff.
7259132720Skan	* include/Makefile.am: Cleanups.
7260132720Skan	* include/Makefile.in: Regenerate.
7261132720Skan
7262132720Skan2003-02-27  Jerry Quinn  <jlquinn@optonline.net>
7263132720Skan
7264132720Skan	* config/locale/generic/messages_members.h (messages::messages):
7265132720Skan	Remove name from unused parameter.
7266132720Skan
7267132720Skan2003-02-27  Benjamin Kosnik  <bkoz@redhat.com>
7268132720Skan
7269132720Skan	* src/Makefile.am (sources): Add demangle.cc.
7270132720Skan	(demangle.o): Add.
7271132720Skan	(demangle.lo): Add.
7272132720Skan	* src/Makefile.in: Regenerate.
7273132720Skan	* libsupc++/Makefile.am: Remove old __cxa_demangle bits.
7274132720Skan	* libsupc++/Makefile.in: Regenerate.
7275132720Skan
7276132720Skan	* testsuite/testsuite_hooks.h
7277132720Skan	(__gnu_cxx_test::verify_demangle): New.
7278132720Skan	* testsuite/testsuite_hooks.cc: Define.
7279132720Skan
7280132720Skan2003-02-27  Carlo Wood  <carlo@alinoe.com>
7281132720Skan
7282132720Skan	* src/demangle.cc: New.
7283132720Skan	* libsupc++/demangle.h: New.
7284132720Skan
7285132720Skan2003-02-27  Benjamin Kosnik  <bkoz@redhat.com>
7286132720Skan	    Carlo Wood  <carlo@alinoe.com>
7287132720Skan
7288132720Skan	* testsuite/demangle/abi_examples/01.cc: New.
7289132720Skan	* testsuite/demangle/abi_examples/02.cc: New.
7290132720Skan	* testsuite/demangle/abi_examples/03.cc: New.
7291132720Skan	* testsuite/demangle/abi_examples/04.cc: New.
7292132720Skan	* testsuite/demangle/abi_examples/05.cc: New.
7293132720Skan	* testsuite/demangle/abi_examples/06.cc: New.
7294132720Skan	* testsuite/demangle/abi_examples/07.cc: New.
7295132720Skan	* testsuite/demangle/abi_examples/08.cc: New.
7296132720Skan	* testsuite/demangle/abi_examples/09.cc: New.
7297132720Skan	* testsuite/demangle/abi_examples/10.cc: New.
7298132720Skan	* testsuite/demangle/abi_examples/11.cc: New.
7299132720Skan	* testsuite/demangle/abi_examples/12.cc: New.
7300132720Skan	* testsuite/demangle/abi_examples/13.cc: New.
7301132720Skan	* testsuite/demangle/abi_examples/14.cc: New.
7302132720Skan	* testsuite/demangle/abi_examples/15.cc: New.
7303132720Skan	* testsuite/demangle/abi_examples/16.cc: New.
7304132720Skan	* testsuite/demangle/abi_examples/17.cc: New.
7305132720Skan	* testsuite/demangle/abi_examples/18.cc: New.
7306132720Skan	* testsuite/demangle/abi_examples/19.cc: New.
7307132720Skan	* testsuite/demangle/abi_examples/20.cc: New.
7308132720Skan	* testsuite/demangle/abi_examples/21.cc: New.
7309132720Skan	* testsuite/demangle/abi_examples/22.cc: New.
7310132720Skan	* testsuite/demangle/abi_examples/23.cc: New.
7311132720Skan	* testsuite/demangle/abi_examples/24.cc: New.
7312132720Skan	* testsuite/demangle/abi_examples/25.cc: New.
7313132720Skan	* testsuite/demangle/abi_examples/26.cc: New.
7314132720Skan	* testsuite/demangle/abi_text/01.cc: New.
7315132720Skan	* testsuite/demangle/abi_text/02.cc: New.
7316132720Skan	* testsuite/demangle/abi_text/03.cc: New.
7317132720Skan	* testsuite/demangle/abi_text/04.cc: New.
7318132720Skan	* testsuite/demangle/abi_text/05.cc: New.
7319132720Skan	* testsuite/demangle/abi_text/06.cc: New.
7320132720Skan	* testsuite/demangle/abi_text/07.cc: New.
7321132720Skan	* testsuite/demangle/abi_text/08.cc: New.
7322132720Skan	* testsuite/demangle/abi_text/09.cc: New.
7323132720Skan	* testsuite/demangle/abi_text/10.cc: New.
7324132720Skan	* testsuite/demangle/abi_text/11.cc: New.
7325132720Skan	* testsuite/demangle/abi_text/12.cc: New.
7326132720Skan	* testsuite/demangle/abi_text/13.cc: New.
7327132720Skan	* testsuite/demangle/abi_text/14.cc: New.
7328132720Skan	* testsuite/demangle/regression/3111-1.cc: New.
7329132720Skan	* testsuite/demangle/regression/3111-2.cc: New.
7330132720Skan	* testsuite/demangle/regression/7986-01.cc: New.
7331132720Skan	* testsuite/demangle/regression/7986-02.cc: New.
7332132720Skan	* testsuite/demangle/regression/7986-03.cc: New.
7333132720Skan	* testsuite/demangle/regression/7986-04.cc: New.
7334132720Skan	* testsuite/demangle/regression/7986-05.cc: New.
7335132720Skan	* testsuite/demangle/regression/7986-06.cc: New.
7336132720Skan	* testsuite/demangle/regression/7986-07.cc: New.
7337132720Skan	* testsuite/demangle/regression/7986-08.cc: New.
7338132720Skan	* testsuite/demangle/regression/7986-09.cc: New.
7339132720Skan	* testsuite/demangle/regression/7986-10.cc: New.
7340132720Skan	* testsuite/demangle/regression/7986-11.cc: New.
7341132720Skan	* testsuite/demangle/regression/7986-12.cc: New.
7342132720Skan	* testsuite/demangle/regression/7986.cc: New.
7343132720Skan	* testsuite/demangle/regression/8897.cc: New.
7344132720Skan	* testsuite/demangle/regression/cw-01.cc: New.
7345132720Skan	* testsuite/demangle/regression/cw-02.cc: New.
7346132720Skan	* testsuite/demangle/regression/cw-03.cc: New.
7347132720Skan	* testsuite/demangle/regression/cw-04.cc: New.
7348132720Skan	* testsuite/demangle/regression/cw-05.cc: New.
7349132720Skan	* testsuite/demangle/regression/cw-06.cc: New.
7350132720Skan	* testsuite/demangle/regression/cw-07.cc: New.
7351132720Skan	* testsuite/demangle/regression/cw-08.cc: New.
7352132720Skan	* testsuite/demangle/regression/cw-09.cc: New.
7353132720Skan	* testsuite/demangle/regression/cw-10.cc: New.
7354132720Skan	* testsuite/demangle/regression/cw-11.cc: New.
7355132720Skan	* testsuite/demangle/regression/cw-12.cc: New.
7356132720Skan	* testsuite/demangle/regression/cw-13.cc: New.
7357132720Skan	* testsuite/demangle/regression/cw-14.cc: New.
7358132720Skan	* testsuite/demangle/regression/old.cc: New.
7359132720Skan
7360132720Skan2003-02-25  Phil Edwards  <pme@gcc.gnu.org>
7361132720Skan
7362132720Skan	* docs/doxygen/Intro.3:  Update with new (proper) names.
7363132720Skan	* docs/doxygen/TODO:  Update.
7364132720Skan	* docs/doxygen/run_doxygen:  More comments, fix up man pages.
7365132720Skan	Fake entries for standard typedefs.
7366132720Skan	* docs/doxygen/user.cfg.in:  Turn INLINE_INHERITED_MEMB back on.
7367132720Skan	* docs/html/documentation.html:  Top-level man page is now called
7368132720Skan	C++Intro.
7369132720Skan	* include/std/std_limits.h:  Doxygenate.
7370132720Skan
7371132720Skan2003-02-25  Scott Snyder  <snyder@fnal.gov>
7372132720Skan
7373132720Skan	PR libstdc++/9811
7374132720Skan	* include/bits/stl_map.h (lower_bound, upper_bound, equal_range):
7375132720Skan	Correct documentation.
7376132720Skan	* include/bits/stl_multimap.h (lower_bound, upper_bound,
7377132720Skan	equal_range): Likewise.
7378132720Skan
7379132720Skan2003-02-24  Paolo Carlini  <pcarlini@unitus.it>
7380132720Skan
7381132720Skan	PR libstdc++/9825
7382132720Skan	* src/fstream.cc
7383132720Skan	(basic_filebuf<char/wchar_t>::_M_underflow_common): When
7384132720Skan	__bump is true (uflow), always increment the read pointer
7385132720Skan	(_M_in_cur) before returning successfully.
7386132720Skan	* testsuite/27_io/filebuf_virtuals.cc (test12): Add.
7387132720Skan
7388132720Skan2003-02-24  Paolo Carlini <pcarlini@unitus.it>
7389132720Skan	    Nathan Myers <ncm@cantrip.org>
7390132720Skan
7391132720Skan	PR libstdc++/9404, PR libstdc++/9701 (partial)
7392132720Skan	(aka pptr == epptr implies overflow)
7393132720Skan	* include/bits/fstream.tcc (_M_allocate_internal_buffer):
7394132720Skan	Consistently, _M_out_end points to the end of the buffer just
7395132720Skan	created.
7396132720Skan	(overflow): Tweak to use _M_out_buf_size().
7397132720Skan	(_M_convert_to_external): The role of the old _M_out_end is
7398132720Skan	now played by _M_out_lim.
7399132720Skan	(_M_really_overflow): Likewise.
7400132720Skan	(seekoff): Likewise.
7401132720Skan	(setbuf): _M_out_end points to the end of the external buffer.
7402132720Skan	* include/bits/sstream.tcc (overflow): Rewrote, taking into
7403132720Skan	account the resolution of DR 169 (TC).
7404132720Skan	(seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
7405132720Skan	(seekpos): Use _M_string.capacity(); tweak.
7406132720Skan	* include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
7407132720Skan	* include/std/std_fstream.h (sync): The role of the old
7408132720Skan	_M_out_end is now played by _M_out_lim.
7409132720Skan	(_M_set_indeterminate): Use _M_set_determinate.
7410132720Skan	(_M_set_determinate): _M_out_end is now _M_out_lim.
7411132720Skan	(_M_is_indeterminate): Likewise.
7412132720Skan	* include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
7413132720Skan	(_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
7414132720Skan	which have the information readily available as _M_string.capacity();
7415132720Skan	for ate and app modes, pass the string size to _M_really_sync.
7416132720Skan	(_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
7417132720Skan	point to the end of the buffer (i.e., epptr) and to the string end,
7418132720Skan	respectively.
7419132720Skan	* include/std/std_streambuf.h: tweak comments, add _M_out_lim,
7420132720Skan	which points to the right limit of the used put area.
7421132720Skan	(_M_out_cur_move): The role of the old _M_out_end is now played
7422132720Skan	by _M_out_lim.
7423132720Skan	(_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
7424132720Skan	_M_out_end  - _M_out_cur (i.e., pptr), _very_ close to the letter
7425132720Skan	of the standard.
7426132720Skan	(basic_streambuf()): Initialize _M_out_lim too.
7427132720Skan	* testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
7428132720Skan	* testsuite/27_io/filebuf_virtuals.cc (test11): Add.
7429132720Skan	* testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
7430132720Skan
7431132720Skan2003-02-24  Benjamin Kosnik  <bkoz@redhat.com>
7432132720Skan
7433132720Skan	* testsuite/27_io/ios_base_storage.cc (main): Call
7434132720Skan	set_memory_limits.
7435132720Skan
7436132720Skan2003-02-21  Jerry Quinn  <jlquinn@optonline.net>
7437132720Skan
7438132720Skan	* include/bits/locale_facets.tcc (_M_convert_float): Replace
7439132720Skan	numpunct facet accesses with data from __locale_cache.
7440132720Skan
7441132720Skan2003-02-20  Phil Edwards  <pme@gcc.gnu.org>
7442132720Skan
7443132720Skan	* docs/html/faq/index.html (3.9):  New note, wchar_t on FreeBSD.
7444132720Skan	* docs/html/faq/index.txt:  Regenerate.
7445132720Skan
7446132720Skan2003-02-20  Phil Edwards  <pme@gcc.gnu.org>
7447132720Skan
7448132720Skan	* config/linker-map.gnu:  Also export locking symbols needed for the
7449132720Skan	generic atomicity.h case.
7450132720Skan
7451132720Skan2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
7452132720Skan
7453132720Skan	* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
7454132720Skan	config.status.
7455132720Skan	* configure: Rebuilt.
7456132720Skan
7457132720Skan2003-02-19  Paolo Carlini  <pcarlini@unitus.it>
7458132720Skan
7459132720Skan	* include/bits/sstream.tcc (overflow): According to
7460132720Skan	27.7.1.3, p5, actual output is performed by sputc(c).
7461132720Skan
7462132720Skan2003-02-19  Phil Edwards  <pme@gcc.gnu.org>
7463132720Skan
7464132720Skan	PR libstdc++/9582
7465132720Skan	* include/bits/stl_alloc.h:  Remove all traces of assert().
7466132720Skan
7467132720Skan2003-02-18  Paolo Carlini  <pcarlini@unitus.it>
7468132720Skan
7469132720Skan	* include/std/std_sstream.h (str()): the size of the
7470132720Skan	current string may be different from the initial one
7471132720Skan	whenever _M_out_end > _M_out_beg.
7472132720Skan	* testsuite/27_io/stringbuf_members.cc (test07): Add.
7473132720Skan
7474132720Skan2003-02-18  Paolo Carlini  <pcarlini@unitus.it>
7475132720Skan
7476132720Skan	PR libstdc++/9582
7477132720Skan	* include/bits/stl_alloc.h (__pool_alloc::allocate): Remove assert.
7478132720Skan
7479132720Skan2003-02-17  Benjamin Kosnik  <bkoz@redhat.com>
7480132720Skan
7481132720Skan	* include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
7482132720Skan	* testsuite/27_io/ios_members.cc (test03): New.
7483132720Skan
7484132720Skan2003-02-17  Jerry Quinn  <jlquinn@optonline.net>
7485132720Skan
7486132720Skan	* include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
7487132720Skan	(basic_ios::_M_cache_facets): Move into above.
7488132720Skan	* include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
7489132720Skan	cache.
7490132720Skan	(basic_ios::imbue): Force locale cache to be built.
7491132720Skan	(basic_ios::_M_init): Create and initialize locale cache.
7492132720Skan	* include/bits/ios_base.h (__locale_cache_base): Declare.
7493132720Skan	(ios_base::_M_locale_cache): New.
7494132720Skan	(ios_base::_M_cache): Define.
7495132720Skan	* include/bits/locale_facets.h:	(__num_base): Fix comment.  Add
7496132720Skan	_S_end.
7497132720Skan	(__locale_cache_base,__locale_cache<_CharT>):  New classes.
7498132720Skan	(__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
7499132720Skan	* include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
7500132720Skan	cache literal string, grouping flag, thousands separator.
7501132720Skan	(__locale_cache<_CharT>::__locale_cache): New.
7502132720Skan	(__locale_cache<_CharT>::_M_init): New.
7503132720Skan	* src/ios.cc: Clear _M_locale_cache in constructor.
7504132720Skan	* src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
7505132720Skan	New.
7506132720Skan
7507132720Skan2003-02-17  Paolo Carlini  <pcarlini@unitus.it>
7508132720Skan
7509132720Skan	* src/locale-inst.cc: Do not include <cassert>.
7510132720Skan	* src/locale.cc: Likewise.
7511132720Skan
7512132720Skan2003-02-17  Paolo Carlini  <pcarlini@unitus.it>
7513132720Skan
7514132720Skan	PR libstdc++/9580
7515132720Skan	* include/std/std_fstream.h: Declare underflow and uflow
7516132720Skan	specializations, change generic definitions to do nothing.
7517132720Skan	* src/fstream.cc: Add underflow and uflow specializations.
7518132720Skan
7519132720Skan2003-02-17  Paolo Carlini  <pcarlini@unitus.it>
7520132720Skan
7521132720Skan	PR libstdc++/9169
7522132720Skan	* include/bits/fstream.tcc (_M_convert_to_external):
7523132720Skan	Deal correctly with noconv, as prescribed by 27.8.1.4,p8.
7524132720Skan	* testsuite/27_io/filebuf_virtuals.cc (test10): Add.
7525132720Skan
7526132720Skan2003-02-13  Benjamin Kosnik  <bkoz@redhat.com>
7527132720Skan
7528132720Skan	* include/bits/c++config (_GLIBCPP_EXTERN_TEMPLATE): Define.
7529132720Skan	* include/bits/basic_ios.tcc: Guard use of extern template.
7530132720Skan	* include/std/std_iomanip.h: Same.
7531132720Skan	* include/bits/streambuf.tcc: Same.
7532132720Skan	* include/bits/stl_alloc.h: Same.
7533132720Skan	* include/bits/locale_facets.tcc: Same.
7534132720Skan	* include/bits/ostream.tcc: Same.
7535132720Skan	* include/bits/istream.tcc: Same.
7536132720Skan	* include/bits/fstream.tcc: Same.
7537132720Skan	* include/bits/basic_string.tcc: Same.
7538132720Skan
7539132720Skan2003-02-13  Paolo Carlini  <pcarlini@unitus.it>
7540132720Skan
7541132720Skan	* include/bits/ostream.tcc (sentry::sentry): Improve
7542132720Skan	performance-wise the fix for libstdc++/9563.
7543132720Skan
7544132720Skan2003-02-12  Phil Edwards  <pme@gcc.gnu.org>
7545132720Skan
7546132720Skan	* config/cpu/generic/atomicity.h (_Atomic_add_mutex):  Fix declaration.
7547132720Skan	(_GLIBCPP_NEED_GENERIC_MUTEX):  Define for this file.
7548132720Skan	(_Atomic_add_mutex_once, __gthread_atomic_add_mutex_once):  Declare
7549132720Skan	when we don't have static mutex initialization.
7550132720Skan	(__exchange_and_add):  Use _Atomic_add_mutex_once.
7551132720Skan	* src/misc-inst.cc:  Definitions of all the above.
7552132720Skan
7553132720Skan2003-02-12  Paolo Carlini  <pcarlini@unitus.it>
7554132720Skan
7555132720Skan	PR libstdc++/9563
7556132720Skan	* include/bits/ostream.tcc (sentry::sentry): Check
7557132720Skan	the state of the stream after the preparation.
7558132720Skan	* testsuite/27_io/ostream_sentry.cc (test02): Add.
7559132720Skan
7560132720Skan2003-02-11  Benjamin Kosnik  <bkoz@redhat.com>
7561132720Skan
7562132720Skan	* include/Makefile.am (stamp-std-precompile): Add rule.
7563132720Skan	* include/Makefile.in: Regenerated.
7564132720Skan
7565132720Skan2003-02-11 Jerry Quinn  <jlquinn@optonline.net>
7566132720Skan	   Benjamin Kosnik  <benjamin@redhat.com>
7567132720Skan
7568132720Skan	* include/bits/locale_facets.h (__num_base): Add _S_atoms_out.
7569132720Skan	Add indexes into this array.
7570132720Skan	(__num_base::_S_atoms): To _S_atoms_in.
7571132720Skan	(num_put::_M_insert): Rename to _M_pad.
7572132720Skan	(num_put::_M_convert_int): Adjust remove __mod, __modl arguments.
7573132720Skan	(num_put::_M_widen_int): Rename to _M_group_int.
7574132720Skan	(num_put::_M_widen_float): Rename to _M_group_float.
7575132720Skan	* include/bits/locale_facets.tcc (__int_to_char): New inline
7576132720Skan	function and adapter functions.
7577132720Skan	(num_put::_M_group_int): Streamline.
7578132720Skan	(num_put::_M_group_float): Streamline.
7579132720Skan	(num_put::_M_convert_int): Remove unused parameter names. Choose
7580132720Skan	large enough buffer for text.  Use __int_to_char instead of
7581132720Skan	__convert_from_v.  Formatted text is now at the end of the buffer.
7582132720Skan	(num_put::_M_convert_float): Preliminary fixups.
7583132720Skan	* src/locale-inst.cc (__convert_from_v<long long>): Add ifdef.
7584132720Skan	(__int_to_char<unsigned long long>): Same.
7585132720Skan	(__int_to_char<char, unsigned long>): New.
7586132720Skan	(__int_to_char<char, unsigned long long>): New.
7587132720Skan	(__int_to_char<wchar_t, unsigned long>): New.
7588132720Skan	(__int_to_char<wchar_t, unsigned long long>): New.
7589132720Skan
7590132720Skan2003-02-11  Scott Snyder  <snyder@fnal.gov>
7591132720Skan
7592132720Skan	PR libstdc++/9659
7593132720Skan	* include/bits/fstream.tcc (seekoff): Avoid operator+
7594132720Skan	for pos_type.
7595132720Skan
7596132720Skan2003-02-11  Paolo Carlini  <pcarlini@unitus.it>
7597132720Skan
7598132720Skan	PR libstdc++/9320
7599132720Skan	* include/ext/stdio_filebuf.h
7600132720Skan	(stdio_filebuf(int, std::ios_base::openmode, bool, int_type),
7601132720Skan	stdio_filebuf(std::__c_file*, std::ios_base::openmode, int_type)):
7602132720Skan	Change to take a __size parameter of type size_t, not
7603132720Skan	of type (template parameter dependent) int_type.
7604132720Skan	* src/ios.cc (ios_base::Init::_S_ios_create): Change type of
7605132720Skan	size vars to size_t.
7606132720Skan	* testsuite/ext/stdio_filebuf.cc: Add.
7607132720Skan
7608132720Skan2003-02-11  Paolo Carlini  <pcarlini@unitus.it>
7609132720Skan	    Petur Runolfsson  <peturr02@ru.is>
7610132720Skan
7611132720Skan	PR libstdc++/9318
7612132720Skan	* include/bits/streambuf.tcc (__copy_streambufs):
7613132720Skan	Don't conditionalize the copy to __testput.
7614132720Skan	* testsuite/27_io/streambuf_members.cc (test09, test10): Add.
7615132720Skan
7616132720Skan2002-02-11  DJ Delorie  <dj@redhat.com>
7617132720Skan
7618132720Skan	* acinclude.m4: Check for native targets that can't link at
7619132720Skan	this point in the build.
7620132720Skan	* aclocal.m4: Regenerate.
7621132720Skan	* configure: Regenerate.
7622132720Skan
7623132720Skan2003-02-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7624132720Skan
7625132720Skan	* hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
7626132720Skan	Correct alignment.
7627132720Skan	(__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset
7628132720Skan	lock.
7629132720Skan
7630132720Skan2003-02-07  Paolo Carlini  <pcarlini@unitus.it>
7631132720Skan
7632132720Skan	* testsuite/27_io/filebuf_virtuals.cc (test08): Fix for
7633132720Skan	unsigned char platforms.
7634132720Skan
7635132720Skan2003-02-06  Paolo Carlini  <pcarlini@unitus.it>
7636132720Skan
7637132720Skan	PR libstdc++/9562
7638132720Skan	* include/std/std_istream.h
7639132720Skan	(basic_istream::sentry::operator bool()): Make const.
7640132720Skan	* include/std/std_ostream.h
7641132720Skan	(basic_ostream::sentry::operator bool()): Likewise.
7642132720Skan	* testsuite/27_io/istream_sentry.cc (test03): Add.
7643132720Skan	* testsuite/27_io/ostream_sentry.cc: Add.
7644132720Skan
7645132720Skan2003-02-06  Paolo Carlini  <pcarlini@unitus.it>
7646132720Skan
7647132720Skan	PR libstdc++/9548
7648132720Skan	Implement resolution of DR 231 (Ready)
7649132720Skan	* include/bits/locale_facets.h (__num_base::_S_format_float):
7650132720Skan	Change declaration: return void, remove __prec parameter.
7651132720Skan	* src/locale.cc (__num_base::_S_format_float): Implement
7652132720Skan	resolution of DR 231.
7653132720Skan	* include/bits/locale_facets.tcc (num_put::_M_convert_float):
7654132720Skan	Tweak uses. Check for negative precision.
7655132720Skan	* testsuite/22_locale/num_put/put/char/6.cc: Add
7656132720Skan	* testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
7657132720Skan
7658132720Skan2003-02-06  Peter Soetens  <peter.soetens@mech.kuleuven.ac.be>
7659132720Skan
7660132720Skan	* config/io/basic_file_libio.h: Fixups.
7661132720Skan	* config/io/c_io_libio.h: Same.
7662132720Skan	* libio/Makefile.am: Same.
7663132720Skan	* libio/Makefile.in: Regenerated.
7664132720Skan
7665132720Skan2003-02-06  Benjamin Kosnik  <bkoz@redhat.com>
7666132720Skan
7667132720Skan	* testsuite/22_locale/codecvt/encoding/wchar_t/1.cc (test01):
7668132720Skan	Explicitly use the "C" locale.
7669132720Skan	* testsuite/22_locale/codecvt/max_length/wchar_t/1.cc (test01): Same.
7670132720Skan
7671132720Skan2003-02-06  Petur Runolfsson  <peturr02@ru.is>
7672132720Skan
7673132720Skan	DR 75
7674132720Skan	DR 305
7675132720Skan	PR libstdc++/9028 (partial)
7676132720Skan	PR libstdc++/9224
7677132720Skan	PR libstdc++/9246
7678132720Skan	PR libstdc++/9247
7679132720Skan
7680132720Skan	* src/codecvt.cc
7681132720Skan	(codecvt<wchar_t, char, mbstate_t>::do_encoding,
7682132720Skan	codecvt<wchar_t, char, mbstate_t>::do_length,
7683132720Skan	codecvt<wchar_t, char, mbstate_t>::do_max_length):
7684132720Skan	Move...
7685132720Skan	* config/locale/generic/codecvt_members.cc:  ...here.
7686132720Skan	* config/locale/gnu/codecvt_members.cc:  ...and here.
7687132720Skan
7688132720Skan	* config/locale/generic/codecvt_members.cc,
7689132720Skan	* config/locale/gnu/codecvt_members.cc
7690132720Skan	(codecvt<wchar_t, char, mbstate_t>::do_encoding
7691132720Skan	codecvt<wchar_t, char, mbstate_t>::do_in,
7692132720Skan	codecvt<wchar_t, char, mbstate_t>::do_length,
7693132720Skan	codecvt<wchar_t, char, mbstate_t>::do_max_length,
7694132720Skan	codecvt<wchar_t, char, mbstate_t>::do_out):
7695132720Skan	New implementation that handles stateless encodings,
7696132720Skan	including UTF-8.
7697132720Skan
7698132720Skan	* config/locale/generic/codecvt_members.cc,
7699132720Skan	* config/locale/gnu/codecvt_members.cc,
7700132720Skan	* config/locale/ieee_1003.1-2001/codecvt_specializations.h,
7701132720Skan	* include/bits/codecvt.h,
7702132720Skan	* src/codecvt.cc
7703132720Skan	(codecvt::length, codecvt::do_length):
7704132720Skan	Change type of first argument of length and do_length from
7705132720Skan	'const state_type&' to 'state_type&' according to DR 75.
7706132720Skan
7707132720Skan	* testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc:  Cleanup.
7708132720Skan	* testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc:  New test.
7709132720Skan	* testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc:  New test.
7710132720Skan	* testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc:  New test.
7711132720Skan	* testsuite/22_locale/codecvt/encoding/wchar_t/1.cc:
7712132720Skan	Cleanup and check for correct return value from encoding
7713132720Skan	for "C" locale.
7714132720Skan	* testsuite/22_locale/codecvt/encoding/wchar_t/2.cc:  New test.
7715132720Skan	* testsuite/22_locale/codecvt/encoding/wchar_t/3.cc:  New test.
7716132720Skan	* testsuite/22_locale/codecvt/encoding/wchar_t/4.cc:  New test.
7717132720Skan	* testsuite/22_locale/codecvt/in/wchar_t/1.cc:  Cleanup.
7718132720Skan	* testsuite/22_locale/codecvt/in/wchar_t/2.cc:  New test.
7719132720Skan	* testsuite/22_locale/codecvt/in/wchar_t/3.cc:  New test.
7720132720Skan	* testsuite/22_locale/codecvt/in/wchar_t/4.cc:  New test.
7721132720Skan	* testsuite/22_locale/codecvt/in/wchar_t/5.cc:  New test.
7722132720Skan	* testsuite/22_locale/codecvt/in/wchar_t/6.cc:  New test.
7723132720Skan	* testsuite/22_locale/codecvt/in/wchar_t/7.cc:  New test.
7724132720Skan	* testsuite/22_locale/codecvt/in/wchar_t/8.cc:  New test.
7725132720Skan	* testsuite/22_locale/codecvt/in/wchar_t/9.cc:  New test.
7726132720Skan	* testsuite/22_locale/codecvt/length/char/1.cc:  Cleanup.
7727132720Skan	* testsuite/22_locale/codecvt/length/char/2.cc:  New test.
7728132720Skan	* testsuite/22_locale/codecvt/length/wchar_t/1.cc:  Cleanup.
7729132720Skan	* testsuite/22_locale/codecvt/length/wchar_t/2.cc:  New test.
7730132720Skan	* testsuite/22_locale/codecvt/length/wchar_t/3.cc:  New test.
7731132720Skan	* testsuite/22_locale/codecvt/length/wchar_t/4.cc:  New test.
7732132720Skan	* testsuite/22_locale/codecvt/length/wchar_t/5.cc:  New test.
7733132720Skan	* testsuite/22_locale/codecvt/length/wchar_t/6.cc:  New test.
7734132720Skan	* testsuite/22_locale/codecvt/length/wchar_t/7.cc:  New test.
7735132720Skan	* testsuite/22_locale/codecvt/max_length/wchar_t/1.cc:  Cleanup.
7736132720Skan	* testsuite/22_locale/codecvt/max_length/wchar_t/2.cc:  New test.
7737132720Skan	* testsuite/22_locale/codecvt/max_length/wchar_t/3.cc:  New test.
7738132720Skan	* testsuite/22_locale/codecvt/max_length/wchar_t/4.cc:  New test.
7739132720Skan	* testsuite/22_locale/codecvt/out/wchar_t/1.cc:  Cleanup.
7740132720Skan	* testsuite/22_locale/codecvt/out/wchar_t/2.cc:  New test.
7741132720Skan	* testsuite/22_locale/codecvt/out/wchar_t/3.cc:  New test.
7742132720Skan	* testsuite/22_locale/codecvt/out/wchar_t/4.cc:  New test.
7743132720Skan	* testsuite/22_locale/codecvt/out/wchar_t/5.cc:  New test.
7744132720Skan	* testsuite/22_locale/codecvt/out/wchar_t/6.cc:  New test.
7745132720Skan	* testsuite/22_locale/codecvt/out/wchar_t/7.cc:  New test.
7746132720Skan	* testsuite/22_locale/codecvt/unicode/1.cc:  New test.
7747132720Skan	* testsuite/22_locale/codecvt/unshift/wchar_t/1.cc:  Cleanup.
7748132720Skan	* testsuite/22_locale/codecvt/unshift/wchar_t/2.cc:  New test.
7749132720Skan	* testsuite/22_locale/codecvt/unshift/wchar_t/3.cc:  New test.
7750132720Skan	* testsuite/22_locale/codecvt/unshfit/wchar_t/4.cc:  New test.
7751132720Skan
7752132720Skan2003-02-05  Benjamin Kosnik  <bkoz@redhat.com>
7753132720Skan
7754132720Skan	* include/bits/locale_facets.tcc (time_put::do_put): Use __write.
7755132720Skan	(money_put::do_put): Same.
7756132720Skan
7757132720Skan2003-02-05  Jerry Quinn  <jlquinn@optonline.net>
7758132720Skan
7759132720Skan	* include/bits/ios_base.h (ios_base): Document reserved storage.
7760132720Skan
7761132720Skan	* include/bits/locale_facets.h:	(struct __pad): Comment on
7762132720Skan	implementation.
7763132720Skan	(__verify_grouping): Same.
7764132720Skan	(__add_grouping): Same.
7765132720Skan	* include/bits/locale_facets.tcc (__verify_grouping): Move
7766132720Skan	comments to declaration.
7767132720Skan	(__add_grouping): Same.
7768132720Skan
7769132720Skan	* include/bits/locale_facets.tcc:
7770132720Skan	(__write<_CharT, _OutIter>): New function.
7771132720Skan	(__write<_CharT>): New function specialization.
7772132720Skan	(num_put::_M_insert): Remove explicit loop over iterator.  Use
7773132720Skan	__write.
7774132720Skan	(num_put::_M_widen_float): Remove __basefield.
7775132720Skan	(num_put::_M_widen_int): Move __basefield to within grouping block.
7776132720Skan
7777132720Skan	* include/bits/streambuf_iterator.h: Include <streambuf>.
7778132720Skan	(ostreambuf_iterator::_M_put): Add.
7779132720Skan
7780132720Skan2003-02-05  Paolo Carlini  <pcarlini@unitus.it>
7781132720Skan
7782132720Skan	* testsuite/26_numerics/valarray_name_lookup.cc: Fix typo.
7783132720Skan
7784132720Skan2003-02-04  Nathan Myers  <ncm@cantrip.org>
7785132720Skan
7786132720Skan	* testsuite/25_algorithms/min_max.cc (test02): Add.
7787132720Skan
7788132720Skan2003-02-04  Paolo Carlini  <pcarlini@unitus.it>
7789132720Skan
7790132720Skan	PR libstdc++/9439, PR libstdc++/9425
7791132720Skan	* config/io/basic_file_stdio.cc
7792132720Skan	(__basic_file<char>::seekoff, seekpos): Return -1L if
7793132720Skan	fseek fails.
7794132720Skan	* include/bits/fstream.tcc (basic_filebuf::seekoff):
7795132720Skan	Check _M_file.seekoff return value; always return
7796132720Skan	pos_type(off_type(-1)) in case of failure.
7797132720Skan	(basic_filebuf::pbackfail): Check this->seekoff return
7798132720Skan	value and return traits_type::eof() in case of failure.
7799132720Skan	* testsuite/27_io/filebuf_virtuals.cc (test09): Add.
7800132720Skan
7801132720Skan2003-02-04  Jerry Quinn  <jlquinn@optonline.net>
7802132720Skan
7803132720Skan	* include/std/std_ostream.h (ostream::_M_write): Declare.
7804132720Skan	* ostream.tcc (ostream::_M_write): Define.
7805132720Skan	(basic_ostream::write): Use it.
7806132720Skan	(operator<<(basic_ostream, _CharT)): Ditto.
7807132720Skan	(operator<<(basic_ostream, char)): Ditto.
7808132720Skan	(operator<<(basic_ostream, _CharT*)): Ditto.
7809132720Skan	(operator<<(basic_ostream, char*)): Ditto.
7810132720Skan	(operator<<(basic_ostream, basic_string)): Ditto.
7811132720Skan
7812132720Skan2003-02-04  Benjamin Kosnik  <bkoz@redhat.com>
7813132720Skan
7814132720Skan	* testsuite/26_numerics/valarray_name_lookup.cc: Fix.
7815132720Skan
7816132720Skan2002-02-04  Jonathan Wakely  <redi@gcc.gnu.org>
7817132720Skan
7818132720Skan	* docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
7819132720Skan	add HTML comment about updating links if numbering changes.
7820132720Skan
7821132720Skan2003-02-04  Paolo Carlini  <pcarlini@unitus.it>
7822132720Skan
7823132720Skan	PR libstdc++/9538
7824132720Skan	* include/bits/streambuf.tcc (sputbackc): Access
7825132720Skan	this->gptr()[-1] only if _M_in_beg < _M_in_cur.
7826132720Skan	* testsuite/27_io/filebuf_virtuals.cc (test08): Add.
7827132720Skan
7828132720Skan2003-02-04  Paolo Carlini  <pcarlini@unitus.it>
7829132720Skan
7830132720Skan	PR libstdc++/9507
7831132720Skan	* include/bits/fstream.tcc (open): If the 'ate' repositioning
7832132720Skan	operation fails, calls close _and_ returns a null pointer
7833132720Skan	to indicate failure (27.8.1.3,4).
7834132720Skan	* testsuite/27_io/filebuf_members.cc (test_06): Add.
7835132720Skan
7836132720Skan2003-02-04  Petur Runolfsson  <peturr02@ru.is>
7837132720Skan
7838132720Skan	* testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
7839132720Skan
7840132720Skan2002-02-04  Jonathan Wakely  <redi@gcc.gnu.org>
7841132720Skan
7842132720Skan	* docs/html/27_io/howto.html: New section on stdio_filebuf.
7843132720Skan	* docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
7844132720Skan	* docs/html/documentation.html: Regenerate.
7845132720Skan
7846132720Skan2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
7847132720Skan
7848132720Skan	* docs/html/17_intro/porting.texi: Update to GFDL 1.2.
7849132720Skan	* docs/html/17_intro/porting.html: Regenerate.
7850132720Skan
7851132720Skan2003-02-03  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
7852132720Skan	    Phil Edwards  <pme@gcc.gnu.org>
7853132720Skan
7854132720Skan	* include/std/std_bitset.h:  Replace CHAR_BIT with __CHAR_BIT__, use
7855132720Skan	numeric_limits for bits-per-word values.
7856132720Skan	(_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
7857132720Skan	Use __builtin_popcountl instead.
7858132720Skan	(_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
7859132720Skan	_Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
7860132720Skan	Use __builtin_ctzl instead.
7861132720Skan	(_S_bit_count, _S_first_one):  Remove.
7862132720Skan	* config/linker-map.gnu (GLIBCPP_3.4):  Remove std::_S_bit_count.
7863132720Skan	* src/Makefile.am (sources):  Remove bitset.cc.
7864132720Skan	* src/bitset.cc:  Delete file.
7865132720Skan	* src/Makefile.in:  Regenerate.
7866132720Skan
7867132720Skan2003-02-03  Phil Edwards  <pme@gcc.gnu.org>
7868132720Skan
7869132720Skan	PR libstdc++/9527, PR libstdc++/8713
7870132720Skan	* docs/html/install.html:  Mention glibc version requirement.
7871132720Skan	* docs/html/faq/index.html (3.8):  New note, glibc 2.2.5+ is needed
7872132720Skan	with 3.2.1+ (formatting bugfixes).
7873132720Skan	* docs/html/faq/index.txt:  Regenerate.
7874132720Skan
7875132720Skan2003-02-03  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
7876132720Skan
7877132720Skan	PR libstdc++/9234
7878132720Skan	* include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
7879132720Skan	operator.
7880132720Skan
7881132720Skan	* include/bits/valarray_before.h (__not_equal_to): Use != instead
7882132720Skan	of ==.
7883132720Skan
7884132720Skan	* testsuite/26_numerics/valarray_operators.cc: New test.
7885132720Skan
7886132720Skan2003-02-01  Phil Edwards  <pme@gcc.gnu.org>
7887132720Skan
7888132720Skan	* docs/html/faq/index.html:  Correct link to libg++ information.
7889132720Skan	* docs/html/faq/index.txt:  Regenerated.
7890132720Skan
7891132720Skan2003-02-01  Paolo Carlini  <pcarlini@unitus.it>
7892132720Skan	    Benjamin Kosnik  <bkoz@redhat.com>
7893132720Skan
7894132720Skan	Const correctness issue:
7895132720Skan	http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
7896132720Skan	* include/bits/locale_classes.h
7897132720Skan	(locale::_Impl::_M_facets): Change type to const facet**.
7898132720Skan	(locale::_Impl::_M_install_facet): Change declaration to
7899132720Skan	take const facet*.
7900132720Skan	(locale::facet::_M_references): Make mutable.
7901132720Skan	(locale::facet::_M_add_reference): Declare const.
7902132720Skan	(locale::facet::_M_remove_reference): Likewise.
7903132720Skan	* include/bits/locale_facets.tcc
7904132720Skan	(use_facet(const locale&)): Tweak for const facet** _M_facets.
7905132720Skan	(has_facet(const locale&)): Likewise.
7906132720Skan	* src/locale.cc
7907132720Skan	(locale::facet::_M_add_reference): Adjust definition.
7908132720Skan	(locale::facet::_M_remove_reference): Likewise.
7909132720Skan	* src/localename.cc
7910132720Skan	(locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
7911132720Skan	const facet** _M_facets.
7912132720Skan	(locale::_Impl::_Impl(const char*, size_t)): Likewise.
7913132720Skan	(locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
7914132720Skan	(locale::_Impl::_M_install_facet): Adjust definition to take
7915132720Skan	const facet* and for const facet** _M_facets.
7916132720Skan	* testsuite/22_locale/locale/cons/8.cc: Add.
7917132720Skan
7918132720Skan2003-01-29  Mark Mitchell  <mark@codesourcery.com>
7919132720Skan
7920132720Skan	* include/std/std_limits.h (numeric_limits<float>::has_infinity):
7921132720Skan	Use __FLT_HAS_INIFINITY__ to initialize.
7922132720Skan	(numeric_limits<float>::has_quiet_NaN): Likewise.
7923132720Skan	(numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
7924132720Skan	to initialize.
7925132720Skan	(numeric_limits<double>::has_quiet_NaN): Likewise.
7926132720Skan	(numeric_limits<long double>::has_infinity): Use
7927132720Skan	__LDBL_HAS_INIFINITY__ to initialize.
7928132720Skan	(numeric_limits<long_double>::has_quiet_NaN): Likewise.
7929132720Skan
7930132720Skan2003-01-28  Nathan Sidwell  <nathan@codesourcery.com>
7931132720Skan
7932132720Skan	PR c++/9433
7933132720Skan	* libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
7934132720Skan	with bases which are very ambiguous.
7935132720Skan
7936132720Skan2003-01-28  Danny Smith  <dannysmith@users.sourceforge.net>
7937132720Skan
7938132720Skan	* src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
7939132720Skan	@EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
7940132720Skan	* libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
7941132720Skan	* src/Makefile.in: Regenerate.
7942132720Skan	* libsupc++/Makefile.in: Regenerate.
7943132720Skan
7944132720Skan2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
7945132720Skan
7946132720Skan	* acinclude.m4 (glibcpp_toolexeclibdir): Instead of
7947132720Skan	$(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
7948132720Skan	version_specific_libs is enabled.
7949132720Skan	* aclocal.m4, configure: Rebuilt.
7950132720Skan
7951132720Skan2003-01-24  Nathan Sidwell  <nathan@codesourcery.com>
7952132720Skan
7953132720Skan	* include/bits/valarray_meta.h: Remove, split into ...
7954132720Skan	* include/bits/valarray_before.h: ... this, and ...
7955132720Skan	* include/bits/valarray_after.h: ... this.
7956132720Skan	* include/std/std_valarray.h: Adjust.
7957132720Skan	* include/Makefile.am (bits_headers): Adjust.
7958132720Skan	* include/Makefile.in: Regenerate.
7959132720Skan
7960132720Skan2003-01-24  Andreas Schwab  <schwab@suse.de>
7961132720Skan
7962132720Skan	* config/linker-map.gnu: Fix for size_t variance.
7963132720Skan
7964132720Skan2003-01-23  Petur Runolfsson  <peturr02@ru.is>
7965132720Skan
7966132720Skan	PR libstdc++/9322
7967132720Skan	* include/std/std_streambuf.h
7968132720Skan	(basic_streambuf::basic_streambuf,
7969132720Skan	basic_streambuf::~basic_streambuf,
7970132720Skan	basic_streambuf::getloc, basic_streambuf::imbue):
7971132720Skan	Remove _M_buf_locale_init
7972132720Skan	* include/bits/fstream.tcc (basic_filebuf::imbue):  Likewise
7973132720Skan	* testsuite/27_io/filebuf_virtuals.cc (test08):  Add.
7974132720Skan	* testsuite/27_io/streambuf_members.cc (test08):  Add.
7975132720Skan	* testsuite/27_io/stringbuf_virtuals.cc (test08):  Add.
7976132720Skan
7977132720Skan2003-01-23  Benjamin Kosnik  <bkoz@redhat.com>
7978132720Skan
7979132720Skan	Revert include ordering.
7980132720Skan	* config/locale/generic/c_locale.h: Add include guards.
7981132720Skan	* config/locale/gnu/c_locale.h: Same.
7982132720Skan	* include/bits/locale_classes.h: Remove cctype include.
7983132720Skan	* include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
7984132720Skan	* include/std/std_fstream.h: Remove streambuf include.
7985132720Skan	* include/std/std_sstream.h: Remove streambuf include.
7986132720Skan
7987132720Skan2003-01-23  Benjamin Kosnik  <bkoz@redhat.com>
7988132720Skan
7989132720Skan	* configure.in (libtool_VERSION): To 6:0:0.
7990132720Skan	* configure: Regenerated.
7991132720Skan	* config/linker-map.gnu: Clean.
7992132720Skan
7993132720Skan	* src/misc-inst.cc: Remove instantiations.
7994132720Skan
7995132720Skan	* include/bits/stl_alloc.h (__malloc_alloc_template):
7996132720Skan	To __malloc_alloc.
7997132720Skan	(__default_alloc_template): To __pool_alloc.
7998132720Skan	* src/stl-inst.cc: Same.
7999132720Skan	* include/backward/alloc.h: Update.
8000132720Skan	* testsuite/ext/allocators.cc: Update.
8001132720Skan
8002132720Skan	* src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
8003132720Skan	really try to remove these if possible.
8004132720Skan	* src/locale.cc (std): Same.
8005132720Skan
8006132720Skan	* testsuite/abi_check.cc (check_version): Add.
8007132720Skan
8008132720Skan2003-01-22  Benjamin Kosnik  <bkoz@redhat.com>
8009132720Skan	    Sysoltsev Slawa  <Vyatcheslav.Sysoltsev@intel.com>
8010132720Skan	    Mark Mitchell  <mark@codesourcery.com>
8011132720Skan
8012132720Skan	PR libstdc++/9269
8013132720Skan	* include/std/std_fstream.h (basic_filebuf::uflow): Declare.
8014132720Skan	(basic_filebuf::underflow): Declare.
8015132720Skan	Move definitions.
8016132720Skan
8017132720Skan2003-01-22  Benjamin Kosnik  <bkoz@redhat.com>
8018132720Skan
8019132720Skan	* include/bits/locale_facets.h: Move non-facet classes requiring
8020132720Skan	<string> to...
8021132720Skan	* include/bits/locale_classes.h: New.
8022132720Skan	* include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
8023132720Skan	* include/bits/Makefile.in: Regenerate.
8024132720Skan
8025132720Skan	* include/bits/locale_facets.tcc (__convert_from_v): Move to...
8026132720Skan	* config/locale/gnu/c_locale.h: ...here.
8027132720Skan	* config/locale/generic/c_locale.h: Same.
8028132720Skan
8029132720Skan	* include/bits/locale_facets.tcc: Move declarations to...
8030132720Skan	* include/bits/locale_facets.h: ...here.
8031132720Skan	* include/bits/basic_ios.h: Tweak includes accordingly.
8032132720Skan	* include/std/std_sstream.h: Add streambuf include.
8033132720Skan	* include/std/std_fstream.h: Ditto.
8034132720Skan	* include/std/std_locale.h: Add locale_classes.h include.
8035132720Skan	* include/std/std_iosfwd.h: Tweak.
8036132720Skan	* src/concept-inst.cc: Add iterator include.
8037132720Skan
8038132720Skan	* config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
8039132720Skan	bits as unexported in the future.
8040132720Skan
8041132720Skan2003-01-21  Benjamin Kosnik  <bkoz@redhat.com>
8042132720Skan
8043132720Skan	Reshuffle 22_locale testsuite.
8044132720Skan	* 22_locale/(codecvt.cc money_get.cc
8045132720Skan	codecvt_members_char_char.cc money_get_members_char.cc
8046132720Skan	codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
8047132720Skan	codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
8048132720Skan	codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
8049132720Skan	moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
8050132720Skan	collate_members_char.cc money_put.cc collate_members_wchar_t.cc
8051132720Skan	money_put_members_char.cc ctor_copy_dtor.cc
8052132720Skan	money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
8053132720Skan	num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
8054132720Skan	ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
8055132720Skan	numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
8056132720Skan	ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
8057132720Skan	num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
8058132720Skan	ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
8059132720Skan	operators.cc ctype_widen_char.cc static_members.cc
8060132720Skan	ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
8061132720Skan	global_templates.cc time_get_members_wchar_t.cc, members.cc,
8062132720Skan	time_put.cc, messages_byname.cc, time_put_members_char.cc,
8063132720Skan	messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
8064132720Skan	Split up into individual test cases...
8065132720Skan	* 22_locale/codecvt/1.cc: New.
8066132720Skan	* 22_locale/codecvt/2.cc: New.
8067132720Skan	* 22_locale/codecvt/always_noconv/char/1.cc: New.
8068132720Skan	* 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
8069132720Skan	* 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
8070132720Skan	* 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
8071132720Skan	* 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
8072132720Skan	* 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
8073132720Skan	* 22_locale/codecvt/encoding/char/1.cc: New.
8074132720Skan	* 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
8075132720Skan	* 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
8076132720Skan	* 22_locale/codecvt/encoding/wchar_t/1.cc: New.
8077132720Skan	* 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
8078132720Skan	* 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
8079132720Skan	* 22_locale/codecvt/in/char/1.cc: New.
8080132720Skan	* 22_locale/codecvt/in/char/wrapped_env.cc: New.
8081132720Skan	* 22_locale/codecvt/in/char/wrapped_locale.cc: New.
8082132720Skan	* 22_locale/codecvt/in/wchar_t/1.cc: New.
8083132720Skan	* 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
8084132720Skan	* 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
8085132720Skan	* 22_locale/codecvt/length/char/1.cc: New.
8086132720Skan	* 22_locale/codecvt/length/char/wrapped_env.cc: New.
8087132720Skan	* 22_locale/codecvt/length/char/wrapped_locale.cc: New.
8088132720Skan	* 22_locale/codecvt/length/wchar_t/1.cc: New.
8089132720Skan	* 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
8090132720Skan	* 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
8091132720Skan	* 22_locale/codecvt/max_length/char/1.cc: New.
8092132720Skan	* 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
8093132720Skan	* 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
8094132720Skan	* 22_locale/codecvt/max_length/wchar_t/1.cc: New.
8095132720Skan	* 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
8096132720Skan	* 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
8097132720Skan	* 22_locale/codecvt/out/char/1.cc: New.
8098132720Skan	* 22_locale/codecvt/out/char/wrapped_env.cc: New.
8099132720Skan	* 22_locale/codecvt/out/char/wrapped_locale.cc: New.
8100132720Skan	* 22_locale/codecvt/out/wchar_t/1.cc: New.
8101132720Skan	* 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
8102132720Skan	* 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
8103132720Skan	* 22_locale/codecvt/unicode/char.cc: New.
8104132720Skan	* 22_locale/codecvt/unicode/wchar_t.cc: New.
8105132720Skan	* 22_locale/codecvt/unshift/char/1.cc: New.
8106132720Skan	* 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
8107132720Skan	* 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
8108132720Skan	* 22_locale/codecvt/unshift/wchar_t/1.cc: New.
8109132720Skan	* 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
8110132720Skan	* 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
8111132720Skan	* 22_locale/collate/1.cc: New.
8112132720Skan	* 22_locale/collate/2.cc: New.
8113132720Skan	* 22_locale/collate/compare/char/1.cc: New.
8114132720Skan	* 22_locale/collate/compare/char/2.cc: New.
8115132720Skan	* 22_locale/collate/compare/char/wrapped_env.cc: New.
8116132720Skan	* 22_locale/collate/compare/char/wrapped_locale.cc: New.
8117132720Skan	* 22_locale/collate/compare/wchar_t/1.cc: New.
8118132720Skan	* 22_locale/collate/compare/wchar_t/2.cc: New.
8119132720Skan	* 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
8120132720Skan	* 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
8121132720Skan	* 22_locale/collate/hash/char/1.cc: New.
8122132720Skan	* 22_locale/collate/hash/char/2.cc: New.
8123132720Skan	* 22_locale/collate/hash/char/wrapped_env.cc: New.
8124132720Skan	* 22_locale/collate/hash/char/wrapped_locale.cc: New.
8125132720Skan	* 22_locale/collate/hash/wchar_t/1.cc: New.
8126132720Skan	* 22_locale/collate/hash/wchar_t/2.cc: New.
8127132720Skan	* 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
8128132720Skan	* 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
8129132720Skan	* 22_locale/collate/transform/char/2.cc: New.
8130132720Skan	* 22_locale/collate/transform/char/wrapped_env.cc: New.
8131132720Skan	* 22_locale/collate/transform/char/wrapped_locale.cc: New.
8132132720Skan	* 22_locale/collate/transform/wchar_t/2.cc: New.
8133132720Skan	* 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
8134132720Skan	* 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
8135132720Skan	* 22_locale/collate_byname/1.cc: New.
8136132720Skan	* 22_locale/ctype/1.cc: New.
8137132720Skan	* 22_locale/ctype/2.cc: New.
8138132720Skan	* 22_locale/ctype/cons/char/1.cc: New.
8139132720Skan	* 22_locale/ctype/cons/char/wrapped_env.cc: New.
8140132720Skan	* 22_locale/ctype/cons/char/wrapped_locale.cc: New.
8141132720Skan	* 22_locale/ctype/is/char/1.cc: New.
8142132720Skan	* 22_locale/ctype/is/char/2.cc: New.
8143132720Skan	* 22_locale/ctype/is/char/3.cc: New.
8144132720Skan	* 22_locale/ctype/is/char/wrapped_env.cc: New.
8145132720Skan	* 22_locale/ctype/is/char/wrapped_locale.cc: New.
8146132720Skan	* 22_locale/ctype/is/wchar_t/1.cc: New.
8147132720Skan	* 22_locale/ctype/is/wchar_t/2.cc: New.
8148132720Skan	* 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
8149132720Skan	* 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
8150132720Skan	* 22_locale/ctype/narrow/char/1.cc: New.
8151132720Skan	* 22_locale/ctype/narrow/char/2.cc: New.
8152132720Skan	* 22_locale/ctype/narrow/char/wrapped_env.cc: New.
8153132720Skan	* 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
8154132720Skan	* 22_locale/ctype/narrow/wchar_t/1.cc: New.
8155132720Skan	* 22_locale/ctype/narrow/wchar_t/2.cc: New.
8156132720Skan	* 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
8157132720Skan	* 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
8158132720Skan	* 22_locale/ctype/scan/char/1.cc: New.
8159132720Skan	* 22_locale/ctype/scan/char/wrapped_env.cc: New.
8160132720Skan	* 22_locale/ctype/scan/char/wrapped_locale.cc: New.
8161132720Skan	* 22_locale/ctype/scan/wchar_t/1.cc: New.
8162132720Skan	* 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
8163132720Skan	* 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
8164132720Skan	* 22_locale/ctype/to/char/1.cc: New.
8165132720Skan	* 22_locale/ctype/to/char/wrapped_env.cc: New.
8166132720Skan	* 22_locale/ctype/to/char/wrapped_locale.cc: New.
8167132720Skan	* 22_locale/ctype/to/wchar_t/1.cc: New.
8168132720Skan	* 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
8169132720Skan	* 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
8170132720Skan	* 22_locale/ctype/widen/char/1.cc: New.
8171132720Skan	* 22_locale/ctype/widen/char/wrapped_env.cc: New.
8172132720Skan	* 22_locale/ctype/widen/char/wrapped_locale.cc: New.
8173132720Skan	* 22_locale/ctype/widen/wchar_t/1.cc: New.
8174132720Skan	* 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
8175132720Skan	* 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
8176132720Skan	* 22_locale/facet/1.cc: New.
8177132720Skan	* 22_locale/facet/2.cc: New.
8178132720Skan	* 22_locale/global_templates/1.cc: New.
8179132720Skan	* 22_locale/locale/cons/1.cc: New.
8180132720Skan	* 22_locale/locale/cons/2.cc: New.
8181132720Skan	* 22_locale/locale/cons/3.cc: New.
8182132720Skan	* 22_locale/locale/cons/4.cc: New.
8183132720Skan	* 22_locale/locale/cons/5.cc: New.
8184132720Skan	* 22_locale/locale/cons/6.cc: New.
8185132720Skan	* 22_locale/locale/cons/7.cc: New.
8186132720Skan	* 22_locale/locale/global_locale_objects/1.cc: New.
8187132720Skan	* 22_locale/locale/global_locale_objects/2.cc: New.
8188132720Skan	* 22_locale/locale/global_locale_objects/3.cc: New.
8189132720Skan	* 22_locale/locale/operations/1.cc: New.
8190132720Skan	* 22_locale/locale/operations/2.cc: New.
8191132720Skan	* 22_locale/messages/1.cc: New.
8192132720Skan	* 22_locale/messages/2.cc: New.
8193132720Skan	* 22_locale/messages/members/char/1.cc: New.
8194132720Skan	* 22_locale/messages/members/char/2.cc: New.
8195132720Skan	* 22_locale/messages/members/char/3.cc: New.
8196132720Skan	* 22_locale/messages/members/char/wrapped_env.cc: New.
8197132720Skan	* 22_locale/messages/members/char/wrapped_locale.cc: New.
8198132720Skan	* 22_locale/messages_byname/1.cc: New.
8199132720Skan	* 22_locale/money_get/1.cc: New.
8200132720Skan	* 22_locale/money_get/2.cc: New.
8201132720Skan	* 22_locale/money_get/get/char/1.cc: New.
8202132720Skan	* 22_locale/money_get/get/char/2.cc: New.
8203132720Skan	* 22_locale/money_get/get/char/3.cc: New.
8204132720Skan	* 22_locale/money_get/get/char/4.cc: New.
8205132720Skan	* 22_locale/money_get/get/char/5.cc: New.
8206132720Skan	* 22_locale/money_get/get/char/6.cc: New.
8207132720Skan	* 22_locale/money_get/get/char/7.cc: New.
8208132720Skan	* 22_locale/money_get/get/char/8.cc: New.
8209132720Skan	* 22_locale/money_get/get/char/wrapped_env.cc: New.
8210132720Skan	* 22_locale/money_get/get/char/wrapped_locale.cc: New.
8211132720Skan	* 22_locale/money_get/get/wchar_t/1.cc: New.
8212132720Skan	* 22_locale/money_get/get/wchar_t/2.cc: New.
8213132720Skan	* 22_locale/money_get/get/wchar_t/3.cc: New.
8214132720Skan	* 22_locale/money_get/get/wchar_t/4.cc: New.
8215132720Skan	* 22_locale/money_get/get/wchar_t/5.cc: New.
8216132720Skan	* 22_locale/money_get/get/wchar_t/6.cc: New.
8217132720Skan	* 22_locale/money_get/get/wchar_t/7.cc: New.
8218132720Skan	* 22_locale/money_get/get/wchar_t/8.cc: New.
8219132720Skan	* 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
8220132720Skan	* 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
8221132720Skan	* 22_locale/money_put/1.cc: New.
8222132720Skan	* 22_locale/money_put/2.cc: New.
8223132720Skan	* 22_locale/money_put/put/char/1.cc: New.
8224132720Skan	* 22_locale/money_put/put/char/2.cc: New.
8225132720Skan	* 22_locale/money_put/put/char/3.cc: New.
8226132720Skan	* 22_locale/money_put/put/char/4.cc: New.
8227132720Skan	* 22_locale/money_put/put/char/5.cc: New.
8228132720Skan	* 22_locale/money_put/put/char/6.cc: New.
8229132720Skan	* 22_locale/money_put/put/char/wrapped_env.cc: New.
8230132720Skan	* 22_locale/money_put/put/char/wrapped_locale.cc: New.
8231132720Skan	* 22_locale/money_put/put/wchar_t/1.cc: New.
8232132720Skan	* 22_locale/money_put/put/wchar_t/2.cc: New.
8233132720Skan	* 22_locale/money_put/put/wchar_t/3.cc: New.
8234132720Skan	* 22_locale/money_put/put/wchar_t/4.cc: New.
8235132720Skan	* 22_locale/money_put/put/wchar_t/5.cc: New.
8236132720Skan	* 22_locale/money_put/put/wchar_t/6.cc: New.
8237132720Skan	* 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
8238132720Skan	* 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
8239132720Skan	* 22_locale/moneypunct/1.cc: New.
8240132720Skan	* 22_locale/moneypunct/2.cc: New.
8241132720Skan	* 22_locale/moneypunct/3.cc: New.
8242132720Skan	* 22_locale/moneypunct/members/char/1.cc: New.
8243132720Skan	* 22_locale/moneypunct/members/char/2.cc: New.
8244132720Skan	* 22_locale/moneypunct/members/char/wrapped_env.cc: New.
8245132720Skan	* 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
8246132720Skan	* 22_locale/moneypunct/members/wchar_t/1.cc: New.
8247132720Skan	* 22_locale/moneypunct/members/wchar_t/2.cc: New.
8248132720Skan	* 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
8249132720Skan	* 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
8250132720Skan	* 22_locale/moneypunct_byname/1.cc: New.
8251132720Skan	* 22_locale/num_get/1.cc: New.
8252132720Skan	* 22_locale/num_get/2.cc: New.
8253132720Skan	* 22_locale/num_get/get/char/1.cc: New.
8254132720Skan	* 22_locale/num_get/get/char/2.cc: New.
8255132720Skan	* 22_locale/num_get/get/char/3.cc: New.
8256132720Skan	* 22_locale/num_get/get/char/4.cc: New.
8257132720Skan	* 22_locale/num_get/get/char/5.cc: New.
8258132720Skan	* 22_locale/num_get/get/char/6.cc: New.
8259132720Skan	* 22_locale/num_get/get/char/wrapped_env.cc: New.
8260132720Skan	* 22_locale/num_get/get/char/wrapped_locale.cc: New.
8261132720Skan	* 22_locale/num_get/get/wchar_t/1.cc: New.
8262132720Skan	* 22_locale/num_get/get/wchar_t/2.cc: New.
8263132720Skan	* 22_locale/num_get/get/wchar_t/3.cc: New.
8264132720Skan	* 22_locale/num_get/get/wchar_t/4.cc: New.
8265132720Skan	* 22_locale/num_get/get/wchar_t/5.cc: New.
8266132720Skan	* 22_locale/num_get/get/wchar_t/6.cc: New.
8267132720Skan	* 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
8268132720Skan	* 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
8269132720Skan	* 22_locale/num_put/1.cc: New.
8270132720Skan	* 22_locale/num_put/2.cc: New.
8271132720Skan	* 22_locale/num_put/put/char/1.cc: New.
8272132720Skan	* 22_locale/num_put/put/char/2.cc: New.
8273132720Skan	* 22_locale/num_put/put/char/3.cc: New.
8274132720Skan	* 22_locale/num_put/put/char/4.cc: New.
8275132720Skan	* 22_locale/num_put/put/char/5.cc: New.
8276132720Skan	* 22_locale/num_put/put/char/wrapped_env.cc: New.
8277132720Skan	* 22_locale/num_put/put/char/wrapped_locale.cc: New.
8278132720Skan	* 22_locale/num_put/put/wchar_t/1.cc: New.
8279132720Skan	* 22_locale/num_put/put/wchar_t/2.cc: New.
8280132720Skan	* 22_locale/num_put/put/wchar_t/3.cc: New.
8281132720Skan	* 22_locale/num_put/put/wchar_t/4.cc: New.
8282132720Skan	* 22_locale/num_put/put/wchar_t/5.cc: New.
8283132720Skan	* 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
8284132720Skan	* 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
8285132720Skan	* 22_locale/numpunct/1.cc: New.
8286132720Skan	* 22_locale/numpunct/2.cc: New.
8287132720Skan	* 22_locale/numpunct/members/char/1.cc: New.
8288132720Skan	* 22_locale/numpunct/members/char/2.cc: New.
8289132720Skan	* 22_locale/numpunct/members/char/wrapped_env.cc: New.
8290132720Skan	* 22_locale/numpunct/members/char/wrapped_locale.cc: New.
8291132720Skan	* 22_locale/numpunct/members/wchar_t/1.cc: New.
8292132720Skan	* 22_locale/numpunct/members/wchar_t/2.cc: New.
8293132720Skan	* 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
8294132720Skan	* 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
8295132720Skan	* 22_locale/numpunct_byname/1.cc: New.
8296132720Skan	* 22_locale/numpunct_byname/2.cc: New.
8297132720Skan	* 22_locale/time_get/1.cc: New.
8298132720Skan	* 22_locale/time_get/2.cc: New.
8299132720Skan	* 22_locale/time_get/date_order/char/1.cc: New.
8300132720Skan	* 22_locale/time_get/date_order/char/wrapped_env.cc: New.
8301132720Skan	* 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
8302132720Skan	* 22_locale/time_get/date_order/wchar_t/1.cc: New.
8303132720Skan	* 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
8304132720Skan	* 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
8305132720Skan	* 22_locale/time_get/get_date/char/1.cc: New.
8306132720Skan	* 22_locale/time_get/get_date/char/2.cc: New.
8307132720Skan	* 22_locale/time_get/get_date/char/3.cc: New.
8308132720Skan	* 22_locale/time_get/get_date/char/wrapped_env.cc: New.
8309132720Skan	* 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
8310132720Skan	* 22_locale/time_get/get_date/wchar_t/1.cc: New.
8311132720Skan	* 22_locale/time_get/get_date/wchar_t/2.cc: New.
8312132720Skan	* 22_locale/time_get/get_date/wchar_t/3.cc: New.
8313132720Skan	* 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
8314132720Skan	* 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
8315132720Skan	* 22_locale/time_get/get_monthname/char/1.cc: New.
8316132720Skan	* 22_locale/time_get/get_monthname/char/2.cc: New.
8317132720Skan	* 22_locale/time_get/get_monthname/char/3.cc: New.
8318132720Skan	* 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
8319132720Skan	* 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
8320132720Skan	* 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
8321132720Skan	* 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
8322132720Skan	* 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
8323132720Skan	* 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
8324132720Skan	* 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
8325132720Skan	* 22_locale/time_get/get_time/char/1.cc: New.
8326132720Skan	* 22_locale/time_get/get_time/char/2.cc: New.
8327132720Skan	* 22_locale/time_get/get_time/char/3.cc: New.
8328132720Skan	* 22_locale/time_get/get_time/char/wrapped_env.cc: New.
8329132720Skan	* 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
8330132720Skan	* 22_locale/time_get/get_time/wchar_t/1.cc: New.
8331132720Skan	* 22_locale/time_get/get_time/wchar_t/2.cc: New.
8332132720Skan	* 22_locale/time_get/get_time/wchar_t/3.cc: New.
8333132720Skan	* 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
8334132720Skan	* 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
8335132720Skan	* 22_locale/time_get/get_weekday/char/1.cc: New.
8336132720Skan	* 22_locale/time_get/get_weekday/char/2.cc: New.
8337132720Skan	* 22_locale/time_get/get_weekday/char/3.cc: New.
8338132720Skan	* 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
8339132720Skan	* 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
8340132720Skan	* 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
8341132720Skan	* 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
8342132720Skan	* 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
8343132720Skan	* 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
8344132720Skan	* 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
8345132720Skan	* 22_locale/time_get/get_year/char/1.cc: New.
8346132720Skan	* 22_locale/time_get/get_year/char/3.cc: New.
8347132720Skan	* 22_locale/time_get/get_year/char/wrapped_env.cc: New.
8348132720Skan	* 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
8349132720Skan	* 22_locale/time_get/get_year/wchar_t/1.cc: New.
8350132720Skan	* 22_locale/time_get/get_year/wchar_t/3.cc: New.
8351132720Skan	* 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
8352132720Skan	* 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
8353132720Skan	* 22_locale/time_put/1.cc: New.
8354132720Skan	* 22_locale/time_put/2.cc: New.
8355132720Skan	* 22_locale/time_put/put/char/1.cc: New.
8356132720Skan	* 22_locale/time_put/put/char/10.cc: New.
8357132720Skan	* 22_locale/time_put/put/char/2.cc: New.
8358132720Skan	* 22_locale/time_put/put/char/3.cc: New.
8359132720Skan	* 22_locale/time_put/put/char/4.cc: New.
8360132720Skan	* 22_locale/time_put/put/char/5.cc: New.
8361132720Skan	* 22_locale/time_put/put/char/6.cc: New.
8362132720Skan	* 22_locale/time_put/put/char/7.cc: New.
8363132720Skan	* 22_locale/time_put/put/char/8.cc: New.
8364132720Skan	* 22_locale/time_put/put/char/9.cc: New.
8365132720Skan	* 22_locale/time_put/put/char/wrapped_env.cc: New.
8366132720Skan	* 22_locale/time_put/put/char/wrapped_locale.cc: New.
8367132720Skan	* 22_locale/time_put/put/wchar_t/1.cc: New.
8368132720Skan	* 22_locale/time_put/put/wchar_t/10.cc: New.
8369132720Skan	* 22_locale/time_put/put/wchar_t/2.cc: New.
8370132720Skan	* 22_locale/time_put/put/wchar_t/3.cc: New.
8371132720Skan	* 22_locale/time_put/put/wchar_t/4.cc: New.
8372132720Skan	* 22_locale/time_put/put/wchar_t/5.cc: New.
8373132720Skan	* 22_locale/time_put/put/wchar_t/6.cc: New.
8374132720Skan	* 22_locale/time_put/put/wchar_t/7.cc: New.
8375132720Skan	* 22_locale/time_put/put/wchar_t/8.cc: New.
8376132720Skan	* 22_locale/time_put/put/wchar_t/9.cc: New.
8377132720Skan	* 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
8378132720Skan	* 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
8379132720Skan
8380132720Skan2003-01-16  Jeffrey D. Oldham  <oldham@codesourcery.com>
8381132720Skan
8382132720Skan	* config/locale/generic/messages_members.h
8383132720Skan	(messages_byname<_CharT>::messages_byname): Use this-> to refer to
8384132720Skan	unqualified members of base clasess.
8385132720Skan
8386132720Skan2003-01-16  Mark Mitchell  <mark@codesourcery.com>
8387132720Skan	    Jeffrey Oldham <oldham@codesourcery.com>
8388132720Skan
8389132720Skan	* config/locale/gnu/messages_members.h: Use this-> to refer to
8390132720Skan	unqualified members of base clasess.
8391132720Skan	* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
8392132720Skan	* include/bits/codecvt.h: Likewise.
8393132720Skan	* include/bits/deque.tcc: Likewise.
8394132720Skan	* include/bits/fstream.tcc: Likewise.
8395132720Skan	* include/bits/istream.tcc: Likewise.
8396132720Skan	* include/bits/list.tcc: Likewise.
8397132720Skan	* include/bits/locale_facets.h: Likewise.
8398132720Skan	* include/bits/ostream.tcc: Likewise.
8399132720Skan	* include/bits/sstream.tcc: Likewise.
8400132720Skan	* include/bits/stl_bvector.h: Likewise.
8401132720Skan	* include/bits/stl_deque.h: Likewise.
8402132720Skan	* include/bits/stl_list.h: Likewise.
8403132720Skan	* include/bits/stl_tree.h: Likewise.
8404132720Skan	* include/bits/stl_vector.h: Likewise.
8405132720Skan	* include/bits/vector.tcc: Likewise.
8406132720Skan	* include/ext/ropeimpl.h: Likewise.
8407132720Skan	* include/ext/stdio_filebuf.h: Likewise.
8408132720Skan	* include/ext/stl_rope.h: Likewise.
8409132720Skan	* include/std/std_fstream.h: Likewise.
8410132720Skan	* include/std/std_sstream.h: Likewise.
8411132720Skan
8412132720Skan2003-01-15  Phil Edwards  <pme@gcc.gnu.org>
8413132720Skan
8414132720Skan	* include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
8415132720Skan
8416132720Skan2003-01-15  Benjamin Kosnik  <bkoz@redhat.com>
8417132720Skan
8418132720Skan	* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
8419132720Skan	GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
8420132720Skan	* aclocal.m4: Regenerate.
8421132720Skan	* configure: Regenerate.
8422132720Skan	* testsuite/Makefile.am (all-local): Add conditional rule to
8423132720Skan	generate testsuite_wchar_t.
8424132720Skan	* testsuite/Makefile.in: Regenerate.
8425132720Skan	* testsuite/lib/libstdc++-v3-dg.exp
8426132720Skan	(libstdc++-v3-list-sourcefiles): Remove wchar_t files if
8427132720Skan	testsuite_wchar_t is not present in the build directory.
8428132720Skan	* testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
8429132720Skan	Remove setulimit bits.
8430132720Skan	* testsuite/26_numerics/complex_value.cc: Set to noopts.
8431132720Skan	* testsuite/Makefile.am (CLEANFILES): Add.
8432132720Skan	* testsuite/Makefile.in: Regenerate.
8433132720Skan
8434132720Skan2003-01-15  John David Anglin  <dave@hiauly1.hia.nrc.ca>
8435132720Skan
8436132720Skan	* config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
8437132720Skan	__hppa__.
8438132720Skan
8439132720Skan2003-01-14  Jeffrey D. Oldham  <oldham@codesourcery.com>
8440132720Skan
8441132720Skan	Further conform g++'s __vmi_class_type_info to the C++ ABI
8442132720Skan	specification.
8443132720Skan	* libsupc++/cxxabi.h
8444132720Skan	(__vmi_class_type_info::__flags_masks): Remove enumerations not
8445132720Skan	required by the specification.
8446132720Skan
8447132720Skan2003-01-12  Benjamin Kosnik  <bkoz@redhat.com>
8448132720Skan
8449132720Skan	Renames, namespaces for testsuite utilities.
8450132720Skan	* testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
8451132720Skan	(gnu_allocator_tracker): Rename to allocation_tracker.
8452132720Skan	(gnu_new_allocator): Rename to tracker_alloc.
8453132720Skan	(__set_testsuite_memlimit): Rename to set_memory_limits.
8454132720Skan	(gnu_assignment_operator): Rename to assignment_operator.
8455132720Skan	(gnu_destructor): Rename to destructor.
8456132720Skan	(gnu_copy_tracker): Rename to copy_tracker.
8457132720Skan	(gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
8458132720Skan	(run_tests_wrapped_locale): New.
8459132720Skan	(run_tests_wrapped_env): New.
8460132720Skan	* testsuite/testsuite_hooks.cc: Same.
8461132720Skan	(class locale_data): Add.
8462132720Skan	(class enviornment_variable): Add.
8463132720Skan	(class not_found): Add.
8464132720Skan	* testsuite/testsuite_allocator.h: Same.
8465132720Skan	* testsuite/testsuite_allocator.cc: Same.
8466132720Skan	* testsuite/23_containers/deque_ctor.cc
8467132720Skan	(test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
8468132720Skan	allocation_tracker.
8469132720Skan	Change gnu_new_allocator to tracker_alloc.
8470132720Skan	Change gnu_counting_struct to counter.
8471132720Skan	Change gnu_copy_tracker to copy_tracker.
8472132720Skan	Change gnu_copy_constructor to copy_constructor.
8473132720Skan	Change gnu_assignment_operator to assignment_operator.
8474132720Skan	Inject.
8475132720Skan	* testsuite/23_containers/vector_capacity.cc: Same.
8476132720Skan	* testsuite/23_containers/vector_ctor.cc (test01): Same.
8477132720Skan	* testsuite/23_containers/list_modifiers.cc: Change
8478132720Skan	gnu_copy_tracker to copy_tracker.
8479132720Skan	* testsuite/21_strings/ctor_copy_dtor.cc (main): Change
8480132720Skan	__set_testsuite_memlimit to set_memory_limits.
8481132720Skan	* testsuite/21_strings/insert.cc (main): Same.
8482132720Skan	* testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
8483132720Skan	* testsuite/27_io/stringstream.cc: Same.
8484132720Skan	* testsuite/27_io/stringbuf.cc: Same.
8485132720Skan	* testsuite/27_io/streambuf.cc: Same.
8486132720Skan	* testsuite/27_io/ostream.cc: Same.
8487132720Skan	* testsuite/27_io/istream.cc: Same.
8488132720Skan	* testsuite/27_io/fstream.cc: Same.
8489132720Skan	* testsuite/lib/libstdc++-v3-dg.exp
8490132720Skan	(libstdc++-v3-list-sourcefiles): Additionally handle files two and
8491132720Skan	three levels deeper in glob patterns.
8492132720Skan
8493132720Skan2003-01-11  Phil Edwards  <pme@gcc.gnu.org>
8494132720Skan
8495132720Skan	* docs/doxygen/tables.html:  Finished now.
8496132720Skan	* docs/doxygen/user.cfg.in:  Update to latest version of Doxygen.
8497132720Skan	* include/bits/basic_ios.h (basic_ios::rdbuf):  Add example to
8498132720Skan	comments.
8499132720Skan
8500132720Skan	* include/bits/deque.tcc, include/bits/stl_alloc.h,
8501132720Skan	include/bits/stl_deque.h, include/bits/stl_list.h,
8502132720Skan	include/bits/stl_vector.h:  Remove _GLIBCPP_DEPRECATED bits scheduled
8503132720Skan	for 3.4 removal.
8504132720Skan
8505132720Skan2003-01-09  Benjamin Kosnik  <bkoz@redhat.com>
8506132720Skan
8507132720Skan	* configure.in: Revert.
8508132720Skan	* configure: Regenerate.
8509132720Skan
8510132720Skan2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
8511132720Skan
8512132720Skan	* include/Makefile.am (install-data-local): Prepend
8513132720Skan	$(DESTDIR) to destination paths in all (un)installation
8514132720Skan	commands.  Use ${c_base_builddir} and ${std_builddir}
8515132720Skan	as destination subdirectories to achieve consistency with
8516132720Skan	preceding mkinstalldirs commands.  No effect because both
8517132720Skan	variables contain "." only.
8518132720Skan	* include/Makefile.in: Regenerate.
8519132720Skan
8520132720Skan2003-01-08  Benjamin Kosnik  <bkoz@redhat.com>
8521132720Skan
8522132720Skan	* include/Makefile.am (stamp-*): Add checks for existing stamps.
8523132720Skan	* include/Makefile.in: Regenerate.
8524132720Skan
8525132720Skan	* acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
8526132720Skan	* aclocal.m4: Regenerate.
8527132720Skan
8528132720Skan	* configure.in: Don't add new multi-do rules every time the
8529132720Skan	directory is reconfigured.
8530132720Skan	* configure: Regenerate.
8531132720Skan
8532132720Skan2003-01-08  Brad Spencer  <spencer@infointeractive.com>
8533132720Skan	    Nathan Myers  <ncm@cantrip.org>
8534132720Skan
8535132720Skan	* src/Makefile.am (stamp-debug): Clean.
8536132720Skan	* src/Makefile.in: Regenerate.
8537132720Skan
8538132720Skan2003-01-07  Benjamin Kosnik  <bkoz@redhat.com>
8539132720Skan
8540132720Skan	PR libstdc++/8707
8541132720Skan	* Makefile.am (distclean-multi): Fix.
8542132720Skan	* Makefile.in: Regenerate.
8543132720Skan
8544132720Skan2003-01-06  Benjamin Kosnik  <bkoz@redhat.com>
8545132720Skan
8546132720Skan	* include/bits/locale_facets.h (messages): Move ctor, dtor
8547132720Skan	definitions to..
8548132720Skan	(__timepunct): Same.
8549132720Skan	* config/locale/gnu/messages_members.h (messages): Add dtor, ctor
8550132720Skan	definitions. Conditionalize for GNU systems.
8551132720Skan	* config/locale/generic/messages_members.h (messages): Add dtor, ctor
8552132720Skan	definitions.
8553132720Skan	* config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
8554132720Skan	definitions. Conditionalize for GNU systems.
8555132720Skan	* config/locale/generic/time_members.h (messages): New. Add dtor, ctor
8556132720Skan	definitions.
8557132720Skan	* include/bits/localefwd.h (locale::facet::_S_c_name): Add.
8558132720Skan	* src/locale.cc: Define.
8559132720Skan	* src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
8560132720Skan	Use it.
8561132720Skan	* config/locale/gnu/time_members.h: Use it.
8562132720Skan	* config/locale/gnu/messages_members.h: Use it.
8563132720Skan	* config/linker-map.gnu: Add locale::facets details.
8564132720Skan	* include/Makefile.am (target_headers_extra): Add time_members.h.
8565132720Skan	* include/Makefile.in: Regenerate.
8566132720Skan	* acinclude.m4: Export CTIME_H.
8567132720Skan	* aclocal.m4: Regenerate.
8568132720Skan	* configure: Regnerate.
8569132720Skan
8570132720Skan2003-01-06  Paolo Carlini  <pcarlini@unitus.it>
8571132720Skan
8572132720Skan	* src/codecvt.cc
8573132720Skan	(codecvt<char, char, mbstate_t>::do_in, do_out):
8574132720Skan	Tweak parameters to avoid unused parameter warnings.
8575132720Skan
8576132720Skan2003-01-06  Paolo Carlini  <pcarlini@unitus.it>
8577132720Skan
8578132720Skan	PR libstdc++/9151
8579132720Skan	* include/bits/locale_facets.cc (num_put::_M_convert_float):
8580132720Skan	Limit __prec to digits10 + 2, not digits10 + 1, taking into
8581132720Skan	account the possibility of %{g,G} conversion specifiers
8582132720Skan	inside _S_format_float.
8583132720Skan	* testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
8584132720Skan
8585132720Skan2003-01-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8586132720Skan
8587132720Skan	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
8588132720Skan	libstdc++-v3-list-sourcefiles): Additionally handle files one
8589132720Skan	level deeper in glob patterns.
8590132720Skan
8591132720Skan	* testsuite/27_io/istream_extractor_arith.cc: Delete, split...
8592132720Skan	* testsuite/27_io/istream_extractor_arith/01.cc,
8593132720Skan	testsuite/27_io/istream_extractor_arith/02.cc,
8594132720Skan	testsuite/27_io/istream_extractor_arith/03.cc,
8595132720Skan	testsuite/27_io/istream_extractor_arith/06.cc,
8596132720Skan	testsuite/27_io/istream_extractor_arith/07.cc,
8597132720Skan	testsuite/27_io/istream_extractor_arith/08.cc,
8598132720Skan	testsuite/27_io/istream_extractor_arith/09.cc,
8599132720Skan	testsuite/27_io/istream_extractor_arith/10.cc,
8600132720Skan	testsuite/27_io/istream_extractor_arith/11.cc,
8601132720Skan	testsuite/27_io/istream_extractor_arith/12.cc,
8602132720Skan	testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
8603132720Skan	* testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
8604132720Skan	sparc*-*-solaris2*.
8605132720Skan
8606132720Skan2003-01-05  Paolo Carlini <pcarlini@unitus.it>
8607132720Skan
8608132720Skan	PR libstdc++/9168
8609132720Skan	* src/codecvt.cc
8610132720Skan	(codecvt<char, char, mbstate_t>::do_in, do_out):
8611132720Skan	Implement the resolution of DR19 (TC).
8612132720Skan	* testsuite/22_locale/codecvt_members_char_char.cc
8613132720Skan	(test01): Tweak.
8614132720Skan
8615132720Skan2003-01-02  Jason Merrill  <jason@redhat.com>
8616132720Skan
8617132720Skan	* config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
8618132720Skan	*__mem is also an output.
8619132720Skan	* config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.
8620