]>
Commit | Line | Data |
---|---|---|
7dfded91 JW |
1 | 2005-02-21 Jonathan Wakely <redi@gcc.gnu.org> |
2 | ||
3 | * include/tr1/memory: New file. | |
4 | * include/Makefile.am, include/Makefile.in: Add new TR1 header. | |
5 | * testsuite/tr1/2_general_utilities/memory/ | |
6 | enable_shared_from_this/not_shared.cc: New test. | |
7 | * testsuite/tr1/2_general_utilities/memory/ | |
8 | enable_shared_from_this/not_shared2.cc: New test. | |
9 | * testsuite/tr1/2_general_utilities/memory/ | |
10 | enable_shared_from_this/not_shared3.cc: New test. | |
11 | * testsuite/tr1/2_general_utilities/memory/ | |
12 | enable_shared_from_this/shared.cc: New test. | |
13 | * testsuite/tr1/2_general_utilities/memory/ | |
14 | enable_shared_from_this/still_shared.cc: New test. | |
15 | * testsuite/tr1/2_general_utilities/memory/ | |
16 | shared_ptr/assign/assign.cc: New test. | |
17 | * testsuite/tr1/2_general_utilities/memory/ | |
18 | shared_ptr/assign/auto_ptr.cc: New test. | |
19 | * testsuite/tr1/2_general_utilities/memory/ | |
20 | shared_ptr/assign/auto_ptr_neg.cc: New test. | |
21 | * testsuite/tr1/2_general_utilities/memory/ | |
22 | shared_ptr/assign/auto_ptr_rvalue_neg.cc: New test. | |
23 | * testsuite/tr1/2_general_utilities/memory/ | |
24 | shared_ptr/assign/shared_ptr.cc: New test. | |
25 | * testsuite/tr1/2_general_utilities/memory/ | |
26 | shared_ptr/assign/shared_ptr_neg.cc: New test. | |
27 | * testsuite/tr1/2_general_utilities/memory/ | |
28 | shared_ptr/comparison/cmp.cc: New test. | |
29 | * testsuite/tr1/2_general_utilities/memory/ | |
30 | shared_ptr/cons/auto_ptr.cc: New test. | |
31 | * testsuite/tr1/2_general_utilities/memory/ | |
32 | shared_ptr/cons/auto_ptr_neg.cc: New test. | |
33 | * testsuite/tr1/2_general_utilities/memory/ | |
34 | shared_ptr/cons/copy.cc: New test. | |
35 | * testsuite/tr1/2_general_utilities/memory/ | |
36 | shared_ptr/cons/default.cc: New test. | |
37 | * testsuite/tr1/2_general_utilities/memory/ | |
38 | shared_ptr/cons/pointer.cc: New test. | |
39 | * testsuite/tr1/2_general_utilities/memory/ | |
40 | shared_ptr/cons/weak_ptr.cc: New test. | |
41 | * testsuite/tr1/2_general_utilities/memory/ | |
42 | shared_ptr/cons/weak_ptr_expired.cc: New test. | |
43 | * testsuite/tr1/2_general_utilities/memory/ | |
44 | shared_ptr/dest/dest.cc: New test. | |
45 | * testsuite/tr1/2_general_utilities/memory/ | |
46 | shared_ptr/misc/io.cc: New test. | |
47 | * testsuite/tr1/2_general_utilities/memory/ | |
48 | shared_ptr/misc/swap.cc: New test. | |
49 | * testsuite/tr1/2_general_utilities/memory/ | |
50 | shared_ptr/modifiers/reset.cc: New test. | |
51 | * testsuite/tr1/2_general_utilities/memory/ | |
52 | shared_ptr/modifiers/reset_neg.cc: New test. | |
53 | * testsuite/tr1/2_general_utilities/memory/ | |
54 | shared_ptr/modifiers/swap.cc: New test. | |
55 | * testsuite/tr1/2_general_utilities/memory/ | |
56 | shared_ptr/modifiers/swap_neg.cc: New test. | |
57 | * testsuite/tr1/2_general_utilities/memory/ | |
58 | shared_ptr/observers/bool_conv.cc: New test. | |
59 | * testsuite/tr1/2_general_utilities/memory/ | |
60 | shared_ptr/observers/get.cc: New test. | |
61 | * testsuite/tr1/2_general_utilities/memory/ | |
62 | shared_ptr/observers/unique.cc: New test. | |
63 | * testsuite/tr1/2_general_utilities/memory/ | |
64 | shared_ptr/observers/use_count.cc: New test. | |
65 | ||
11996a3c PC |
66 | 2005-02-21 Paolo Carlini <pcarlini@suse.de> |
67 | ||
68 | * include/tr1/type_traits (is_member_function_pointer): | |
69 | Remove ugly workaround for c++/19076. | |
70 | ||
52a89626 PC |
71 | 2005-02-21 Paolo Carlini <pcarlini@suse.de> |
72 | ||
73 | * include/bits/basic_string.tcc (_Rep::_M_destroy): Don't | |
74 | check for this == &_S_empty_rep, it's always false, here. | |
75 | ||
6bbd10c7 MA |
76 | 2005-02-19 Matt Austern <austern@gmail.com> |
77 | ||
78 | * include/tr1/functional (tr1_hashtable_define_trivial_hash): Make | |
79 | hash<T>::operator() a const member function for T a fundamental type | |
80 | * include/tr1/hashtable (extract1st::operator()): Declare const. | |
81 | (hash_code_base): Declare all member functions const | |
82 | (hashtable::find): fix call to this->bucket_count() | |
83 | (hashtable::count): Likewise. | |
84 | (hashtable::equal_range): m_incr_bucket applies to iterator, not node. | |
85 | * testsuite/tr1/6_containers/unordered/find/set1.cc: New test. | |
86 | * testsuite/tr1/6_containers/unordered/find/map1.cc: New test. | |
87 | * testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test. | |
88 | * testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test. | |
89 | ||
967f056d HPN |
90 | 2005-02-19 Hans-Peter Nilsson <hp@axis.com> |
91 | ||
92 | PR libstdc++/20071 | |
93 | * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef | |
94 | _GLIBCXX_USE_WCHAR_T. | |
95 | ||
39609077 RH |
96 | 2005-02-18 Richard Henderson <rth@redhat.com> |
97 | ||
98 | PR libstdc++/10606 | |
99 | * config/linker-map.gnu (CXXABI_1.3.1): Add __cxa_get_exception_ptr. | |
100 | * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Increment | |
101 | uncaughtExceptions here instead of ... | |
102 | * libsupc++/eh_throw.cc (__cxa_throw) ... here. | |
103 | (__cxa_rethrow): Increment uncaughtExceptions here instead of ... | |
104 | * libsupc++/eh_catch.cc (__cxa_end_catch): ... here. | |
105 | (__cxa_get_exception_ptr): New. | |
106 | * libsupc++/unwind-cxx.h (__cxa_get_exception_ptr): Declare. | |
107 | ||
52a7e4c6 | 108 | 2005-02-18 Matt Austern <austern@apple.com> |
39609077 | 109 | |
52a7e4c6 MA |
110 | * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: Fix |
111 | test case to use assignment instead of == | |
112 | * testsuite/tr1/6_containers/unordered/insert/map_range.cc: New test. | |
113 | * testsuite/tr1/6_containers/unordered/insert/multimap_range.cc: New test. | |
114 | * testsuite/tr1/6_containers/unordered/insert/multiset_range.cc: New test. | |
115 | * testsuite/tr1/6_containers/unordered/insert/set_range.cc: New test. | |
116 | ||
87bd0274 EB |
117 | 2005-02-18 Eric Botcazou <ebotcazou@libertysurf.fr> |
118 | ||
119 | * testsuite/thread/pthread1.cc: Do not invoke pthread_setconcurrency | |
120 | on Solaris 2.6 and below. | |
121 | * testsuite/thread/pthread2.cc: Likewise. | |
122 | * testsuite/thread/pthread3.cc: Likewise. | |
123 | * testsuite/thread/pthread4.cc: Likewise. | |
124 | * testsuite/thread/pthread5.cc: Likewise. | |
125 | * testsuite/thread/pthread6.cc: Likewise. | |
126 | * testsuite/thread/pthread7-rope.cc: Likewise. | |
127 | ||
180ecd6a MA |
128 | 2005-02-17 Matt Austern <austern@apple.com> |
129 | ||
130 | * include/tr1/functional (hash): New function object. | |
131 | * include/tr1/hashtable: New file. | |
132 | * include/tr1/unordered_set: New file. | |
133 | * include/tr1/unordered_map: New file. | |
134 | * include/Makefile.am: Add three new TR1 headers. | |
135 | * include/Makefile.in: Likewise. | |
136 | * testsuite/tr1/6_containers/unordered/insert/array_syntax.cc: New test. | |
137 | * testsuite/tr1/6_containers/unordered/insert/map_single.cc: New test. | |
138 | * testsuite/tr1/6_containers/unordered/insert/multimap_single.cc: New test. | |
139 | * testsuite/tr1/6_containers/unordered/insert/multiset_single.cc: New test. | |
140 | * testsuite/tr1/6_containers/unordered/insert/set_single.cc: New test. | |
141 | * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: New test. | |
142 | * testsuite/tr1/6_containers/unordered/instantiate/map.cc: New test. | |
143 | * testsuite/tr1/6_containers/unordered/instantiate/multimap.cc: New test. | |
144 | * testsuite/tr1/6_containers/unordered/instantiate/multiset.cc: New test. | |
145 | * testsuite/tr1/6_containers/unordered/instantiate/set.cc: New test. | |
146 | ||
838731b6 PC |
147 | 2005-02-16 Paolo Carlini <pcarlini@suse.de> |
148 | ||
149 | * testsuite/23_containers/set/modifiers/16728.cc: | |
150 | Remove redundant include <testsuite_performance.h>. | |
151 | ||
b949d64b PC |
152 | 2005-02-16 Paolo Carlini <pcarlini@suse.de> |
153 | ||
154 | PR libstdc++/19829 | |
155 | * testsuite/21_strings/basic_string/find/char/3.cc: Fix the test | |
156 | at line #66 to not access str_lit01 beyond its end. | |
157 | * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Likewise. | |
158 | ||
82ce2a94 PC |
159 | 2005-02-15 Paolo Carlini <pcarlini@suse.de> |
160 | Jon Grimm <jgrimm2@us.ibm.com> | |
161 | ||
162 | PR libstdc++/19955 | |
163 | * include/bits/locale_facets.h (ctype<char>::_M_narrow_init()): | |
164 | Fix the logic setting _M_narrow_ok: first check whether the | |
165 | transformation is trivial with a dflt == 0, then deal with the | |
166 | special case of zero. | |
167 | * testsuite/22_locale/ctype/narrow/char/19955.cc: New. | |
168 | ||
169 | * include/bits/locale_facets.h (ctype<char>::_M_widen_init()): | |
170 | Tweak consistently to use memcmp; minor formatting fixes. | |
171 | ||
1552fa74 JJ |
172 | 2005-02-15 Jakub Jelinek <jakub@redhat.com> |
173 | ||
174 | PR libstdc++/19946 | |
175 | * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13 | |
176 | demangler change. | |
177 | * testsuite/demangle/abi_examples/02.cc (main): Likewise. | |
178 | ||
ae63a1cc RG |
179 | 2005-02-13 Richard Guenther <rguenth@gcc.gnu.org> |
180 | Paolo Carlini <pcarlini@suse.de> | |
181 | ||
182 | PR libstdc++/11706 | |
183 | * include/c_std/std_cmath.h (pow): Use __builtin_powi[lf] | |
184 | for integer overloads. | |
185 | ||
186 | * testsuite/26_numerics/cmath/powi.cc: New. | |
187 | ||
75d1ddc1 JJ |
188 | 2005-02-11 Janis Johnson <janis187@us.ibm.com> |
189 | ||
ecddf99e JJ |
190 | * testsuite/26_numerics/complex/13450.cc: Fix XFAIL selector. |
191 | * testsuite/26_numerics/complex/complex_value.cc: Ditto. | |
192 | * testsuite/26_numerics/complex/pow.cc: Ditto. | |
193 | ||
75d1ddc1 JJ |
194 | * testsuite/lib/libstdc++.exp: Load target-supports-dg.exp. |
195 | * testsuite/26_numerics/complex/13450.cc: XFAIL for broken_cplxf_arg. | |
196 | * testsuite/26_numerics/complex/complex_value.cc: Ditto. | |
197 | * testsuite/26_numerics/complex/pow.cc: Ditto. | |
198 | ||
b77647df MS |
199 | 2005-02-09 Mike Stump <mrs@apple.com> |
200 | ||
201 | * libsupc++/del_op.cc: Don't include cstdlib when !_GLIBCXX_HOSTED. | |
202 | ||
1bc83fd3 JJ |
203 | 2005-02-09 Janis Johnson <janis187@us.ibm.com> |
204 | ||
205 | * testsuite/ext/array_allocator/2.cc: XFAIL for powerpc*-*-linux*. | |
206 | ||
f537f2f7 MM |
207 | 2005-02-08 Mark Mitchell <mark@codesourcery.com> |
208 | ||
209 | * config/linker-map.gnu (GLIBCXX_3.4): Add _ZNSdC* and _ZNSdD*. | |
210 | ||
a47add83 LR |
211 | 2005-02-07 Loren J. Rittle <ljrittle@acm.org> |
212 | ||
213 | * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static. | |
214 | * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and | |
215 | src static. | |
216 | ||
8a532804 BS |
217 | 2005-02-02 Brad Spencer <spencer@infointeractive.com> |
218 | ||
219 | * debug.html: Fix broken tags. | |
220 | * documentation.html: Same. | |
221 | ||
c85b032a AJ |
222 | 2005-02-02 Andreas Jaeger <aj@suse.de> |
223 | ||
224 | * testsuite/lib/libstdc++.exp: Revert Geoffrey Keating's patch | |
225 | from 2005-01-28. | |
226 | * testsuite/Makefile.am: Likewise. | |
227 | * testsuite/Makefile.in: Likewise. | |
228 | ||
4d73fac9 PC |
229 | 2005-02-01 Paolo Carlini <pcarlini@suse.de> |
230 | ||
231 | * include/bits/cpp_type_traits.h: Rename _M_type fields to | |
232 | __value, except for __enable_if, _M_type -> __type, consistently | |
233 | with the other traits. | |
234 | * include/bits/stl_algobase.h: Tweak consistently. | |
235 | * include/bits/stl_tree.h: Likewise. | |
236 | * include/bits/valarray_array.h: Likewise. | |
237 | * include/c_std/std_cmath.h: Likewise. | |
238 | * include/debug/safe_iterator.h: Likewise. | |
239 | * include/std/std_complex.h: Likewise. | |
240 | ||
ddf2a54a BS |
241 | 2005-01-31 Brad Spencer <spencer@infointeractive.com> |
242 | ||
243 | * crossconfig.m4: Repair Solaris cross bits for strtold and strtof. | |
244 | * configure: Regenerated. | |
245 | ||
93678513 MM |
246 | 2005-01-31 Mark Mitchell <mark@codesourcery.com> |
247 | ||
248 | * include/std/std_limits.h (numeric_limits<float>::has_denorm): | |
249 | Add required cast. | |
250 | (numeric_limits<double>::has_denorm): Likewise. | |
251 | (numeric_limits<long double>::has_denorm): Likewise. | |
252 | ||
c0736a9d PC |
253 | 2005-01-31 Paolo Carlini <pcarlini@suse.de> |
254 | Gabriel Dos Reis <gdr@integrable-solutions.net> | |
255 | ||
256 | * include/bits/cpp_type_traits.h: Add types to the structs thus | |
257 | making type_traits.h redundant; exploit new __truth_type and | |
258 | __traitor helpers. | |
259 | * include/bits/type_traits.h: Remove. | |
260 | * include/Makefile.am: Update. | |
261 | * include/Makefile.in: Regenerate. | |
262 | * include/backward/tempbuf.h: Include cpp_type_traits.h instead. | |
263 | * include/bits/basic_string.h (replace(iterator, iterator, | |
264 | _InputIterator, _InputIterator), _S_construct(_InIterator, | |
265 | _InIterator, const _Alloc&)): Use __is_integer instead. | |
266 | * include/bits/stl_bvector.h (vector(_InputIterator, | |
267 | _InputIterator, const allocator_type&), assign(_InputIterator, | |
268 | _InputIterator), insert(iterator, _InputIterator, _InputIterator)): | |
269 | Likewise. | |
270 | * include/bits/stl_construct.h (_Destroy(_ForwardIterator, | |
271 | _ForwardIterator)): Use __is_scalar. | |
272 | * include/bits/stl_deque.h (deque(_InputIterator, _InputIterator, | |
273 | const allocator_type&), assign(_InputIterator, _InputIterator), | |
274 | insert(iterator, _InputIterator, _InputIterator)): Use __is_integer. | |
275 | * include/bits/stl_list.h (assign(_InputIterator, _InputIterator), | |
276 | insert(iterator, _InputIterator, _InputIterator)): Likewise. | |
277 | * include/bits/stl_tempbuf.h (_Temporary_buffer(_ForwardIterator, | |
278 | _ForwardIterator)): Use __is_scalar. | |
279 | * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator, | |
280 | _InputIterator, _ForwardIterator), uninitialized_fill(_ForwardIterator, | |
281 | _ForwardIterator, const _Tp&), uninitialized_fill_n(_ForwardIterator, | |
282 | _Size, const _Tp&)): Likewise. | |
283 | * include/bits/stl_vector.h (vector(_InputIterator, _InputIterator, | |
284 | const allocator_type&), assign(_InputIterator, _InputIterator), | |
285 | insert(iterator, _InputIterator, _InputIterator)): Use __is_integer. | |
286 | * include/debug/debug.h (__valid_range(const _InputIterator&, | |
287 | const _InputIterator&)): Use __is_integer. | |
288 | * include/ext/slist (assign(_InputIterator, _InputIterator)): Likewise. | |
289 | * include/std/std_string.h: Include cpp_type_traits.h instead. | |
290 | ||
d2f64e95 PC |
291 | 2005-01-30 Paolo Carlini <pcarlini@suse.de> |
292 | ||
293 | PR libstdc++/19642 | |
294 | * config/locale/generic/c_locale.h (__convert_from_v): Switch only | |
295 | LC_NUMERIC, and only when actually != "C". | |
296 | ||
7536f1ed PC |
297 | 2005-01-28 Paolo Carlini <pcarlini@suse.de> |
298 | ||
299 | * include/tr1/type_traits (is_function): Minor consistency tweaks. | |
300 | ||
7d665006 GK |
301 | 2005-01-28 Geoffrey Keating <geoffk@apple.com> |
302 | ||
303 | * testsuite/lib/libstdc++.exp (libstdc++_init): Search the path | |
304 | for the compiler. Don't set cxxflags. | |
305 | (v3_target_compile): Search for libv3test.a relative to $objdir. | |
306 | (lsearch_all_inline): New. | |
307 | (lsearch_all_inline_not): New. | |
308 | (v3-list-tests): Rewrite to not need generated files. | |
309 | * testsuite/Makefile.am (IGNORE_WCHAR_T): New. | |
310 | (IGNORE_THREAD): New. | |
311 | (TESTS_TO_IGNORE): New. | |
312 | (site.exp): Set tests_to_ignore, cxxflags. | |
313 | * aclocal.m4: Regenerate. | |
314 | * Makefile.in: Regenerate. | |
315 | * libmath/Makefile.in: Likewise. | |
316 | * libsupc++/Makefile.in: Likewise. | |
317 | * po/Makefile.in: Likewise. | |
318 | * src/Makefile.in: Likewise. | |
319 | * testsuite/Makefile.in: Likewise. | |
320 | ||
91e390fe PC |
321 | 2005-01-28 Paolo Carlini <pcarlini@suse.de> |
322 | ||
323 | * include/tr1/type_traits: Implement is_empty. | |
324 | * testsuite/tr1/4_metaprogramming/type_properties/is_empty/ | |
325 | is_empty.cc: New. | |
326 | * testsuite/tr1/4_metaprogramming/type_properties/is_empty/ | |
327 | typedefs.cc: Likewise. | |
328 | ||
329 | * include/tr1/type_traits (__is_abstract_helper): Simplify a bit. | |
330 | ||
f8023b78 PC |
331 | 2005-01-28 Paolo Carlini <pcarlini@suse.de> |
332 | ||
333 | * include/tr1/type_traits: Implement is_abstract, by exploiting the | |
334 | resolution of DR core/337. | |
335 | * testsuite/testsuite_tr1.h: Add AbstractClass. | |
336 | * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/ | |
337 | is_abstract.cc: New. | |
338 | * testsuite/tr1/4_metaprogramming/type_properties/is_abstract/ | |
339 | typedefs.cc: Likewise. | |
340 | ||
341 | * include/tr1/type_traits (is_function): Rewrite, use the conversion | |
342 | F& -> F* instead, thus avoiding problems with abstract classes. | |
343 | * testsuite/tr1/4_metaprogramming/primary_type_categories/ | |
344 | is_function/is_function.cc: Add a test for tricky AbstractClass. | |
345 | ||
b929615a PC |
346 | 2005-01-26 Paolo Carlini <pcarlini@suse.de> |
347 | ||
348 | * include/ext/mt_allocator.h | |
349 | (struct __per_type_pool_policy<,, false>::_S_get_pool, | |
350 | struct __per_type_pool_policy<,, true>::_S_get_pool): Scale | |
351 | _M_chunk_size too with sizeof(_Tp), otherwise the allocator | |
352 | breaks down as soon as sizeof(_Tp) >~ _S_chunk_size / 128; | |
353 | reduce to 64 the multiplier for _M_max_bytes (safer wrt | |
354 | _Binmap_type being a short); trivial reformattings. | |
355 | * testsuite/ext/mt_allocator/check_allocate_big_per_type.cc: New. | |
356 | ||
02a65d23 PC |
357 | 2005-01-26 Paolo Carlini <pcarlini@suse.de> |
358 | ||
359 | * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex | |
360 | to the final test for enable_c99, thus robustifying it; remove | |
361 | duplicate final test on ac_99_math. | |
362 | * configure: Regenerate. | |
363 | ||
364 | * include/std/std_complex.h: Remove usages of the dead | |
365 | _GLIBCXX_BUGGY_COMPLEX macro. | |
366 | ||
367 | * testsuite/26_numerics/cmath/19322.cc: Protect with | |
368 | _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99, | |
369 | since only C99 math facilities are involved. | |
370 | * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc: | |
371 | Likewise. | |
372 | ||
a7f7b334 LR |
373 | 2005-01-25 Loren J. Rittle <ljrittle@acm.org> |
374 | ||
375 | * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin | |
376 | instead of generic. Change autoconf report to "darwin or freebsd". | |
377 | * configure: Regenerate. | |
378 | * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add. | |
379 | (ctype<wchar_t>::do_scan_is): Likewise. | |
380 | (ctype<wchar_t>::do_scan_not): Likewise. | |
381 | ||
52e6723c BK |
382 | 2005-01-25 Benjamin Kosnik <bkoz@redhat.com> |
383 | ||
384 | * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math | |
385 | functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist. | |
386 | * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH. | |
387 | * config.h.in: Regenerate. | |
388 | * configure: Regenerate. | |
389 | * include/std/std_complex.h: Protect complex builtins with | |
390 | _GLIBCXX_USE_C99_COMPLEX_MATH. | |
391 | ||
e930780c PC |
392 | 2005-01-24 Paolo Carlini <pcarlini@suse.de> |
393 | ||
394 | * include/tr1/type_traits: Implement is_signed and is_unsigned. | |
395 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
396 | is_signed/is_signed.cc: New. | |
397 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
398 | is_signed/typedefs.cc: Likewise. | |
399 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
400 | is_unsigned/is_unsigned.cc: Likewise. | |
401 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
402 | is_unsigned/typedefs.cc: Likewise. | |
403 | ||
b142e278 PC |
404 | 2005-01-23 Paolo Carlini <pcarlini@suse.de> |
405 | ||
406 | * docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 34. | |
407 | ||
ba4b172f PC |
408 | 2005-01-23 Paolo Carlini <pcarlini@suse.de> |
409 | ||
410 | * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: New. | |
411 | * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise. | |
412 | * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise. | |
413 | * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise. | |
414 | * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise. | |
415 | * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise. | |
416 | * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise. | |
417 | * testsuite/27_io/basic_ostream/flush/wchar_t/ | |
418 | exceptions_badbit_throw.cc: Likewise. | |
419 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
420 | wchar_t/2.cc: Likewise. | |
421 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
422 | wchar_t/3.cc: Likewise. | |
423 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
424 | wchar_t/4.cc: Likewise. | |
425 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
426 | wchar_t/4402.cc: Likewise. | |
427 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
428 | wchar_t/5.cc: Likewise. | |
429 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
430 | wchar_t/6.cc: Likewise. | |
431 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
432 | wchar_t/9555-oa.cc: Likewise. | |
433 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
434 | wchar_t/exceptions_badbit_throw.cc: Likewise. | |
435 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
436 | wchar_t/exceptions_failbit_throw.cc: Likewise. | |
437 | * testsuite/27_io/basic_ostream/inserters_character/ | |
438 | wchar_t/1.cc: Likewise. | |
439 | * testsuite/27_io/basic_ostream/inserters_character/ | |
440 | wchar_t/2.cc: Likewise. | |
441 | * testsuite/27_io/basic_ostream/inserters_character/ | |
442 | wchar_t/3.cc: Likewise. | |
443 | * testsuite/27_io/basic_ostream/inserters_character/ | |
444 | wchar_t/4.cc: Likewise. | |
445 | * testsuite/27_io/basic_ostream/inserters_character/ | |
446 | wchar_t/5.cc: Likewise. | |
447 | * testsuite/27_io/basic_ostream/inserters_character/ | |
448 | wchar_t/6.cc: Likewise. | |
449 | * testsuite/27_io/basic_ostream/inserters_character/ | |
450 | wchar_t/9555-oc.cc: Likewise. | |
451 | * testsuite/27_io/basic_ostream/inserters_other/ | |
452 | wchar_t/1.cc: Likewise. | |
453 | * testsuite/27_io/basic_ostream/inserters_other/ | |
454 | wchar_t/2.cc: Likewise. | |
455 | * testsuite/27_io/basic_ostream/inserters_other/ | |
456 | wchar_t/3.cc: Likewise. | |
457 | * testsuite/27_io/basic_ostream/inserters_other/ | |
458 | wchar_t/4.cc: Likewise. | |
459 | * testsuite/27_io/basic_ostream/inserters_other/ | |
460 | wchar_t/5.cc: Likewise. | |
461 | * testsuite/27_io/basic_ostream/inserters_other/ | |
462 | wchar_t/9318-out.cc: Likewise. | |
463 | * testsuite/27_io/basic_ostream/inserters_other/ | |
464 | wchar_t/9424-out.cc: Likewise. | |
465 | * testsuite/27_io/basic_ostream/inserters_other/ | |
466 | wchar_t/9555-oo.cc: Likewise. | |
467 | * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ | |
468 | error_failbit.cc: Likewise. | |
469 | * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ | |
470 | exceptions_badbit_throw.cc: Likewise. | |
471 | * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ | |
472 | exceptions_failbit_throw.cc: Likewise. | |
473 | * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ | |
474 | exceptions_null.cc: Likewise. | |
475 | * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise. | |
476 | * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise. | |
477 | * testsuite/27_io/basic_ostream/seekp/char/ | |
478 | exceptions_badbit_throw.cc: Likewise. | |
479 | * testsuite/27_io/basic_ostream/seekp/wchar_t/ | |
480 | 2346-fstream.cc: Likewise. | |
481 | * testsuite/27_io/basic_ostream/seekp/wchar_t/ | |
482 | 2346-sstream.cc: Likewise. | |
483 | * testsuite/27_io/basic_ostream/seekp/wchar_t/ | |
484 | exceptions_badbit_throw.cc: Likewise. | |
485 | * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise. | |
486 | * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise. | |
487 | * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise. | |
488 | * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise. | |
489 | * testsuite/27_io/basic_ostream/tellp/wchar_t/ | |
490 | exceptions_badbit_throw.cc: Likewise. | |
491 | * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise. | |
492 | ||
493 | * testsuite/data/wostream_inserter_char-1.tst: Likewise. | |
494 | * testsuite/data/wostream_inserter_char-1.txt: Likewise. | |
495 | * testsuite/data/wostream_inserter_other-1.tst: Likewise. | |
496 | * testsuite/data/wostream_inserter_other-2.tst: Likewise. | |
497 | * testsuite/data/wostream_seeks-1.tst: Likewise. | |
498 | ||
499 | * testsuite/27_io/basic_ostream/endl/char/1.cc: Minor tweaks. | |
500 | * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise. | |
501 | * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise. | |
502 | * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise. | |
503 | * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise. | |
504 | * testsuite/27_io/basic_ostream/flush/char/ | |
505 | exceptions_badbit_throw.cc: Likewise. | |
506 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
507 | char/2.cc: Likewise. | |
508 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
509 | char/3.cc: Likewise. | |
510 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
511 | char/4.cc: Likewise. | |
512 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
513 | char/4402.cc: Likewise. | |
514 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
515 | char/5.cc: Likewise. | |
516 | * testsuite/27_io/basic_ostream/inserters_arithmetic/ | |
517 | char/6.cc: Likewise. | |
518 | * testsuite/27_io/basic_ostream/inserters_character/ | |
519 | char/4.cc: Likewise. | |
520 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
521 | 2.cc: Likewise. | |
522 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
523 | 5.cc: Likewise. | |
524 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
525 | error_failbit.cc: Likewise. | |
526 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
527 | exceptions_badbit_throw.cc: Likewise. | |
528 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
529 | exceptions_failbit_throw.cc: Likewise. | |
530 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
531 | exceptions_null.cc: Likewise. | |
532 | * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise. | |
533 | * testsuite/27_io/basic_ostream/seekp/char/ | |
534 | exceptions_badbit_throw.cc: Likewise. | |
535 | * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise. | |
536 | * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise. | |
537 | ||
96144e13 PC |
538 | 2005-01-23 Paolo Carlini <pcarlini@suse.de> |
539 | ||
540 | * include/tr1/type_traits (aligned_storage): Use __aligned__ instead | |
541 | of aligned. | |
542 | ||
0554d39a PC |
543 | 2005-01-23 Paolo Carlini <pcarlini@suse.de> |
544 | Andreas Jaeger <aj@suse.de> | |
545 | ||
546 | PR libstdc++/19343 | |
547 | * include/bits/functexcept.h: Mark the helpers as 'noreturn'. | |
548 | ||
7e4d34fd LR |
549 | 2005-01-21 Loren J. Rittle <ljrittle@acm.org> |
550 | ||
551 | * testsuite/27_io/basic_filebuf/open/char/9507.cc: Allow | |
552 | lseek on fifo to succeed. Thus, check for consistent report. | |
553 | ||
a7a44441 VR |
554 | 2005-01-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
555 | ||
556 | PR libstdc++/19510 | |
557 | * include/bits/stl_list.h (_List_iterator): Initialize _M_node | |
558 | in constructor. | |
559 | (_List_const_iterator): Likewise. | |
560 | * include/bits/stl_tree.h (_Rb_tree_iterator): Likewise. | |
561 | (_Rb_tree_const_iterator): Likewise. | |
562 | ||
563 | * testsuite/23_containers/map/operators/1_neg.cc: Adjust line numbers. | |
564 | * testsuite/23_containers/set/operators/1_neg.cc: Likewise. | |
565 | ||
45d5f9af BK |
566 | 2005-01-20 Benjamin Kosnik <bkoz@redhat.com> |
567 | ||
568 | * testsuite/Makefile.am (check-compile): New. | |
569 | * testsuite/Makefile.in: Regenerate. | |
570 | * scripts/check_compile_time: New. | |
571 | * scripts/check_performance: Tweaks. | |
572 | ||
9634af02 PC |
573 | 2005-01-19 Paolo Carlini <pcarlini@suse.de> |
574 | ||
575 | PR libstdc++/19535 | |
576 | * include/tr1/utility (struct __pair_get<1>::__get, __const_get): | |
577 | Fix typo in the return type. | |
578 | * testsuite/tr1/6_containers/utility/19535.cc: New. | |
579 | ||
75aa3f65 LR |
580 | 2005-01-19 Loren J. Rittle <ljrittle@acm.org> |
581 | ||
582 | * include/ext/array_allocator.h (array_allocator<>::allocate): | |
583 | Avoid __used. Use __array_used instead. | |
5116ad96 | 584 | * docs/html/17_intro/BADNAMES: Add list for FreeBSD. |
75aa3f65 | 585 | |
1906b8dc DE |
586 | 2005-01-18 David Edelsohn <edelsohn@gnu.org> |
587 | ||
588 | * config/os/aix/os_defines.h (_XOPEN_SOURCE): Delete. | |
589 | (_XOPEN_SOURCE_EXTENDED): Delete. | |
590 | ||
f474835b BK |
591 | 2005-01-18 Benjamin Kosnik <bkoz@redhat.com> |
592 | ||
593 | * testsuite/testsuite_performance.h (time_counter::start): | |
594 | Clear. Tweaks. | |
595 | (clear_counters): Inline. | |
596 | (start_counters): Inline. | |
597 | (stop_counters): Inline. | |
598 | * testsuite/performance/20_util/allocator/map_thread.cc: Return. | |
599 | * testsuite/performance/20_util/allocator/insert.cc: Remove bogus | |
600 | return, add return. | |
601 | * testsuite/performance/20_util/allocator/map_thread.cc: Same. | |
602 | ||
ac317859 PC |
603 | 2005-01-17 Paolo Carlini <pcarlini@suse.de> |
604 | ||
605 | PR libstdc++/19433 | |
606 | * include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator, | |
607 | const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)): | |
608 | Obtain amortized constant complexity if t is inserted right after | |
609 | p - not before p - as per Table 69. | |
610 | * testsuite/performance/23_containers/set_insert_from_sorted.cc: New. | |
611 | ||
612 | * testsuite/23_containers/multiset/insert/2.cc: New. | |
613 | * testsuite/23_containers/set/insert/1.cc: Likewise. | |
614 | ||
615 | * testsuite/performance/23_containers/set_create_from_sorted.cc: | |
616 | Simplify. | |
617 | ||
618 | * include/bits/stl_tree.h: Add a few missing std:: qualifications. | |
619 | ||
412dc870 JW |
620 | 2005-01-16 Jonathan Wakely <redi@gcc.gnu.org> |
621 | ||
622 | * include/ext/rope: Qualify calls to std::copy() by sequence_buffer. | |
623 | * testsuite/ext/rope/4.cc: Add. | |
624 | ||
3a2794ab LM |
625 | 2005-01-16 Lorenz Minder <lminder@gmx.net> |
626 | Paolo Carlini <pcarlini@suse.de> | |
627 | ||
628 | PR libstdc++/19322 | |
629 | * include/c_std/std_cmath.h: Define the C99 classification facilities | |
630 | directly inside namespace std:. | |
631 | * testsuite/26_numerics/cmath/19322.cc: New. | |
632 | ||
57307e31 DE |
633 | 2005-01-15 David Edelsohn <edelsohn@gnu.org> |
634 | ||
635 | * config/os/aix/os_defines.h (_G_USING_THUNKS): Delete. | |
636 | ||
21c332dc PC |
637 | 2005-01-14 Paolo Carlini <pcarlini@suse.de> |
638 | ||
639 | PR libstdc++/19422 | |
640 | * include/bits/stl_tree.h (_Rb_tree<>::insert_equal(_II, _II), | |
641 | _Rb_tree<>::insert_unique(_II, _II)): Use insert_equal (insert_unique, | |
642 | respectively) with hint (end()). | |
643 | * testsuite/performance/23_containers/set_create_from_sorted.cc: New. | |
644 | ||
ae59b55c GK |
645 | 2005-01-13 Geoffrey Keating <geoffk@apple.com> |
646 | ||
647 | * configure.host (darwin): On darwin8 or later, no need to build | |
648 | libstdc++ with -flat_namespace. | |
649 | ||
516cb88a JW |
650 | 2005-01-13 Jonathan Wakely <redi@gcc.gnu.org> |
651 | ||
652 | * docs/doxygen/user.cfg.in: Set HAVE_DOT back to YES. | |
653 | ||
f5d8395b PC |
654 | 2005-01-13 Paolo Carlini <pcarlini@suse.de> |
655 | ||
656 | * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc: | |
657 | Re-enable commented-out test for double type. | |
658 | ||
78593d78 PC |
659 | 2005-01-11 Paolo Carlini <pcarlini@suse.de> |
660 | Benjamin Kosnik <bkoz@redhat.com> | |
661 | ||
662 | * src/istream.cc (basic_istream<char>::ignore(streamsize), | |
663 | basic_istream<char>::ignore(streamsize, int_type), | |
664 | basic_istream<wchar_t>::ignore(streamsize), | |
665 | basic_istream<wchar_t>::ignore(streamsize, int_type)): In case | |
666 | more than numeric_limits<streamsize>::max() chars are skipped, | |
667 | set _M_gcount = max(). | |
668 | * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, | |
669 | int_type)): Likewise; keep simple, don't forward. | |
670 | ||
a141a5af PC |
671 | 2005-01-11 Paolo Carlini <pcarlini@suse.de> |
672 | ||
673 | * src/istream.cc (basic_istream<char>::ignore(streamsize), | |
674 | basic_istream<char>::ignore(streamsize, int_type), | |
675 | basic_istream<wchar_t>::ignore(streamsize), | |
676 | basic_istream<wchar_t>::ignore(streamsize, int_type)): Revert | |
677 | 2005-01-05 change: actually, the previous behavior is conforming | |
678 | and consistent with that of get(char_type*, streamsize, char_type), | |
679 | albeit slightly different from that of 3.3/3.4 in a corner case | |
680 | due to the use of snextc. | |
681 | * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, | |
682 | int_type)): Likewise. | |
683 | * testsuite/27_io/basic_istream/ignore/char/4.cc: Remove. | |
684 | * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise. | |
685 | ||
464b277b PC |
686 | 2005-01-11 Paolo Carlini <pcarlini@suse.de> |
687 | ||
688 | * include/tr1/type_traits: Implement alignment_of and aligned_storage. | |
689 | * testsuite/tr1/4_metaprogramming/other_transformations/ | |
690 | aligned_storage/aligned_storage.cc: New. | |
691 | * testsuite/tr1/4_metaprogramming/other_transformations/ | |
692 | aligned_storage/typedefs.cc: Likewise. | |
693 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
694 | alignment_of/alignment_of.cc: Likewise. | |
695 | * testsuite/tr1/4_metaprogramming/type_properties/ | |
696 | alignment_of/typedefs.cc: Likewise. | |
697 | ||
3e636396 PC |
698 | 2005-01-10 Paolo Carlini <pcarlini@suse.de> |
699 | ||
700 | * Makefile.in: Regenerate. | |
701 | * libmath/Makefile.in: Likewise. | |
702 | * libsupc++/Makefile.in: Likewise. | |
703 | * po/Makefile.in: Likewise. | |
704 | * src/Makefile.in: Likewise. | |
705 | * testsuite/Makefile.in: Likewise. | |
706 | ||
707 | 2005-01-10 Paolo Carlini <pcarlini@suse.de> | |
708 | ||
709 | * include/bits/stl_algobase.h (lexicographical_compare): | |
710 | Fix concept check. | |
711 | ||
825bd0e1 BK |
712 | 2005-01-07 Benjamin Kosnik <bkoz@redhat.com> |
713 | ||
714 | * acinclude.m4: Remove CCODECVT_H. | |
715 | * configure: Regenerate. | |
716 | * include/Makefile.am (host_headers_extra): Move to... | |
717 | (ext_headers): ...here. | |
718 | * include/Makefile.in: Regenerate. | |
719 | * include/ext/enc_filebuf: Remove enc_filebuf, consolidate | |
720 | enc_traits to... | |
721 | * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move... | |
722 | * include/ext/codecvt_specializations.h: ...here. Remove | |
723 | _GLIBCXX_USE___ENC_TRAITS. | |
724 | (__enc_traits): To __encoding_state, put in __gnu_cxx namespace. | |
725 | (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx | |
726 | namespace. | |
727 | * config/locale/generic/codecvt_specializations.h: Remove. | |
728 | * include/bits/codecvt.h: Remove codecvt_specializations.h include. | |
729 | * src/codecvt.cc: Remove __enc_traits::_S_max_size. | |
730 | ||
a8e3a00f BK |
731 | 2005-01-06 Benjamin Kosnik <bkoz@redhat.com> |
732 | ||
733 | * include/bits/fstream.tcc: Remove unnecessary qualifications for | |
734 | uglified data members of basic_filebuf, including _M_buf, | |
735 | _M_buf_size, _M_mode, _M_pback_init. | |
736 | * include/std/std_fstream.h: Same. | |
737 | ||
56ffd9b3 BK |
738 | 2005-01-05 Benjamin Kosnik <bkoz@redhat.com> |
739 | ||
740 | * testsuite/testsuite_hooks.h: | |
741 | (copy_constructor::mark_call): Use __throw_runtime_error. | |
742 | (assignment_operator::mark_call): Same. | |
743 | * testsuite/testsuite_hooks.cc (verify_demangle): Same. | |
744 | (locale_data): Remove, just use runtime_error directly. | |
745 | (environment_variable): Same. | |
746 | (not_found): Same. | |
747 | (run_tests_wrapped_locale): Use __throw_runtime_error. | |
748 | (run_tests_wrapped_env): Same. | |
749 | (semaphore::semaphore): Same. | |
750 | (semaphore::signal): Same. | |
751 | (semaphore::wait): Same. | |
752 | * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error. | |
753 | * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error. | |
754 | (create_symbols): Use __throw_runtime_error. | |
755 | * src/bitmap_allocator.cc: Use __throw_bad_alloc. | |
756 | ||
5cfa4794 MM |
757 | 2005-01-05 Mark Mitchell <mark@codesourcery.com> |
758 | ||
759 | * testsuite/27_io/basic_filebuf/open/char/9507.cc: Remove child | |
760 | process. | |
761 | ||
1e156882 PC |
762 | 2005-01-05 Paolo Carlini <pcarlini@suse.de> |
763 | ||
764 | * src/istream.cc (basic_istream<char>::ignore(streamsize), | |
765 | basic_istream<char>::ignore(streamsize, int_type), | |
766 | basic_istream<wchar_t>::ignore(streamsize), | |
767 | basic_istream<wchar_t>::ignore(streamsize, int_type)): At the end, | |
768 | first check _M_gcount vs __n. | |
769 | * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, | |
770 | int_type)): Likewise. | |
771 | * testsuite/27_io/basic_istream/ignore/char/4.cc: New. | |
772 | * testsuite/27_io/basic_istream/ignore/wchar_t/4.cc: Likewise. | |
773 | ||
8f1032c1 MM |
774 | 2005-01-03 Mark Mitchell <mark@codesourcery.com> |
775 | ||
35a91d76 MM |
776 | * testsuite/testsuite_hooks.cc: Use __throw_exception_again |
777 | instead of just throw. | |
778 | ||
8ca82e09 MM |
779 | * testsuite/testsuite_hooks.cc: Update coypright and follow style |
780 | guidelines. | |
781 | * testsuite/testsuite_hooks.h: Likewise. | |
782 | * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use | |
783 | semaphores, not sleep. | |
784 | * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise. | |
785 | * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise. | |
786 | * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise. | |
787 | * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: | |
788 | Likewise. | |
789 | * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise. | |
790 | * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. | |
791 | * testsuite/27_io/objects/char/7.cc: Likewise. | |
792 | * testsuite/27_io/objects/char/9661-1.cc: Likewise. | |
793 | * testsuite/27_io/objects/wchar_t/7.cc: Likewise. | |
794 | * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise. | |
795 | ||
8f1032c1 MM |
796 | * configure.ac: Check for sys/ipc.h and sys/sem.h. |
797 | * config.h.in: Regenerated. | |
798 | * configure: Likewise. | |
799 | * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally | |
800 | define. | |
801 | (sys/types.h): Include. | |
802 | (sys/ipc.h): Likewise. | |
803 | (sys/sem.h): Likewise. | |
804 | (__gnu_test::semun): New type. | |
805 | (__gnu_test::semaphore::sempaphore): New function. | |
806 | (__gnu_test::semaphore::~semaphore): Likewise. | |
807 | (__gnu_test::semaphore::wait): Likewise. | |
808 | (__gnu_test::semaphore::signal): Likewise. | |
809 | * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class. | |
fd99e134 | 810 | * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use |
8f1032c1 MM |
811 | semaphores, not sleep. |
812 | * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise. | |
813 | * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise. | |
814 | * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise. | |
815 | * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: | |
816 | Likewise. | |
817 | * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise. | |
818 | * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. | |
819 | * testsuite/27_io/objects/char/7.cc: Likewise. | |
820 | * testsuite/27_io/objects/char/9661-1.cc: Likewise. | |
821 | * testsuite/27_io/objects/wchar_t/7.cc: Likewise. | |
fd99e134 | 822 | * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise. |
8f1032c1 | 823 | |
ab4af6a5 PC |
824 | 2005-01-03 Paolo Carlini <pcarlini@suse.de> |
825 | ||
826 | * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, | |
827 | int_type)): Reset _M_gcount to numeric_limits<streamsize>::min(). | |
828 | * src/istream.cc (basic_istream<char>::ignore(streamsize, int_type), | |
829 | basic_istream<wchar_t>::ignore(streamsize, int_type)): Likewise. | |
830 | * src/istream.cc (basic_istream<char>::ignore(streamsize), | |
831 | basic_istream<wchar_t>::ignore(streamsize)): Likewise; fix a typo. | |
832 | ||
bea53dbf PC |
833 | 2005-01-02 Paolo Carlini <pcarlini@suse.de> |
834 | ||
835 | * src/istream.cc (basic_istream<char>::ignore(streamsize), | |
836 | basic_istream<char>::ignore(streamsize, int_type), | |
837 | basic_istream<wchar_t>::ignore(streamsize), | |
838 | basic_istream<wchar_t>::ignore(streamsize, int_type)): Avoid | |
839 | _M_gcount overflows. | |
840 | * include/bits/istream.tcc (ignore(streamsize), ignore(streamsize, | |
841 | int_type)): Likewise; use snextc in the main loop, consistently | |
842 | with the specializations above. | |
843 | ||
ab06dedc CJ |
844 | 2005-01-02 Chris Jefferson <chris@bubblescope.net> |
845 | ||
846 | * include/bits/stl_algobase.h (mismatch): Correct concept check. | |
847 | ||
d13cebde PC |
848 | 2005-01-01 Paolo Carlini <pcarlini@suse.de> |
849 | ||
850 | * testsuite/ext/enc_filebuf/char/13189.cc: Fix, first include | |
851 | testsuite_hooks.h, to know whether including ext/enc_filebuf.h. | |
852 | * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Likewise. | |
853 | ||
d3f128e9 | 854 | 2005-01-01 Paolo Carlini <pcarlini@suse.de> |
bdaa4452 | 855 | |
d3f128e9 PC |
856 | * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Fix, |
857 | null-terminate array1 at the outset. | |
858 | * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc: | |
17fa5560 | 859 | Likewise. |