]>
Commit | Line | Data |
---|---|---|
7fb397a4 JQ |
1 | 2004-02-02 Jerry Quinn <jlquinn@optonline.net> |
2 | ||
3 | * include/bits/gslice.h (gslice): Document. | |
4 | * include/bits/gslice_array.h (gslice_array): Document. | |
5 | * include/bits/indirect_array (indirect_array): Document. | |
6 | * include/bits/mask_array (mask_array): Document. | |
7 | * include/bits/slice_array.h (slice,slice_array): Document. | |
8 | * include/bits/stl_numeric.h (accumulate, inner_product, partial_sum, | |
9 | adjacent_difference): Document | |
10 | * include/std/std_valarray.h (valarray): Document. | |
11 | ||
7f7fb4ef BK |
12 | 2004-02-02 Benjamin Kosnik <bkoz@redhat.com> |
13 | ||
14 | * docs/html/19_diagnostics/howto.html: Move verbose terminate | |
15 | documentation... | |
16 | * docs/html/18_support/howto.html: Here. | |
17 | * docs/html/documentation.html: Add reference here. | |
18 | ||
9924f721 PC |
19 | 2004-02-02 Paolo Carlini <pcarlini@suse.de> |
20 | ||
21 | * config/locale/gnu/c++locale_internal.h: Remove prototypes | |
22 | of no longer used GLIBC thread locale functions. | |
23 | ||
2ba43229 | 24 | 2004-02-02 Eric Christopher <echristo@redhat.com> |
16dd5cfe EC |
25 | Zack Weinberg <zack@codesourcery.com> |
26 | ||
27 | * testsuite/22_locale/collate/compare/wchar_t/2.cc: Remove xfail. Use | |
28 | -finput-charset. | |
29 | * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc: Ditto. | |
30 | * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc: Ditto | |
31 | * testsuite/22_locale/collate/hash/wchar_t/2.cc: Ditto. | |
32 | * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc: Ditto. | |
33 | * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc: Ditto. | |
34 | * testsuite/22_locale/collate/transform/wchar_t/2.cc: Ditto. | |
35 | * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc: Ditto. | |
36 | * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: | |
37 | Ditto. | |
38 | ||
7c920151 PC |
39 | 2004-02-02 Paolo Carlini <pcarlini@suse.de> |
40 | ||
41 | * include/bits/stl_function.h: Additional minor tweaks. | |
42 | * include/bits/stl_multiset.h: Likewise. | |
43 | ||
44 | * include/bits/stl_queue.h: Minor tweaks. | |
45 | ||
dcec0389 PC |
46 | 2004-02-02 Paolo Carlini <pcarlini@suse.de> |
47 | ||
48 | PR libstdc++/13976 (continued) | |
49 | * include/ext/malloc_allocator.h (malloc_allocator::deallocate): | |
50 | Make the second parameter unnamed, to void unused parameter | |
51 | warnings. | |
52 | * include/ext/new_allocator.h (new_allocator::deallocate): Ditto. | |
53 | ||
90f8b692 PC |
54 | 2004-02-02 Paolo Carlini <pcarlini@suse.de> |
55 | ||
56 | PR libstdc++/13976 | |
57 | * include/ext/malloc_allocator.h (malloc_allocator::allocate): | |
58 | Make the second parameter unnamed, to void unused parameter | |
59 | warnings. | |
60 | * include/ext/mt_allocator.h (__mt_alloc::allocate): Ditto. | |
61 | * include/ext/new_allocator.h (new_allocator::allocate): Ditto. | |
62 | ||
737ab798 PC |
63 | 2004-02-01 Paolo Carlini <pcarlini@suse.de> |
64 | ||
65 | * include/bits/stl_algo.h: Additional minor tweaks. | |
66 | * include/bits/stl_map.h: Likewise. | |
67 | * include/bits/stl_multimap.h: Likewise. | |
68 | * include/bits/stl_multiset.h: Likewise. | |
69 | * include/bits/stl_set.h: Likewise. | |
70 | * include/bits/stl_tree.h: Likewise. | |
71 | ||
64ebadac PC |
72 | 2004-02-01 Paolo Carlini <pcarlini@suse.de> |
73 | ||
74 | * include/bits/vector.tcc (vector::_M_insert_aux(iterator)): | |
75 | Remove, unused. | |
76 | ||
afd4cbbb PC |
77 | 2004-02-01 Paolo Carlini <pcarlini@suse.de> |
78 | ||
79 | * include/bits/stl_function.h: Additional minor tweaks. | |
80 | ||
f6592a9e PC |
81 | 2004-02-01 Paolo Carlini <pcarlini@suse.de> |
82 | ||
83 | * include/bits/deque.tcc: Wrap overlong lines, constify | |
84 | a few variables, reformat according to the coding standards. | |
85 | * include/bits/list.tcc: Likewise. | |
86 | * include/bits/stl_deque.h: Likewise. | |
87 | * include/bits/stl_function.h: Likewise. | |
88 | * include/bits/stl_iterator.h: Likewise. | |
89 | * include/bits/stl_iterator_base_funcs.h: Likewise. | |
90 | * include/bits/stl_iterator_base_types.h: Likewise. | |
91 | * include/bits/stl_list.h: Likewise. | |
92 | * include/bits/stl_map.h: Likewise. | |
93 | * include/bits/stl_multimap.h: Likewise. | |
94 | * include/bits/stl_multiset.h: Likewise. | |
95 | * include/bits/stl_relops.h: Likewise. | |
96 | * include/bits/stl_set.h: Likewise. | |
97 | ||
62e67651 PC |
98 | 2004-02-01 Paolo Carlini <pcarlini@suse.de> |
99 | ||
100 | * include/bits/stl_bvector.h: Wrap overlong lines, constify | |
101 | a few variables, reformat according to the coding standards. | |
102 | * include/bits/stl_tree.h: Likewise. | |
103 | ||
8f7ca398 PC |
104 | 2004-01-31 Paolo Carlini <pcarlini@suse.de> |
105 | ||
106 | * include/bits/stl_algo.h: Minor additional reformat, add | |
107 | copyright year. | |
108 | * include/bits/stl_algobase.h: Add copyright year. | |
109 | ||
ffa67767 PC |
110 | 2004-01-31 Paolo Carlini <pcarlini@suse.de> |
111 | ||
112 | * include/bits/stl_algo.h: Wrap overlong lines, constify | |
113 | a few variables, reformat according to the coding standards. | |
114 | * include/bits/stl_algobase.h: Likewise. | |
115 | * include/bits/stl_heap.h: Likewise. | |
116 | ||
8de63ee0 PC |
117 | 2004-01-31 Paolo Carlini <pcarlini@suse.de> |
118 | ||
119 | * include/bits/basic_string.h (_Rep::operator[]): Remove, unused. | |
120 | ||
121 | * include/bits/basic_string.h: Fix two comments. | |
122 | ||
af3fb3d6 PB |
123 | 2004-01-31 Per Bothner <per@bothner.com> |
124 | ||
125 | * include/ext/mt_allocator.h | |
126 | (__mt_alloc::_S_thread_freelist_mutex): Guard with | |
127 | __GTHREAD_MUTEX_INIT. | |
128 | ||
24f33069 PC |
129 | 2004-01-31 Paolo Carlini <pcarlini@suse.de> |
130 | ||
131 | * include/bits/basic_string.tcc (_Rep::_S_create): Minor tweak. | |
132 | ||
7c960b3d PC |
133 | 2004-01-30 Paolo Carlini <pcarlini@suse.de> |
134 | ||
135 | * testsuite/21_strings/basic_string/cons/char/6.cc: New. | |
136 | * testsuite/21_strings/basic_string/cons/wchar_t/6.cc: New. | |
137 | * testsuite/performance/21_strings/string_cons_input_iterator.cc: New. | |
16dd5cfe | 138 | |
7b1d1edf FY |
139 | 2004-01-30 Felix Yen <fwy@alumni.brown.edu> |
140 | ||
141 | * testsuite/performance/20_util/allocator_thread.cc (do_loop): | |
142 | Don't use clear, but instead assign. Use insert. | |
143 | ||
c9732ce7 BK |
144 | 2004-01-30 Benjamin Kosnik <bkoz@redhat.com> |
145 | ||
146 | * src/demangle.cc: Add instantiations. | |
147 | * src/Makefile.am: Remove special rules for demangle.lo, demangle.o. | |
148 | * src/Makefile.in: Regenerate. | |
16dd5cfe | 149 | |
25d24447 DE |
150 | 2004-01-30 David Edelsohn <edelsohn@gnu.org> |
151 | ||
152 | * src/allocator.cc: Protect _S_get_thread_id() and | |
153 | _S_thread_key_destr() with #ifdef __GTHREADS. | |
154 | ||
33e95e9d PC |
155 | 2004-01-30 Paolo Carlini <pcarlini@suse.de> |
156 | ||
157 | Reshuffle performance testsuite. | |
158 | * testsuite/performance/allocator.cc, allocator_map_thread.cc, | |
159 | allocator_thread.cc, complex_norm.cc, container_benchmark.cc, | |
160 | cout_insert_int.cc, filebuf_copy.cc, filebuf_sputc.cc, | |
161 | fstream_seek_write.cc, ifstream_extract_float.cc, | |
162 | ifstream_extract_int.cc, ifstream_getline.cc, is_wchar_t.cc, | |
163 | list_create_fill_sort.cc, map_create_fill.cc, | |
164 | narrow_widen_char.cc, narrow_widen_wchar_t.cc, | |
165 | ofstream_insert_float.cc, ofstream_insert_int.cc, | |
166 | string_append.cc, wchar_t_in.cc, wchar_t_length.cc, | |
167 | wchar_t_out.cc: Split into... | |
168 | * testsuite/performance/20_util/allocator.cc: New. | |
169 | * testsuite/performance/20_util/allocator_map_thread.cc: New. | |
170 | * testsuite/performance/20_util/allocator_thread.cc: New. | |
171 | * testsuite/performance/21_strings/string_append: New. | |
172 | * testsuite/performance/22_locale/is_wchar_t.cc: New. | |
173 | * testsuite/performance/22_locale/narrow_widen_char.cc: New. | |
174 | * testsuite/performance/22_locale/narrow_widen_wchar_t.cc: New. | |
175 | * testsuite/performance/22_locale/wchar_t_in.cc: New. | |
176 | * testsuite/performance/22_locale/wchar_t_length.cc: New. | |
177 | * testsuite/performance/22_locale/wchar_t_out.cc: New. | |
178 | * testsuite/performance/23_containers/container_benchmark.cc: New. | |
179 | * testsuite/performance/23_containers/list_create_fill_sort.cc: New. | |
180 | * testsuite/performance/23_containers/map_create_fill.cc: New. | |
181 | * testsuite/performance/26_numerics/complex_norm.cc: New. | |
182 | * testsuite/performance/27_io/cout_insert_int.cc: New. | |
183 | * testsuite/performance/27_io/filebuf_copy.cc: New. | |
184 | * testsuite/performance/27_io/filebuf_sputc.cc: New. | |
185 | * testsuite/performance/27_io/fstream_seek_write.cc: New. | |
186 | * testsuite/performance/27_io/ifstream_extract_float.cc: New. | |
187 | * testsuite/performance/27_io/ifstream_extract_int.cc: New. | |
188 | * testsuite/performance/27_io/ifstream_getline.cc: New. | |
189 | * testsuite/performance/27_io/ofstream_insert_float.cc: New. | |
190 | * testsuite/performance/27_io/ofstream_insert_int.cc: New. | |
191 | ||
d1615643 PC |
192 | 2004-01-30 Paolo Carlini <pcarlini@suse.de> |
193 | ||
194 | * include/bits/basic_string.tcc (_Rep::_S_create): | |
195 | Never allocate a string bigger than max_size(); always keep | |
196 | __capacity and __size in sync to avoid memory leaks at | |
197 | deallocation time. | |
198 | ||
690495b0 PC |
199 | 2004-01-30 Paolo Carlini <pcarlini@suse.de> |
200 | ||
201 | * include/bits/basic_string.tcc (_S_construct(_InIterator, | |
202 | _InIterator, const _Alloc&, input_iterator_tag)): Simplify | |
203 | the double loop, streamline. | |
204 | ||
205 | * include/bits/basic_string.tcc: Very minor tweaks. | |
206 | ||
f64f4406 LR |
207 | 2004-01-30 Loren J. Rittle <ljrittle@acm.org> |
208 | ||
209 | * scripts/check_performance: Only compile with $THREAD_FLAG | |
210 | when test is marked to require it. Allow multiple | |
211 | compilations/executions of marked tests. | |
212 | * testsuite/testsuite_performance.h (report_performance): | |
213 | Report dynamic thread support status. | |
214 | (report_header): Likewise. | |
215 | * testsuite/performance/allocator.cc: Stabilize iteration | |
216 | count. Support more allocators. Mark each allocator test to | |
217 | run and report independently. | |
218 | * testsuite/performance/allocator_map_thread.cc: Likewise. | |
219 | * testsuite/performance/allocator_thread.cc: Likewise. | |
220 | ||
917a9fd4 SW |
221 | 2004-01-29 Stephen M. Webb <stephen.webb@bregmasoft.com> |
222 | ||
223 | * config/local/generic/c_locale.h: Change ::malloc() to new char[]. | |
224 | * config/local/gnu/c_locale.h: Change ::malloc() to new char[]. | |
225 | * include/bits/stl_tempbuf.h: Convert _Temporary_buffer to use | |
226 | std::get_temporary_buffer() instead of duplicating its code. | |
227 | Update to C++STYLE conventions. | |
228 | * include/std/std_memory.h (get_temporary_buffer): Use ::operator | |
229 | new() instead of std::malloc(). | |
230 | (return_temporary_buffer): Use ::operator delete() instead of | |
231 | std::free(). | |
232 | ||
6efc84f4 BK |
233 | 2004-01-29 Benjamin Kosnik <bkoz@redhat.com> |
234 | ||
235 | * include/bits/allocator.h: Temporary switch to new_allocator as | |
236 | the default to unjam bootstraps. | |
16dd5cfe | 237 | |
ba9d552e BK |
238 | 2004-01-28 Benjamin Kosnik <bkoz@redhat.com> |
239 | ||
240 | * include/Makefile.am (bits_headers): Remove allocator_traits.h. | |
241 | * include/Makefile.in: Regenerate. | |
242 | * include/bits/allocator_traits.h: Remove. | |
243 | * include/bits/allocator.h: Remove allocator_traits.h include, and | |
244 | relevant comments. | |
245 | (allocator): Empty base class, inherit from the underlying allocator. | |
246 | * src/allocator-inst.cc: Move __pool_alloc instantiation to... | |
247 | * src/allocator.cc: ...here. New. For the underlying allocators. | |
248 | Add __mt_alloc, __pool_alloc, new_allocator, malloc_allocator bits. | |
249 | * config/linker-map.gnu: Remove __pool_alloc bits. | |
250 | * src/Makefile.am (sources): Add allocator.cc. | |
251 | * src/Makefile.in: Regenerate. | |
252 | * testsuite/20_util/allocator/1.cc: Split second test into... | |
16dd5cfe | 253 | * testsuite/20_util/allocator/8230.cc: ...this. |
ba9d552e BK |
254 | * include/bits/stl_bvector.h (__gnu_norm): Change bit_vector |
255 | typedef to use std::allocatore. Format. | |
256 | * include/ext/pool_allocator.h: Remove allocator_traits.h include, | |
257 | _Alloc_traits. | |
258 | * include/ext/mt_allocator.h (__gnu_cxx): Qualify | |
259 | __throw_bad_alloc calls. Don't include <memory>. | |
260 | * include/ext/malloc_allocator.h: Remove <memory> include. | |
261 | * include/ext/new_allocator.h (new_allocator): Same. | |
262 | * include/ext/ropeimpl.h (__gnu_cxx): Remove __alloc using | |
263 | declaration. Switch __alloc to _Alloc. | |
264 | * include/ext/hashtable.h: Remove __alloc. | |
265 | * include/backward/alloc.h: Only inject allocator, not | |
266 | implementation details. | |
267 | ||
268 | * include/ext/mt_allocator.h: Replace free with delete. | |
16dd5cfe | 269 | |
ff4cf05b BK |
270 | 2004-01-28 Benjamin Kosnik <bkoz@redhat.com> |
271 | ||
272 | * src/globals_io.cc: Change to __gnu_internal namespace. | |
273 | * src/globals_locale.cc: Same. | |
274 | * src/locale_init.cc: Same. | |
275 | * src/ios_init.cc: Same. | |
16dd5cfe | 276 | |
f15f99a1 SO |
277 | 2004-01-28 Stefan Olsson <stefan@snon.net> |
278 | ||
8de63ee0 | 279 | * include/ext/mt_allocator.h: Replaced all malloc() calls with |
f15f99a1 SO |
280 | operator new(). Added support for the env variable |
281 | GLIBCXX_FORCE_NEW (this required the _S_init call to be the first | |
282 | one in allocate() as well). Fix typos. | |
283 | ||
234e0d31 PC |
284 | 2004-01-28 Paolo Carlini <pcarlini@suse.de> |
285 | ||
286 | * include/bits/basic_string.h (_S_create(size_t, | |
287 | const _Alloc&): Change signature to take two size_type | |
288 | arguments. | |
289 | * include/bits/basic_string.tcc (_S_construct(_InIterator, | |
290 | _InIterator, const _Alloc&, input_iterator_tag)): Update | |
291 | call, tweak a bit. | |
292 | (_S_construct(_InIterator, _InIterator, const _Alloc&, | |
293 | forward_iterator_tag)): Likewise. | |
294 | (_S_construct(size_type, _CharT, const _Alloc&)): Likewise. | |
295 | (_M_mutate(size_type, size_type, size_type)): Don't | |
296 | implement the exponential growth policy, demand it to | |
297 | _S_create, update call and simplify. | |
298 | (_M_clone(const _Alloc&, size_type)): Likewise. | |
299 | (_S_create(size_type, size_type, const _Alloc&)): Implement | |
300 | the growth policy, simplify otherwise. | |
301 | ||
302 | * include/bits/basic_string.h (_Rep::operator[]): Tweak | |
303 | signature to take a size_type, consistently with the other | |
304 | members. | |
16dd5cfe | 305 | |
62b21ea0 BK |
306 | 2004-01-27 Benjamin Kosnik <bkoz@redhat.com> |
307 | ||
308 | * testsuite/27_io/ios_base/storage/11584.cc: Correct new and | |
309 | delete declarations, add include and test variable. | |
310 | ||
0b563420 JQ |
311 | 2003-01-27 Jerry Quinn <jlquinn@optonline.net> |
312 | ||
313 | * include/bits/codecvt.h, include/bits/locale_facets.h, | |
314 | include/bits/postypes.h, include/bits/stl_bvector.h, | |
315 | include/bits/stl_multiset.h, include/bits/stl_set.h, | |
316 | include/bits/stream_iterator.h, include/bits/streambuf_iterator.h, | |
317 | include/std/std_complex.h: Document. | |
318 | ||
2a837cf8 JQ |
319 | 2004-01-27 Jerry Quinn <jlquinn@optonline.net> |
320 | ||
321 | PR libstdc++/11584 | |
322 | * include/bits/ios_base.h (ios_base::_M_grow_words): Add | |
323 | iword/pword selector. | |
324 | (ios_base::iword, ios_base::pword): Use it. | |
325 | * src/ios.cc (ios_base::_M_grow_words): Clear _M_word_zero | |
326 | iword or pword member on alloc failure. | |
327 | * testsuite/27_io/ios_base/storage/11584.cc: New test. | |
328 | ||
6e198ee0 UW |
329 | 2004-01-27 Ulrich Weigand <uweigand@de.ibm.com> |
330 | PJ Darcy <darcypj@us.ibm.com> | |
331 | ||
332 | * configure.host: Add support for *-tpf. | |
333 | * crossconfig.m4: Likewise. | |
334 | * configure: Regenerate. | |
335 | * config/os/tpf: New directory. | |
336 | * config/os/tpf/os_defines.h: New file. | |
337 | * config/os/tpf/ctype_base.h: Likewise. | |
338 | * config/os/tpf/ctype_inline.h: Likewise. | |
339 | * config/os/tpf/ctype_noninline.h: Likewise. | |
340 | ||
51b6facb PC |
341 | 2004-01-27 Paolo Carlini <pcarlini@suse.de> |
342 | ||
343 | PR libstdc++/13884 | |
344 | * include/bits/sstream.tcc: Guard use of extern template. | |
16dd5cfe | 345 | |
a3af79ea PC |
346 | 2004-01-27 Paolo Carlini <pcarlini@suse.de> |
347 | ||
348 | * include/bits/basic_string.tcc | |
349 | (basic_string(const basic_string&, size_type, size_type), | |
350 | basic_string(const basic_string&, size_type, size_type, | |
351 | const _Alloc&)): Avoid unnecessarily constructing iterators. | |
352 | ||
ba9119ec PC |
353 | 2004-01-26 Paolo Carlini <pcarlini@suse.de> |
354 | ||
355 | * config/locale/generic/c_locale.cc: Fix throw messages | |
356 | to use the __N marker. | |
357 | * config/locale/gnu/c_locale.cc: Likewise. | |
358 | * config/locale/ieee_1003.1-2001/codecvt_specializations.h: | |
359 | Likewise. | |
360 | * docs/html/17_intro/C++STYLE: Likewise. | |
361 | * include/bits/basic_ios.tcc: Likewise. | |
362 | * include/bits/fstream.tcc: Likewise. | |
363 | * include/bits/vector.tcc: Likewise. | |
364 | * include/ext/ropeimpl.h: Likewise. | |
365 | * include/std/std_bitset.h: Likewise. | |
366 | * src/ios.cc: Likewise. | |
367 | * src/locale.cc: Likewise. | |
368 | * src/localename.cc: Likewise. | |
369 | ||
0e50667c PC |
370 | 2004-01-26 Paolo Carlini <pcarlini@suse.de> |
371 | ||
372 | * include/bits/basic_string.h (_M_replace_aux): Use the | |
373 | __N marker in throw message. | |
374 | * include/bits/basic_string.tcc (assign(const _CharT*, | |
375 | size_type), insert(size_type, const _CharT*, size_type), | |
376 | replace(size_type, size_type, const _CharT*, size_type), | |
377 | reserve, _Rep::_S_create, resize, _M_replace_dispatch): | |
378 | Likewise. | |
379 | ||
380 | * include/bits/basic_string.h, include/bits/basic_string.tcc: | |
381 | Fold overlong lines, minor formatting changes. | |
382 | ||
4d39d873 PC |
383 | 2004-01-26 Paolo Carlini <pcarlini@suse.de> |
384 | ||
385 | * include/bits/basic_string.h (replace(iterator, iterator, | |
386 | const basic_string&)): Remove _GLIBCXX_DEBUG_PEDASSERT. | |
387 | (replace(iterator, iterator, const _CharT*)): Ditto. | |
388 | (replace(iterator, iterator, const _CharT*, size_type)): | |
389 | Add missing _GLIBCXX_DEBUG_PEDASSERT. | |
390 | ||
2cb612d1 PC |
391 | 2004-01-26 Paolo Carlini <pcarlini@suse.de> |
392 | ||
393 | * include/bits/basic_string.tcc (replace(size_type, | |
394 | size_type, const _CharT*, size_type)): Implement optimized | |
395 | in-place algorithm for non-overlapping ranges. | |
396 | * testsuite/21_strings/basic_string/replace/char/6.cc: New. | |
397 | * testsuite/21_strings/basic_string/replace/wchar_t/6.cc: New. | |
398 | ||
399 | * include/bits/basic_string.tcc (insert(size_type, | |
400 | const _CharT*, size_type)): Tweak slightly. | |
401 | ||
f942e78d AS |
402 | 2004-01-26 Andreas Schwab <schwab@suse.de> |
403 | ||
404 | * config/locale/gnu/monetary_members.cc: Restore locale before | |
405 | rethrowing exception. | |
406 | ||
91eab378 PC |
407 | 2004-01-25 Paolo Carlini <pcarlini@suse.de> |
408 | ||
409 | * include/bits/basic_string.h (_M_replace_aux, _M_replace_safe): | |
410 | Define inline here. | |
411 | * include/bits/basic_string.tcc (_M_replace_aux, _M_replace_safe): | |
412 | Move inline. | |
413 | ||
414 | * include/bits/basic_string.tcc: Very minor tweaks. | |
415 | ||
9c519c93 PC |
416 | 2004-01-25 Paolo Carlini <pcarlini@suse.de> |
417 | ||
418 | * testsuite/performance/string_append.cc: Increase number | |
419 | of iterations. | |
420 | ||
30f315cd PC |
421 | 2004-01-25 Paolo Carlini <pcarlini@suse.de> |
422 | ||
423 | * include/bits/basic_string.h (erase(size_type, size_type), | |
424 | erase(iterator), erase(iterator, iterator)): Call _M_replace_safe | |
425 | instead, thus avoiding redundant check for length_error. | |
426 | ||
427 | * include/bits/basic_string.h: Tweak some comments. | |
428 | ||
bb9909b0 PC |
429 | 2004-01-24 Paolo Carlini <pcarlini@suse.de> |
430 | ||
431 | * include/bits/basic_string.tcc (operator+(const _CharT*, | |
432 | const basic_string&)): No need to go through the append | |
433 | taking two iterators. | |
434 | ||
04cc8aef PC |
435 | 2004-01-24 Paolo Carlini <pcarlini@suse.de> |
436 | ||
437 | * include/bits/basic_string.tcc (rfind(_CharT, size_type)): | |
438 | Revert last change to use std::min: machine language is worse. | |
439 | (find_last_of(const _CharT*, size_type, size_type)): Ditto. | |
440 | (find_last_not_of(const _CharT*, size_type, size_type)): Ditto. | |
441 | (find_last_not_of(_CharT, size_type)): Ditto. | |
442 | ||
443 | * include/bits/basic_string.tcc (insert(size_type, const _CharT*, | |
444 | size_type)): Discard the value returned by _M_check. | |
445 | (replace(size_type, size_type, const _CharT*, size_type)): Ditto. | |
446 | (append(const basic_string&, size_type, size_type)): Ditto. | |
447 | (copy(_CharT*, size_type, size_type)): Ditto. | |
448 | (compare(size_type, size_type, const basic_string&)): Ditto. | |
449 | (compare(size_type, size_type, const basic_string&, | |
450 | size_type, size_type)): Ditto. | |
451 | (compare(size_type, size_type, const _CharT*)): Ditto. | |
452 | (compare(size_type, size_type, const _CharT*, size_type)): Ditto. | |
453 | ||
8865bf80 PC |
454 | 2004-01-24 Paolo Carlini <pcarlini@suse.de> |
455 | ||
456 | * include/bits/basic_string.h (insert(size_type, | |
457 | const basic_string&, size_type, size_type)): Define inline here. | |
458 | * include/bits/basic_string.tcc (insert(size_type, | |
459 | const basic_string&, size_type, size_type)): Move inline. | |
460 | ||
fefe561e PC |
461 | 2004-01-24 Paolo Carlini <pcarlini@suse.de> |
462 | ||
463 | * include/bits/basic_string.h (assign(const basic_string&, | |
464 | size_type, size_type)): Define inline here. | |
465 | (replace(size_type, size_type, const basic_string&, | |
466 | size_type, size_type)): Ditto. | |
467 | (_M_replace_dispatch(iterator, iterator, _InputIterator, | |
468 | _InputIterator, __false_type)): Only declare. | |
469 | (_M_replace(iterator, iterator, _InputIterator, | |
470 | _InputIterator)): Remove. | |
471 | * include/bits/basic_string.tcc (assign(const basic_string&, | |
472 | size_type, size_type)): Move inline. | |
473 | (replace(size_type, size_type, const basic_string&, | |
474 | size_type, size_type)): Ditto. | |
475 | (_M_replace_dispatch(iterator, iterator, _InputIterator, | |
476 | _InputIterator, __false_type)): Define, now does also what | |
477 | _M_replace did before. | |
478 | * src/string-inst.cc (_M_replace): Don't instantiate. | |
479 | ||
480 | * include/bits/basic_string.tcc (find(const _CharT*, | |
481 | size_type, size_type)): Tidy. | |
482 | (rfind(_CharT, size_type)): Ditto. | |
483 | (find_first_not_of(const _CharT*, size_type, size_type)): Ditto. | |
484 | (find_first_not_of(_CharT, size_type)): Ditto. | |
485 | (find_last_not_of(const _CharT*, size_type, size_type)): Ditto. | |
486 | (find_last_not_of(_CharT, size_type)): Ditto. | |
487 | ||
72afd981 PC |
488 | 2004-01-23 Paolo Carlini <pcarlini@suse.de> |
489 | ||
490 | PR libstdc++/13838 | |
491 | * include/debug/bitset (operator|=): Fix typo. | |
492 | * testsuite/23_containers/bitset/operations/13838.cc: New. | |
493 | ||
251804e6 PC |
494 | 2004-01-23 Paolo Carlini <pcarlini@suse.de> |
495 | ||
496 | * include/bits/basic_string.tcc (insert(size_type, | |
497 | const _CharT*, size_type __n)): Fix length_error check. | |
498 | (replace(size_type, size_type, const _CharT*, size_type): | |
499 | Ditto; call _M_replace_safe. | |
500 | (_M_replace_aux(size_type, size_type, size_type, _CharT): | |
501 | Fix length_error check. | |
502 | (_M_replace(iterator, iterator, _InputIterator, | |
503 | _InputIterator)): Ditto, tweak. | |
504 | (_M_replace_safe(size_type, size_type, const _CharT*, | |
505 | size_type)): Remove length_error check. | |
506 | ||
507 | * include/bits/basic_string.tcc (append(const basic_string&), | |
508 | append(const basic_string&, size_type, size_type)): Tweak | |
509 | comment. | |
510 | ||
511 | * include/bits/basic_string.tcc (copy(_CharT*, size_type, | |
512 | size_type)): If __n == 0 don't call traits::copy. | |
513 | ||
3cfb44c2 SO |
514 | 2004-01-23 Stefan Olsson <stefan@snon.net> |
515 | ||
516 | * include/ext/mt_allocator.h: Reduce lock contention. | |
517 | ||
22352844 PC |
518 | 2004-01-23 Paolo Carlini <pcarlini@suse.de> |
519 | ||
520 | PR libstdc++/13831 | |
521 | * include/bits/fstream.tcc (underflow): Remove unused | |
522 | variable. | |
523 | * include/bits/streambuf_iterator.h (equal): Ditto. | |
524 | * include/bits/locale_facets.h (_M_convert_from_char): | |
525 | Ditto. | |
526 | ||
129057c1 KG |
527 | 2004-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
528 | ||
529 | PR c/13814 | |
530 | * config/linker-map.gnu (nan): Delete. | |
531 | * libmath/mathconf.h (NAN, nan): Delete. | |
532 | * linkage.m4 (nan): Don't check for it. | |
533 | * libmath/nan.c: Delete file. | |
534 | ||
535 | * config.h.in, configure: Regenerate. | |
536 | ||
0e707673 PC |
537 | 2004-01-23 Paolo Carlini <pcarlini@suse.de> |
538 | ||
539 | * include/bits/basic_string.h (push_back(_CharT)): | |
540 | Call _M_replace_aux. | |
541 | (insert(size_type, const basic_string&)): Trivial tweak. | |
542 | (insert(size_type, size_type, _CharT)): Call _M_replace_aux. | |
543 | (insert(iterator, _CharT)): Ditto. | |
544 | (erase(size_type, size_type)): Ditto. | |
545 | (erase(iterator)): Ditto. | |
546 | (erase(iterator, iterator)): Ditto. | |
547 | (replace(size_type, size_type, size_type, _CharT)): Ditto. | |
548 | ||
402b0954 LR |
549 | 2004-01-23 Loren J. Rittle <ljrittle@acm.org> |
550 | ||
551 | libstdc++/13823 | |
552 | * testsuite/performance/allocator_map_thread.cc: New test. | |
553 | ||
ba46e66a PC |
554 | 2004-01-22 Paolo Carlini <pcarlini@suse.de> |
555 | ||
556 | * include/bits/locale_facets.tcc | |
557 | (money_put::do_put(..., long double)): Use the basic_string | |
558 | constructor for char arrays, not that for C-strings, to pass | |
559 | __digits to do_put(..., const string_type&): __ws isn't | |
560 | null-terminated. | |
561 | ||
7bb9b33b PC |
562 | 2004-01-22 Paolo Carlini <pcarlini@suse.de> |
563 | ||
564 | * include/bits/basic_string.h (_M_replace_safe): Change | |
565 | signatures to take size_types and const _CharT*. | |
566 | (_M_replace_aux): Likewise, takes size_types instead of | |
567 | iterators. | |
568 | (append(size_type, _CharT)): Update call. | |
569 | (assign(size_type, _CharT)): Ditto. | |
570 | (replace(iterator, iterator, size_type, _CharT)): Ditto. | |
571 | (_M_replace_dispatch(iterator, iterator, _Integer, | |
572 | _Integer, __true_type)): Ditto. | |
573 | * include/bits/basic_string.tcc (assign(const _CharT*, | |
574 | size_type)): Ditto. | |
575 | (insert(size_type, const _CharT*, size_type)): Ditto. | |
576 | (replace(size_type, size_type, const _CharT*, | |
577 | size_type)): Ditto. | |
578 | (_M_replace(iterator, iterator, _InputIterator, | |
579 | _InputIterator)): Ditto. | |
580 | (append(const basic_string&)): Ditto. | |
581 | (append(const basic_string&, size_type, size_type): Ditto. | |
582 | (append(const _CharT*, size_type): Ditto. | |
583 | (_M_replace_safe, _M_replace_safe): Change definitions | |
584 | accordingly, simplify. | |
585 | * string-inst.cc (_M_replace_safe): Don't instantiate. | |
586 | ||
3e7782b2 PC |
587 | 2004-01-21 Paolo Carlini <pcarlini@suse.de> |
588 | ||
589 | * include/bits/basic_string.tcc (append(const basic_string&)): | |
590 | Revert previous change. | |
591 | (append(const basic_string&, size_type, size_type)): Revert | |
592 | previous change, use _M_check and _M_limit. | |
593 | ||
e03a6fb7 PC |
594 | 2004-01-21 Paolo Carlini <pcarlini@suse.de> |
595 | ||
596 | * include/bits/basic_string.h (_M_check): Change to return | |
597 | a checked __pos and take an additional const char* argument. | |
598 | (_M_fold): Rename to _M_limit, change to return a size_type, | |
599 | corresponding to the __off limited to the actual length. | |
600 | (insert(size_type, size_type, _CharT)): Update call, call | |
601 | replace. | |
602 | (insert(iterator, _CharT)): Call replace(iterator, iterator, | |
603 | size_type, _CharT) instead. | |
604 | (erase(size_type, size_type)): Update calls. | |
605 | (replace(size_type, size_type, size_type, _CharT)): Ditto. | |
606 | (substr(size_type, size_type)): Use _M_check. | |
607 | * include/bits/basic_string.tcc (basic_string(const basic_string&, | |
608 | size_type, size_type)): Update calls. | |
609 | (basic_string(const basic_string&, size_type, size_type, | |
610 | const _Alloc&)): Ditto. | |
611 | (assign(const basic_string&, size_type, size_type)): Use the | |
612 | new _M_check and _M_limit. | |
613 | (insert(size_type, const basic_string&, size_type, size_type): | |
614 | Ditto. | |
615 | (insert(size_type, const _CharT*, size_type)): Ditto. | |
616 | (replace(size_type, size_type, const _CharT*, size_type): Ditto. | |
617 | (replace(size_type, size_type, const basic_string&, | |
618 | size_type, size_type)): Ditto. | |
619 | (append(const basic_string&)): Ditto. | |
620 | (append(const basic_string&, size_type, size_type)): Ditto. | |
621 | (copy(_CharT*, size_type, size_type)): Ditto. | |
622 | (compare(size_type, size_type, const basic_string&)): Ditto. | |
623 | (compare(size_type, size_type, const basic_string&,size_type, | |
624 | size_type)): Ditto. | |
625 | (compare(size_type, size_type, const _CharT*)): Ditto. | |
626 | (compare(size_type, size_type, const _CharT*, size_type)): Ditto. | |
627 | ||
cec73eb5 SO |
628 | 2004-01-19 Stefan Olsson <stefan@snon.net> |
629 | ||
630 | * include/ext/mt_allocator.h: If a thread, when it dies, still has | |
631 | memory on it's freelist this memory is not returned to global | |
632 | list. Simplification of deallocate so that memory is always | |
633 | returned to the calling thread id's freelist instead of to | |
634 | global. Fix typos. Add volatile where appropriate. | |
635 | ||
87d11ccc LR |
636 | 2004-01-19 Loren J. Rittle <ljrittle@acm.org> |
637 | ||
638 | * testsuite/ext/stdio_filebuf/char/10063-2.cc: Treat unbuffered. | |
639 | * testsuite/ext/stdio_filebuf/char/10063-3.cc: New test. Like -2 but | |
640 | use __gnu_cxx::stdio_sync_filebuf<char> instead; allow buffered stream. | |
641 | ||
f18be892 PC |
642 | 2004-01-19 Paolo Carlini <pcarlini@suse.de> |
643 | ||
644 | * src/debug.cc: Make sure all the names are prefixed with | |
645 | double (or single) underscore. | |
646 | ||
33d4e9b2 PC |
647 | 2004-01-19 Paolo Carlini <pcarlini@suse.de> |
648 | ||
649 | * src/debug.cc: Trivial formatting change. | |
650 | ||
954b12d2 PC |
651 | 2004-01-19 Paolo Carlini <pcarlini@suse.de> |
652 | ||
653 | * include/bits/basic_string.tcc (_S_construct(size_type, | |
654 | _CharT, const _Alloc&)): Remove redundant try/catch. | |
655 | (_M_mutate(size_type, size_type, size_type)): Ditto. | |
656 | (_M_clone(const _Alloc&, size_type)): Ditto. | |
16dd5cfe | 657 | |
acbab5bf PC |
658 | 2004-01-18 Paolo Carlini <pcarlini@suse.de> |
659 | ||
660 | * include/bits/basic_string.h (c_str()): Simplify, due to | |
661 | 21.3.4 the internal representation is always kept null-terminated. | |
662 | * include/bits/basic_string.tcc (_M_clone): Null-terminate. | |
663 | * testsuite/21_strings/basic_string/element_access/char/4.cc: New. | |
664 | * testsuite/21_strings/basic_string/element_access/wchar_t/4.cc: | |
665 | Ditto. | |
666 | ||
9c96a689 PC |
667 | 2004-01-18 Paolo Carlini <pcarlini@suse.de> |
668 | ||
669 | * include/bits/basic_string.h (append(size_type, _CharT)): | |
670 | Moved inline, just call _M_replace_aux, no source iterators at | |
671 | risk of being clobbered. | |
672 | (assign(size_type, _CharT)): Call directly _M_replace_aux. | |
673 | (_M_replace(iterator, iterator, _InputIterator, _InputIterator, | |
674 | input_iterator_tag)): Remove fifth unused argument. | |
675 | (_M_replace_dispatch(iterator, iterator, _InputIterator, | |
676 | _InputIterator, __false_type)): Update call. | |
677 | * include/bits/basic_string.tcc (replace(size_type, size_type, | |
678 | const _CharT*, size_type)): Update call. | |
679 | (_M_replace_aux(iterator, iterator, size_type, _CharT)): Tweak | |
680 | throw string literal. | |
681 | (_M_replace_safe(iterator, iterator, _ForwardIterator, | |
682 | _ForwardIterator)): Likewise. | |
683 | (_M_replace(iterator, iterator, _InputIterator, _InputIterator, | |
684 | input_iterator_tag)): Remove fifth unused argument. | |
685 | (append(size_type __n, _CharT __c)): Move inline. | |
686 | * src/string-inst.cc (S::_M_replace(S::iterator, S::iterator, | |
687 | const C*, const C*, input_iterator_tag)): Remove fifth unused | |
688 | argument. | |
689 | ||
d517f626 BK |
690 | 2004-01-16 Benjamin Kosnik <bkoz@redhat.com> |
691 | ||
692 | * testsuite/ext/enc_filebuf/char/13189.cc: Fix guards. | |
16dd5cfe | 693 | * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same. |
d517f626 | 694 | |
701b701b DS |
695 | 2004-01-16 Danny Smith <dannysmith@users.sourceforge.net> |
696 | ||
697 | * testsuite/testsuite_hooks.cc (try_mkfifo): Avoid calling | |
698 | mkfifo for mingw32. | |
699 | ||
2913770f SO |
700 | 2004-01-15 Stefan Olsson <stefan@snon.net> |
701 | ||
702 | * include/ext/mt_allocator.h: Reuse thread id's as soon as | |
703 | possible by changing the behaviour of thread_freelist to do | |
704 | push_front when threads die instead of push_back. | |
705 | ||
47f62b27 PC |
706 | 2004-01-14 Paolo Carlini <pcarlini@suse.de> |
707 | ||
708 | * include/bits/locale_facets.h (struct __numpunct_cache): | |
709 | Add member _M_grouping_size, caching the length of _M_grouping. | |
710 | (__numpunct_cache<>::_M_cache): Assign the latter. | |
711 | (__verify_grouping): Move declaration... | |
712 | * include/bits/locale_facets.tcc (__verify_grouping): | |
713 | ... here, change signature to take a const char* and a size_t | |
714 | for the grouping; not a template anymore. | |
715 | (__add_grouping, num_put::_M_group_int, num_put::_M_group_float): | |
16dd5cfe | 716 | Likewise change signature and tweak consistently. |
47f62b27 PC |
717 | (num_get::_M_extract_float, num_get::_M_extract_int, |
718 | num_put::_M_insert_int, num_put::_M_insert_float, | |
719 | money_get::do_get(string_type&), money_get::do_put(string_type)): | |
16dd5cfe | 720 | Update callers. |
47f62b27 | 721 | * config/locale/generic/numeric_members.cc |
16dd5cfe | 722 | (numpunct<>::_M_initialize_numpunct): Assign the new member. |
47f62b27 | 723 | * config/locale/gnu/numeric_members.cc |
16dd5cfe | 724 | (numpunct<>::_M_initialize_numpunct): Likewise. |
47f62b27 PC |
725 | * src/locale-inst.cc (__add_grouping): Tweak signature. |
726 | (__verify_grouping): Don't instantiate, not a template anymore. | |
727 | ||
728 | * include/bits/locale_facets.h: Rename _M_truename_len -> | |
729 | _M_truename_size, _M_falsename_len -> _M_falsename_size. | |
730 | * include/bits/locale_facets.tcc: Likewise. | |
731 | * config/locale/generic/numeric_members.cc: Likewise. | |
732 | * config/locale/gnu/numeric_members.cc: Likewise. | |
733 | ||
41f24725 SO |
734 | 2004-01-14 Stefan Olsson <stefan@snon.net> |
735 | ||
736 | * include/ext/mt_allocator.h: Fixups. | |
737 | * testsuite/performance/allocator.cc: Enable __mt_alloc tests. | |
738 | * testsuite/performance/allocator_thread.cc: Same. | |
16dd5cfe | 739 | |
070ce57b BK |
740 | 2004-01-13 Benjamin Kosnik <bkoz@redhat.com> |
741 | ||
742 | * testsuite/performance/ifstream_extract_float.cc: Add higher | |
743 | precision tests. | |
744 | * testsuite/performance/ofstream_insert_float.cc: Same. | |
16dd5cfe | 745 | |
c9513590 PC |
746 | 2004-01-13 Paolo Carlini <pcarlini@suse.de> |
747 | ||
748 | * src/locale-misc-inst.cc (__convert_from_v(long), | |
749 | __convert_from_v(unsigned long), __convert_from_v(long long), | |
750 | __convert_from_v(unsigned long long)): Remove, unused. | |
751 | ||
60af005f BK |
752 | 2004-01-13 Benjamin Kosnik <bkoz@redhat.com> |
753 | ||
754 | * testsuite/performance/ifstream_extract_float.cc: New. | |
755 | * testsuite/performance/ofstream_insert_float.cc: Float generation | |
756 | matches above. | |
757 | ||
758 | * 20_util/auto_ptr.cc, auto_ptr_neg.cc: Break into... | |
759 | * 20_util/auto_ptr/1.cc: ...this. | |
760 | * 20_util/auto_ptr/2.cc: Same. | |
761 | * 20_util/auto_ptr/3.cc: Same. | |
762 | * 20_util/auto_ptr/3946.cc: Same. | |
763 | * 20_util/auto_ptr/4.cc: Same. | |
764 | * 20_util/auto_ptr/5.cc: Same. | |
765 | * 20_util/auto_ptr/6.cc: Same. | |
766 | * 20_util/auto_ptr/7.cc: Same. | |
767 | * 20_util/auto_ptr/assign_neg.cc | |
768 | * 20_util/pairs.cc: Break into... | |
769 | * 20_util/pair/1.cc: ...this. | |
770 | * 20_util/pair/2.cc: Same. | |
771 | * 20_util/pair/3.cc: Same. | |
772 | * 20_util/pair/4.cc: Same. | |
773 | ||
d8ef7dec PC |
774 | 2004-01-13 Paolo Carlini <pcarlini@suse.de> |
775 | ||
776 | * include/bits/locale_facets.tcc (num_get::do_get(void*&)): | |
777 | Set correctly just basefield, the only group that matters. | |
778 | ||
5640461d PC |
779 | 2004-01-13 Paolo Carlini <pcarlini@suse.de> |
780 | ||
781 | * include/ext/rope (_Rope_rep_alloc_base): Eliminate. | |
782 | (_Rope_rep_base): Inherit directly from the rope allocator; | |
783 | use rebinding instead of _Alloc_traits; pick up data member | |
784 | from _Rope_rep_alloc_base. | |
785 | (_Rope_alloc_base): Eliminate. | |
786 | (_Rope_base): Inherit directly from the rope allocator; use | |
787 | rebinding instead of _Alloc_traits; pick up data member from | |
788 | _Rope_alloc_base. | |
789 | (rope::_S_new_RopeLeaf, rope::_S_new_RopeConcatenation, | |
790 | rope::_S_new_RopeFunction, rope::_S_new_RopeSubstring): Tweak. | |
791 | ||
95c9624f PC |
792 | 2004-01-13 Paolo Carlini <pcarlini@suse.de> |
793 | ||
794 | PR libstdc++/13650 | |
795 | * include/bits/basic_string.tcc (compare(size_type, size_type, | |
796 | const _CharT*, size_type)): Implement correctly the resolution | |
797 | of DR 5: basically, s is a char array, -not- a C string. | |
798 | * include/bits/basic_string.h: Tweak some comments. | |
799 | * testsuite/21_strings/basic_string/compare/char/13650.cc: New. | |
800 | * testsuite/21_strings/basic_string/compare/wchar_t/13650.cc: New. | |
801 | ||
c91de77a AT |
802 | 2004-01-12 Andreas Tobler <a.tobler@schweiz.ch> |
803 | ||
804 | * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_32 for | |
805 | Solaris. | |
806 | ||
300b3317 PC |
807 | 2004-01-12 Paolo Carlini <pcarlini@suse.de> |
808 | ||
809 | * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: | |
810 | Use try_mkfifo. | |
811 | * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: | |
812 | Likewise. | |
813 | ||
dc6798f8 PC |
814 | 2004-01-12 Paolo Carlini <pcarlini@suse.de> |
815 | ||
816 | * include/bits/locale_facets.h (struct __numpunct_cache): | |
817 | Add members _M_truename_len and _M_falsename_len, caching | |
818 | the lengths of _M_truename and _M_falsename. | |
819 | (__numpunct_cache<>::_M_cache): Assign the latter. | |
820 | * include/bits/locale_facets.tcc (num_get::do_get(bool&), | |
821 | num_put::do_put(bool)): Use the new members, thus avoiding | |
822 | computing string lengths again and again. | |
823 | * config/locale/generic/numeric_members.cc | |
824 | (numpunct<>::_M_initialize_numpunct): Assign the new members. | |
825 | * config/locale/gnu/numeric_members.cc | |
826 | (numpunct<>::_M_initialize_numpunct): Likewise. | |
827 | ||
ea1ea21a MM |
828 | 2004-01-12 Mark Mitchell <mark@codesourcery.com> |
829 | ||
830 | * testsuite/testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it. | |
831 | * testsuite/testsuite_hooks.cc (__gnu_test::try_mkfifo): Define | |
832 | it. | |
833 | * testsuite/27_io/basic_filebuf/close/char/4879.cc: Use try_mkfifo | |
834 | and remove Cygwin XFAIL. | |
835 | * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise. | |
836 | * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise. | |
837 | * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise. | |
838 | * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: | |
839 | Likewise. | |
840 | * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. | |
841 | * testsuite/27_io/objects/char/7.cc: Likewise. | |
842 | * testsuite/27_io/objects/char/9661-1.cc: Likewise. | |
843 | * testsuite/27_io/objects/wchar_t/7.cc: Likewise. | |
844 | * testsuite/27_io/objects/wchar_t/9661-1.cc: Likewise. | |
845 | ||
3b3bfc0e GDR |
846 | 2004-01-11 Gabriel Dos Reis <gdr@integrable-solutions.net> |
847 | ||
848 | * include/std/std_complex.h (std::complex<>::real): Return a | |
849 | reference. Add non-const overload. | |
850 | (std::complex<>::real): Likewise. | |
851 | (std::real): Likewise. | |
852 | (std::imag): Likewise. | |
853 | (std::operator+): Tidy. | |
854 | (std::operator-): Likewise. | |
855 | (std::operator*): Likewise. | |
856 | (std::operator/): Likewise. | |
857 | (std::operator>>): Likewise. | |
858 | ||
09625c16 PC |
859 | 2004-01-11 Paolo Carlini <pcarlini@suse.de> |
860 | ||
861 | PR libstdc++/13582 | |
862 | * include/bits/fstream.tcc (imbue): Exploit the external | |
863 | buffer to imbue 'on the fly' a new locale and convert its | |
864 | remainder with the new codecvt facet. | |
865 | (underflow): Tweak slightly to deal with this special case. | |
866 | * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: New. | |
867 | * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Ditto. | |
868 | * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Ditto. | |
869 | * testsuite/27_io/objects/wchar_t/13582-1_xin.cc: Ditto. | |
870 | * testsuite/27_io/objects/wchar_t/13582-1_xin.in: Ditto. | |
16dd5cfe | 871 | |
a8d65349 PC |
872 | 2004-01-10 Paolo Carlini <pcarlini@suse.de> |
873 | ||
874 | * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html: | |
875 | Import Revision 28. | |
876 | ||
b656faa8 PC |
877 | 2004-01-10 Paolo Carlini <pcarlini@suse.de> |
878 | ||
879 | PR libstdc++/13630 | |
880 | * include/bits/locale_classes.h (class locale): Fix category | |
881 | typedef. | |
882 | * testsuite/22_locale/locale/13630.cc: Add. | |
883 | ||
f88e4715 GB |
884 | 2004-01-10 Giovanni Bajo <giovannibajo@gcc.gnu.org> |
885 | ||
886 | * include/bits/locale_facets.h: Make a name really dependent. This | |
887 | will be needed when Core Issue 224 is implemented. | |
888 | ||
64cb2c4a PC |
889 | 2004-01-09 Paolo Carlini <pcarlini@suse.de> |
890 | ||
891 | * testsuite/performance/allocator.cc: Demangle typeid(obj).name(). | |
892 | * testsuite/performance/allocator_thread.cc: Likewise. | |
893 | ||
158960ba BK |
894 | 2004-01-07 Benjamin Kosnik <bkoz@redhat.com> |
895 | ||
896 | * crossconfig.m4: Add LFS, io bits to linux cross config. | |
897 | * acconfig.h: Remove obsolete bits, reorder. | |
898 | * config.h.in: Regenerate. | |
899 | * aclocal.m4: Same. | |
900 | * configure: Same. | |
16dd5cfe | 901 | |
e135a038 BK |
902 | 2004-01-07 Gawain Bolton <gp.bolton@computer.org> |
903 | ||
904 | * include/bits/stl_list.h: | |
905 | * include/bits/list.tc: | |
906 | * src/list.cc: | |
907 | Performance enhancements for destructor, push_front(), | |
908 | push_back(), pop_front(), pop_back(), sort() | |
909 | Eliminated static_casts where possible. | |
910 | Moved code out of header files into new src/list.cc | |
911 | implementation file for library where possible. | |
912 | Remove inheritance from iterator class and create separate | |
913 | classes for non-constant and constant iterators. | |
914 | * include/bits/stl_tree.h (_Rb_tree class): | |
16dd5cfe | 915 | * src/tree.cc: |
e135a038 BK |
916 | Only erase contents in destructor. |
917 | Eliminate unnecessary initialization in assignment operator. | |
918 | Optimize for the nominal case by not checking whether | |
919 | container is empty in clear(). | |
920 | Re-order test in _M_insert() to improve performance. | |
921 | Move initialization of new node's left & right pointers to | |
922 | src/tree.cc to where new node's colour is initialized | |
923 | and to reduce the amount of inline code. | |
924 | Use _M_leftmost() and _M_end() to improve readability where | |
925 | appropriate. | |
926 | Create separate classes for non-constant and constant | |
16dd5cfe EC |
927 | iterators to clarify code, avoid extra template parameters and |
928 | casting away constness. | |
929 | ||
e135a038 BK |
930 | 2004-01-07 Benjamin Kosnik <bkoz@redhat.com> |
931 | ||
932 | * src/Makefile.am (sources): Add list.cc, tree.cc. | |
933 | * src/stl_tree.cc: Move to... | |
934 | * src/tree.cc: ...here. | |
935 | * src/list.cc: Add. | |
936 | * config/linker-map.gnu: Tweaks. | |
937 | * testsuite/23_containers/map/operators/1_neg.cc: Add excess errors. | |
938 | * testsuite/23_containers/set/operators/1_neg.cc: Add excess errors. | |
939 | ||
940 | * bits/stl_vector.h: Column wrap comments. | |
16dd5cfe | 941 | |
677e7ddc LR |
942 | 2004-01-07 Loren J. Rittle <ljrittle@acm.org> |
943 | ||
944 | (re-open) PR libstdc++/12658 | |
945 | * src/locale_init.cc (locale::locale): Remove ill-scoped mutex. | |
946 | (locale::global): Likewise. | |
947 | ||
d8f5bd50 PC |
948 | 2004-01-07 Paolo Carlini <pcarlini@suse.de> |
949 | ||
950 | * testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc: | |
951 | Remove redundant #include. | |
952 | * testsuite/27_io/basic_ostream/endl/char/1.cc: Likewise. | |
953 | * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise, | |
954 | re-enable normal testing. | |
955 | * testsuite/27_io/basic_ostream/ends/char/2.cc: Remove redundant | |
956 | #include. | |
957 | * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise. | |
958 | * testsuite/27_io/basic_ostream/inserters_character/char/1.cc: | |
959 | Likewise. | |
960 | * testsuite/27_io/basic_ostream/inserters_character/char/2.cc: | |
961 | Likewise. | |
962 | * testsuite/27_io/basic_ostream/inserters_character/char/3.cc: | |
963 | Likewise. | |
964 | * testsuite/27_io/basic_ostream/inserters_character/char/4.cc: | |
965 | Likewise. | |
966 | * testsuite/27_io/basic_ostream/inserters_character/char/5.cc: | |
967 | Likewise. | |
968 | * testsuite/27_io/basic_ostream/inserters_character/char/6.cc: | |
969 | Likewise. | |
970 | * testsuite/27_io/basic_ostream/inserters_character/char/8.cc: | |
971 | Likewise. | |
972 | * testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc: | |
973 | More properly, #include <locale>. | |
974 | * testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc: | |
975 | Remove redundant #include. | |
976 | * testsuite/27_io/basic_ostream/inserters_other/char/2.cc: Likewise. | |
977 | * testsuite/27_io/basic_ostream/inserters_other/char/3.cc: Remove | |
978 | redundant DejaGnu directive. | |
979 | * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Remove | |
980 | redundant #include. | |
981 | ||
b61f9bf0 BK |
982 | 2004-01-06 Benjamin Kosnik <bkoz@redhat.com> |
983 | Stefan Olsson <stefan@snon.net> | |
984 | ||
985 | * scripts/check_performance: Use -pthread. | |
986 | * testsuite/performance/allocator.cc: Tweaks, add list. | |
987 | * testsuite/performance/allocator_thread.cc: New. | |
988 | ||
b74a6851 | 989 | 2004-01-06 Jerry Quinn <jlquinn@optonline.net> |
9a01c9b0 JQ |
990 | |
991 | * include/bits/locale_facets.h: Document public classes and | |
992 | functions. | |
993 | * include/bits/locale_facets.tcc (time_get::_M_extract_via_format): | |
994 | Add comment. | |
995 | ||
b80115c4 PC |
996 | 2004-01-06 Paolo Carlini <pcarlini@suse.de> |
997 | ||
998 | * testsuite/27_io/basic_istream/extractors_other/char/1.cc: | |
999 | Remove redundant #includes. | |
1000 | * testsuite/27_io/basic_istream/extractors_other/char/2.cc: | |
1001 | Likewise. | |
1002 | * testsuite/27_io/basic_istream/extractors_other/char/3.cc: | |
1003 | Likewise. | |
1004 | * testsuite/27_io/basic_istream/get/char/1.cc: Likewise. | |
1005 | * testsuite/27_io/basic_istream/get/char/2.cc: Likewise. | |
1006 | * testsuite/27_io/basic_istream/getline/char/1.cc: Likewise. | |
1007 | * testsuite/27_io/basic_istream/getline/char/2.cc: Likewise. | |
1008 | * testsuite/27_io/basic_istream/getline/char/3.cc: Likewise. | |
1009 | * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise. | |
1010 | * testsuite/27_io/basic_istream/ignore/char/6360.cc: Likewise. | |
1011 | * testsuite/27_io/basic_istream/ignore/char/7220.cc: Likewise. | |
1012 | * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise. | |
1013 | * testsuite/27_io/basic_istream/peek/char/6414.cc: Likewise. | |
1014 | * testsuite/27_io/basic_istream/putback/char/1.cc: Likewise. | |
1015 | * testsuite/27_io/basic_istream/read/char/1.cc: Likewise. | |
1016 | * testsuite/27_io/basic_istream/read/char/2.cc: Likewise. | |
1017 | * testsuite/27_io/basic_istream/read/char/3.cc: Likewise. | |
1018 | * testsuite/27_io/basic_istream/readsome/char/6746-1.cc: | |
1019 | Likewise. | |
1020 | * testsuite/27_io/basic_istream/readsome/char/6746-2.cc: | |
1021 | Likewise. | |
1022 | * testsuite/27_io/basic_istream/readsome/char/8258.cc: | |
1023 | Likewise. | |
1024 | * testsuite/27_io/basic_istream/seekg/char/2346-fstream.cc: | |
1025 | Likewise. | |
1026 | * testsuite/27_io/basic_istream/seekg/char/2346-sstream.cc: | |
1027 | Likewise. | |
1028 | * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Likewise. | |
1029 | * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise. | |
1030 | * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise. | |
1031 | ||
22ed0590 | 1032 | 2004-01-04 Paolo Carlini <pcarlini@suse.de> |
223b5084 PC |
1033 | |
1034 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: | |
1035 | Remove redundant #includes. | |
1036 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: | |
1037 | Likewise. | |
1038 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: | |
1039 | Likewise. | |
1040 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: | |
1041 | Likewise. | |
1042 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: | |
1043 | Likewise. | |
1044 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: | |
1045 | Likewise. | |
1046 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: | |
1047 | Likewise. | |
1048 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: | |
1049 | Likewise. | |
1050 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc: | |
1051 | Likewise. | |
1052 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc: | |
1053 | Likewise. | |
1054 | * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: | |
1055 | Likewise. | |
1056 | * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: | |
1057 | Likewise. | |
1058 | * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: | |
1059 | Likewise. | |
1060 | ||
4f8163b1 MM |
1061 | 2004-01-04 Mark Mitchell <mark@codesourcery.com> |
1062 | ||
1063 | PR c++/12226 | |
1064 | * testsuite/27_io/basic_filebuf/4.cc: Remove use of invalid copy | |
1065 | constructor. | |
1066 | * testsuite/27_io/basic_fstream/4.cc: Likewise. | |
1067 | * testsuite/27_io/basic_ifstream/4.cc: Likewise. | |
1068 | * testsuite/27_io/basic_ios/4.cc: Likewise. | |
1069 | * testsuite/27_io/basic_iostream/4.cc: Likewise. | |
1070 | * testsuite/27_io/basic_istream/4.cc: Likewise. | |
1071 | * testsuite/27_io/basic_istingstream/4.cc: Likewise. | |
1072 | * testsuite/27_io/basic_ofstream/4.cc: Likewise. | |
1073 | * testsuite/27_io/basic_ostream/4.cc: Likewise. | |
1074 | * testsuite/27_io/basic_ostringstream/4.cc: Likewise. | |
1075 | * testsuite/27_io/basic_stringbuf/5.cc: Likewise. | |
1076 | * testsuite/27_io/basic_stringstream/4.cc: Likewise. | |
1077 | ||
17fa5560 PC |
1078 | 2004-01-04 Paolo Carlini <pcarlini@suse.de> |
1079 | ||
1080 | * config/locale/generic/numeric_members.cc (_M_initialize_numpunct): | |
1081 | Avoid unnecessarily zero terminating _M_atoms_out and _M_atoms_in; | |
1082 | always use double underscored names. | |
1083 | * config/locale/gnu/numeric_members.cc (_M_initialize_numpunct): | |
1084 | Likewise. | |
1085 | * include/bits/locale_facets.h (struct __numpunct_cache): | |
1086 | Dimension _M_atoms_out and _M_atoms_in one position smaller. | |
1087 | (__numpunct_cache<>::_M_cache): Don't zero terminate _M_atoms_out | |
1088 | and _M_atoms_in. |