]>
Commit | Line | Data |
---|---|---|
e8c5fc66 PC |
1 | 2003-12-10 Paolo Carlini <pcarlini@suse.de> |
2 | ||
3 | * include/bits/locale_facets.tcc (num_put::do_put(void*)): | |
4 | Remove the try/catch, not necessary. | |
5 | ||
9877afe8 PC |
6 | 2003-12-10 Paolo Carlini <pcarlini@suse.de> |
7 | ||
8 | * testsuite/22_locale/locale/cons/12438.cc: Tweak memory | |
9 | limit and iterations to avoid spurious failures on some | |
10 | 64 bit machines. | |
11 | ||
5ec3f566 BK |
12 | 2003-12-09 Benjamin Kosnik <bkoz@redhat.com> |
13 | ||
14 | * config/linker-map.gnu: Remove private ios_base members from | |
15 | export list. | |
16 | ||
17 | * config/cpu/alpha/atomicity.h: Consistently format. | |
18 | * config/cpu/cris/atomicity.h: Same. | |
19 | * config/cpu/generic/atomicity.h: Same. | |
20 | * config/cpu/hppa/atomicity.h: Same. | |
21 | * config/cpu/i386/atomicity.h: Same. | |
22 | * config/cpu/i486/atomicity.h: Same. | |
23 | * config/cpu/ia64/atomicity.h: Same. | |
24 | * config/cpu/m68k/atomicity.h: Same. | |
25 | * config/cpu/mips/atomicity.h: Same. | |
26 | * config/cpu/powerpc/atomicity.h: Same. | |
27 | * config/cpu/s390/atomicity.h: Same. | |
28 | * config/cpu/sparc/atomicity.h: Same. | |
29 | ||
86025553 BK |
30 | 2003-12-09 Benjamin Kosnik <bkoz@redhat.com> |
31 | ||
32 | PR libstdc++/13296 | |
33 | * acinclude.m4 (GLIBCXX_ENABLE_LIBUNWIND_EXCEPTIONS): Remove. | |
34 | * aclocal.m4: Regenerate. | |
35 | * configure.ac: Remove call to GLIBCXX_ENABLE_LIBUNWIND_EXCEPTIONS. | |
36 | * conigure: Regenerate. | |
37 | * src/Makefile.am (libstdc___la_LDFLAGS): Remove LIBUNWIND_FLAGS. | |
38 | * src/Makefile.in: Regenerate. | |
39 | * docs/html/17_intro/configury.html: Modify. | |
40 | ||
7c1ca569 PC |
41 | 2003-12-09 Paolo Carlini <pcaelini@suse.de> |
42 | ||
43 | * include/bits/demangle.h (struct implementation_details): | |
44 | Keep in comments the names of the unused parameters. | |
45 | ||
015fa971 PC |
46 | 2003-12-09 Paolo Carlini <pcaelini@suse.de> |
47 | ||
48 | * include/bits/demangle.h (struct implementation_details): | |
49 | Fix unused parameters warning. | |
50 | ||
1f3adac2 PC |
51 | 2003-12-09 Paolo Carlini <pcarlini@suse.de> |
52 | ||
53 | * include/bits/locale_facets.tcc (num_get::_M_extract_int): | |
54 | Slightly streamline the code dealing with overflows and the | |
55 | parsing of the sign. | |
56 | ||
fa30fe72 BI |
57 | 2003-12-09 Bernardo Innocenti <bernie@develer.com> |
58 | ||
59 | * include/ext/algorithm, include/ext/debug_allocator.h, | |
60 | include/ext/enc_filebuf.h, include/ext/functional, | |
61 | include/ext/hash_fun.h, include/ext/hash_map, include/ext/hash_set, | |
62 | include/ext/hashtable.h, include/ext/iterator, | |
63 | include/ext/malloc_allocator.h, include/ext/memory, | |
64 | include/ext/mt_allocator.h, include/ext/numeric, | |
65 | include/ext/pod_char_traits.h, include/ext/pool_allocator.h, | |
66 | include/ext/rb_tree, include/ext/rope, include/ext/ropeimpl.h, | |
67 | include/ext/slist, include/ext/stdio_filebuf.h, | |
68 | include/ext/stdio_sync_filebuf.h: Remove trailing whitespace. | |
69 | ||
526da49c BI |
70 | 2003-12-09 Bernardo Innocenti <bernie@develer.com> |
71 | ||
72 | * include/debug/bitset, include/debug/debug.h, include/debug/deque, | |
73 | include/debug/formatter.h, include/debug/hash_map.h, | |
74 | include/debug/hash_multimap.h, include/debug/hash_multiset.h, | |
75 | include/debug/hash_set, include/debug/hash_set.h, include/debug/list, | |
76 | include/debug/map.h, include/debug/multimap.h, | |
77 | include/debug/multiset.h, include/debug/safe_base.h, | |
78 | include/debug/safe_iterator.h, include/debug/safe_iterator.tcc, | |
79 | include/debug/safe_sequence.h, include/debug/set.h, | |
80 | include/debug/string, include/debug/vector: Remove trailing whitespace. | |
81 | ||
23131008 BI |
82 | 2003-12-09 Bernardo Innocenti <bernie@develer.com> |
83 | ||
84 | * include/c_compatibility/iso646.h, include/c_compatibility/limits.h, | |
85 | include/c_compatibility/locale.h, include/c_compatibility/stdio.h, | |
86 | include/c_compatibility/string.h, include/c_compatibility/time.h, | |
87 | include/c_compatibility/wchar.h, include/c_compatibility/wctype.h: | |
88 | Remove trailing whitespace. | |
89 | ||
7dd8177f BI |
90 | 2003-12-09 Bernardo Innocenti <bernie@develer.com> |
91 | ||
92 | * include/c_std/cmath.tcc, include/c_std/std_cassert.h, | |
93 | include/c_std/std_cctype.h, include/c_std/std_cmath.h, | |
94 | include/c_std/std_cstddef.h, include/c_std/std_cstdio.h, | |
95 | include/c_std/std_cstdlib.h, include/c_std/std_cstring.h, | |
96 | include/c_std/std_cwchar.h, include/c_std/std_cwctype.h: | |
97 | Remove trailing whitespace. | |
98 | ||
7b74e24e BI |
99 | 2003-12-09 Bernardo Innocenti <bernie@develer.com> |
100 | ||
101 | * include/c/std_cctype.h, include/c/std_cmath.h, | |
102 | include/c/std_cstdlib.h include/c/std_cwchar.h, | |
103 | include/c/std_cwctype.h: Remove trailing whitespace. | |
104 | ||
e64738b3 BI |
105 | 2003-12-09 Bernardo Innocenti <bernie@develer.com> |
106 | ||
107 | * include/backward/algo.h, include/backward/algobase.h, | |
108 | include/backward/alloc.h, include/backward/complex.h, | |
109 | include/backward/defalloc.h, include/backward/function.h, | |
110 | include/backward/iterator.h, include/backward/new.h, | |
111 | include/backward/ostream.h, include/backward/queue.h, | |
112 | include/backward/rope.h, include/backward/stream.h, | |
113 | include/backward/streambuf.h, include/backward/strstream, | |
114 | include/backward/tempbuf.h, include/backward/tree.h, | |
115 | include/backward/vector.h: Remove trailing whitespace. | |
116 | ||
0fa96a60 PC |
117 | 2003-12-08 Paolo Carlini <pcarlini@suse.de> |
118 | ||
119 | * config/locale/generic/c_locale.cc (__convert_to_v(long&), | |
120 | __convert_to_v(unsigned long&), __convert_to_v(long long&), | |
121 | __convert_to_v(unsigned long long&): Remove. | |
122 | (__convert_to_v(float&), __convert_to_v(double&), | |
123 | __convert_to_v(long double&)): Remove last unused parameter. | |
124 | * config/locale/gnu/c_locale.cc: Likewise. | |
125 | * include/bits/locale_facets.h: Likewise. | |
126 | (num_get::_M_extract_int): Update declaration. | |
127 | (class __num_base): Tweak _S_ie and _S_iE according to the | |
128 | _S_atoms_in changes. | |
129 | * include/bits/locale_facets.tcc (num_get::_M_extract_int): | |
130 | Provide directly the final _ValueT, not a string: accumulate | |
131 | the result checking for overflow at each digit. | |
132 | (num_get::do_get(bool&), num_get::do_get(long&), | |
133 | num_get::do_get(unsigned short&), num_get::do_get(unsigned int&), | |
134 | num_get::do_get(unsigned long&), num_get::do_get(long long&), | |
135 | num_get::do_get(unsigned long long&), num_get::do_get(void*&)): | |
136 | Use the new _M_extract_int, simplify. | |
137 | * src/locale-inst.cc (num_get::_M_extract_int(long&), | |
138 | num_get::_M_extract_int(unsigned short&), | |
139 | num_get::_M_extract_int(unsigned int&), | |
140 | num_get::_M_extract_int(unsigned long&), | |
141 | num_get::_M_extract_int(long long&), | |
142 | num_get::_M_extract_int(unsigned long long&): Instantiate. | |
143 | * src/locale_facets.cc (__num_base::_S_atoms_in): Reorder | |
144 | the chars in the natural order: abcdefABCDEF. | |
145 | ||
09755a85 DM |
146 | 2003-12-08 David S. Miller <davem@redhat.com> |
147 | ||
148 | PR libstdc++/12496 | |
149 | * config/cpu/sparc/atomicity.h (__exchange_and_add, __atomic_add): | |
150 | Extend increment to _Atomic_word before giving to assembler. | |
151 | ||
57616df1 BK |
152 | 2003-12-06 Benjamin Kosnik <bkoz@redhat.com> |
153 | ||
154 | * testsuite/ext/enc_filebuf/char/13189.cc: Guard for __enc_traits. | |
155 | * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same. | |
156 | ||
e80213d2 BK |
157 | 2003-12-06 Benjamin Kosnik <bkoz@redhat.com> |
158 | ||
159 | PR libstdc++/11691 | |
160 | * include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): | |
161 | Remove __del argument to file descriptor constructor. | |
162 | * config/io/basic_file_stdio.h (__basic_file::sys_open): Remove | |
163 | bool argument. | |
164 | * config/io/basic_file_stdio.cc: Same. | |
165 | ||
42134429 BK |
166 | 2003-12-05 Benjamin Kosnik <bkoz@redhat.com> |
167 | ||
168 | PR libstdc++/13189 | |
169 | * include/ext/enc_filebuf.h: Fix. | |
170 | * include/bits/fstream.tcc: Tweak formatting. | |
171 | * include/bits/postypes.h: Same. | |
172 | * include/bits/sstream.tcc: Same. | |
173 | * include/bits/streambuf.tcc: Same. | |
174 | * testsuite/ext/stdio_filebuf.cc: Split. | |
175 | * testsuite/ext/stdio_filebuf_2.cc: Split. | |
176 | * testsuite/ext/stdio_sync_filebuf_char.cc: Split. | |
177 | * testsuite/ext/stdio_sync_filebuf_wchar_t.cc: Split. | |
178 | * testsuite/ext/enc_filebuf/char/13189.cc: New. | |
179 | * testsuite/ext/enc_filebuf/wchar_t/13189.cc: New. | |
180 | * testsuite/ext/stdio_filebuf/char/1.cc: New. | |
181 | * testsuite/ext/stdio_filebuf/char/2.cc: New. | |
182 | * testsuite/ext/stdio_sync_filebuf/char/1.cc: New. | |
183 | * testsuite/ext/stdio_sync_filebuf/char/12048-1.cc: New. | |
184 | * testsuite/ext/stdio_sync_filebuf/char/12048-2.cc: New. | |
185 | * testsuite/ext/stdio_sync_filebuf/char/12048-3.cc: New. | |
186 | * testsuite/ext/stdio_sync_filebuf/char/12048-4.cc: New. | |
187 | * testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc: New. | |
188 | * testsuite/ext/stdio_sync_filebuf/wchar_t/12948-1.cc: New. | |
189 | * testsuite/ext/stdio_sync_filebuf/wchar_t/12948-2.cc: New. | |
190 | * testsuite/ext/stdio_sync_filebuf/wchar_t/12948-3.cc: New. | |
191 | * testsuite/ext/stdio_sync_filebuf/wchar_t/12948-4.cc: New. | |
192 | ||
69f73bd3 CW |
193 | 2003-12-05 Carlo Wood <carlo@alinoe.com> |
194 | ||
195 | PR libstdc++/13045 | |
196 | * bits/demangle.h | |
197 | namespace __gnu_cxx::demangler | |
198 | (enum substitution_nt): Removed trailing comma. | |
199 | (implementation_details): Added. | |
200 | (session<Allocator>::M_implementation_details): Added. | |
201 | (session<Allocator>::session): Pass implementation_details. | |
202 | (session<Allocator>::decode_encoding): Same. | |
203 | (session<Allocator>::decode_real): Added. | |
204 | (_GLIBCXX_DEMANGLER_STYLE_VOID _GLIBCXX_DEMANGLER_STYLE_LITERAL | |
205 | _GLIBCXX_DEMANGLER_STYLE_LITERAL_INT | |
206 | _GLIBCXX_DEMANGLER_STYLE_COMPACT_EXPR_OPS | |
207 | _GLIBCXX_DEMANGLER_STYLE_SIZEOF_TYPENAME): Replaced with | |
208 | implementation_details equivalent. | |
209 | (session<Allocator>::decode_expression): | |
210 | Use M_implementation_details instead of macros. Add extra parentheses | |
211 | around 'larger than' operator in expressions in template arguments. | |
212 | (session<Allocator>::decode_bare_function_type): Idem. | |
213 | (session<Allocator>::decode_literal): | |
214 | Idem, and call decode_real for floating literals. | |
215 | (session<Allocator>::decode_type_with_postfix): Put the postfix | |
216 | of the return type of (member) functions after the function | |
217 | instead of after the return type. Also, put a space after the | |
218 | prefix of qualified function pointers: "int (* const<space>". | |
219 | * src/demangle.cc: include most dependent header file first. | |
220 | * testsuite/demangle/regression/cw-16.cc: Updated two | |
221 | and added three tests. | |
222 | ||
82fa4538 BK |
223 | 2003-12-04 Benjamin Kosnik <bkoz@redhat.com> |
224 | ||
225 | PR libstdc++/13284 | |
226 | * include/bits/stl_algo.h (__random_number): Remove. | |
227 | (random_shuffle): Use rand, as permitted by DR 395. | |
228 | * include/ext/algorithm: Same. | |
229 | * linkage.m4 (GLIBCXX_CHECK_STDLIB_SUPPORT): Remove lrand48. | |
230 | * acconfig.h: Same. | |
231 | * crossconfig.m4: Remove HAVE_DRAND48, HAVE_LRAND48. | |
232 | * config.h.in: Regenerated. | |
233 | * configure: Same. | |
234 | * aclocal.m4: Same. | |
235 | ||
7f1156ed PC |
236 | 2003-12-04 Paolo Carlini <pcarlini@suse.de> |
237 | ||
238 | PR libstdc++/12653 | |
239 | * include/std/std_bitset.h (operator>>): Implement resolution | |
240 | of DR 303 [WP]: use widen('0') and widen('1'). | |
241 | * docs/html/ext/howto.html: Add an entry for DR 303. | |
242 | ||
243 | * include/std/std_bitset.h (operator>>): Implement the common | |
244 | requirements of formatted input functions (27.6.1.2.1). | |
245 | ||
246 | * include/std/std_bitset.h (operator>>): Set the failbit when | |
247 | nothing was extracted and _Nb != 0. | |
248 | * testsuite/23_containers/bitset/input/1.cc: New. | |
249 | ||
3259561c PC |
250 | 2003-12-03 Paolo Carlini <pcarlini@suse.de> |
251 | ||
252 | PR libstdc++/12791 | |
253 | * include/bits/locale_facets.tcc (time_get::_M_extract_num): | |
254 | Rewrite, stop the parsing as soon as a digit cannot possibly | |
255 | lead to a final number within the bounds; otherwise, simplify, | |
256 | avoiding __ctype.is() and atoi(). | |
257 | * testsuite/22_locale/time_get/get_date/char/12791.cc: New. | |
258 | * testsuite/22_locale/time_get/get_date/wchar_t/12791.cc: New. | |
259 | ||
260 | * include/bits/locale_facets.tcc (time_get::_M_extract_via_format): | |
261 | Minor tweak: a 4-digit integer cannot be bigger than 9999. | |
262 | ||
263 | * testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Use | |
264 | type-correct wchar_t string literals. | |
265 | * testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Ditto. | |
266 | * testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Ditto. | |
267 | * testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Ditto. | |
268 | * testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Ditto. | |
269 | ||
17e15f7f PC |
270 | 2003-12-02 Paolo Carlini <pcarlini@suse.de> |
271 | ||
272 | * include/bits/locale_facets.tcc (time_get::do_get_year): | |
273 | Avoid using a basic_string and calling a full blown strtol | |
274 | (via __convert_to_v) for simple 2 or 4 digits, base 10, | |
275 | positive integers; simplify. | |
276 | ||
142b798b PC |
277 | 2003-12-02 Paolo Carlini <pcarlini@suse.de> |
278 | ||
279 | * config/locale/gnu/monetary_members.cc | |
280 | (money_base::_S_construct_pattern): For case 3: and 4: | |
281 | exchanging 'if (__precedes)' and 'if (__space)' allows | |
282 | to factor out a few more assignments. | |
283 | ||
6b98580b BK |
284 | 2003-12-01 Benjamin Kosnik <bkoz@redhat.com> |
285 | ||
286 | * include/bits/basic_ios.h (basic_ios::setstate): Revert. | |
287 | * include/bits/istream.tcc: Only call setstate if __err != goodbit. | |
288 | * include/bits/ostream.tcc: Same. | |
289 | * testsuite/27_io/basic_ios/exceptions/char/2.cc: New. | |
290 | ||
291 | * testsuite/testsuite_io.h (__gnu_test::fail_streambuf): Make | |
292 | internal buffer non-static. | |
293 | ||
d78e147a BK |
294 | 2003-12-01 Benjamin Kosnik <bkoz@redhat.com> |
295 | ||
296 | * docs/html/17_intro/C++STYLE: Add exception bits. | |
297 | * include/bits/fstream.tcc: Add location info to exception strings. | |
298 | ||
299 | * include/bits/stl_construct.h: Formatting tweaks. | |
300 | ||
9dbaa948 PC |
301 | 2003-12-01 Paolo Carlini <pcarlini@suse.de> |
302 | ||
303 | PR libstdc++/10378 | |
304 | * include/bits/allocator.h (allocator::construct): Implement | |
305 | resolution of DR 402 [Ready] (in Revision 28). | |
306 | * include/bits/allocator_traits.h (__allocator::construct): | |
307 | Likewise. | |
308 | * include/bits/stl_construct.h (_Construct): Likewise. | |
309 | * testsuite/20_util/allocator_members.cc: Move to... | |
310 | * testsuite/20_util/allocator/1.cc: ... here. | |
311 | * testsuite/20_util/allocator/10378.cc: New. | |
312 | * docs/html/ext/howto.html: Add an entry for DR 402. | |
313 | ||
1644f06d PC |
314 | 2003-11-30 Paolo Carlini <pcarlini@suse.de> |
315 | ||
316 | * config/locale/gnu/codecvt_members.cc (codecvt::do_in, | |
317 | codecvt::do_length): More minor tweaks. | |
318 | ||
11816ba2 PC |
319 | 2003-11-30 Paolo Carlini <pcarlini@suse.de> |
320 | ||
321 | * config/locale/gnu/codecvt_members.cc (codecvt::do_in): | |
322 | Minor stylistic tweak. | |
323 | ||
6c39c207 PC |
324 | 2003-11-30 Paolo Carlini <pcarlini@suse.de> |
325 | ||
326 | * include/bits/locale_facets.tcc (num_put::do_put(..., bool)): | |
327 | Minor tweaks, consistent with the style used in other facets. | |
328 | ||
4da2b960 PC |
329 | 2003-11-29 Paolo Carlini <pcarlini@suse.de> |
330 | ||
331 | * include/bits/fstream.tcc (underflow): Minor tweaks in | |
332 | preparation for libstdc++/13217. | |
333 | ||
2d25605a PC |
334 | 2003-11-29 Paolo Carlini <pcarlini@suse.de> |
335 | ||
336 | * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: | |
337 | Tweak for a few small problems (fix timings, use VERIFY..) | |
338 | ||
05a47a47 PC |
339 | 2003-11-28 Paolo Carlini <pcarlini@suse.de> |
340 | ||
341 | * testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc: Remove. | |
342 | * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: New, | |
343 | the original third testcase for libstdc++/13171 belong here. | |
344 | ||
ac912ba1 PC |
345 | 2003-11-28 Paolo Carlini <pcarlini@suse.de> |
346 | ||
347 | * testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc: | |
348 | Remove extraneous wchar_t lines. | |
349 | ||
5536b61c PC |
350 | 2003-11-27 Paolo Carlini <pcarlini@suse.de> |
351 | ||
352 | PR libstdc++/11544 | |
353 | PR libstdc++/11603 | |
354 | * include/bits/fstream.tcc (underflow): Throw ios_base:failure | |
355 | upon incomplete or invalid byte sequences in the file. | |
356 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-1.cc: New. | |
357 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-2.cc: New. | |
358 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc: New. | |
359 | ||
fb8d4638 PC |
360 | 2003-11-27 Paolo Carlini <pcarlini@suse.de> |
361 | ||
362 | * include/std/std_streambuf.h (__copy_streambufs): Remove | |
363 | the first, unused, basic_ios<> parameter. | |
364 | * src/streambuf-inst.cc: Likewise. | |
365 | * include/bits/streambuf.tcc: Likewise. | |
366 | * include/bits/istream.tcc (operator>>(__streambuf_type*)): | |
367 | Tweak accordingly the call. | |
368 | * include/bits/ostream.tcc (operator<<(__streambuf_type*)): | |
369 | Likewise. | |
370 | ||
371 | * include/bits/streambuf.tcc (__copy_streambufs): Remove | |
372 | redundant try/catch. | |
373 | ||
12841eb3 BK |
374 | 2003-11-26 Benjamin Kosnik <bkoz@redhat.com> |
375 | ||
376 | PR libstdc++/9371 | |
377 | PR libstdc++/9546 | |
378 | PR libstdc++/10093 | |
379 | PR libstdc++/10095 | |
380 | * include/bits/basic_ios.h (basic_ios::setstate): Elide if goodbit. | |
381 | (basic_ios::_M_setstate): Consolidate common error handling code. | |
382 | * include/bits/basic_ios.tcc: Tweak. | |
383 | * include/bits/fstream.tcc: Tweak. | |
384 | * include/bits/istream.tcc: Use _M_setstate for common exception | |
385 | handling. Move setstate calls after catch. | |
386 | (basic_istream::tellg): Check for exceptions thrown by streambuf | |
387 | virtual functions. | |
388 | (basic_istream::seekg): Same. | |
389 | * include/bits/ostream.tcc: Same, but for ostream. | |
390 | (basic_ostream::flush): Check for exceptions thrown by streambuf | |
391 | virtual functions. | |
392 | (basic_istream::tellp): Same. | |
393 | (basic_istream::seekp): Same. | |
394 | * include/bits/locale_facets.tcc: Tweak. | |
395 | * include/bits/streambuf.tcc: Tweak. | |
396 | (__copy_streambufs): Propagate exceptions. | |
397 | * testsuite/testsuite_io.h (fail_streambuf): New. | |
398 | (fail_num_get): New. | |
399 | (fail_num_put): New. | |
400 | (facet_error): New. | |
401 | (underflow_error): New. | |
402 | (overflow_error): New. | |
403 | (positioning_error): New. | |
404 | * testsuite/27_io/basic_istream/exceptions/char/9561.cc: Tweak. | |
405 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/ | |
406 | exceptions_badbit_throw.cc, exceptions_failbit.cc, | |
407 | exceptions_failbit_throw.cc: New. | |
408 | * testsuite/27_io/basic_istream/extractors_other/char/ | |
409 | error_failbit.cc, exceptions_badbit_throw.cc, | |
410 | exceptions_failbit_throw.cc, exceptions_null.cc: New. | |
411 | * testsuite/27_io/basic_istream/seekg/char/exceptions_badbit_throw.cc: | |
412 | New. | |
413 | * testsuite/27_io/basic_istream/tellg/char/exceptions_badbit_throw.cc: | |
414 | New. | |
415 | * testsuite/27_io/basic_ostream/flush/char/exceptions_badbit_throw.cc: | |
416 | New. | |
417 | * testsuite/27_io/basic_ostream/inserters_arithmetic/char/ | |
418 | exceptions_badbit_throw.cc, exceptions_failbit_throw.cc: New. | |
419 | * testsuite/27_io/basic_ostream/inserters_other/char/ | |
420 | error_failbit.cc, exceptions_badbit_throw.cc, | |
421 | exceptions_failbit_throw.cc, exceptions_null.cc: New. | |
422 | * testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc: | |
423 | New. | |
424 | * testsuite/27_io/basic_ostream/tellp/char/exceptions_badbit_throw.cc: | |
425 | New. | |
426 | ||
48f499cf BK |
427 | 2003-11-26 Benjamin Kosnik <bkoz@redhat.com> |
428 | ||
429 | PR libstdc++/12297 | |
430 | * include/bits/istream.tcc | |
431 | (basic_istream::sentry::sentry): Set failbit and eofbit when eof. | |
432 | * testsuite/27_io/basic_istream/sentry/char/12297.cc: New. | |
433 | ||
c03d83d4 PC |
434 | 2003-11-26 Paolo Carlini <pcarlini@suse.de> |
435 | Petur Runolfsson <peturr02@ru.is> | |
436 | ||
437 | PR libstdc++/13171 | |
438 | * include/bits/fstream.tcc (imbue): Relax the conditions under | |
439 | which the function succeeds: allow for two consecutive calls with | |
440 | the same name; state dependent encodings are ok even after open | |
441 | if at the beginning of the file; don't check seekoff return value | |
442 | (pipes, cin, cout, etc...) | |
443 | * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: New. | |
444 | * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: New. | |
445 | * testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc: New. | |
446 | * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: New. | |
447 | * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Tweak comment. | |
448 | * testsuite/27_io/basic_filebuf/imbue/char/3.cc: Likewise. | |
449 | * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Tweak comment. | |
450 | * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: Likewise. | |
451 | ||
452 | * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: More | |
453 | correctly use the UTF-8 locale appearing in the PR. | |
454 | ||
7fb1d711 PC |
455 | 2003-11-26 Paolo Carlini <pcarlini@suse.de> |
456 | ||
457 | * include/bits/locale_facets.h | |
458 | (__numpunct_cache<>::_M_cache): Avoid zeroing _M_grouping, | |
459 | _M_truename and _M_falsename: the constructor always does | |
460 | it immediately before the _M_cache call. | |
461 | ||
5af91f06 PC |
462 | 2003-11-25 Paolo Carlini <pcarlini@suse.de> |
463 | ||
464 | * config/locale/gnu/codecvt_members.cc (codecvt::do_length): | |
465 | Rewrite, using both mbsnrtowcs and mbrtowc in a loop: the | |
466 | former is very fast, but stops if encounters a NUL. | |
467 | (codecvt::do_out): Tweaks. | |
468 | (codecvt::do_in): Tweaks, improve the code dealing with errors. | |
469 | * testsuite/performance/wchar_t_length.cc: New. | |
470 | ||
3c8797ae PC |
471 | 2003-11-24 Paolo Carlini <pcarlini@suse.de> |
472 | ||
473 | * config/locale/gnu/codecvt_members.cc (codecvt::do_in): | |
474 | Rewrite, using both mbsnrtowcs and mbrtowc in a loop: the | |
475 | former is very fast, but stops if encounters a NUL. | |
476 | (codecvt::do_out): Tweak. | |
477 | * testsuite/performance/wchar_t_in.cc: New. | |
478 | ||
479 | 2003-11-24 Paolo Carlini <pcarlini@suse.de> | |
480 | ||
481 | * include/bits/locale_facets.h | |
482 | (__numpunct_cache<>::_M_cache): Set _M_allocated at the beginning | |
483 | in order to avoid memory leaks; simplify a bit. | |
484 | ||
e0ec69c9 BK |
485 | 2003-11-24 Benjamin Kosnik <bkoz@redhat.com> |
486 | ||
487 | * include/bits/streambuf_iterator.h (ostreambuf_iterator): Remove | |
488 | non-standard throw specs. | |
489 | * testsuite/24_iterators/istreambuf_iterator.cc: Split into... | |
490 | * testsuite/24_iterators/istreambuf_iterator/1.cc | |
491 | * testsuite/24_iterators/istreambuf_iterator/2.cc | |
492 | * testsuite/24_iterators/istreambuf_iterator/2627.cc | |
493 | * testsuite/24_iterators/ostreambuf_iterator.cc: Split into... | |
494 | * testsuite/24_iterators/ostreambuf_iterator/1.cc | |
495 | * testsuite/24_iterators/ostreambuf_iterator/2.cc | |
496 | ||
497 | * testsuite/24_iterators/reverse_iterator/1.cc: Just compile, | |
498 | don't link. | |
499 | ||
500 | * include/bits/allocator.h: Formatting tweak. | |
501 | ||
ce492af3 PC |
502 | 2003-11-24 Paolo Carlini <pcarlini@suse.de> |
503 | ||
504 | * src/locale_init.cc: Cosmetic reformatting. | |
505 | ||
bf058d22 PC |
506 | 2003-11-23 Paolo Carlini <pcarlini@suse.de> |
507 | ||
508 | * include/bits/locale_facets.tcc (__add_grouping): | |
509 | Cosmetic reformatting. | |
510 | ||
89a2fb90 PC |
511 | 2003-11-23 Paolo Carlini <pcarlini@suse.de> |
512 | ||
513 | * include/bits/locale_facets.tcc (_M_extract_float, | |
514 | _M_extract_int): Remove a wrong comment and simplify | |
515 | the corresponding code using char_traits::find(). | |
516 | ||
cc0c2f79 PC |
517 | 2003-11-22 Paolo Carlini <pcarlini@suse.de> |
518 | ||
519 | * config/locale/gnu/monetary_members.cc | |
520 | (money_base::_S_construct_pattern): Factor out two assignments. | |
521 | ||
a3b1b804 PC |
522 | 2003-11-22 Paolo Carlini <pcarlini@suse.de> |
523 | ||
524 | * include/bits/istream.tcc (getline(basic_string<>&)): | |
525 | Fix error in comment of the previous commit. | |
526 | ||
1a311979 PC |
527 | 2003-11-22 Paolo Carlini <pcarlini@suse.de> |
528 | ||
529 | PR libstdc++/12593 | |
530 | * include/bits/istream.tcc (operator>>(basic_string<>&), | |
531 | getline(basic_string<>&)): Implement resolution of DR 91 [WP]; | |
532 | fix some minor issues with the exit conditions. | |
533 | * docs/html/ext/howto.html: Add an entry for DR 91. | |
534 | ||
f7ba331c PC |
535 | 2003-11-21 Paolo Carlini <pcarlini@suse.de> |
536 | ||
537 | * config/locale/gnu/monetary_members.cc | |
538 | (money_base::_S_construct_pattern): Factor out an assignment. | |
539 | ||
5c89246d PC |
540 | 2003-11-21 Paolo Carlini <pcarlini@suse.de> |
541 | ||
542 | PR libstdc++/12882 (partial) | |
543 | * acinclude.m4 (GLIBCXX_CHECK_LFS): Check fseeko64 | |
544 | and ftello64 too. | |
545 | * include/ext/stdio_sync_filebuf.h (seekoff): Use fseeko64 | |
546 | and ftello64 if available. | |
547 | * aclocal.m4: Regenerate. | |
548 | * configure: Ditto. | |
549 | ||
9dc420e6 BK |
550 | 2003-11-20 Benjamin Kosnik <bkoz@redhat.com> |
551 | ||
552 | * include/debug/formatter.h: Use _Tp as template argument. | |
553 | * src/debug.cc: Same, instantiate std::size_t. | |
554 | ||
4be58168 BK |
555 | 2003-11-20 Benjamin Kosnik <bkoz@redhat.com> |
556 | ||
557 | PR libstdc++/13109 | |
558 | * include/debug/formatter.h (_Error_formatter::_M_format_word): New. | |
559 | * src/debug.cc (__gnu_debug): Format. | |
560 | (_Error_formatter::_M_format_word): Define, use, instantiate. | |
561 | ||
0fd18701 PC |
562 | 2003-11-20 Paolo Carlini <pcarlini@suse.de> |
563 | ||
564 | PR libstdc++/11602 | |
565 | * config/locale/gnu/codecvt_members.cc (codecvt::do_out): | |
566 | Rewrite, using both wcsnrtombs and wcrtomb in a loop: the | |
567 | former is very fast, but stops if encounters a NUL. | |
568 | * testsuite/performance/wchar_t_out.cc: New, from the PR. | |
569 | ||
1f33554a PC |
570 | 2003-11-19 Paolo Carlini <pcarlini@suse.de> |
571 | ||
572 | * config/locale/gnu/codecvt_members.cc (do_out): If | |
573 | we can upper bound the total number of external chars | |
574 | to something smaller than __to_end - __to, avoid the | |
575 | temporary buffer, the memcopy and simplify the loop. | |
576 | * config/locale/generic/codecvt_members.cc (do_out): | |
577 | Likewise. | |
578 | ||
90635952 AT |
579 | 2003-11-19 Andreas Tobler <a.tobler@schweiz.ch> |
580 | ||
581 | * testsuite/lib/libstdc++.exp: Add DYLD_LIBRARY_PATH for darwin. | |
582 | * testsuite/libstdc++-dg/normal.exp: Add -multiply_defined suppress | |
583 | flag. | |
584 | ||
bc225f98 JW |
585 | 2003-11-18 Jonathan Wakely <redi@gcc.gnu.org> |
586 | ||
587 | * docs/html/configopts.html, docs/html/debug.html, | |
588 | docs/html/documentation.html, docs/html/explanations.html, | |
589 | docs/html/install.html, docs/html/17_intro/contribute.html, | |
590 | docs/html/17_intro/howto.html, docs/html/17_intro/license.html, | |
591 | docs/html/18_support/howto.html, docs/html/19_diagnostics/howto.html, | |
592 | docs/html/20_util/howto.html, docs/html/21_strings/howto.html, | |
593 | docs/html/22_locale/codecvt.html, docs/html/22_locale/ctype.html, | |
594 | docs/html/22_locale/howto.html, docs/html/22_locale/locale.html, | |
595 | docs/html/22_locale/messages.html, docs/html/23_containers/howto.html, | |
596 | docs/html/24_iterators/howto.html, docs/html/25_algorithms/howto.html, | |
597 | docs/html/26_numerics/howto.html, docs/html/27_io/howto.html, | |
598 | docs/html/ext/howto.html, docs/html/ext/sgiexts.html: Add <link> tags. | |
599 | ||
29342463 PC |
600 | 2003-11-18 Paolo Carlini <pcarlini@suse.de> |
601 | ||
602 | PR libstdc++/12868 | |
603 | * include/bits/fstream.tcc (imbue): For encodings != -1 it's | |
604 | always ok to imbue a new locale, provided seekoff(0, cur, ...) | |
605 | doesn't fail, of course. | |
606 | (underflow): In order for the above to work, deal gracefully | |
607 | with _M_codecvt->in returning codecvt_base::error while | |
608 | (__ilen = __iend - this->eback()) > 0: it just means __ilen | |
609 | correctly converted internal characters before an error. | |
610 | * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: New. | |
611 | ||
c2466393 PC |
612 | 2003-11-17 Paolo Carlini <pcarlini@suse.de> |
613 | ||
614 | * include/bits/locale_facets.tcc: Fix typo in comment. | |
615 | ||
6a7ee0d6 PC |
616 | 2003-11-17 Paolo Carlini <pcarlini@suse.de> |
617 | ||
618 | * testsuite/22_locale/num_put/put/char/8.cc: New test, | |
619 | summarizing the discussion ensuing libstdc++/12988. | |
620 | * testsuite/22_locale/num_put/put/wchar_t/8.cc: Ditto. | |
621 | ||
781a5298 PC |
622 | 2003-11-15 Paolo Carlini <pcarlini@suse.de> |
623 | ||
624 | * include/std/std_fstream.h: Tweak a comment. | |
625 | ||
c85dfef7 RS |
626 | 2003-11-15 Roger Sayle <roger@eyesopen.com> |
627 | ||
628 | * include/c_std/std_cmath.h: Don't import C99's float transcendentals | |
629 | into the __gnu_cxx::__c99_binding namespace. | |
630 | (acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp, | |
631 | ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using | |
632 | GCC's math builtins, i.e. __builtin_foo. | |
633 | * libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl, | |
634 | ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl, | |
635 | ldexpf, ldexpl, modff, modfl): Provide stub implementations. | |
636 | ||
38455b2b PC |
637 | 2003-11-14 Paolo Carlini <pcarlini@suse.de> |
638 | ||
639 | * testsuite/22_locale/locale/cons/12352.cc: Use | |
640 | __gnu_test::try_named_locale. | |
641 | ||
c60cfc76 PC |
642 | 2003-11-14 Paolo Carlini <pcarlini@suse.de> |
643 | ||
644 | * docs/html/ext/howto.html: Add entries for DR 63, 75 | |
645 | and 305; tweak entries for DR 60 and 328. | |
646 | ||
1b80d64a DG |
647 | 2003-11-13 Douglas Gregor <gregod@cs.rpi.edu> |
648 | ||
649 | * docs/html/debug.html: Users are allowed to specialize in | |
650 | namespace __gnu_debug, unlike in the Apple version of the debug | |
651 | mode. Clear up a confusing double-negative. Note that | |
652 | std::basic_string does provide extra debugging capabilities, but | |
653 | not safe iterators. | |
654 | * include/bits/basic_string.tcc: Make sure there's never an | |
655 | ambiguity when calling __is_null_pointer. | |
656 | * include/debug/deque: (deque::erase) Properly handle invalidation | |
657 | when erasing at the end of the deque. | |
658 | * include/debug/vector: (vector::swap): Swap _M_guaranteed_capacity. | |
659 | (vector::clear): Set the guaranteed capacity to 0. | |
660 | * testsuite/23_containers/deque/invalidation/4.cc: (test04): Test | |
661 | iterator invalidation when erasing at the end of the deque. | |
662 | ||
a2dcfada PC |
663 | 2003-11-13 Paolo Carlini <pcarlini@suse.de> |
664 | Petur Runolfsson <peturr02@ru.is> | |
665 | ||
666 | PR libstdc++/13007 | |
667 | * include/bits/fstream.tcc (imbue): Don't touch the stored | |
668 | locale. | |
669 | * include/std/std_streambuf.h (imbue): According to the | |
670 | standard, base class version does nothing. | |
671 | (pubimbue): Store the locale. | |
672 | * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: New. | |
673 | * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: New. | |
674 | * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Tweak. | |
675 | * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise. | |
676 | * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: New. | |
677 | * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: New. | |
678 | * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: New. | |
679 | * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: New. | |
680 | ||
5681c890 PR |
681 | 2003-11-13 Petur Runolfsson <peturr02@ru.is> |
682 | ||
683 | PR libstdc++/12594 | |
684 | * include/bits/ostream.tcc | |
685 | (basic_ostream::operator<<(basic_ostream& (*)(basic_ostream&)), | |
686 | basic_ostream::operator<<(basic_ios& (*)(basic_ios&)), | |
687 | basic_ostream::operator<<(ios_base& (*)(ios_base&))): | |
688 | Implement the resolution of DR 60 (TC): These are not formatted | |
689 | output functions so don't construct sentry objects and don't | |
690 | catch exceptions. | |
691 | (basic_ostream::put, basic_ostream::write): Implement the | |
692 | resolution of DR 63 (TC) by catching exceptions and setting | |
693 | badbit. | |
694 | (basic_ostream::flush): Implement the resolution of DR 60 (TC): | |
695 | This is not an unformatted output function so don't construct | |
696 | a sentry object. | |
697 | * testsuite/testsuite_io.h (sync_streambuf): Define. | |
698 | * testsuite/27_io/basic_ostream/flush/char/2.cc: New test. | |
699 | * testsuite/27_io/basic_ostream/inserters_other/char/5.cc: New test. | |
700 | * testsuite/27_io/basic_ostream/put/char/1.cc: New test. | |
701 | * testsuite/27_io/basic_ostream/write/char/1.cc: New test. | |
702 | ||
f144e859 PC |
703 | 2003-11-13 Paolo Carlini <pcarlini@suse.de> |
704 | ||
705 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: | |
706 | Fix, closely following the testcase included in the PR. | |
707 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: Ditto. | |
708 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: Ditto. | |
709 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: Ditto. | |
710 | ||
a198480e JW |
711 | 2003-11-13 Jonathan Wakely <redi@gcc.gnu.org> |
712 | ||
713 | * docs/html/17_intro/configury.html: XHTML tweak. | |
714 | ||
684edd67 JW |
715 | 2003-11-13 Jonathan Wakely <redi@gcc.gnu.org> |
716 | ||
717 | * docs/html/debug_mode.html: XHTML fixes. | |
718 | ||
89341602 BK |
719 | 2003-11-12 Benjamin Kosnik <bkoz@redhat.com> |
720 | ||
721 | * docs/html/debug_mode.html: Update. | |
722 | * docs/html/17_intro/TODO: Update. | |
723 | ||
f9d52373 BK |
724 | 2003-11-12 Benjamin Kosnik <bkoz@redhat.com> |
725 | ||
726 | * include/bits/c++config: Move using directive... | |
727 | * include/debug/formatter.h: ...here. | |
728 | ||
22e5c8fa CW |
729 | 2003-11-12 Carlo Wood <carlo@alinoe.com> |
730 | ||
731 | PR libstdc++/12947 | |
732 | * bits/demangle.h | |
733 | (_GLIBCXX_DEMANGLER_STYLE_COMPACT_EXPR_OPS): Added. | |
734 | (_GLIBCXX_DEMANGLER_STYLE_SIZEOF_TYPENAME): Added. | |
735 | (session<Allocator>::next_peek() const): Added. | |
736 | (decode_non_negative_decimal_integer(string_type&)): | |
737 | Renamed from decode_decimal_integer(string_type&). | |
738 | (session<Allocator>::decode_nested_name): | |
739 | Decode <template_param> as well. | |
740 | (session<Allocator>::add_substitution): | |
741 | Handle <template-param> for <nested-name>'s. | |
742 | (enum xary_nt): Added. | |
743 | (struct entry_st): Added member `xary_nt type' instead of `bool unary'. | |
744 | (symbol_name_table_c): Updated for `entry_st::type' and additional | |
745 | operators (unary `operator+' and `sizeof(type)'). | |
746 | (offset_table_c): Updated for new operators (causing a new hash map). | |
747 | (decode_operator_name): Match the updated hash map. | |
748 | (session<Allocator>::decode_expression): | |
749 | Support for `sizeof ([typename] type)' (st), | |
750 | dependent names (sr) and casting operator (cv). Handle | |
751 | `entry_st::type'. Handle _GLIBCXX_DEMANGLER_STYLE_COMPACT_EXPR_OPS | |
752 | and _GLIBCXX_DEMANGLER_STYLE_SIZEOF_TYPENAME. | |
753 | (session<Allocator>::decode_type_with_postfix): | |
754 | Support `extern "C"' function types (FY). | |
755 | * testsuite/demangle/regression/cw-16.cc: Added tests for the | |
756 | added functionality. | |
757 | * testsuite/demangle/regression/3111-2.cc: sizeof now has a space | |
758 | appended. | |
759 | ||
dfad48c6 PC |
760 | 2003-11-11 Paolo Carlini <pcarlini@suse.de> |
761 | ||
762 | PR libstdc++/12875 | |
763 | * include/bits/fstream.tcc (setbuf): Don't do anything | |
764 | after open(), in particular don't discard data. | |
765 | (_M_allocate_internal_buffer): Tweak to not allocate memory | |
766 | in case the buffer is provided by the user via setbuf. | |
767 | * include/ext/stdio_filebuf.h: Tweak comment. | |
768 | * testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc: New. | |
769 | * testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc: Likewise. | |
770 | * testsuite/27_io/basic_filebuf/setbuf/char/2.cc: Tweak, now | |
771 | setbuf does nothing after open(). | |
772 | * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Likewise. | |
773 | ||
285b36d6 BK |
774 | 2003-11-11 Doug Gregor <gregod@cs.rpi.edu> |
775 | ||
776 | * docs/html/debug.html: Document libstdc++ debug mode. | |
777 | * docs/html/debug_mode.html: Document libstdc++ debug mode design. | |
778 | * docs/html/test.html: Document how to test under debug mode. | |
779 | * docs/html/17_intro/howto.html: Document debug-mode macros. | |
780 | * include/Makefile.am: Install debug-mode headers. | |
781 | * src/Makefile.am: Include debug.cc. | |
782 | * include/bits/basic_string.tcc: | |
783 | (basic_string::_S_construct): Fix NULL pointer check. | |
784 | (__is_null_pointer): New. | |
785 | Add precondition annotations. | |
786 | * include/bits/stream_iterator.h (istream_iterator, | |
787 | ostream_iterator): Added precondition annotations. | |
788 | * include/bits/streambuf_iterator.h (istreambuf_iterator): Ditto. | |
789 | * include/bits/stl_queue.h (queue, priority_queue): Ditto. | |
790 | * include/bits/stl_stack.h (stack): Ditto. | |
791 | * include/bits/basic_string.h (basic_string): Ditto. | |
792 | * include/bits/basic_string.tcc (basic_string): Ditto. | |
793 | * include/std/std_memory.h (auto_ptr): Ditto. | |
794 | * include/std/std_valarray.h (valarray): Ditto. | |
795 | * include/bits/stl_algo.h: Added algorithm precondition | |
796 | annotations. | |
797 | * include/bits/stl_algobase.h: Added algorithm precondition | |
798 | annotations. | |
799 | * include/bits/stl_numeric.h: Ditto. | |
800 | * include/ext/algorithm: Added algorithm precondition | |
801 | annotations. | |
802 | (__is_heap): Moved away from here. | |
803 | * include/bits/stl_heap.h: Added algorithm precondition | |
804 | annotations. | |
805 | (__is_heap): Moved to the top of this file. | |
806 | (__is_heap): Added iterator range overloads. | |
807 | * testsuite/20_util/auto_ptr_neg.cc: Fix line numbers to match up | |
808 | with changes in std_memory.h. | |
809 | * testsuite/23_containers/list/operators/4.cc: Don't verify | |
810 | performance guarantees when in debug mode. | |
811 | * testsuite/23_containers/bitset/invalidation/1.cc: New. | |
812 | * testsuite/23_containers/deque/invalidation/1.cc: New. | |
813 | * testsuite/23_containers/deque/invalidation/2.cc: New. | |
814 | * testsuite/23_containers/deque/invalidation/3.cc: New. | |
815 | * testsuite/23_containers/deque/invalidation/4.cc: New. | |
816 | * testsuite/23_containers/list/invalidation/1.cc: New. | |
817 | * testsuite/23_containers/list/invalidation/2.cc: New. | |
818 | * testsuite/23_containers/list/invalidation/3.cc: New. | |
819 | * testsuite/23_containers/list/invalidation/4.cc: New. | |
820 | * testsuite/23_containers/map/invalidation/1.cc: New. | |
821 | * testsuite/23_containers/map/invalidation/2.cc: New. | |
822 | * testsuite/23_containers/multimap/invalidation/1.cc: New. | |
823 | * testsuite/23_containers/multimap/invalidation/2.cc: New. | |
824 | * testsuite/23_containers/multiset/invalidation/1.cc: New. | |
825 | * testsuite/23_containers/multiset/invalidation/2.cc: New. | |
826 | * testsuite/23_containers/set/invalidation/1.cc: New. | |
827 | * testsuite/23_containers/set/invalidation/2.cc: New. | |
828 | * testsuite/23_containers/vector/invalidation/1.cc: New. | |
829 | * testsuite/23_containers/vector/invalidation/2.cc: New. | |
830 | * testsuite/23_containers/vector/invalidation/3.cc: New. | |
831 | * testsuite/23_containers/vector/invalidation/4.cc: New. | |
832 | * testsuite/25_algorithms/heap.cc: Don't verify | |
833 | performance guarantees when in debug mode. | |
834 | * include/debug/bitset: New. | |
835 | * include/debug/debug.h: New. | |
836 | * include/debug/deque: New. | |
837 | * include/debug/formatter.h: New. | |
838 | * include/debug/hash_map: New. | |
839 | * include/debug/hash_map.h: New. | |
840 | * include/debug/hash_multimap.h: New. | |
841 | * include/debug/hash_set: New. | |
842 | * include/debug/hash_set.h: New. | |
843 | * include/debug/hash_multiset.h: New. | |
844 | * include/debug/list: New. | |
845 | * include/debug/map: New. | |
846 | * include/debug/map.h: New. | |
847 | * include/debug/multimap.h: New. | |
848 | * include/debug/multiset.h: New. | |
849 | * include/debug/safe_base.h: New. | |
850 | * include/debug/safe_iterator.h: New. | |
851 | * include/debug/safe_iterator.tcc: New. | |
852 | * include/debug/safe_sequence.h: New. | |
853 | * include/debug/set: New. | |
854 | * include/debug/set.h: New. | |
855 | * include/debug/string: New. | |
856 | * include/debug/vector: New. | |
857 | * src/debug.cc: New. | |
858 | * config/linker-map.gnu: Add debug mode symbols. | |
859 | ||
860 | 2003-11-11 Benjamin Kosnik <bkoz@redhat.com> | |
861 | ||
862 | * src/string-inst.cc: Tweak namespaces. | |
863 | * src/misc-inst.cc: Same. | |
864 | * docs/html/debug.html: Edits. | |
865 | * config/link-map.gnu: Remove cruft. | |
866 | ||
867 | * include/bits/c++config: Add in namespace associations. | |
868 | * include/std/std_bitset.h: Adjust namespace to __gnu_norm, | |
869 | comment tweaks. | |
870 | * include/bits/deque.tcc: Same. | |
871 | * include/bits/list.tcc: Same. | |
872 | * include/bits/stl_bvector.h: Same. | |
873 | * include/bits/stl_deque.h: Same. | |
874 | * include/bits/stl_list.h: Same. | |
875 | * include/bits/stl_map.h: Same. | |
876 | * include/bits/stl_multimap.h: Same. | |
877 | * include/bits/stl_multiset.h: Same. | |
878 | * include/bits/stl_set.h: Same. | |
879 | * include/bits/stl_vector.h: Same. | |
880 | * include/bits/vector.tcc: Same. | |
881 | ||
882 | * include/std/std_algorithm.h: Remove markup comments. | |
883 | * include/std/std_functional.h: Same. | |
884 | * include/std/std_iterator.h: Same. | |
885 | * include/std/std_numeric.h: Same. | |
886 | * include/std/std_utility.h: Same. | |
887 | * include/bits/stl_queue.h: Formatting tweaks. | |
888 | * include/bits/stl_stack.h: Same. | |
889 | * include/std/std_deque.h: Include debugging version in debug mode. | |
890 | * include/std/std_list.h: Same. | |
891 | * include/std/std_map.h: Same. | |
892 | * include/std/std_set.h: Same. | |
893 | * include/std/std_vector.h: Same. | |
894 | * include/std/std_queue.h: Use deque, vector. | |
895 | * include/std/std_stack.h: Same. | |
896 | ||
f6a7db9e PC |
897 | 2003-11-09 Paolo Carlini <pcarlini@suse.de> |
898 | ||
899 | * include/bits/locale_facets.tcc (_M_insert_int, | |
900 | _M_insert_float): Move a couple of vars inside an if block. | |
901 | ||
7c752655 PC |
902 | 2003-11-09 Paolo Carlini <pcarlini@suse.de> |
903 | ||
904 | PR libstdc++/12971 | |
905 | * include/bits/locale_facets.tcc | |
906 | (money_put::do_put(..., long double)): Fix conversion | |
907 | specification as per DR 328 [WP]. | |
908 | * testsuite/22_locale/money_put/put/char/12971.cc: Add. | |
909 | * testsuite/22_locale/money_put/put/wchar_t/12971.cc: Ditto. | |
910 | * docs/html/ext/howto.html: Add entry for DR 328. | |
911 | ||
41d3a0c3 PC |
912 | 2003-11-08 Paolo Carlini <pcarlini@suse.de> |
913 | ||
914 | PR libstdc++/12967 | |
915 | * include/bits/list.tcc (merge): Implement resolution of | |
916 | DR 300 [WP]. | |
917 | * docs/html/ext/howto.html: Add entry for DR 300; tweak entry | |
918 | for DR 231. | |
919 | ||
920 | * docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html: | |
921 | Import R27. | |
922 | ||
3ab3dca6 JW |
923 | 2003-11-07 Jonathan Wakely <redi@gcc.gnu.org> |
924 | ||
925 | * libsupc++/vec.cc: Conform to C++STYLE. | |
926 | ||
2d369f35 CW |
927 | 2003-11-07 Carlo Wood <carlo@alinoe.com> |
928 | ||
929 | PR libstdc++/12736 | |
930 | * bits/demangle.h (qualifier_list<Allocator>::decode_KVrA): Added. | |
931 | (qualifier_list<Allocator>::decode_qualifiers): Collect concatenated | |
932 | K, V, r and A qualifiers before processing them as a group. | |
933 | * testsuite/demangle/abi_text/01.cc: Reordered CV-qualifiers. | |
934 | * testsuite/demangle/regression/cw-16.cc: New. | |
935 | ||
b938ad89 RM |
936 | 2003-11-07 Robert Millan <robertmh@gnu.org> |
937 | ||
f6a7db9e PC |
938 | * configure.host: Add kfreebsd*-gnu and knetbsd*-gnu. |
939 | * crossconfig.m4: Likewise. | |
940 | * configure: Regenerate. | |
b938ad89 | 941 | |
eb622d37 CW |
942 | 2003-11-07 Carlo Wood <carlo@alinoe.com> |
943 | ||
f6a7db9e PC |
944 | * include/bits/demangle.h |
945 | (qualifier_list<Allocator>::decode_qualifiers(string_type&, | |
946 | string_type&, bool member_function_pointer_qualifiers): | |
947 | Always separate the '[' of an array type with a space from | |
948 | what is left of it, except when that is the closing bracket | |
949 | of another array dimension. | |
eb622d37 | 950 | |
2215f732 CW |
951 | 2003-11-07 Carlo Wood <carlo@alinoe.com> |
952 | ||
f6a7db9e | 953 | * include/bits/demangle.h |
2215f732 CW |
954 | (qualifier_list<Allocator>::decode_qualifiers(string_type&, |
955 | string_type&, bool) const): Made const. | |
956 | (qualifier_list<Allocator>::M_printing_suppressed): Added mutable. | |
957 | (_GLIBCXX_DEMANGLER_DOUT_ENTERING3, _GLIBCXX_DEMANGLER_RETURN3, | |
958 | std::ostream& operator<<(std::ostream&, qualifier const&), | |
959 | std::ostream& operator<<(std::ostream&, qualifier_list const&), | |
960 | qualifier_list<Allocator>::decode_qualifiers(string_type&, | |
961 | string_type&, bool) const, | |
962 | session<Allocator>::decode_type_with_postfix(string_type&, | |
963 | string_type&, qualifier_list<Allocator>*)) | |
964 | Added and/or changed debug-only hooks and code. | |
965 | ||
d30b600a JO |
966 | 2003-11-04 Jeffrey D. Oldham <oldham@codesourcery.com> |
967 | ||
968 | * libsupc++/vec.cc (__cxa_vec_delete2): If given a NULL pointer, | |
969 | immediately return. This reflects a C++ ABI change 2003 Nov 03. | |
970 | (__cxa_vec_delete3): Likewise. | |
971 | ||
5e93f39f PR |
972 | 2003-11-03 Petur Runolfsson <peturr02@ru.is> |
973 | ||
974 | PR libstdc++/12790 | |
975 | * include/bits/fstream.tcc: Delete _M_last_overflowed. | |
976 | (basic_filebuf::basic_filebuf): Initialize _M_state_last. | |
977 | (basic_filebuf::open, basic_filebuf::close): Assign | |
978 | _M_state_beg to _M_state_cur and _M_state_last. | |
979 | (basic_filebuf::close): Call _M_terminate_output to handle | |
980 | unshift and flushing. | |
981 | (basic_filebuf::underflow): Assign _M_state_last, throw | |
982 | exception instead of calling abort when codecvt::max_length() | |
983 | is bad. | |
984 | (basic_filebuf::seekoff): Use _M_state_last when calling | |
985 | codecvt::length(), pass correct state to _M_seek. | |
986 | (basic_filebuf::seekpos): Pass __pos.state() to _M_seek. | |
987 | (basic_filebuf::_M_seek): Add __state_type parameter, | |
988 | set _M_state_cur correctly, store the resulting state in | |
989 | the return value and use _M_terminate_output to handle | |
990 | flushing and unshift. | |
991 | (basic_filebuf::_M_terminate_output): Flush contents of | |
992 | output buffer, if any, then call codecvt::unshift as | |
993 | needed and output the result. | |
994 | (basic_filebuf::sync): Move here, don't modify _M_writing | |
995 | or _M_reading. | |
996 | ||
997 | * include/std/std_fstream.h | |
998 | (basic_filebuf::_M_state_last): Declare it. | |
999 | (basic_filebuf::_M_last_overflowed): Delete. | |
1000 | (basic_filebuf::_M_seek): Add __state_type parameter. | |
1001 | (basic_filebuf::sync): Declare only. | |
1002 | (basic_filebuf::_M_output_unshift): Delete. | |
1003 | (basic_filebuf::_M_terminate_output): Declare it. | |
1004 | ||
1005 | * testsuite/testsuite_character.h: | |
1006 | Define character class and state class plus char_traits and | |
1007 | codecvt specializations for same for testing support for | |
1008 | stateful encodings. | |
1009 | ||
1010 | * testsuite/27_io/basic_filebuf/close/12790-1.cc, | |
1011 | * testsuite/27_io/basic_filebuf/close/char/12790-1.cc, | |
1012 | * testsuite/27_io/basic_filebuf/close/char/12790-2.cc, | |
1013 | * testsuite/27_io/basic_filebuf/close/char/12790-3.cc, | |
1014 | * testsuite/27_io/basic_filebuf/close/char/12790-4.cc, | |
1015 | * testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc, | |
1016 | * testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc, | |
1017 | * testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc, | |
1018 | * testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc, | |
1019 | * testsuite/27_io/basic_filebuf/open/12790-1.cc, | |
1020 | * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc, | |
1021 | * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc, | |
1022 | * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc, | |
1023 | * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc, | |
1024 | * testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc, | |
1025 | * testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc, | |
1026 | * testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc, | |
1027 | * testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc, | |
1028 | * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc, | |
1029 | * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc, | |
1030 | * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc, | |
1031 | * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc, | |
1032 | * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc, | |
1033 | * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc, | |
1034 | * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc, | |
1035 | * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc, | |
1036 | * testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc, | |
1037 | * testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc, | |
1038 | * testsuite/27_io/basic_filebuf/seekpos/char/12790-3.cc, | |
1039 | * testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc, | |
1040 | * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc, | |
1041 | * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc, | |
1042 | * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc, | |
1043 | * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-3.cc, | |
1044 | * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc, | |
1045 | * testsuite/27_io/basic_filebuf/sync/char/1.cc, | |
1046 | * testsuite/27_io/basic_filebuf/sync/wchar_t/1.cc: | |
1047 | New tests. | |
1048 | ||
1049 | * testsuite/27_io/basic_filebuf/3.cc, | |
1050 | * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc, | |
1051 | * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc, | |
1052 | * testsuite/27_io/basic_fstream/3.cc, | |
1053 | * testsuite/27_io/basic_ifstream/3.cc, | |
1054 | * testsuite/27_io/basic_ofstream/3.cc: | |
1055 | Use streamoff as off_type and fpos<state_type> as pos_type. | |
1056 | ||
1057 | * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc, | |
1058 | * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: | |
1059 | Check that sync does *not* set _M_writing to false. | |
1060 | ||
1b9e6d64 AG |
1061 | 2003-11-03 Anthony Green <green@redhat.com> |
1062 | ||
1063 | * libmath/stubs.c (sqrtf, sqrtl): Reorder so they appear before | |
1064 | they're used. | |
1065 | ||
e0f05105 BK |
1066 | 2003-11-03 Benjamin Kosnik <bkoz@redhat.com> |
1067 | ||
1068 | * include/bits/locale_facets.h (time_get::_M_extract_name): Add | |
1069 | ctype argument. | |
1070 | * include/bits/locale_facets.tcc: Same, use it to allow | |
1071 | capitalized names. | |
1072 | ||
1073 | * include/bits/fstream.tcc: Spacing tweak. | |
1074 | * include/bits/istream.tcc: Same. | |
1075 | * include/bits/ostream.tcc: Same. | |
1076 | ||
08b9183d PC |
1077 | 2003-10-30 Paolo Carlini <pcarlini@suse.de> |
1078 | ||
1079 | * include/bits/locale_facets.tcc (time_get::_M_extract_via_format): | |
1080 | __mod is only assigned, never used its value, remove it. | |
1081 | ||
f1e7988a PC |
1082 | 2003-10-29 Paolo Carlini <pcarlini@suse.de> |
1083 | ||
1084 | * include/bits/locale_facets.tcc (time_get::do_get_year): | |
1085 | Absolutely avoid dereferencing end iterators. | |
1086 | (time_put::put): Minor clean up. | |
1087 | ||
1088 | * include/bits/locale_facets.tcc: Cosmetic reformattings. | |
1089 | ||
58c9703f PC |
1090 | 2003-10-29 Paolo Carlini <pcarlini@suse.de> |
1091 | ||
1092 | * include/bits/locale_facets.tcc (num_get::_M_extract_float): | |
1093 | Revert the last commit, is not correct, sorry. | |
1094 | ||
4f363232 PC |
1095 | 2003-10-29 Paolo Carlini <pcarlini@suse.de> |
1096 | ||
1097 | * config/locale/generic/c_locale.cc: Add back <cmath> and | |
1098 | <cstdlib>. | |
1099 | ||
1100 | * include/bits/locale_facets.tcc (num_get::_M_extract_float): | |
1101 | Clean up. | |
1102 | ||
6bf0b59c PC |
1103 | 2003-10-29 Paolo Carlini <pcarlini@suse.de> |
1104 | ||
1105 | * include/bits/locale_facets.tcc (time_put::put): Absolutely | |
1106 | avoid dereferencing end iterators; clean up. | |
1107 | ||
1108 | * include/bits/locale_facets.tcc (num_get::_M_extract_float, | |
1109 | num_get::_M_extract_int): Minor tweak. | |
1110 | ||
c9cca2c2 PC |
1111 | 2003-10-29 Paolo Carlini <pcarlini@suse.de> |
1112 | ||
1113 | * include/bits/locale_facets.tcc: Remove some unnecessary | |
1114 | includes. | |
1115 | * config/locale/generic/c_locale.cc: Include <cerrno> here. | |
1116 | * config/locale/gnu/c_locale.cc: Likewise. | |
1117 | ||
157f3283 PC |
1118 | 2003-10-28 Paolo Carlini <pcarlini@suse.de> |
1119 | ||
1120 | * include/bits/locale_facets.tcc | |
1121 | (money_get<>::do_get(..., string_type&)): Absolutely avoid | |
1122 | dereferencing end iterators; general clean up. | |
1123 | ||
cc27f5a2 PC |
1124 | 2003-10-28 Paolo Carlini <pcarlini@suse.de> |
1125 | ||
1126 | * include/bits/locale_facets.tcc (time_get::_M_extract_num): | |
1127 | Absolutely avoid dereferencing end iterators. | |
1128 | (time_get::_M_extract_name): Likewise. | |
1129 | ||
1130 | * include/bits/locale_facets.tcc | |
1131 | (time_get::_M_extract_via_format, case 'e'): Don't try to | |
1132 | be smart wrt returning the right __beg in case of parse | |
1133 | error, time_get::_M_extract_num must be fixed instead. | |
1134 | ||
0c6b814a PC |
1135 | 2003-10-27 Paolo Carlini <pcarlini@suse.de> |
1136 | ||
1137 | PR libstdc++/12778 | |
1138 | * acinclude.m4 (GLIBCXX_CHECK_LFS): Use the C++ compiler. | |
1139 | * aclocal.m4: Regenerate. | |
1140 | * configure: Regenerate. | |
1141 | ||
0f09879b BK |
1142 | 2003-10-27 Benjamin Kosnik <bkoz@redhat.com> |
1143 | ||
1144 | * docs/html/17_intro/TODO: Add links. | |
1145 | * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc: | |
1146 | Uncomment. | |
1147 | ||
f20d2b78 PC |
1148 | 2003-10-27 Paolo Carlini <pcarlini@suse.de> |
1149 | ||
1150 | PR libstdc++/12750 | |
1151 | * include/bits/locale_facets.tcc | |
1152 | (time_get::_M_extract_via_format): Deal with code 'e'. | |
1153 | * testsuite/22_locale/time_get/get_date/char/12750.cc: New. | |
1154 | * testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Ditto. | |
1155 | ||
1156 | * include/bits/locale_facets.tcc | |
1157 | (time_get::_M_extract_via_format): Tweak to absolutely avoid | |
1158 | dereferencing end iterators. | |
1159 | ||
1160 | * include/bits/locale_facets.h (__verify_grouping): | |
1161 | Const-ify second parameter. | |
1162 | * include/bits/locale_facets.tcc (__verify_grouping): Ditto. | |
1163 | * src/locale-inst.cc (__verify_grouping): Ditto. | |
1164 | ||
1165 | 2003-10-27 Paolo Carlini <pcarlini@suse.de> | |
1166 | ||
1167 | * include/bits/locale_facets.tcc (num_get::_M_extract_float): | |
1168 | Various things: 1- Avoid absolutely end iterator dereferences; | |
1169 | 2- Improve performance-wise the code skipping leading zeros; | |
1170 | 3- Fix two bugs wrt early bail out in case of parsing errors | |
1171 | (see testcases); 4- General clean up. | |
1172 | (num_get::_M_extract_int): Likewise, except 3-. Additionally, | |
1173 | use __builtin_expect to favor base 10 inputs. | |
1174 | * testsuite/22_locale/num_get/get/char/7.cc: New. | |
1175 | * testsuite/22_locale/num_get/get/wchar_t/7.cc: Ditto. | |
1176 | ||
f883c8dc PC |
1177 | 2003-10-26 Paolo Carlini <pcarlini@suse.de> |
1178 | ||
1179 | * testsuite/22_locale/money_put/put/char/1.cc: Clean up. | |
1180 | * testsuite/22_locale/money_put/put/wchar_t/1.cc: Ditto. | |
1181 | ||
999bf60f PC |
1182 | 2003-10-25 Paolo Carlini <pcarlini@suse.de> |
1183 | ||
1184 | * include/bits/locale_facets.tcc (num_get::_M_extract_int): | |
1185 | __pos in only incremented, never used its value, remove it. | |
1186 | ||
b2398b49 RM |
1187 | 2003-10-24 Robert Millan <robertmh@gnu.org> |
1188 | ||
1189 | * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add kfreebsd*-gnu | |
1190 | and knetbsd*-gnu. | |
1191 | * aclocal.m4: Regenerated. | |
1192 | * configure: Regenerated. | |
1193 | ||
761faeec PC |
1194 | 2003-10-24 Paolo Carlini <pcarlini@suse.de> |
1195 | ||
1196 | * include/bits/locale_facets.tcc (money_get::do_get(..., | |
1197 | long double&): Properly size the temporary buffer. | |
1198 | * testsuite/22_locale/money_get/get/char/11.cc: New. | |
1199 | * testsuite/22_locale/money_get/get/wchar_t/11.cc: Ditto. | |
1200 | ||
1201 | * include/bits/locale_facets.tcc (num_put::_M_group_int, | |
1202 | num_put::_M_group_float, money_put::do_put(..., const | |
1203 | string_type&), collate::do_compare, collate::do_transform): | |
1204 | Prefer basic_string::data() to c_str() when the '\0' | |
1205 | terminator is not really needed. | |
1206 | ||
eebf21ef PC |
1207 | 2003-10-24 Paolo Carlini <pcarlini@suse.de> |
1208 | ||
1209 | * include/bits/locale_facets.tcc (__verify_grouping): | |
1210 | Prefer '=' to an unnecessary '&='. | |
1211 | ||
ebaeca8b PC |
1212 | 2003-10-24 Paolo Carlini <pcarlini@suse.de> |
1213 | ||
1214 | * include/bits/basic_ios.tcc (copyfmt(const basic_ios&)): | |
1215 | Tweak my fix for libstdc++/12657. | |
1216 | ||
bf22935f PC |
1217 | 2003-10-24 Paolo Carlini <pcarlini@suse.de> |
1218 | ||
1219 | * include/bits/locale_facets.tcc (money_get::do_get(..., | |
1220 | string_type&): Minor tweak to the previous commit. | |
1221 | ||
14628700 PC |
1222 | 2003-10-24 Paolo Carlini <pcarlini@suse.de> |
1223 | ||
1224 | * include/bits/locale_facets.tcc (money_get::do_get(..., | |
1225 | string_type&): Disregard the previous commit: doesn't hurt but | |
1226 | doesn't accomplish anything useful either. This is the right | |
1227 | one, speeding up greatly the function in case of early fail. | |
1228 | ||
cdd5cf72 PC |
1229 | 2003-10-24 Paolo Carlini <pcarlini@suse.de> |
1230 | ||
1231 | * include/bits/locale_facets.tcc (money_get::do_get(..., | |
1232 | string_type&): Move an if block, thus minimizing the amount | |
1233 | of code processed anyway when __tmp_units.size() == 0. | |
1234 | ||
c21dbe85 PC |
1235 | 2003-10-24 Paolo Carlini <pcarlini@suse.de> |
1236 | ||
1237 | * include/bits/locale_facets.tcc | |
1238 | (time_get<>::_M_extract_via_format): Deal with case 'C' too, | |
1239 | equivalent to 'y'. | |
1240 | ||
d2c354f3 BK |
1241 | 2003-10-23 Benjamin Kosnik <bkoz@redhat.com> |
1242 | ||
1243 | * docs/html/documentation.html: Add a pointer to the doxygen style | |
1244 | guide. | |
1245 | * docs/html/17_intro/TODO: Update. | |
1246 | * docs/html/test.html: Add instructions for running a subset of | |
1247 | tests, update. | |
1248 | ||
60aa9fc3 PC |
1249 | 2003-10-23 Paolo Carlini <pcarlini@suse.de> |
1250 | ||
1251 | * include/bits/locale_facets.tcc (money_get<>::do_get(..., | |
1252 | string_type&)): Use find_first_not_of to strip leading | |
1253 | zeros; if __tmp_units == "0" never prefix it with '-'; | |
1254 | always fail if __tmp_units is empty. | |
1255 | * testsuite/22_locale/money_get/get/char/10.cc: New. | |
1256 | * testsuite/22_locale/money_get/get/wchar_t/10.cc: Ditto. | |
1257 | ||
861f9573 PE |
1258 | 2003-10-23 Phil Edwards <phil@codesourcery.com> |
1259 | ||
1260 | * config/os/vxworks/ctype_noninline.h: Adjust ctor to match | |
1261 | 2003-10-21 change. | |
1262 | ||
3c21d6e0 PC |
1263 | 2003-10-22 Paolo Carlini <pcarlini@suse.de> |
1264 | ||
1265 | * include/bits/locale_facets.tcc (__int_to_char): Remove | |
1266 | the const int parameter. | |
1267 | (_M_insert_int): Update caller. | |
1268 | * src/locale-inst.cc (__int_to_char): Update instantiations. | |
1269 | ||
bf5fe473 BK |
1270 | 2003-10-22 Benjamin Kosnik <bkoz@redhat.com> |
1271 | ||
1272 | * include/bits/locale_facets.h: Correct byname facets for "C" | |
1273 | locale. | |
1274 | * config/locale/generic/ctype_members.cc: Same. | |
1275 | * config/locale/generic/messages_members.h: Same. | |
1276 | * config/locale/gnu/ctype_members.cc: Same. | |
1277 | * config/locale/gnu/messages_members.h: Same. | |
1278 | * include/bits/codecvt.h: Same. | |
1279 | * src/ctype.cc: Same. | |
1280 | * testsuite/22_locale/codecvt_byname/1.cc: New. | |
1281 | * testsuite/22_locale/collate/1.cc: Edit. | |
1282 | * testsuite/22_locale/collate_byname/1.cc: Derivation tests, move to... | |
1283 | * testsuite/22_locale/collate_byname/named_equivalence.cc: ...here. | |
1284 | * testsuite/22_locale/ctype/1.cc: Derivation tests. | |
1285 | * testsuite/22_locale/ctype/11844.cc: Move... | |
1286 | * testsuite/22_locale/ctype_base/11844.cc: ...here. | |
1287 | * testsuite/22_locale/ctype_base/1.cc: Move mask bits here. | |
1288 | * testsuite/22_locale/ctype_byname/1.cc: Name. | |
1289 | * testsuite/22_locale/messages_byname/1.cc: New. | |
1290 | * testsuite/22_locale/messages_byname/named_equivalence.cc: New. | |
1291 | * testsuite/22_locale/moneypunct_byname/1.cc: Derivation test. | |
1292 | * testsuite/22_locale/moneypunct_byname/named_equivalence.cc: New. | |
1293 | * testsuite/22_locale/numpunct/1.cc: Edit. | |
1294 | * testsuite/22_locale/numpunct_byname/2.cc: Move... | |
1295 | * testsuite/22_locale/numpunct/members/char/3.cc: ...here. | |
1296 | * testsuite/22_locale/numpunct_byname/1.cc: Derivation tests. | |
1297 | * testsuite/22_locale/numpunct_byname/named_equivalence.cc: New. | |
1298 | ||
3d05b345 PC |
1299 | 2003-10-22 Paolo Carlini <pcarlini@suse.de> |
1300 | ||
1301 | PR libstdc++/8610 | |
1302 | * acinclude.m4 (GLIBCXX_CHECK_INT64_T): New macro, | |
1303 | checking for the availability of int64_t. | |
1304 | (GLIBCXX_CHECK_LFS): New macro, checking for LFS support. | |
1305 | * configure.ac: Call here. | |
1306 | * acconfig.h: Add undef for the corresponding symbols. | |
1307 | * config/io/basic_file_stdio.cc (__basic_file<char>::open): | |
1308 | Depending on _GLIBCXX_USE_LFS, call fopen64 or fopen. | |
1309 | (__basic_file<char>::seekoff): Likewise, call lseek64 when | |
1310 | available, otherwise lseek, checking the __off parameter. | |
1311 | * include/bits/postypes.h: Typedef __streamoff_base_type | |
1312 | to int64_t if available, otherwise long long. | |
1313 | * aclocal.m4: Regenerate. | |
1314 | * config.h.in: Likewise. | |
1315 | * configure: Likewise. | |
1316 | ||
1317 | * acinclude.m4 (GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_WRITEV): | |
1318 | Use AC_TRY_LINK instead of AC_TRY_COMPILE. | |
1319 | ||
57d01e69 PC |
1320 | 2003-10-22 Paolo Carlini <pcarlini@suse.de> |
1321 | ||
1322 | PR libstdc++/12657 | |
1323 | * include/bits/basic_ios.tcc (copyfmt(const basic_ios&)): | |
1324 | Implement resolution of DR 292 (WP). | |
1325 | * docs/html/ext/howto.html: Add entry for DR 292. | |
1326 | ||
6b5a2662 BK |
1327 | 2003-10-21 Benjamin Kosnik <bkoz@redhat.com> |
1328 | ||
1329 | * include/ext/mt_allocator.h: Change include to gthr.h. | |
1330 | * include/ext/rope: Same. Add _Refcount_base definitions. | |
1331 | * include/ext/pool_allocator.h: Adjust namespaces. | |
1332 | * include/bits/stl_threads.h (_Refcount_base): Move. | |
1333 | Put remaining into namespace __gnu_cxx. | |
1334 | ||
82c2e3d4 BK |
1335 | 2003-10-21 Benjamin Kosnik <bkoz@redhat.com> |
1336 | ||
1337 | PR libstdc++/9858 | |
1338 | * include/bits/locale_facets.h (ctype<char>): Remove | |
1339 | __ctype_abstract_base. | |
1340 | (ctype<char>::do_is): Remove. | |
1341 | (ctype<char>::do_scan_is): Remove. | |
1342 | * src/ctype.cc: Same. Inline the rest. | |
1343 | * testsuite/22_locale/ctype/is/char/9858.cc: New. | |
1344 | * config/os/aix/ctype_noninline.h: Adjust ctor. | |
1345 | * config/os/bsd/freebsd/ctype_noninline.h: Same. | |
1346 | * config/os/bsd/netbsd/ctype_noninline.h: Same. | |
1347 | * config/os/djgpp/ctype_noninline.h: Same. | |
1348 | * config/os/generic/ctype_noninline.h: Same. | |
1349 | * config/os/gnu-linux/ctype_noninline.h: Same. | |
1350 | * config/os/hpux/ctype_noninline.h: Same. | |
1351 | * config/os/irix/irix5.2/ctype_noninline.h: Same. | |
1352 | * config/os/irix/irix6.5/ctype_noninline.h: Same. | |
1353 | * config/os/mingw32/ctype_noninline.h: Same. | |
1354 | * config/os/newlib/ctype_noninline.h: Same. | |
1355 | * config/os/qnx/qnx6.1/ctype_noninline.h: Same. | |
1356 | * config/os/solaris/solaris2.5/ctype_noninline.h: Same. | |
1357 | * config/os/solaris/solaris2.6/ctype_noninline.h: Same. | |
1358 | * config/os/solaris/solaris2.7/ctype_noninline.h: Same. | |
1359 | * config/os/windiss/ctype_noninline.h: Same. | |
1360 | ||
d23ad8c8 PC |
1361 | 2003-10-21 Paolo Carlini <pcarlini@suse.de> |
1362 | ||
1363 | * src/locale.cc: Tweak a comment. | |
1364 | * src/localename.cc: Move a comment. | |
1365 | ||
9540958e BK |
1366 | 2003-10-20 Benjamin Kosnik <bkoz@redhat.com> |
1367 | ||
1368 | PR libstdc++/10081 | |
1369 | * testsuite_hooks.h: Add pod_type, ctype and numpunct specializations. | |
1370 | * testsuite_hooks.cc: Same. | |
1371 | * 22_locale/numpunct/members/pod/1.cc: Edit. | |
1372 | * 22_locale/numpunct/members/pod/2.cc: Same. | |
1373 | * 27_io/basic_istream/sentry/char/3983-fstream.cc: Move ... | |
1374 | * 27_io/basic_istream/sentry/char/3983-sstream.cc: Move ... | |
1375 | * 27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc: Here. | |
1376 | * 27_io/basic_istream/extractors_character/pod/3983-2.cc: Here. | |
1377 | * 27_io/basic_istream/extractors_other/pod/3983-3.cc: Here. | |
1378 | * 27_io/basic_ostream/sentry/char/3983-fstream.cc: Remove. | |
1379 | * 27_io/basic_ostream/sentry/char/3983-sstream.cc: Remove. | |
1380 | * 27_io/basic_istream/sentry/pod/1.cc: New. | |
1381 | * 27_io/basic_ostream/sentry/pod/1.cc: New. | |
1382 | * 21_strings/basic_string/inserters_extractors/pod/10081-in.cc: New. | |
1383 | * 21_strings/basic_string/inserters_extractors/pod/10081-out.cc: New. | |
1384 | ||
27d54b2a RO |
1385 | 2003-10-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1386 | ||
1387 | * config/cpu/mips/atomicity.h (__atomic_add): Use _ABIO32 instead | |
1388 | of external _MIPS_SIM_ABI32. | |
1389 | ||
65fc9769 PE |
1390 | 2003-10-20 Phil Edwards <phil@codesourcery.com> |
1391 | ||
1392 | * configure.ac: Fix comment typo. | |
1393 | * configure.host: Add vxworks to host_os switch. | |
1394 | * crossconfig.m4: Remove old commented os_include_dir variables | |
1395 | left over from autotools transition. | |
1396 | (*-vxworks): New stanza. | |
1397 | (*-windiss): Add missing symbols. | |
1398 | * configure: Regenerate. | |
1399 | * config/os/vxworks/ctype_base.h, config/os/vxworks/ctype_inline.h, | |
1400 | config/os/vxworks/ctype_noninline.h, config/os/vxworks/os_defines.h: | |
1401 | New files. | |
1402 | * config/os/windiss/os_defines.h: Define __C9X__. | |
1403 | ||
47395a24 DE |
1404 | 2003-10-19 David Edelsohn <edelsohn@gnu.org> |
1405 | ||
1406 | PR other/12506 | |
1407 | * configure.host (aix4,aix*): Define os_include_dir to os/generic. | |
1408 | ||
8f4c7b67 AT |
1409 | 2003-10-18 Andreas Tobler <a.tobler@schweiz.ch> |
1410 | ||
1411 | * src/locale.cc (locale::_S_initialize): Re-apply workaround a | |
1412 | confusion of the use of the gthr API when __gthread_active_p() | |
1413 | returns true. | |
1414 | ||
c755e77d BK |
1415 | 2003-10-17 Benjamin Kosnik <bkoz@redhat.com> |
1416 | ||
1417 | * src/Makefile.am: Add new files. | |
1418 | * src/Makefile.in: Regenerate. | |
1419 | * src/globals.cc: Split into.. | |
1420 | * src/globals_io.cc: New. | |
1421 | * src/globals_locale.cc: New. | |
1422 | * src/ios.cc: Split into... | |
1423 | * src/ios_init.cc: New. | |
1424 | * src/ios_locale.cc: New. | |
1425 | * src/locale-inst.cc: Split into.. | |
1426 | * src/wlocale-inst.cc: New. | |
1427 | * src/locale-misc-inst.cc: New. | |
1428 | * src/locale.cc, src/localename: Split into... | |
1429 | * src/locale_facets.cc: New. | |
1430 | * src/locale_init.cc: New. | |
1431 | * src/wstring-inst.cc: Add copyright info. | |
1432 | ||
4c4809c1 BK |
1433 | 2003-10-16 Petur Runolfsson <peturr02@ru.is> |
1434 | ||
4c4809c1 BK |
1435 | PR libstdc++/11450 |
1436 | PR libstdc++/11543 | |
1437 | PR libstdc++/12065 | |
1438 | * config/io/basic_file_stdio.cc (__basic_file::seekoff): | |
1439 | Change return value from streampos to streamoff. | |
1440 | (__basic_file::seekpos): Delete. | |
1441 | * config/io/basic_file_stdio.h: Same. | |
1442 | * config/io/c_io_stdio.h: Remove streamoff and wstreamsize typedefs. | |
1443 | * include/Makefile.am (bits_headers): Add bits/postypes.h. | |
1444 | * include/bits/char_traits.h: Include bits/postypes.h instead of | |
1445 | bits/fpos.h. | |
1446 | * include/bits/fstream.tcc (basic_filebuf::open, | |
1447 | basic_filebuf::pbackfail): Don't use < or >= to compare pos_type | |
1448 | values, use == and != instead. | |
1449 | (basic_filebuf::_M_seek): Use explicit conversion from streamoff | |
1450 | to pos_type. | |
1451 | (basic_filebuf::imbue): Don't use ! on pos_type values, use | |
1452 | == instead. Don't use __check_facet(_M_codecvt) unless is_open(). | |
1453 | * include/bits/postypes.h: New file. | |
1454 | Add __streamoff_base_type typedef, streamsize. | |
1455 | (streamoff, streampos, wstreampos): Define typedefs, with | |
1456 | streamoff defined as... | |
1457 | (streamoff): New class. Document implementation defined | |
1458 | aspects. | |
1459 | (fpos): New implementation. Document implementation defined | |
1460 | aspects. | |
1461 | * include/bits/sstream.tcc (basic_stringbuf::seekpos): Use | |
1462 | explicit conversion from pos_type to off_type. | |
1463 | * include/std/std_iosfwd.h: Include bits/postypes.h instead | |
1464 | of bits/fpos.h. | |
1465 | * testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: New test. | |
1466 | * testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: New test. | |
1467 | * testsuite/27_io/fpos/11450.cc: New test. | |
1468 | * testsuite/27_io/fpos/mbstate_t/12065.cc: New test. | |
1469 | * testsuite/27_io/fpos/mbstate_t/4_neg.cc: New test. | |
1470 | * testsuite/27_io/types/3.cc: New test. | |
1471 | ||
1472 | 2003-10-16 Benjamin Kosnik <bkoz@redhat.com> | |
f883c8dc PC |
1473 | |
1474 | * configure.host: Remove fpos_include_dir. | |
1475 | * configure.ac: Remove FPOS_INC_SRCDIR. | |
1476 | * configure: Regenerate. | |
1477 | * acinclude.m4 (GLIBCXX_ENABLE_CSTDIO): Remove FPOS_H. | |
1478 | * aclocal.m4: Regenerate. | |
1479 | * include/Makefile.am (host_headers): Remove fpos.h. | |
1480 | (bits_headers): Add postypes.h. | |
1481 | * include/Makefile.in: Regenerate. | |
1482 | * config/os/gnu-linux/fposh: Remove. | |
1483 | * config/os/generic/fpos.h: Remove. | |
1484 | ||
1485 | * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Fixup. | |
1486 | * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Same. | |
1487 | * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Same. | |
1488 | * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Same. | |
1489 | * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Same. | |
1490 | * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Same. | |
1491 | * testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Same. | |
1492 | * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Same. | |
1493 | * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Same. | |
1494 | * testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Same. | |
1495 | * testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Same. | |
1496 | * testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Same. | |
1497 | * testsuite/27_io/basic_istream/seekg/char/2.cc: Same. | |
1498 | * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Same. | |
1499 | * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Same. | |
1500 | * testsuite/27_io/fpos/mbstate_t/3.cc: Same. | |
1501 | * testsuite/27_io/objects/char/10.cc: Same. | |
4c4809c1 | 1502 | |
0392ff98 PC |
1503 | 2003-10-16 Paolo Carlini <pcarlini@suse.de> |
1504 | ||
1505 | * src/locale.cc (locale::locale(const char*)): ... one | |
1506 | more comparison missed in the previous commit. | |
1507 | ||
d2f663d1 BK |
1508 | 2003-10-16 Benjamin Kosnik <bkoz@redhat.com> |
1509 | ||
5d78fe72 BK |
1510 | * acconfig.h: Add HAVE_DRAND48. |
1511 | * crossconfig.m4: Remove ISATTY. | |
d2f663d1 BK |
1512 | * aclocal.m4: Regenerated. |
1513 | * config.h.in: Regenerated. | |
5d78fe72 | 1514 | * configure: Regenerated. |
d2f663d1 | 1515 | |
068c84e3 BI |
1516 | 2003-10-16 Bernardo Innocenti <bernie@develer.com> |
1517 | ||
1518 | * config/cpu/m68k/atomicity.h (__exchange_and_add): Use TAS on | |
1519 | __mcf5400__. Don't rely on __mc68000__ to detect a bare 68000. | |
1520 | Document SMP safeness of asm macros. | |
1521 | ||
eaed902b PC |
1522 | 2003-10-16 Paolo Carlini <pcarlini@suse.de> |
1523 | ||
1524 | * src/locale.cc (locale::locale(const char*)): Tweak | |
1525 | a couple of comparisons to use basic_string operators. | |
1526 | ||
f991b1d8 PC |
1527 | 2003-10-16 Paolo Carlini <pcarlini@suse.de> |
1528 | ||
1529 | PR libstdc++/12540 | |
1530 | * config/locale/gnu/monetary_members.cc | |
1531 | (moneypunct<wchar_t, true/false>::_M_initialize_moneypunct): | |
1532 | Don't leak memory if new throws. | |
1533 | * src/locale.cc (locale::locale(const char*)): In order not | |
1534 | to leak memory in case new throws, use a basic_string type | |
1535 | for __res too and avoid strdup. | |
1536 | ||
84e72d83 JB |
1537 | 2003-10-14 Jeff Bailey <jbailey@nisa.net> |
1538 | ||
1539 | PR libstdc++/12562 | |
1540 | * crossconfig.m4: Share the config between *-linux* and *-gnu*. | |
1541 | * configure: Regenerate. | |
1542 | ||
be3faf89 CW |
1543 | 2003-10-14 Carlo Wood <carlo@alinoe.com> |
1544 | ||
1545 | PR libstdc++/12600 | |
1546 | * include/bits/demangle.h (session<Allocator>:: | |
1547 | decode_unqualified_name(string_type& output)): Fail on a | |
1548 | <operator-name> when decoding <template-argument>. | |
1549 | * testsuite/demangle/regression/cw-15.cc: New. | |
1550 | ||
1638f5c9 PC |
1551 | 2003-10-14 Paolo Carlini <pcarlini@unitus.it> |
1552 | ||
1553 | PR libstdc++/11480 | |
1554 | * include/bits/stl_algo.h (unique): Fix. | |
1555 | * testsuite/25_algorithms/unique.cc: Move to unique/1.cc. | |
1556 | * testsuite/25_algorithms/unique/11480.cc: New, from the PR. | |
1557 | * testsuite/25_algorithms/unique/2.cc: New. | |
1558 | ||
42db0f21 PC |
1559 | 2003-10-14 Paolo Carlini <pcarlini@unitus.it> |
1560 | ||
1561 | * src/localename.cc (_M_replace_categories, M_replace_facet): | |
1562 | Const-ify a couple of variables. | |
1563 | ||
9dccaa6b PR |
1564 | 2003-10-14 Petur Runolfsson <peturr02@ru.is> |
1565 | Andreas Tobler <a.tobler@schweiz.ch> | |
1566 | ||
1567 | * src/locale.cc (locale::_S_initialize): Workaround a confusion | |
1568 | of the use of the gthr API when __gthread_active_p() returns true. | |
1569 | ||
a62e7311 PR |
1570 | 2003-10-12 Petur Runolfsson <peturr02@ru.is> |
1571 | Paolo Carlini <pcarlini@unitus.it> | |
1572 | ||
1573 | PR libstdc++/11460 | |
1574 | * src/strstream.cc (pbackfail): Fix to use to_int_type. | |
1575 | * testsuite/backward/11460.cc: New, from the PR. | |
1576 | ||
f5677b15 PC |
1577 | 2003-10-12 Paolo Carlini <pcarlini@unitus.it> |
1578 | ||
1579 | * config/locale/ieee_1003.1-2001/codecvt_specializations.h: | |
1580 | Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment. | |
1581 | * include/bits/basic_string.tcc: Likewise. | |
1582 | * include/bits/ios_base.h: Likewise. | |
1583 | * include/bits/istream.tcc: Likewise. | |
1584 | * include/bits/locale_facets.tcc: Likewise. | |
1585 | * include/bits/ostream.tcc: Likewise. | |
1586 | * include/bits/stl_function.h: Likewise. | |
1587 | * include/bits/stl_multiset.h: Likewise. | |
1588 | * include/bits/stl_pair.h: Likewise. | |
1589 | * include/bits/stl_set.h: Likewise. | |
1590 | * include/bits/streambuf_iterator.h | |
1591 | * include/std/std_iosfwd.h: Likewise. | |
1592 | * include/std/std_istream.h: Likewise. | |
1593 | * include/std/std_sstream.h: Likewise. | |
1594 | * include/std/std_streambuf.h: Likewise. | |
1595 | * src/ios.cc: Likewise. | |
1596 | * include/bits/c++config: | |
1597 | Comment out #define _GLIBCXX_RESOLVE_LIB_DEFECTS 1. | |
1598 | * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak a | |
1599 | dg-error directive due to removal of a blank line. | |
1600 | * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise. | |
1601 | ||
c411fdae AT |
1602 | 2003-10-12 Andreas Tobler <a.tobler@schweiz.ch> |
1603 | Paolo Carlini <pcarlini@unitus.it> | |
1604 | ||
1605 | PR libstdc++/11844/11740 (cont) | |
1606 | * config/os/generic/ctype_inline.h (ctype<char>::is): | |
1607 | Generically, use a bitmasksize of 15 (instead of 10); | |
1608 | Fix the logic to actually return (M & m) != 0 as per | |
1609 | 22.2.1.1.2. | |
1610 | ||
796d7a86 BI |
1611 | 2003-10-11 Bernardo Innocenti <bernie@develer.com> |
1612 | ||
1613 | * crossconfig.m4 (*-uclinux*): New target. | |
1614 | * configure: Regenerate. | |
1615 | ||
6b61bca4 PC |
1616 | 2003-10-10 Paolo Carlini <pcarlini@unitus.it> |
1617 | ||
1618 | * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT)) | |
1619 | Avoid unnecessarily calling __builtin_alloca and dealing | |
1620 | explicitly with width() smaller than zero. | |
1621 | (operator<<(basic_ostream&, char), operator<<(basic_ostream&, | |
1622 | const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&, | |
1623 | const char*), operator<<(basic_ostream<char, _Traits>&, | |
1624 | const char*), operator<<(basic_ostream, const basic_string&)): | |
1625 | Likewise. | |
1626 | ||
5aaa2108 BK |
1627 | 2003-10-09 Benjamin Kosnik <bkoz@redhat.com> |
1628 | ||
1629 | * config/linker-map.gnu: Make more *_type_info bits visible. | |
1630 | Move new/delete bits back into GLIBCXX space. | |
1631 | ||
1632 | * include/bits/locale_classes.h: Move _M_id out of line, so that | |
1633 | locale::id::_S_highwater can be removed from the export list. | |
1634 | * src/locale.cc (locale::id::_M_id): Define. | |
1635 | ||
64833be0 AT |
1636 | 2003-10-09 Andreas Tobler <a.tobler@schweiz.ch> |
1637 | ||
1638 | * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_64 for | |
1639 | SPARC64. | |
1640 | ||
2f800bcc PC |
1641 | 2003-10-09 Paolo Carlini <pcarlini@unitus.it> |
1642 | ||
1643 | PR libstdc++/11844 | |
1644 | * config/os/aix/ctype_base.h: Fix 'alnum' and 'graph' | |
1645 | to conform to the requirements of 22.2.1. | |
1646 | * config/os/bsd/freebsd/ctype_base.h: Likewise. | |
1647 | * config/os/djgpp/ctype_base.h: Likewise. | |
1648 | * config/os/generic/ctype_base.h: Likewise. | |
1649 | * config/os/gnu-linux/ctype_base.h: Likewise. | |
1650 | * config/os/hpux/ctype_base.h: Likewise. | |
1651 | * config/os/irix/irix6.5/ctype_base.h: Likewise. | |
1652 | * config/os/solaris/solaris2.6/ctype_base.h: Likewise. | |
1653 | * config/os/solaris/solaris2.7/ctype_base.h: Likewise. | |
1654 | * testsuite/22_locale/ctype/11844.cc: New. | |
1655 | ||
1656 | * config/locale/generic/ctype_members.cc (do_is): | |
1657 | Generically, use a bitmasksize of 15 (instead of 10), since | |
1658 | we don't know the numerical encoding of the various categories | |
1659 | in the underlying /usr/include/ctype.h. | |
1660 | ||
93d04686 BK |
1661 | 2003-10-09 Benjamin Kosnik <bkoz@redhat.com> |
1662 | ||
1663 | * src/string-inst.cc: Prune. | |
1664 | * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers. | |
1665 | * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. | |
1666 | ||
1667 | 2003-10-09 Petur Runolfsson <peturr02@ru.is> | |
1668 | ||
1669 | * src/io-inst.cc: Don't include iostream. | |
1670 | * include/bits/ios_base.h (ios_base::failure): Use string. | |
1671 | * src/Makefile.am: Add ios_failure.cc. | |
1672 | * src/Makefile.in: Regenerate. | |
1673 | * src/ios.cc: Move ios_base::failure definitions to... | |
1674 | * src/ios_failure.cc: ...here. New. | |
1675 | ||
1a139c59 PR |
1676 | 2003-10-09 Petur Runolfsson <peturr02@ru.is> |
1677 | ||
1678 | PR libstdc++/9874 | |
1679 | * include/bits/fstream.tcc (basic_filebuf::seekoff): | |
1680 | Move code needed for both seekoff and seekpos... | |
1681 | (basic_filebuf::_M_seek): ...here. New function. | |
1682 | (basic_filebuf::seekpos): Don't call seekoff, call _M_seek. | |
1683 | * include/std/std_fstream.h (basic_filebuf::_M_seek): Declare it. | |
1684 | * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: New test. | |
1685 | ||
1686 | * testsuite/22_locale/locale/cons/12438.cc: Increase memory limit. | |
1687 | ||
a761195b PC |
1688 | 2003-10-08 Paolo Carlini <pcarlini@unitus.it> |
1689 | ||
1690 | * include/bits/locale_facets.tcc: More minor cosmetic | |
1691 | changes and const-ifications of some variables. | |
1692 | ||
905df1fb PC |
1693 | 2003-10-07 Paolo Carlini <pcarlini@unitus.it> |
1694 | ||
1695 | * include/bits/locale_facets.tcc: Minor cosmetic changes | |
1696 | and const-ifications of some variables. | |
1697 | ||
1698 | * include/bits/locale_facets.tcc | |
1699 | (money_get::do_get(..., string_type&)): Simplify an if-else. | |
1700 | ||
ba9b12d1 PC |
1701 | 2003-10-06 Paolo Carlini <pcarlini@unitus.it> |
1702 | ||
1703 | PR libstdc++/11740 | |
1704 | * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): | |
1705 | Fix to actually return (M & m) != 0 as per 22.2.1.1.2. | |
1706 | * config/locale/generic/ctype_members.cc: Same. | |
1707 | * testsuite/22_locale/ctype/is/wchar_t/11740.cc: New. | |
1708 | ||
e4f7d0a1 PC |
1709 | 2003-10-06 Paolo Carlini <pcarlini@unitus.it> |
1710 | ||
1711 | * include/bits/locale_facets.tcc (__pad<>::_S_pad): | |
1712 | Improve performance-wise: avoid one traits::copy, avoid | |
1713 | the __builtin_alloca, streamline. | |
1714 | ||
5b577977 PC |
1715 | 2003-10-05 Paolo Carlini <pcarlini@unitus.it> |
1716 | ||
1717 | * include/bits/locale_facets.tcc | |
1718 | (num_put::do_put(..., bool)): Prefer ?: to if-else. | |
1719 | (time_get::_M_extract_name): Qualify min with std::. | |
1720 | (__pad<>::_S_pad): Constify two variables; simplify an | |
1721 | if-else statement factoring out some code. | |
1722 | ||
1723 | * include/bits/locale_facets.tcc: Minor cosmetic changes. | |
1724 | ||
dff186db PC |
1725 | 2003-10-04 Paolo Carlini <pcarlini@unitus.it> |
1726 | ||
1727 | * include/bits/locale_facets.tcc (num_get::_M_extract_float): | |
1728 | Constify a couple of variables. | |
1729 | (num_get::do_get(..., bool&)): Constify __c; prefer *__beg, | |
1730 | ++__beg to *__beg++. | |
1731 | ||
2811b823 PC |
1732 | 2003-10-04 Paolo Carlini <pcarlini@unitus.it> |
1733 | Petur Runolfsson <peturr02@ru.is> | |
1734 | ||
1735 | * include/ext/stdio_sync_filebuf.h: Don't include the whole | |
1736 | <fstream>, only <streambuf> and <cstdio>. | |
1737 | ||
184b434c PC |
1738 | 2003-10-04 Paolo Carlini <pcarlini@unitus.it> |
1739 | ||
1740 | PR libstdc++/12206 | |
1741 | * include/bits/fstream.tcc (imbue): In case a codecvt facet | |
1742 | is not available, set _M_codecvt = 0. | |
1743 | * testsuite/27_io/basic_filebuf/imbue/12206.cc: New. | |
1744 | ||
cafc7337 HB |
1745 | 2003-10-02 Harald Boehme <boehme@informatik.hu-berlin.de> |
1746 | ||
1747 | PR libstdc++/12451 | |
1748 | * libsupc++/cxxabi.h: Move forward declaration of __class_type_info. | |
1749 | ||
bb1b12ec BK |
1750 | 2003-10-02 Benjamin Kosnik <bkoz@redhat.com> |
1751 | ||
1752 | * include/bits/locale_classes.h (locale::facet::_S_get_c_name): Add. | |
1753 | * src/locale.cc: Define. | |
1754 | * src/localename.cc: Use it. | |
1755 | * config/locale/generic/time_members.h: Same. | |
1756 | * config/locale/gnu/messages_members.h: Same. | |
1757 | * config/locale/gnu/time_members.h: Same. | |
1758 | ||
8dcaff28 PC |
1759 | 2003-10-02 Paolo Carlini <pcarlini@unitus.it> |
1760 | ||
1761 | PR libstdc++/12232 | |
1762 | * include/bits/fstream.tcc (seekoff): Ignore the openmode | |
1763 | argument; simplify. | |
1764 | * config/io/basic_file_stdio.h (__basic_file<char>::seekoff, | |
1765 | seekpos): Remove the openmode argument. | |
1766 | * config/io/basic_file_stdio.cc (__basic_file<char>::seekoff, | |
1767 | seekpos): Remove redundant placeholder for the openmode argument. | |
1768 | * testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: New. | |
1769 | * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Tweak. | |
1770 | * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise. | |
1771 | * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise. | |
1772 | * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise. | |
1773 | ||
5c109a17 BK |
1774 | 2003-10-02 Benjamin Kosnik <bkoz@redhat.com> |
1775 | ||
1776 | * src/locale.cc (locale::_S_initialize): Use __gthread_active_p. | |
1777 | (locale::facet::_S_get_c_locale): Same. | |
1778 | ||
8ae81136 BK |
1779 | 2003-10-02 Benjamin Kosnik <bkoz@redhat.com> |
1780 | ||
1781 | * config/linker-map.gnu: Export _S_get_c_locale instead of | |
1782 | _S_c_locale object. | |
1783 | ||
1784 | 2003-10-02 Petur Runolfsson <peturr02@ru.is> | |
1785 | ||
1786 | * config/locale/generic/c_locale.cc | |
1787 | (category_names, locale::_S_categories): Const qualify. | |
1788 | * config/locale/gnu/c_locale.cc: Same. | |
1789 | * config/locale/generic/time_members.h (__timepunct::__timepunct): | |
1790 | Copy string contents before assigning to _M_name_timepunct, | |
1791 | qualify strcpy and strlen with std::. | |
1792 | * config/locale/gnu/time_members.h: Same. | |
1793 | * config/locale/gnu/messages_members.h (messages::messages): | |
1794 | Copy string contents before assigning to _M_name_messages, | |
1795 | qualify strcpy and strlen with std::. | |
1796 | * config/os/gnu-linux/ctype_noninline.h | |
1797 | (ctype<char>::classic_table()): Don't call locale::classic(). | |
1798 | * include/bits/locale_classes.h | |
1799 | (locale::_S_categories): Const qualify. | |
1800 | (locale::_S_once, locale::_S_initialize_once, | |
1801 | locale::facet::_S_once, locale::facet::_S_initialize_once, | |
1802 | locale::facet::_S_get_c_locale): Declare. | |
1803 | (locale::_S_initialize): Don't define. | |
1804 | (locale::facet::_S_c_locale): Make private. | |
1805 | (locale::facet::_S_c_name): Same, const qualify. | |
1806 | (locale::_Impl::_Impl(facet**, size_t, bool)): Drop unused | |
1807 | parameters, add throw() specifier. | |
1808 | * include/bits/locale_facets.h (__timepunct::_M_name_timepunct, | |
1809 | messages::_M_name_messages): Const qualify. | |
1810 | * src/locale.cc | |
1811 | (locale::_S_once, locale::facet::_S_once): Define. | |
1812 | (locale::classic): Move initialization code... | |
1813 | (locale::_S_initialize_once): ...here. | |
1814 | (locale::_S_initialize): Call _S_initialize_once through | |
1815 | __gthread_once. | |
1816 | (locale::facet::_S_initialize_once): Initialize _S_c_locale. | |
1817 | (locale::facet::_S_get_c_locale): Call _S_initialize_once through | |
1818 | __gthread_once before returning _S_c_locale. | |
1819 | * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool)): | |
1820 | Drop unused parameters, add throw() specifier, don't initialize | |
1821 | locale::facet::_S_c_locale and _S_c_name. | |
1822 | ||
1823 | * config/locale/generic/messages_members.h: | |
1824 | Replace _S_c_locale with _S_get_c_locale(). | |
1825 | * config/locale/gnu/c_locale.cc: Same. | |
1826 | * config/locale/gnu/messages_members.h: Same. | |
1827 | * config/locale/gnu/numeric_members.cc: Same. | |
1828 | * config/locale/gnu/time_members.cc: Same. | |
1829 | * config/os/gnu-linux/ctype_noninline.h: Same. | |
1830 | * include/bits/locale_facets.h: Same. | |
1831 | * include/bits/locale_facets.tcc: Same. | |
1832 | * src/codecvt.cc: Same. | |
1833 | * src/ctype.cc: Same. | |
1834 | ||
4a035cf7 CW |
1835 | 2003-10-02 Carlo Wood <carlo@alinoe.com> |
1836 | ||
1837 | * include/bits/demangle.h (demangle<Allocator>::symbol(char const*)): | |
1838 | Decode symbols that start with _GLOBAL_[ID]_ differently: the | |
1839 | trailing part ends with a terminating zero and is not necessarily an | |
1840 | encoding. | |
1841 | * src/demangle.cc (): Same. | |
1842 | * testsuite/demangle/regression/cw-13.cc: Adjust for new output. | |
1843 | ||
86b4ab73 PC |
1844 | 2003-10-02 Paolo Carlini <pcarlini@unitus.it> |
1845 | ||
1846 | * testsuite/22_locale/locale/cons/12438.cc: Use | |
1847 | __gnu_test::try_named_locale(""). | |
1848 | ||
222a5b1d RO |
1849 | 2003-10-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1850 | ||
1851 | * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define. | |
1852 | (GLIBCXX_CHECK_STDLIB_SUPPORT): Use it to test for lrand48 | |
1853 | instead of drand48. | |
1854 | * acconfig.h (HAVE_DRAND48): Renamed to HAVE_LRAND48. | |
1855 | * crossconfig.m4 (*-freebsd*): Define HAVE_LRAND48 instead of | |
1856 | HAVE_DRAND48. | |
1857 | * config.h.in, configure: Regenerate. | |
1858 | * include/bits/stl_algo.h: Use _GLIBCXX_HAVE_LRAND48 to guard | |
1859 | lrand48 use. | |
1860 | ||
e39dd1ce NM |
1861 | 2003-10-01 Nathan Myers <ncm@cantrip.org> |
1862 | ||
1863 | * include/bits/locale_facets.tcc (time_put::put): Avoid | |
1864 | expensive *__s++, in favor of *__s, ++__s. | |
1865 | ||
530ce551 PC |
1866 | 2003-10-01 Paolo Carlini <pcarlini@unitus.it> |
1867 | ||
1868 | * include/bits/locale_facets.tcc (time_put::put): Minor | |
1869 | tweak to the previous commit. | |
1870 | ||
52a16d08 PC |
1871 | 2003-10-01 Paolo Carlini <pcarlini@unitus.it> |
1872 | ||
1873 | PR libstdc++/12439 | |
1874 | * include/bits/locale_facets.tcc (time_put::put): Deal | |
1875 | with the three issues pointed out by the PR. | |
1876 | * testsuite/22_locale/time_put/put/char/12439_1.cc: New. | |
1877 | * testsuite/22_locale/time_put/put/char/12439_3.cc: New. | |
1878 | * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: New. | |
1879 | * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: New. | |
1880 | * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: New. | |
1881 | ||
ae7c3ba5 PC |
1882 | 2003-09-30 Paolo Carlini <pcarlini@unitus.it> |
1883 | ||
1884 | * include/bits/stl_algo.h: Minor cosmetic reformattings. | |
1885 | ||
cbc6c296 PC |
1886 | 2003-09-30 Paolo Carlini <pcarlini@unitus.it> |
1887 | ||
1888 | * include/bits/stl_algo.h (search_n): Tweak, to spare the | |
1889 | first --__n. | |
1890 | ||
2ea247d3 PC |
1891 | 2003-09-30 Paolo Carlini <pcarlini@unitus.it> |
1892 | ||
1893 | * testsuite/22_locale/locale/cons/12352.cc: Explicitly | |
1894 | qualify exception name. | |
1895 | ||
155f6fbb PC |
1896 | 2003-09-30 Paolo Carlini <pcarlini@unitus.it> |
1897 | ||
1898 | PR libstdc++/12438 | |
1899 | * include/bits/locale_facets.tcc (locale::combine): Don't | |
1900 | leak memory if _M_replace_facet throws. | |
1901 | * testsuite/22_locale/locale/cons/12438.cc: New, from the PR. | |
1902 | ||
1903 | * include/bits/locale_classes.h (locale::locale(const locale&, | |
1904 | _Facet*)): Tweak, use consistently _M_remove_reference. | |
1905 | ||
70863cbd PC |
1906 | 2003-09-30 Paolo Carlini <pcarlini@unitus.it> |
1907 | ||
1908 | PR libstdc++/12352 (cont) | |
1909 | * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)): | |
1910 | Don't leak __cloc; don't leak if any of the _M_init_facet(...) | |
1911 | calls fail. | |
1912 | (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak. | |
1913 | (locale::_Impl::~_Impl): Don't do anything if !_M_facets, | |
1914 | !_M_caches, !_M_names. | |
1915 | ||
51ac684e RO |
1916 | 2003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1917 | ||
1918 | * configure.host: Handle Solaris 2.5 micro releases explicitly. | |
1919 | Remove wildcards from Solaris 2.6, 7-9: there were no | |
1920 | micro releases. | |
1921 | Treat Solaris 10 and up like 7-9. | |
1922 | ||
6821a40b PC |
1923 | 2003-09-29 Paolo Carlini <pcarlini@unitus.it> |
1924 | ||
1925 | * include/bits/stl_algo.h (search_n): Improve the previous | |
1926 | fix as suggested by Martin. | |
1927 | ||
e5012ba5 PC |
1928 | 2003-09-29 Paolo Carlini <pcarlini@unitus.it> |
1929 | ||
1930 | PR libstdc++/12296 | |
1931 | * include/bits/istream.tcc (peek): Set eofbit if sgetc | |
1932 | returns eof. | |
1933 | * testsuite/27_io/basic_istream/peek/char/12296.cc: | |
1934 | New, from the PR. | |
1935 | ||
1936 | 2003-09-29 Nathan Myers <ncm@cantrip.org> | |
1937 | Paolo Carlini <pcarlini@unitus.it> | |
1938 | ||
1939 | PR libstdc++/11400 | |
1940 | * include/bits/stl_algo.h (search_n): | |
1941 | Use iterator_traits<>::difference_type for __n. | |
1942 | * testsuite/25_algorithms/search_n/11400.cc: New, from the PR. | |
1943 | ||
6cd6aed7 PC |
1944 | 2003-09-29 Paolo Carlini <pcarlini@unitus.it> |
1945 | ||
1946 | * testsuite/22_locale/locale/cons/12352.cc: | |
1947 | Use __attribute__((unused)) for test. | |
1948 | ||
33b16690 UW |
1949 | 2003-09-26 Ulrich Weigand <uweigand@de.ibm.com> |
1950 | ||
1951 | * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either | |
1952 | "Son" or "So" as abbreviated name for Sunday in de_DE locale. | |
1953 | * testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise. | |
1954 | ||
2d07c3f5 BS |
1955 | 2003-09-26 Brad Spencer <spencer@infointeractive.com> |
1956 | ||
1957 | * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: | |
1958 | Explicitly qualify exceptions. | |
1959 | * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same. | |
1960 | * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same. | |
1961 | * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same. | |
1962 | * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same. | |
1963 | ||
91675f9d PC |
1964 | 2003-09-25 Paolo Carlini <pcarlini@unitus.it> |
1965 | ||
1966 | PR libstdc++/12352 | |
1967 | * src/localename.cc (locale::_Impl::_Impl(const _Impl&, | |
1968 | size_t)): Don't leak if memory allocations for _M_facets, | |
1969 | _M_caches, and _M_names fail. | |
1970 | (locale::_Impl::_Impl(const char*, size_t)): Ditto. | |
1971 | (locale::_Impl::_M_replace_categories(const _Impl*, | |
1972 | category)): Ditto. | |
1973 | (locale::_Impl::_M_install_facet(const locale::id*, | |
1974 | const facet*)): Ditto. | |
1975 | * include/bits/locale_classes.h (locale::locale(const locale&, | |
1976 | _Facet*)): Don't leak memory. | |
1977 | * testsuite/22_locale/locale/cons/12352.cc: New, from the PR. | |
1978 | ||
1979 | * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, | |
1980 | bool)): Qualify with std:: strcpy, tweak. | |
1981 | * include/bits/locale_classes.h | |
1982 | (locale::_Impl::_M_check_same_name): Qualify strcmp. | |
1983 | ||
2b1be54b BS |
1984 | 2003-09-25 Brad Spencer <spencer@infointeractive.com> |
1985 | ||
1986 | PR libstdc++/6072 | |
775ee48e BK |
1987 | * acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf, |
1988 | wcstof, iswblank. | |
2b1be54b BS |
1989 | * aclocal.m4: Regenerate. |
1990 | * config.h.in: Regenerate. | |
1991 | * configure: Regenerate. | |
1992 | * crossconfig.m4: Add in wchar_t bits for solaris crosses. | |
1993 | * config/io/basic_file_stdio.cc: Guard unistd.h. | |
1994 | * include/c_compatibility/wchar.h: Guard extra wchar_t functionality. | |
1995 | * include/c_std/std_cwchar.h: Same. | |
1996 | * include/c_std/std_cwctype.h: Same. | |
1997 | ||
465ad0c7 BK |
1998 | 2003-09-25 Benjamin Kosnik <bkoz@redhat.com> |
1999 | ||
775ee48e | 2000 | PR libstdc++/11065 |
465ad0c7 BK |
2001 | * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix. |
2002 | * config/locale/generic/ctype_members.cc: Same. | |
2003 | * testsuite/22_locale/ctype/is/char/1.cc: Initialize mask. | |
2004 | * testsuite/22_locale/ctype/is/wchar_t/1.cc: Same. | |
2005 | ||
2006 | * config/os/generic/ctype_inline.h: Update. | |
2007 | ||
7b865c36 UW |
2008 | 2003-09-25 Ulrich Weigand <uweigand@de.ibm.com> |
2009 | ||
2010 | * src/Makefile.am (version_dep): New variable. | |
2011 | (libstdc___la_DEPENDENCIES): Use it to add dependency on | |
2012 | libstdc++-symbol.ver only when using symbol versioning. | |
2013 | * src/Makefile.in: Regenerate. | |
2014 | ||
11f10e6b BK |
2015 | 2003-09-23 Benjamin Kosnik <bkoz@redhat.com> |
2016 | ||
2017 | * include/bits/locale_facets.tcc: Tweak to avoid warnings. | |
2018 | * testsuite/testsuite_hooks.h: Same. | |
2019 | * testsuite/*/*.cc: Same. | |
2020 | ||
89ec0c4b PR |
2021 | 2003-09-22 Petur Runolfsson <peturr02@ru.is> |
2022 | ||
2023 | * include/bits/istream.tcc (basic_istream::read, | |
2024 | basic_istream::readsome, basic_istream::putback, | |
2025 | basic_istream::unget, operator>>(basic_istream, CharT)): | |
2026 | Avoid redundant setstate(failbit) calls when sentry::operator bool() | |
2027 | returns false. | |
2028 | ||
dc25fbc7 CW |
2029 | 2003-09-22 Carlo Wood <carlo@alinoe.com> |
2030 | ||
2031 | PR libstdc++/12365 | |
2032 | * include/bits/demangle.h (qualifier(int, cv_qualifier_nt, | |
2033 | char const*, int, int)): Remove unused identifier | |
2034 | cv_qualifier for overloaded constructor. | |
2035 | ||
b2bc3339 BK |
2036 | 2003-09-18 Benjamin Kosnik <bkoz@redhat.com> |
2037 | ||
2038 | PR libstdc++/11504 | |
2039 | * acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to | |
2040 | WARN_FLAGS, remove -Wno-format. | |
2041 | * aclocal.m4: Regenerate. | |
2042 | * configure: Regenerate. | |
2043 | ||
0b5ce4f1 PR |
2044 | 2003-09-18 Petur Runolfsson <peturr02@ru.is> |
2045 | ||
2046 | * config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete. | |
2047 | * config/io/basic_file_stdio.h: Same. | |
2048 | * include/std/std_fstream.h (__ctype_type): Delete. | |
2049 | * include/std/std_streambuf.h (__ctype_type, __state_type): Delete. | |
2050 | ||
43892f8c BK |
2051 | 2003-09-17 Benjamin Kosnik <bkoz@redhat.com> |
2052 | ||
2053 | PR libstdc++/12239 | |
2054 | * configure.host (abi_baseline_pair): Error out on solaris2 | |
2055 | configurations without a minor version number. | |
2056 | ||
4bc8ae23 PE |
2057 | 2003-09-13 Phil Edwards <phil@codesourcery.com> |
2058 | ||
2059 | * docs/doxygen/run_doxygen: Clear GENERATE_TAGFILE entirely | |
2060 | if man pages are on. | |
2061 | * docs/doxygen/user.cfg.in: And here. | |
2062 | ||
dbc66058 DJ |
2063 | 2003-09-10 Daniel Jacobowitz <drow@mvista.com> |
2064 | Andreas Jaeger <aj@suse.de> | |
2065 | ||
2066 | PR libstdc++/12189 | |
2067 | * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build | |
2068 | abi_check if cross compiling. | |
2069 | * aclocal.m4: Regenerated. | |
2070 | * configure: Regenerated. | |
2071 | ||
520abf69 JO |
2072 | 2003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com> |
2073 | ||
2074 | * libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns | |
2075 | NULL, return NULL. This reflects a C++ ABI change 2003 Sep 05. | |
2076 | (__cxa_vec_new3): Likewise. | |
2077 | ||
8c8dec01 PR |
2078 | 2003-09-10 Petur Runolfsson <peturr02@ru.is> |
2079 | ||
2080 | * include/bits/fstream.tcc (basic_filebuf::seekoff): | |
2081 | Use codecvt::length to handle variable-width stateless encodings | |
2082 | correctly. | |
2083 | * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test. | |
2084 | * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test. | |
2085 | ||
80e46d77 AM |
2086 | 2003-09-10 Alan Modra <amodra@bigpond.net.au> |
2087 | ||
2088 | * config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode | |
2089 | rather than or'ing. | |
2090 | ||
e517f636 AM |
2091 | 2003-09-09 Alan Modra <amodra@bigpond.net.au> |
2092 | ||
2093 | * configure: Regenerate. | |
2094 | ||
263594d2 DE |
2095 | 2003-09-09 David Edelsohn <edelsohn@gnu.org> |
2096 | ||
2097 | * src/ios.cc (ios_base::Init::Init): Remove unnecessary | |
2098 | qualifier from _S_synced_with_stdio. | |
2099 | ||
2100 | 2003-09-09 Bernardo Innocenti <bernie@develer.com> | |
e7f115de BI |
2101 | |
2102 | * include/c_std/std_cstdlib.h: Avoid using missing C library symbols. | |
2103 | ||
f1813b69 PR |
2104 | 2003-09-04 Petur Runolfsson <peturr02@ru.is> |
2105 | ||
2106 | PR libstdc++/9028 | |
2107 | * include/bits/fstream.tcc | |
2108 | (basic_filebuf::_M_destroy_internal_buffer): Destroy _M_ext_buf. | |
2109 | (basic_filebuf::basic_filebuf): Initialize _M_ext_buf, | |
2110 | _M_ext_buf_size, _M_ext_next and _M_ext_end. | |
2111 | (basic_filebuf::underflow): Handle variable-width stateless | |
2112 | encodings (codecvt::encoding() == 0), including UTF-8. | |
2113 | * include/std/std_fstream.h (basic_filebuf): | |
2114 | Declare _M_ext_buf, _M_ext_buf_size, _M_ext_next, _M_ext_end. | |
2115 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: New test. | |
2116 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: New test. | |
2117 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: New test. | |
2118 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: New test. | |
2119 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: New test. | |
2120 | * testsuite/27_io/objects/wchar_t/12.cc: New test. | |
2121 | * testsuite/27_io/objects/wchar_t/13.cc: New test. | |
2122 | ||
7976070c JW |
2123 | 2003-09-04 Jonathan Wakely <redi@gcc.gnu.org> |
2124 | ||
2125 | * docs/html/faq/index.html: Note that a namespace alias can't be | |
2126 | used when specialising templates in extension namespace. | |
2127 | * docs/html/faq/index.txt: Regenerate. | |
2128 | ||
149639d4 PR |
2129 | 2003-09-03 Petur Runolfsson <peturr02@ru.is> |
2130 | ||
2131 | PR libstdc++/12048 | |
2132 | * include/ext/stdio_sync_filebuf.h | |
2133 | (stdio_sync_filebuf::_M_unget_buf): Declare it. | |
2134 | (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf. | |
2135 | (stdio_sync_filebuf::uflow): Store the returned character in | |
2136 | _M_unget_buf. | |
2137 | (stdio_sync_filebuf::pbackfail): If argument is eof(), pass | |
2138 | _M_unget_buf to syncungetc(). Set _M_unget_buf to eof(). | |
2139 | (stdio_sync_filebuf<char>::xsgetn): Store last read character in | |
2140 | _M_unget_buf, if any, else eof(). | |
2141 | (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in | |
2142 | _M_unget_buf, if any, else eof(). | |
2143 | * testsuite/27_io/objects/char/12048.cc: Rename to... | |
2144 | * testsuite/27_io/objects/char/12048-1.cc: ...this. | |
2145 | * testsuite/27_io/objects/char/12048-2.cc: New test. | |
2146 | * testsuite/27_io/objects/char/12048-3.cc: New test. | |
2147 | * testsuite/27_io/objects/char/12048-4.cc: New test. | |
2148 | * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL. | |
2149 | * testsuite/27_io/objects/wchar_t/12048-1.cc: New test. | |
2150 | * testsuite/27_io/objects/wchar_t/12048-2.cc: New test. | |
2151 | * testsuite/27_io/objects/wchar_t/12048-3.cc: New test. | |
2152 | * testsuite/27_io/objects/wchar_t/12048-4.cc: New test. | |
2153 | * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL. | |
2154 | * testsuite/ext/stdio_sync_filebuf_char.cc | |
2155 | (test02, test03, test04, test05): New tests. | |
2156 | * testsuite/ext/stdio_sync_filebuf_wchar_t.cc | |
2157 | (test02, test03, test04, test05): New tests. | |
2158 | ||
2159 | 2003-09-03 Petur Runolfsson <peturr02@ru.is> | |
2160 | ||
2161 | * docs/html/27_io/howto.html: setbuf(0, 0) has no effect on | |
2162 | stringbuf or strstreambuf. Fix typos. | |
2163 | ||
3660e02f PE |
2164 | 2003-09-02 Phil Edwards <phil@codesourcery.com> |
2165 | ||
2166 | * acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED | |
2167 | appropriately. | |
2168 | * config.h.in: Add _GLIBCXX_HOSTED. | |
2169 | * libsupc++/eh_term_handler.cc: Test it here; initialize | |
2170 | __terminate_handler to std::abort if freestanding. | |
2171 | * aclocal.m4, configure: Regenerated. | |
2172 | * docs/html/configopts.html: Document --disable-hosted-libstdcxx. | |
2173 | ||
a3aff86a NM |
2174 | 2003-08-29 Nathan Myers <ncm@cantrip.org> |
2175 | ||
2176 | PR libstdc++/11990 | |
2177 | * include/bits/locale_facets.tcc (__pad): delete dead code. | |
2178 | ||
f5cf58dd AM |
2179 | 2003-08-28 Alan Modra <amodra@bigpond.net.au> |
2180 | ||
2181 | * configure.ac: Test $with_cross_host against $build_alias, not $build. | |
2182 | * configure: Regenerate. | |
2183 | ||
3bedd161 PR |
2184 | 2003-08-27 Petur Runolfsson <peturr02@ru.is> |
2185 | ||
2186 | * testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff... | |
2187 | * testsuite/27_io/objects/wchar_t/11.cc: ...here. New file. | |
2188 | ||
ca618b60 PE |
2189 | 2003-08-27 Phil Edwards <pme@gcc.gnu.org> |
2190 | ||
2191 | * Makefile.am: Remove trailing whitespace. Remove needless | |
2192 | "foo = @foo@" assignments. Replace direct uses of @foo@ with $(foo). | |
2193 | * include/Makefile.am: Likewise. | |
2194 | * libmath/Makefile.am: Likewise. | |
2195 | * libsupc++/Makefile.am: Likewise. | |
2196 | * po/Makefile.am: Likewise. | |
2197 | * src/Makefile.am: Likewise. | |
2198 | * testsuite/Makefile.am: Likewise. | |
2199 | ||
2200 | * Makefile.in, include/Makefile.in, libmath/Makefile.in, | |
2201 | libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in, | |
2202 | testsuite/Makefile.in: Regenerated. | |
2203 | ||
37e0ff11 PE |
2204 | 2003-08-27 Phil Edwards <pme@gcc.gnu.org> |
2205 | ||
2206 | * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of | |
2207 | includedir. | |
2208 | * aclocal.m4, configure: Regenerate. | |
2209 | ||
72730fdb DJ |
2210 | 2003-08-27 Daniel Jacobowitz <drow@mvista.com> |
2211 | ||
2212 | * acinclude.m4: Include no-executables.m4. | |
2213 | * configure.ac: Uncomment GCC_NO_EXECUTABLES. | |
2214 | * aclocal.m4: Regenerated. | |
2215 | * configure: Regenerated. | |
2216 | ||
ec0d7421 DJ |
2217 | 2003-08-27 Daniel Jacobowitz <drow@mvista.com> |
2218 | ||
2219 | * acinclude.m4: Don't call AC_ISC_POSIX. | |
2220 | * aclocal.m4: Regenerated. | |
2221 | * configure: Regenerated. | |
2222 | ||
92eabea2 PE |
2223 | 2003-08-27 Phil Edwards <pme@gcc.gnu.org> |
2224 | ||
2225 | * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap | |
2226 | AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one. | |
2227 | (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted, | |
2228 | used elsewhere in this file. | |
2229 | (GLIBCXX_EVALUATE_CONDITIONALS): New macro... | |
2230 | * configure.ac: ...called here to expand all conditionals. | |
2231 | * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED. | |
2232 | * include/Makefile.am: Remove redundant gxx_include_dir assignment. | |
2233 | (install-freestanding-headers): New target, a subset of | |
2234 | install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED. | |
2235 | ||
2236 | * aclocal.m4, configure, Makefile.in, include/Makefile.in, | |
2237 | libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, | |
2238 | src/Makefile.in, testsuite/Makefile.in: Regenerated. | |
2239 | ||
a43d13fb PE |
2240 | 2003-08-26 Phil Edwards <pme@gcc.gnu.org> |
2241 | ||
2242 | * docs/doxygen/run_doxygen: Shell fixes. Remove hardcoded local | |
2243 | pathnames from generated tag file. | |
2244 | ||
82ba99d5 PE |
2245 | 2003-08-26 Phil Edwards <pme@gcc.gnu.org> |
2246 | ||
2247 | * Makefile.am: Add comment. | |
2248 | * acinclude.m4 (GLIBCXX_CONFIGURE): Set new glibcxx_SUBDIRS and | |
2249 | SUBDIRS variables. | |
2250 | * configure.ac: Use them both here, instead of hardcoded lists. | |
2251 | ||
2252 | * fragment.am: Add STAMP varaible. | |
2253 | * include/Makefile.am: Cosmetic whitespace cleanup. Use $(LN_S) | |
2254 | instead of @LN_S@. | |
2255 | (stamp-*): Move file creation rule outside of 'if' branches to | |
2256 | ensure the stamp-* files are actually updated. Use $(STAMP). | |
2257 | * src/Makefile.am: Remove now-nonexistant variable. | |
2258 | * libsupc++/Makefile.am: Likewise. Snap the assignment chain | |
2259 | for -prefer-pic. | |
2260 | * po/Makefile.am: Include same fragment as all the others. | |
2261 | ||
2262 | * aclocal.m4, configure, Makefile.in, include/Makefile.in, | |
2263 | libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in: Regenerated. | |
2264 | ||
73780bfe LR |
2265 | 2003-08-26 Loren J. Rittle <ljrittle@acm.org> |
2266 | ||
2267 | * testsuite/data/cin_unget-1.txt: New. | |
2268 | * testsuite/27_io/objects/char/12048.cc: New. | |
2269 | ||
7e2055ec ZW |
2270 | 2003-08-25 Zack Weinberg <zack@codesourcery.com> |
2271 | ||
2272 | * config/os/hpux/os_defines.h: Unconditionally define | |
2273 | _GLIBCXX_GTHREAD_USE_WEAK to 0. | |
2274 | ||
a6f3e253 GK |
2275 | 2003-08-19 Geoffrey Keating <geoffk@apple.com> |
2276 | ||
2277 | * crossconfig.m4 (*-darwin*): Add a large and boring stanza for | |
2278 | crosses to Darwin targets. | |
2279 | * configure: Regenerate. | |
2280 | ||
1b391ba9 PR |
2281 | 2003-08-19 Petur Runolfsson <peturr02@ru.is> |
2282 | ||
7e2055ec ZW |
2283 | * include/ext/ropeimpl.h: #include <ostream> instead of <iostream> |
2284 | ||
77e862fa PE |
2285 | 2003-08-17 Phil Edwards <pme@gcc.gnu.org> |
2286 | ||
2287 | * configure.ac: GCC_NO_EXECUTABLES was supposed to be commented | |
2288 | in the patch from 3 minutes ago. Boy, is my face red. | |
2289 | * configure: At least I remembered to regenerate this. | |
2290 | ||
0df3f383 PE |
2291 | 2003-08-17 Phil Edwards <pme@gcc.gnu.org> |
2292 | ||
2293 | * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES | |
2294 | and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to | |
2295 | things from the top level. | |
2296 | * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order. | |
2297 | Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH | |
2298 | (currently unused). Strip the fake-VPATH shell fragment from | |
2299 | automake-generated rules, if present. | |
2300 | * linkage.m4: Add comment. | |
2301 | ||
2302 | * fragment.am: New file, containing factored-out common settings. | |
2303 | (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents. | |
2304 | * Makefile.am: Include fragment.am. Remove common variables. | |
2305 | * include/Makefile.am: Likewise. | |
2306 | * libmath/Makefile.am: Likewise. | |
2307 | * libsupc++/Makefile.am: Likewise. | |
2308 | * po/Makefile.am: Likewise. Print rules during check. | |
2309 | * src/Makefile.am: Likewise. | |
2310 | * testsuite/Makefile.am: Likewise. | |
2311 | ||
2312 | * aclocal.m4, configure, Makefile.in, include/Makefile.in, | |
2313 | libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, | |
2314 | src/Makefile.in, testsuite/Makefile.in: Regenerate. | |
2315 | ||
e885821f JL |
2316 | 2003-08-11 John Levon <levon@movementarian.org> |
2317 | ||
2318 | * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update | |
2319 | remaining places for the name change from GLIBCPP_FORCE_NEW | |
2320 | to GLIBCXX_FORCE_NEW | |
2321 | ||
2803847d BK |
2322 | 2003-08-11 Benjamin Kosnik <bkoz@redhat.com> |
2323 | ||
2324 | * include/bits/basic_ios.h: Remove *_iter typedefs, change num* | |
7e2055ec | 2325 | typedefs to num_*. |
2803847d BK |
2326 | * include/bits/basic_ios.tcc: Same. |
2327 | * include/bits/istream.tcc: Same. | |
2328 | * include/bits/locale_facets.h: Same. | |
2329 | * include/bits/ostream.tcc: Same. | |
2330 | * include/std/std_istream.h: Same. | |
2331 | * include/std/std_ostream.h: Same. | |
2332 | * testsuite/26_numerics/complex_inserters_extractors.cc: Fix. | |
2333 | ||
2334 | * include/ext/rope: Remove build warning. | |
7e2055ec | 2335 | |
51c1f3c9 AJ |
2336 | 2003-08-11 Andreas Jaeger <aj@suse.de> |
2337 | ||
2338 | * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits | |
2339 | to make SMP-safe. | |
2340 | * include/Makefile.in: Regenerated. | |
2341 | ||
f6dda651 PE |
2342 | 2003-08-11 Phil Edwards <pme@gcc.gnu.org> |
2343 | ||
2344 | * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS | |
2345 | when calling AC_PROG_CC. | |
2346 | * aclocal.m4, configure: Regenerate. | |
2347 | ||
fbe057bb PE |
2348 | 2003-08-11 Phil Edwards <pme@gcc.gnu.org> |
2349 | ||
2350 | * acinclude.m4: Properly quote variable which will be expanded | |
2351 | inside makefiles. Use CXX instead of CC to extract compiler info. | |
2352 | * configure.ac (AC_INIT): Use the new 4-arg form to finally get the | |
2353 | correct form in PACKAGE. | |
2354 | * aclocal.m4, configure: Regenerate. | |
2355 | ||
258e7dbc BK |
2356 | 2003-08-08 Benjamin Kosnik <bkoz@redhat.com> |
2357 | ||
2358 | * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++. | |
2359 | (check-abi-verbose): Same. | |
2360 | * testsuite/testsuite_performance.h (report_performance): Same. | |
7e2055ec | 2361 | |
3e083bea LR |
2362 | 2003-08-08 Loren J. Rittle <ljrittle@acm.org> |
2363 | ||
2364 | * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo. | |
2365 | ||
5a9ed693 DG |
2366 | 2003-08-07 Doug Gregor <dgregor@apple.com> |
2367 | ||
7e2055ec ZW |
2368 | * include/bits/char_traits.h (char_traits::not_eof): Match operand |
2369 | types in ? :. | |
5a9ed693 | 2370 | |
4e9ebd4b BI |
2371 | 2003-08-07 Bernardo Innocenti <bernie@develer.com> |
2372 | ||
2373 | PR libstdc++/11784 | |
2374 | * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add): | |
2375 | Replace variants with new BSET-based version. | |
7e2055ec | 2376 | |
a9ebaa2b CW |
2377 | 2003-08-07 Carlo Wood <carlo@alinoe.com> |
2378 | ||
0df3f383 | 2379 | * include/bits/demangle.h: Do not use cctype functions that depend |
a9ebaa2b | 2380 | on locale. |
7e2055ec | 2381 | |
8b171e55 PE |
2382 | 2003-08-05 Phil Edwards <pme@gcc.gnu.org> |
2383 | ||
2384 | * configure.in: Rename... | |
2385 | * configure.ac: ...to this. | |
2386 | * docs/html/17_intro/porting.texi: Update name. | |
2387 | ||
2388 | * docs/html/17_intro/porting.html: Regenerate. | |
2389 | * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in, | |
2390 | libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in, | |
2391 | testsuite/Makefile.in: Regenerate (picks up new dependancy). | |
2392 | ||
1260d70f PE |
2393 | 2003-08-05 Phil Edwards <pme@gcc.gnu.org> |
2394 | ||
2395 | * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack | |
2396 | pipe, open the window to let out the fumes, redo the option-handling | |
2397 | logic to properly execute the detection test. | |
2398 | * aclocal.m4, configure: Regenerate. | |
2399 | ||
ff66d28f PE |
2400 | 2003-08-04 Phil Edwards <pme@gcc.gnu.org> |
2401 | ||
2402 | Convert to new autotools. | |
2403 | * acconfig.h: Update with correct names. | |
2404 | * configure.host (ATOMICITYH): Rename to atomicity_include_dir. | |
2405 | (qnx6.[12]*): 'q' comes before 's', not after 'w'. | |
2406 | * configure.in: Update. Split hardcoded cross-configury settings | |
2407 | out to... | |
2408 | * crossconfig.m4: ...here. New file. Contents untouched. | |
2409 | * acinclude.m4: Reorganize and rewrite as needed. Split large | |
2410 | chunks out to... | |
2411 | * linkage.m4: ...here. New file. Math and stdlib linkage tests. | |
2412 | Contents untouched. | |
2413 | * scripts/testsuite_flags.in: Update. | |
2414 | ||
2415 | * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other | |
2416 | variables (already generated by automake). | |
2417 | * include/Makefile.am: Ditto. | |
2418 | * libmath/Makefile.am: Ditto. | |
2419 | * libsupc++/Makefile.am: Ditto. | |
2420 | * po/Makefile.am: Ditto. | |
2421 | * src/Makefile.am: Ditto. | |
2422 | ||
2423 | * aclocal.m4: Regenerate using new versions. | |
2424 | * config.h.in: Ditto. | |
2425 | * configure: Ditto. | |
2426 | * Makefile.in: Ditto. | |
2427 | * include/Makefile.in: Ditto. | |
2428 | * libmath/Makefile.in: Ditto. | |
2429 | * libsupc++/Makefile.in: Ditto. | |
2430 | * po/Makefile.in: Ditto. | |
2431 | * src/Makefile.in: Ditto. | |
2432 | * testsuite/Makefile.in: Ditto. | |
2433 | ||
5e7c251d PE |
2434 | 2003-08-04 Phil Edwards <pme@gcc.gnu.org> |
2435 | ||
2436 | * po/libstdc++.pot: Re-extract/regenerate. | |
2437 | ||
caf21254 PE |
2438 | 2003-08-04 Phil Edwards <pme@gcc.gnu.org> |
2439 | ||
2440 | * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS): | |
2441 | Remove unneeded variable assignments. Leave them for automake. | |
2442 | * testsuite/lib/libstdc++-v3.exp: Rename... | |
2443 | * testsuite/lib/libstdc++.exp: ...to this. Adjust function names | |
2444 | accordingly. | |
2445 | * testsuite/libstdc++-v3.dg/dg.exp: Rename... | |
2446 | * testsuite/libstdc++-dg/normal.exp: ...to this. Adjust function | |
2447 | names accordingly. | |
2448 | ||
f7ab5fa4 PE |
2449 | 2003-08-04 Phil Edwards <pme@gcc.gnu.org> |
2450 | ||
2451 | * docs/doxygen/guide.html: run_doxygen uses bash. | |
2452 | * docs/doxygen/mainpage.html: We'll be shipping tag files. | |
2453 | * docs/doxygen/run_doxygen: Tweaks and improvements. | |
2454 | * docs/doxygen/user.cfg.in: Set GENERATE_TAGFILE. | |
2455 | * docs/html/install.html: Update autoconf/automake requirements. | |
2456 | * docs/html/test.html: Add section describing DejaGNU support. | |
2457 | * docs/html/17_intro/confdeps.dot: New file, generates... | |
2458 | * docs/html/17_intro/confdeps.png: ...this new file. | |
2459 | * docs/html/Makefile: Generated here. | |
2460 | * docs/html/17_intro/configury.html: New file. | |
2461 | ||
b3f2a032 PE |
2462 | 2003-07-31 Phil Edwards <pme@gcc.gnu.org> |
2463 | ||
2464 | * testsuite/lib/libstdc++-v3-dg.exp: Rename... | |
2465 | * testsuite/lib/libstdc++-v3.exp: ...to this. | |
2466 | * testsuite/libstdc++-v3.dg/dg.exp: No special case needed now. | |
2467 | ||
e64a227a DG |
2468 | 2003-07-31 Doug Gregor <dgregor@apple.com> |
2469 | ||
2470 | Add user specialization tests. | |
2471 | * testsuite/23_containers/deque/1.cc: New. | |
2472 | * testsuite/23_containers/list/1.cc: New. | |
2473 | * testsuite/23_containers/map/1.cc: New. | |
2474 | * testsuite/23_containers/multimap/1.cc: New. | |
2475 | * testsuite/23_containers/multiset/1.cc: New. | |
2476 | * testsuite/23_containers/set/1.cc: New. | |
2477 | * testsuite/23_containers/vector/1.cc: New. | |
7e2055ec | 2478 | |
17472bb6 BK |
2479 | 2003-07-31 Benjamin Kosnik <bkoz@redhat.com> |
2480 | ||
2481 | Reshuffle 23_containers testsuite. | |
7e2055ec | 2482 | * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc, |
17472bb6 BK |
2483 | bitset_shift.cc, deque_ctor.cc, deque_operators.cc, |
2484 | list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc, | |
2485 | map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc, | |
2486 | set_operators_neg.cc, vector_bool.cc, vector_capacity.cc, | |
2487 | vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc, | |
2488 | vector_resize.cc: Split into... | |
2489 | * 23_containers/bitset/cons/1.cc: New. | |
2490 | * 23_containers/bitset/cons/6282.cc: New. | |
2491 | * 23_containers/bitset/count/6124.cc: New. | |
2492 | * 23_containers/bitset/operations/1.cc: New. | |
2493 | * 23_containers/bitset/operations/2.cc: New. | |
2494 | * 23_containers/bitset/test/1.cc: New. | |
2495 | * 23_containers/bitset/to_ulong/1.cc: New. | |
2496 | * 23_containers/deque/cons/1.cc: New. | |
2497 | * 23_containers/deque/cons/2.cc: New. | |
2498 | * 23_containers/deque/operators/1.cc: New. | |
2499 | * 23_containers/list/capacity/1.cc: New. | |
2500 | * 23_containers/list/cons/1.cc: New. | |
2501 | * 23_containers/list/cons/2.cc: New. | |
2502 | * 23_containers/list/cons/3.cc: New. | |
2503 | * 23_containers/list/cons/4.cc: New. | |
2504 | * 23_containers/list/cons/5.cc: New. | |
2505 | * 23_containers/list/cons/6.cc: New. | |
2506 | * 23_containers/list/cons/7.cc: New. | |
2507 | * 23_containers/list/cons/8.cc: New. | |
2508 | * 23_containers/list/cons/9.cc: New. | |
2509 | * 23_containers/list/modifiers/1.cc: New. | |
2510 | * 23_containers/list/modifiers/2.cc: New. | |
2511 | * 23_containers/list/modifiers/3.cc: New. | |
2512 | * 23_containers/list/operators/1.cc: New. | |
2513 | * 23_containers/list/operators/2.cc: New. | |
2514 | * 23_containers/list/operators/3.cc: New. | |
2515 | * 23_containers/list/operators/4.cc: New. | |
2516 | * 23_containers/map/insert/1.cc: New. | |
2517 | * 23_containers/map/operators/1.cc: New. | |
2518 | * 23_containers/map/operators/1_neg.cc: New. | |
2519 | * 23_containers/multiset/insert/1.cc: New. | |
2520 | * 23_containers/priority_queue/members/7161.cc: New. | |
2521 | * 23_containers/queue/members/7157.cc: New. | |
2522 | * 23_containers/set/operators/1_neg.cc: New. | |
2523 | * 23_containers/stack/members/7158.cc: New. | |
2524 | * 23_containers/vector/bool/1.cc: New. | |
2525 | * 23_containers/vector/bool/6886.cc: New. | |
2526 | * 23_containers/vector/capacity/1.cc: New. | |
2527 | * 23_containers/vector/capacity/2.cc: New. | |
2528 | * 23_containers/vector/capacity/8230.cc: New. | |
2529 | * 23_containers/vector/cons/1.cc: New. | |
2530 | * 23_containers/vector/cons/2.cc: New. | |
2531 | * 23_containers/vector/cons/3.cc: New. | |
2532 | * 23_containers/vector/cons/4.cc: New. | |
2533 | * 23_containers/vector/cons/6513.cc: New. | |
2534 | * 23_containers/vector/element_access/1.cc: New. | |
2535 | * 23_containers/vector/modifiers/1.cc: New. | |
2536 | * 23_containers/vector/modifiers/2.cc: New. | |
2537 | * 23_containers/vector/resize/1.cc: New. | |
7e2055ec | 2538 | |
515aab7c RO |
2539 | 2003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
2540 | ||
2541 | * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run, | |
2542 | dg-options. | |
2543 | * testsuite/thread/pthread2.cc: Likewise. | |
2544 | * testsuite/thread/pthread3.cc: Likewise. | |
2545 | * testsuite/thread/pthread4.cc: Likewise. | |
2546 | * testsuite/thread/pthread5.cc: Likewise. | |
2547 | * testsuite/thread/pthread6.cc: Likewise. | |
2548 | * testsuite/thread/pthread7-rope.cc: Likewise. | |
2549 | ||
1051c718 PE |
2550 | 2003-07-30 Phil Edwards <pme@gcc.gnu.org> |
2551 | ||
2552 | * include/bits/c++config: Partial reversion (comment placement) of | |
2553 | previous patch. | |
2554 | ||
5f697f7a BK |
2555 | 2003-07-30 Benjamin Kosnik <bkoz@redhat.com> |
2556 | ||
2557 | * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove. | |
2558 | (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE. | |
2559 | (_GLIBCXX_AT_AT): Remove. | |
2560 | (__USE_MALLOC): Remove. | |
2561 | * include/std/std_fstream.h: Modify. | |
2562 | * include/bits/basic_ios.h: Same. | |
2563 | * include/bits/valarray_array.h: Same. | |
2564 | * include/c_std/std_cmath.h: Same. | |
2565 | * include/c_std/cmath.tcc: Same. | |
2566 | * include/std/std_vector.h: Same. | |
2567 | * include/std/std_string.h: Same. | |
2568 | * include/std/std_stack.h: Same. | |
2569 | * include/std/std_queue.h: Same. | |
2570 | * include/std/std_list.h: Same. | |
2571 | * include/std/std_deque.h: Same. | |
2572 | * include/std/std_streambuf.h: Same. | |
2573 | * include/std/std_sstream.h: Same. | |
2574 | * include/std/std_ostream.h: Same. | |
2575 | * include/std/std_istream.h: Same. | |
2576 | * include/bits/valarray_array.tcc: Same, format. | |
2577 | ||
2578 | * include/c/std_cctype.h: Fix include guards. | |
2579 | * include/c/std_cerrno.h: Same. | |
2580 | * include/c/std_cfloat.h: Same. | |
2581 | * include/c/std_climits.h: Same. | |
2582 | * include/c/std_clocale.h: Same. | |
2583 | * include/c/std_cmath.h: Same. | |
2584 | * include/c/std_csetjmp.h: Same. | |
2585 | * include/c/std_csignal.h: Same. | |
2586 | * include/c/std_cstdarg.h: Same. | |
2587 | * include/c/std_cstddef.h: Same. | |
2588 | * include/c/std_cstdio.h: Same. | |
2589 | * include/c/std_cstdlib.h: Same. | |
2590 | * include/c/std_cstring.h: Same. | |
2591 | * include/c/std_ctime.h: Same. | |
2592 | * include/c/std_cwchar.h: Same. | |
2593 | * include/c/std_cwctype.h: Same. | |
2594 | * include/c_std/cmath.tcc: Same. | |
2595 | * include/c_std/std_cmath.h: Same. | |
7e2055ec | 2596 | |
b4c70e89 GB |
2597 | 2003-07-30 Gawain Bolton <gp.bolton@computer.org> |
2598 | ||
7e2055ec | 2599 | PR libstdc++/11504. |
b4c70e89 GB |
2600 | * include/bits/stl_tree.h: Replace C-style casts with C++-style |
2601 | casts. Changes to avoid casting away constness. Eliminate | |
2602 | _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use | |
2603 | initialization lists. Move out implementation of __black_count() | |
2604 | to... | |
7e2055ec ZW |
2605 | * src/stl_tree.cc: ...here and rename _Rb_tree_black_count(). |
2606 | Rename_Rb_tree_base_iterator::_M_increment() to | |
2607 | _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to | |
2608 | _Rb_tree_decrement. | |
2609 | * config/linker-map.gnu: Add and change symbols here. | |
b4c70e89 | 2610 | |
48b3222d JW |
2611 | 2003-07-30 Jonathan Wakely <redi@gcc.gnu.org> |
2612 | ||
2613 | * docs/html/22_locale/howto.html: Use locale::classic() instead | |
2614 | of locale("C"). | |
2615 | ||
cb584bcf BK |
2616 | 2003-07-28 Benjamin Kosnik <bkoz@redhat.com> |
2617 | ||
2618 | * testsuite/testsuite_hooks.h: Remove list include. | |
2619 | (func_callback): Define as unique type, not std::list. | |
2620 | Change DEBUG_ASSERT to _GLIBCXX_ASSERT. | |
2621 | * testsuite/libstdc++-v3.dg/dg.exp: Same. | |
2622 | * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same. | |
7e2055ec | 2623 | * testsuite/23_containers/bitset_ctor.cc: |
cb584bcf BK |
2624 | * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT. |
2625 | * testsuite/18_support/numeric_limits.cc: Same. | |
2626 | * testsuite/21_strings/basic_string/append/char/1.cc: Same. | |
2627 | * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same. | |
2628 | * testsuite/21_strings/basic_string/compare/char/1.cc: Same. | |
2629 | * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same. | |
2630 | * testsuite/21_strings/basic_string/element_access/char/1.cc: Same. | |
2631 | * testsuite/21_strings/basic_string/element_access/char/2.cc: Same. | |
2632 | * testsuite/21_strings/basic_string/element_access/char/3.cc: Same. | |
2633 | * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same. | |
2634 | * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same. | |
2635 | * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same. | |
2636 | * testsuite/21_strings/basic_string/find/char/1.cc: Same. | |
2637 | * testsuite/21_strings/basic_string/find/char/2.cc: Same. | |
2638 | * testsuite/21_strings/basic_string/find/char/3.cc: Same. | |
2639 | * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same. | |
2640 | * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same. | |
2641 | * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same. | |
2642 | * testsuite/21_strings/basic_string/insert/char/1.cc: Same. | |
2643 | * testsuite/21_strings/basic_string/insert/char/2.cc: Same. | |
2644 | * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same. | |
2645 | * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same. | |
7e2055ec ZW |
2646 | * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc: |
2647 | * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc: | |
2648 | * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc: | |
2649 | * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc: | |
2650 | * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc: | |
2651 | * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc: | |
2652 | * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc: | |
2653 | * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc: | |
2654 | * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc: | |
2655 | * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc: | |
cb584bcf BK |
2656 | * testsuite/21_strings/basic_string/operators/char/1.cc: Same. |
2657 | * testsuite/21_strings/basic_string/operators/char/2.cc: Same. | |
2658 | * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same. | |
2659 | * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same. | |
2660 | * testsuite/21_strings/basic_string/replace/char/1.cc: Same. | |
2661 | * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same. | |
2662 | * testsuite/21_strings/basic_string/rfind/char/1.cc: Same. | |
2663 | * testsuite/21_strings/basic_string/rfind/char/2.cc: Same. | |
2664 | * testsuite/21_strings/basic_string/rfind/char/3.cc: Same. | |
2665 | * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same. | |
2666 | * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same. | |
2667 | * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same. | |
2668 | * testsuite/21_strings/basic_string/substr/char/1.cc: Same. | |
2669 | * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same. | |
2670 | * testsuite/23_containers/bitset_ctor.cc: Same. | |
2671 | * testsuite/23_containers/bitset_shift.cc: Same. | |
2672 | * testsuite/23_containers/vector_ctor.cc: Same. | |
2673 | * testsuite/23_containers/vector_element_access.cc: Same. | |
2674 | * testsuite/24_iterators/istreambuf_iterator.cc: Same. | |
2675 | * testsuite/24_iterators/iterator.cc: Same. | |
2676 | * testsuite/24_iterators/ostreambuf_iterator.cc: Same. | |
2677 | * testsuite/25_algorithms/lower_bound.cc: Same. | |
2678 | * testsuite/26_numerics/complex_inserters_extractors.cc: Same. | |
2679 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same. | |
2680 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same. | |
2681 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same. | |
2682 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same. | |
2683 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same. | |
2684 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same. | |
2685 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same. | |
2686 | * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same. | |
2687 | * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same. | |
7e2055ec ZW |
2688 | * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: |
2689 | Same. | |
2690 | ||
1cb1de7e PE |
2691 | 2003-07-28 Phil Edwards <pme@gcc.gnu.org> |
2692 | ||
2693 | * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html, | |
2694 | docs/html/test.html, docs/html/17_intro/headers_cc.txt, | |
2695 | docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change | |
2696 | GLIBCPP to GLIBCXX (and explain as needed). | |
2697 | ||
6dfe0fc9 PE |
2698 | 2003-07-28 Phil Edwards <pme@gcc.gnu.org> |
2699 | ||
2700 | * README: Update. | |
2701 | ||
2cb1c928 PE |
2702 | 2003-07-28 Phil Edwards <pme@gcc.gnu.org> |
2703 | ||
2704 | * testsuite/22_locale/messages/members/char/1.cc, | |
2705 | testsuite/22_locale/messages/members/char/2.cc, | |
2706 | testsuite/22_locale/messages/members/char/3.cc, | |
2707 | testsuite/22_locale/messages_byname/1.cc: Update comment regarding | |
2708 | the origin of LOCALEDIR. | |
2709 | * testsuite/lib/libstdc++-v3.exp: New file. | |
2710 | ||
b66ea7d4 BK |
2711 | 2003-07-25 Benjamin Kosnik <bkoz@redhat.com> |
2712 | ||
2713 | * include/bits/char_traits.h: Update copyright, tweak. | |
e884d397 | 2714 | * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace |
b66ea7d4 BK |
2715 | std types. |
2716 | ||
d5ff4e3f MA |
2717 | 2003-07-24 Matt Austern <austern@apple.com> |
2718 | ||
2719 | * /include/bits/char_traits.h (class char_traits): Put all the | |
2720 | real work into the new class template __gnu_cxx::char_traits. | |
2721 | Gave generic definitions for member functions. Types are taken | |
2722 | from the new class template __gnu_cxx::_Char_types. | |
2723 | * testsuite/21_strings/char_traits/requirements/short/1.cc: New | |
2724 | file. Test of std::char_traits<short>, which serves as a test of | |
2725 | the char_traits primary template. | |
2726 | ||
aecf642c BK |
2727 | 2003-07-24 Benjamin Kosnik <bkoz@redhat.com> |
2728 | ||
2729 | * testsuite/*: Change __gnu_cxx_test to __gnu_test. | |
2730 | ||
2731 | 2003-07-24 Nathan Myers <ncm-nospam@cantrip.org> | |
d7541133 | 2732 | |
7e2055ec ZW |
2733 | * testsuite/23_containers/map_operators.cc: Conform to |
2734 | container requirement as value must be Assignable. | |
d7541133 | 2735 | |
118545ec AO |
2736 | 2003-07-23 Alexandre Oliva <aoliva@redhat.com> |
2737 | ||
2738 | * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it | |
2739 | tests not only generation of pch files, but also their use. | |
2740 | * aclocal.m4, configure: Rebuilt. | |
2741 | ||
ff89cb01 SE |
2742 | 2003-07-23 Steve Ellcey <sje@cup.hp.com> |
2743 | ||
2744 | * config/cpu/hppa/atomicity.h: Change | |
2745 | _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK | |
2746 | to match misc-inst.cc | |
2747 | ||
1143680e SE |
2748 | 2003-07-23 Steve Ellcey <sje@cup.hp.com> |
2749 | ||
2750 | * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard. | |
2751 | * include/c_std/std_cctype.h: Ditto. | |
2752 | * include/c_std/std_cerrno.h: Ditto. | |
2753 | * include/c_std/std_cfloat.h: Ditto. | |
2754 | * include/c_std/std_climits.h: Ditto. | |
2755 | * include/c_std/std_clocale.h: Ditto. | |
2756 | * include/c_std/std_cmath.h: Ditto. | |
2757 | * include/c_std/std_csetjmp.h: Ditto. | |
2758 | * include/c_std/std_csignal.h: Ditto. | |
2759 | * include/c_std/std_cstdarg.h: Ditto. | |
2760 | * include/c_std/std_cstddef.h: Ditto. | |
2761 | * include/c_std/std_cstdio.h: Ditto. | |
2762 | * include/c_std/std_cstdlib.h: Ditto. | |
2763 | * include/c_std/std_cstring.h: Ditto. | |
2764 | * include/c_std/std_ctime.h: Ditto. | |
2765 | * include/c_std/std_cwchar.h: Ditto. | |
2766 | * include/c_std/std_cwctype.h: Ditto. | |
2767 | * include/std/std_algorithm.h: Ditto. | |
2768 | * include/std/std_bitset.h: Ditto. | |
2769 | * include/std/std_complex.h: Ditto. | |
2770 | * include/std/std_deque.h: Ditto. | |
2771 | * include/std/std_fstream.h: Ditto. | |
2772 | * include/std/std_functional.h: Ditto. | |
2773 | * include/std/std_iomanip.h: Ditto. | |
2774 | * include/std/std_ios.h: Ditto. | |
2775 | * include/std/std_iosfwd.h: Ditto. | |
2776 | * include/std/std_iostream.h: Ditto. | |
2777 | * include/std/std_istream.h: Ditto. | |
2778 | * include/std/std_iterator.h: Ditto. | |
2779 | * include/std/std_limits.h: Ditto. | |
2780 | * include/std/std_list.h: Ditto. | |
2781 | * include/std/std_locale.h: Ditto. | |
2782 | * include/std/std_map.h: Ditto. | |
2783 | * include/std/std_memory.h: Ditto. | |
2784 | * include/std/std_numeric.h: Ditto. | |
2785 | * include/std/std_ostream.h: Ditto. | |
2786 | * include/std/std_queue.h: Ditto. | |
2787 | * include/std/std_set.h: Ditto. | |
2788 | * include/std/std_sstream.h: Ditto. | |
2789 | * include/std/std_stack.h: Ditto. | |
2790 | * include/std/std_stdexcept.h: Ditto. | |
2791 | * include/std/std_streambuf.h: Ditto. | |
2792 | * include/std/std_string.h: Ditto. | |
2793 | * include/std/std_utility.h: Ditto. | |
2794 | * include/std/std_valarray.h: Ditto. | |
2795 | * include/std/std_vector.h: Ditto. | |
2796 | ||
3988d179 DG |
2797 | 2003-07-22 Doug Gregor <dgregor@apple.com> |
2798 | ||
2799 | * include/bits/basic_string.h (basic_string::insert): Deprecate | |
2800 | GNU extension. | |
2801 | ||
5dfda042 BK |
2802 | 2003-07-21 Benjamin Kosnik <bkoz@redhat.com> |
2803 | ||
2804 | * scripts/testsuite_flags.in (--build-includes): Remove extraneous | |
2805 | paths for libio. | |
2806 | * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc | |
2807 | (test03): Include typeinfo for bad_cast. | |
2808 | * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same. | |
2809 | * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same. | |
2810 | * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same. | |
2811 | ||
3988d179 | 2812 | 2003-07-21 Doug Gregor <dgregor@apple.com> |
f345c6b5 DG |
2813 | |
2814 | * include/bits/boost_concept_check.h: | |
7e2055ec ZW |
2815 | (_EqualityComparableConcept::__constraints): Remove != from the |
2816 | list of constraints; it is not listed in Table 28 of the C++98 | |
2817 | standard. | |
f345c6b5 | 2818 | |
2d5f9af2 AJ |
2819 | 2003-07-18 Andreas Jaeger <aj@suse.de> |
2820 | ||
2821 | * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file. | |
2822 | * config/abi/mips-linux-gnu/baseline_symbols.txt: New file. | |
2823 | * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file. | |
2824 | * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated. | |
2825 | ||
fea4065d | 2826 | 2003-07-17 Benjamin Kosnik <bkoz@redhat.com> |
7e2055ec | 2827 | |
fea4065d BK |
2828 | * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache. |
2829 | * config/locale/generic/messages_members.h: Tweaks. | |
2830 | * config/locale/generic/monetary_members.cc | |
2831 | (moneypunct::_M_initialize_moneypunct): Use cache. | |
2832 | (moneypunct::~moneypunct): Delete cache. | |
2833 | * config/locale/generic/time_members.cc: | |
2834 | (__timepunct::_M_initialize_timepunct): Use cache. | |
2835 | * config/locale/generic/time_members.h: | |
2836 | (__timepunct::~__timepunct): Delete cache. | |
2837 | (__timepunct::__timepunct): Set cache. | |
2838 | * config/locale/gnu/messages_members.h: Tweaks. | |
2839 | * config/locale/gnu/monetary_members.cc: | |
2840 | (moneypunct::_M_initialize_moneypunct): Use cache. | |
2841 | (moneypunct::~moneypunct): Delete cache. | |
2842 | * config/locale/gnu/time_members.cc: | |
2843 | (__timepunct::_M_initialize_timepunct): Use cache. | |
2844 | * config/locale/gnu/time_members.h: | |
2845 | (__timepunct::~__timepunct): Delete cache. | |
2846 | (__timepunct::__timepunct): Set cache. | |
2847 | * include/bits/locale_facets.h (__timepunct_cache): New. | |
2848 | (__moneypunct_cache): New. | |
2849 | * include/bits/locale_facets.tcc: Tweak. | |
2850 | * src/locale.cc (__timepunct::_S_timezones): Adjust for cache. | |
2851 | * src/locale-inst.cc: Instantiate caches. | |
2852 | * src/globals.cc: Add "C" caches. | |
2853 | * src/localename.cc: Use external "C" caches. | |
2854 | ||
83a279e4 PE |
2855 | 2003-07-17 Phil Edwards <pme@gcc.gnu.org> |
2856 | ||
2857 | * docs/doxygen/guide.html: Fix typo. | |
2858 | ||
db5eed18 BK |
2859 | 2003-07-16 Benjamin Kosnik <bkoz@redhat.com> |
2860 | ||
2861 | * include/ext/pod_char_traits.h: Add state template argument. | |
2862 | ||
7942afdc BK |
2863 | 2003-07-16 Benjamin Kosnik <bkoz@redhat.com> |
2864 | ||
2865 | * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX. | |
2866 | (num_get::_M_convert_int): To _M_insert_int. | |
7e2055ec | 2867 | (num_get::_M_convert_float): To _M_insert_float. |
7942afdc BK |
2868 | * include/bits/locale_facets.tcc (num_get::_M_extract_float): |
2869 | Use caches for ctype, num_get. | |
2870 | (num_get::_M_extract_int): Same. | |
2871 | (num_get::get(bool)): Same. | |
2872 | (__verify_grouping): Use size_t. | |
2873 | * src/locale-inst.cc: Update. | |
2874 | * src/locale.cc: Adjust _S_atoms_in. | |
2875 | ||
1ef4a5d4 PE |
2876 | 2003-07-16 Phil Edwards <pme@gcc.gnu.org> |
2877 | ||
2878 | * docs/doxygen/mainpage.html: Move building/writing instructions... | |
2879 | * docs/doxygen/guide.html: ...to here. New file. | |
2880 | ||
dced0d12 JW |
2881 | 2003-07-16 Jonathan Wakely <redi@gcc.gnu.org> |
2882 | ||
2883 | * docs/html/ext/howto.html: Update URL for SGI STL docs. | |
2884 | * docs/html/faq/index.html: Same. | |
2885 | * docs/html/faq/index.txt: Regenerate. | |
2886 | ||
e50344b9 PC |
2887 | 2003-07-16 Paolo Carlini <pcarlini@unitus.it> |
2888 | ||
2889 | PR libstdc++/11528 | |
2890 | * include/bits/locale_facets.tcc (money_get::do_get): | |
2891 | Strip only _leading_ zeros. | |
2892 | * testsuite/22_locale/money_get/get/char/11528.cc: Add. | |
2893 | * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add. | |
2894 | ||
94b7906a GP |
2895 | 2003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
2896 | ||
2897 | * include/ext/hash_map (class hash_multimap): Remove extra | |
2898 | semicolons from __glibcxx_class_requires3 entries. | |
2899 | * include/ext/hash_set (class hash_set): Ditto. | |
2900 | (class hash_multiset): Ditto. | |
2901 | ||
73a530bd PR |
2902 | 2003-07-15 Petur Runolfsson <peturr02@ru.is> |
2903 | ||
2904 | * include/bits/char_traits.h (char_traits<wchar_t>::move): | |
2905 | Change last parameter from int_type to size_t. | |
2906 | ||
119dbb1f JQ |
2907 | 2003-07-15 Jerry Quinn <jlquinn@optonline.net> |
2908 | ||
2909 | * include/bits/stl_algo.h (includes, set_union, set_intersection, | |
7e2055ec ZW |
2910 | set_difference, set_symmetric_difference, max_element, min_element, |
2911 | next_permutation, prev_permutation, find_first_of, find_end): | |
2912 | Document. | |
119dbb1f | 2913 | * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap |
7e2055ec | 2914 | restrictions in docs. |
119dbb1f | 2915 | * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap): |
7e2055ec | 2916 | Document. |
119dbb1f JQ |
2917 | * docs/doxygen/doxygroups.cc (setoperations): New group. |
2918 | ||
284f19bf JQ |
2919 | 2003-07-15 Jerry Quinn <jlquinn@optonline.net> |
2920 | ||
7e2055ec | 2921 | * include/bits/basic_string.h: Document public functions. |
284f19bf JQ |
2922 | * docs/doxygen/TODO: Update c21 todo. |
2923 | ||
709e7c9f JQ |
2924 | 2003-07-15 Jerry Quinn <jlquinn@optonline.net> |
2925 | ||
2926 | * include/bits/stl_list.h: Document more functions. | |
2927 | * docs/doxygen/TODO: Update c23 todo. | |
2928 | ||
f45e487d PC |
2929 | 2003-07-14 Paolo Carlini <pcarlini@unitus.it> |
2930 | ||
2931 | * config/locale/gnu/c_locale.h (__convert_from_v): One more | |
2932 | qualification. | |
2933 | ||
f088510d PC |
2934 | 2003-07-14 Paolo Carlini <pcarlini@unitus.it> |
2935 | ||
2936 | * include/bits/stl_tempbuf.h: Qualify free with std::. | |
2937 | * src/locale.cc: Include <cstdlib>, qualify getenv. | |
2938 | ||
2def5b76 PC |
2939 | 2003-07-14 Paolo Carlini <pcarlini@unitus.it> |
2940 | ||
2941 | * config/locale/gnu/c_locale.h (__convert_from_v): Include | |
2942 | <cstdio>. Qualify names. | |
2943 | * config/locale/generic/c_locale.h (__convert_from_v): Ditto. | |
2944 | ||
bda243ec PC |
2945 | 2003-07-14 Paolo Carlini <pcarlini@unitus.it> |
2946 | Nathan C. Myers <ncm-nospam@cantrip.org> | |
2947 | ||
2948 | PR libstdc++/11378 | |
2949 | * include/std/std_fstream.h (xsputn): Declare only. | |
2950 | * include/bits/fstream.tcc (xsputn): Define, optimize for the | |
7e2055ec | 2951 | always_noconv() case: when __n is sufficiently large flush |
bda243ec PC |
2952 | the buffer and issue a direct write, if possible combining the |
2953 | two with writev in __basic_file<>::xsputn_2. | |
2954 | * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2): | |
2955 | New, declare. | |
2956 | * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2): | |
2957 | Define. | |
2958 | * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for | |
2959 | the availability of writev in <sys/uio.h>. | |
2960 | * configure.in: Call here. | |
2961 | * acconfig.h: Add undef for the corresponding symbol. | |
2962 | * aclocal.m4: Regenerate. | |
2963 | * configure: Regenerate. | |
2964 | * config.h.in: Regenerate. | |
2965 | * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak. | |
2966 | ||
2967 | * include/std/std_fstream.h (sync): Constify a variable. | |
2968 | ||
c573d965 BK |
2969 | 2003-07-14 Benjamin Kosnik <bkoz@redhat.com> |
2970 | ||
2971 | * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers. | |
2972 | * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. | |
7e2055ec | 2973 | |
3ad249b9 GDR |
2974 | 2003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net> |
2975 | ||
2976 | * config/locale/gnu/c_locale.h (__convert_from_v): Include | |
2977 | <cstring> and <cstdlib>. Qualify names. | |
2978 | ||
f2ffecb1 MM |
2979 | 2003-07-13 Mark Mitchell <mark@codesourcery.com> |
2980 | ||
2981 | * config/locale/generic/c_locale.h: Include <cstdlib> and | |
2982 | <cstring>. | |
2983 | * include/bits/boost_concept_check.h: Add this-> to unqualified | |
2984 | method calls. | |
2985 | * include/bits/deque.tcc: Likewise. | |
2986 | * include/bits/locale_facets.h : Likewise. | |
2987 | * include/bits/ostream.tcc: Likewise. | |
2988 | * include/bits/stl_algo.h: Likewise. | |
2989 | * include/bits/stl_bvector.h: Likewise. | |
2990 | * include/bits/stl_deque.h: Likewise. | |
2991 | * include/bits/stl_list.h: Likewise. | |
2992 | * include/bits/stl_tree.h: Likewise. | |
2993 | * include/bits/stl_vector.h: Likewise. | |
2994 | * include/bits/vector.tcc: Likewise. | |
2995 | * include/ext/rope: Likewise. | |
2996 | * include/ext/ropeimpl.h: Likewise. | |
2997 | * include/ext/stdio_filebuf.h: Likewise. | |
2998 | ||
e2fcbaa3 JQ |
2999 | 2003-07-11 Jerry Quinn <jlquinn@optonline.net> |
3000 | ||
3001 | * include/bits/basic_ios.h (copyfmt): Document. | |
3002 | * include/bits/ios_base.h (event, event_callback, register_callback, | |
3003 | xalloc, iword, pword): Document. | |
3004 | (imbue, ~ios_base): Update docs on callbacks. | |
3005 | ||
58579a27 PE |
3006 | 2003-07-11 Phil Edwards <pme@gcc.gnu.org> |
3007 | ||
3008 | * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add | |
3009 | warning messages if the environment cannot support symbol versioning. | |
3010 | (port_specific_symbol_file): It's plural, add an 's' on the end. | |
3011 | * configure.host: Likewise. | |
3012 | * src/Makefile.am: Likewise. | |
3013 | * config/linker-map.gnu: Remove one semicolon, heh. | |
3014 | * scripts/extract_symvers: Don't assume useful 'export' syntax. | |
3015 | Set LANG as well as LC_ALL for possibly-broken sort(1)s. | |
3016 | * aclocal.m4, configure, src/Makefile.in: Regenerated. | |
3017 | ||
cde63840 BK |
3018 | 2003-07-09 Benjamin Kosnik <bkoz@redhat.com> |
3019 | ||
3020 | * include/bits/locale_facets.tcc: Use function object for | |
7e2055ec | 3021 | __use_cache instead of template function. Partially specialize for |
cde63840 BK |
3022 | __numpunct<_CharT>. |
3023 | * include/bits/locale_classes.h: Update friend declaration for | |
3024 | __use_cache. | |
3025 | (_M_install_cache): No throw exception specs. | |
3026 | * src/locale.cc: Remove __use_cache specializations. | |
3027 | * include/ext/pod_char_traits.h (length): Tweak. | |
3028 | * include/bits/locale_facets.h (__numpunct_cache): Remove | |
3029 | char_type typedef. | |
3030 | * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove. | |
3031 | (pod_long): Remove. | |
3032 | * testsuite/22_locale/numpunct/members/char/cache_1.cc: New. | |
3033 | * testsuite/22_locale/numpunct/members/char/cache_2.cc: New. | |
3034 | * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New. | |
3035 | * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New. | |
3036 | * testsuite/22_locale/numpunct/members/pod/1.cc: New. | |
3037 | * testsuite/22_locale/numpunct/members/pod/2.cc: New. | |
7e2055ec | 3038 | |
e7f042e4 JQ |
3039 | 2003-07-09 Jerry Quinn <jlquinn@optonline.net> |
3040 | ||
3041 | * src/ios.cc (_M_grow_words): Fix spelling. | |
3042 | ||
ca1c7011 GB |
3043 | 2003-07-09 Gawain Bolton <gp.bolton@computer.org> |
3044 | ||
3045 | * include/bits/stl_tree.h: Move larger member functions in | |
3046 | _Rb_tree_base_iterator and _Rb_tree_node to... | |
3047 | * src/stl_tree.cc: Here. | |
3048 | * src/Makefile.in: Add stl_tree.cc. | |
3049 | * src/Makefile.in: Regenerated. | |
3050 | * config/linker-map.gnu: Add symbols here. | |
3051 | ||
9e7facfd BK |
3052 | 2003-07-08 Benjamin Kosnik <bkoz@redhat.com> |
3053 | ||
3054 | * testsuite/ext/pod_char_traits.cc: New. | |
3055 | * include/ext/pod_char_traits.h: New. | |
3056 | * include/Makefile.am (ext_headers): Add pod_char_traits.h. | |
3057 | * include/Makefile.in: Regenerate. | |
3058 | * docs/html/21_strings/howto.html: Update. | |
7e2055ec | 3059 | |
e55dc371 GB |
3060 | 2003-07-08 Gawain Bolton <gp.bolton@computer.org> |
3061 | ||
3062 | * testsuite/performance/list_create_fill_sort.cc: New. | |
3063 | ||
c094e9b9 BK |
3064 | 2003-07-08 Benjamin Kosnik <bkoz@redhat.com> |
3065 | ||
3066 | * config/locale/generic/numeric_members.cc: Correct type info. | |
3067 | * config/locale/gnu/numeric_members.cc: Same. | |
3068 | * include/bits/locale_facets.h: Same. | |
7e2055ec | 3069 | |
c094e9b9 BK |
3070 | * include/bits/char_traits.h: Correct spacing. |
3071 | ||
3072 | * src/locale.cc: Wrap to 80 col. | |
7e2055ec | 3073 | |
a8784c4c PC |
3074 | 2003-07-07 Paolo Carlini <pcarlini@unitus.it> |
3075 | ||
3076 | * include/std/std_complex.h: Partially revert last | |
3077 | changes: cmath functions must not be qualified. | |
3078 | ||
313dd504 PE |
3079 | 2003-07-06 Phil Edwards <pme@gcc.gnu.org> |
3080 | ||
3081 | * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils | |
3082 | 2.11 with globbing backport fix. | |
3083 | * aclocal.m4, configure: Regenerated. | |
3084 | ||
6623b2f2 PC |
3085 | 2003-07-06 Paolo Carlini <pcarlini@unitus.it> |
3086 | ||
3087 | * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback: | |
3088 | if output is at all possible (!_M_reading), cannot be active. | |
3089 | ||
3090 | * include/std/std_fstream.h: Tweak comments to doxygen style. | |
3091 | ||
391cfc46 PC |
3092 | 2003-07-06 Paolo Carlini <pcarlini@unitus.it> |
3093 | ||
3094 | * include/bits/locale_classes.h: Fully qualify standard | |
3095 | functions with std::, thus avoiding Koenig lookup. | |
3096 | * include/bits/locale_facets.tcc: Likewise. | |
3097 | * src/locale.cc: Likewise. | |
3098 | * src/localename.cc: Likewise. | |
3099 | ||
48166869 PE |
3100 | 2003-07-06 Phil Edwards <pme@gcc.gnu.org> |
3101 | ||
3102 | * include/bits/allocator_traits.h: Fix doxygen markup. | |
3103 | * include/ext/mt_allocator.h: Likewise. | |
3104 | ||
aaa4a229 PE |
3105 | 2003-07-06 Phil Edwards <pme@gcc.gnu.org> |
3106 | ||
3107 | * testsuite/testsuite_hooks.h: Guard against a missing unlink(). | |
3108 | ||
e6b7a69a PE |
3109 | 2003-07-05 Phil Edwards <pme@gcc.gnu.org> |
3110 | ||
3111 | * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version | |
3112 | requirement. Add port_specific_symbol_file variable. | |
3113 | * configure.host: Add docs for port_specific_symbol_file. | |
3114 | Clean up try_cpu block for x86. | |
3115 | * config/linker-map.gnu: No more "last symbol can't have a | |
3116 | semicolon" kaka. Add hook for port-specific symbols. | |
3117 | * src/Makefile.am: Remove trailing whitespace. | |
3118 | (libstdc++-symbol.ver): Detect the presence of port-specific | |
3119 | symbols, and add them accordingly. | |
3120 | ||
3121 | * docs/html/17_intro/porting.texi: Bring up to date. | |
3122 | ||
3123 | * src/Makefile.in, aclocal.m4, configure, | |
3124 | docs/html/17_intro/porting.html: Regenerated. | |
3125 | ||
ac3d7b44 PE |
3126 | 2003-07-05 Phil Edwards <pme@gcc.gnu.org> |
3127 | ||
3128 | * scripts/create_testsuite_files: New file. | |
3129 | * testsuite/Makefile.am (all-local, check-performance): Use it. | |
3130 | * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove. | |
3131 | * testsuite/Makefile.in: Regenerated. | |
3132 | ||
3133 | * testsuite/performance/filebuf_sputc.cc: Remove the temporary | |
3134 | files at the end. | |
3135 | * testsuite/performance/fstream_seek_write.cc: Likewise. | |
3136 | * testsuite/performance/ofstream_insert_float.cc: Likewise. | |
3137 | * testsuite/performance/ofstream_insert_int.cc: Likewise. | |
3138 | * testsuite/abi_check.cc (main): Nicer spacing in usage output. | |
3139 | ||
e3d51be2 GB |
3140 | 2003-07-05 Gawain Bolton <gp.bolton@computer.org> |
3141 | ||
3142 | * include/bits/stl_list.h: Performance and memory usage | |
c094e9b9 BK |
3143 | improvements. In particular, the behaviour of the constructor and |
3144 | destructor as the list header node is no longer dynamically | |
3145 | allocated/de-allocated. | |
e3d51be2 GB |
3146 | * include/bits/list.tcc: Likewise. |
3147 | ||
eb9a4231 PC |
3148 | 2003-07-05 Paolo Carlini <pcarlini@unitus.it> |
3149 | ||
3150 | * include/std/std_complex.h: Fully qualify standard | |
3151 | functions with std::, thus avoiding Koenig lookup. | |
3152 | * include/std/std_memory.h: Likewise. | |
3153 | * include/std/std_valarray.h: Likewise. | |
3154 | ||
f92c5313 GB |
3155 | 2003-07-05 Gawain Bolton <gp.bolton@computer.org> |
3156 | ||
3157 | * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local | |
7e2055ec | 3158 | variable for grandparent and use const |
f92c5313 | 3159 | |
8b87d3fa DB |
3160 | 2003-07-05 David Billinghurst <David.Billinghurst@riotinto.com> |
3161 | ||
3162 | * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin | |
3163 | * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto | |
3164 | * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto | |
3165 | * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto | |
3166 | * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto | |
3167 | * testsuite/27_io/objects/char/7.cc: Ditto | |
3168 | * testsuite/27_io/objects/char/9661-1.cc: Ditto | |
3169 | ||
a8cad3e1 PC |
3170 | 2003-07-05 Paolo Carlini <pcarlini@unitus.it> |
3171 | ||
3172 | * include/std/std_bitset.h: Fully qualify standard | |
3173 | functions with std::, thus avoiding Koenig lookup. | |
3174 | ||
3175 | * include/std/std_fstream.h: Change comment to doxygen style. | |
3176 | ||
2778669a PE |
3177 | 2003-07-05 Phil Edwards <pme@gcc.gnu.org> |
3178 | ||
3179 | * include/std/std_limits.h: More CPP->CXX changes. | |
3180 | * scripts/check_survey.in: Likewise. | |
3181 | ||
3d7c150e BK |
3182 | 2003-07-04 Benjamin Kosnik <bkoz@redhat.com> |
3183 | ||
3184 | Move from CPP to CXX. | |
3185 | * include/bits/c++config: Move to GLIBCXX from GLIBCPP. | |
3186 | * testsuite/Makefile.am: Same. | |
3187 | * testsuite/Makefile.in: Regenerate. | |
3188 | * po/Makefile.am: Same. | |
7e2055ec | 3189 | * po/Makefile.in: Regenerate. |
3d7c150e | 3190 | * libsupc++/Makefile.am: Same. |
7e2055ec | 3191 | * libsupc++/Makefile.in: Regenerate. |
3d7c150e | 3192 | * libmath/Makefile.am: Same. |
7e2055ec | 3193 | * libmath/Makefile.in: Regenerate. |
3d7c150e | 3194 | * include/Makefile.am: Same. |
7e2055ec | 3195 | * include/Makefile.in: Regenerate. |
3d7c150e | 3196 | * src/Makefile.am: Same. |
7e2055ec | 3197 | * src/Makefile.in: Regenerate. |
3d7c150e BK |
3198 | * acconfig.h: Same. |
3199 | * configure.host: Same. | |
3200 | * configure.in: Same. | |
3201 | * configure: Regenerate. | |
3202 | * acinclude.m4: Same. | |
3203 | * aclocal.m4: Same. | |
3204 | * src: Change all files in this directory. | |
3205 | * testsuite: Same. | |
3206 | * include: Same, standardize include guards. | |
3207 | * config: Same. | |
3208 | * libsupc++: Same. | |
7e2055ec | 3209 | |
e6cc3a24 ZW |
3210 | 2003-07-04 Zack Weinberg <zack@codesourcery.com> |
3211 | ||
3212 | * testsuite/22_locale/collate/compare/wchar_t/2.cc | |
3213 | * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc | |
3214 | * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc | |
3215 | * testsuite/22_locale/collate/hash/wchar_t/2.cc | |
3216 | * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc | |
3217 | * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc | |
3218 | * testsuite/22_locale/collate/transform/wchar_t/2.cc | |
3219 | * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc | |
3220 | * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc: | |
3221 | XFAIL on all targets. | |
3222 | ||
d542f114 BK |
3223 | 2003-07-04 Benjamin Kosnik <bkoz@redhat.com> |
3224 | ||
3225 | * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable. | |
3226 | * aclocal.m4: Regenerate. | |
3227 | * configure: Regenerate. | |
e6cc3a24 | 3228 | |
d542f114 BK |
3229 | 2003-07-04 Jerry Quinn <jlquinn@optonline.net> |
3230 | ||
3231 | * include/bits/locale_facets.tcc (__int_to_char): Move common case | |
3232 | to the top. | |
3233 | ||
69ef29fd | 3234 | 2003-07-04 Benjamin Kosnik <bkoz@redhat.com> |
e6cc3a24 ZW |
3235 | Petur Runolfsson <peturr02@ru.is> |
3236 | ||
69ef29fd BK |
3237 | * config/io/basic_file_stdio.cc: Revert. |
3238 | ||
5b5bf717 PC |
3239 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
3240 | ||
3241 | * include/bits/deque.tcc: Fully qualify standard | |
3242 | functions with std::, thus avoiding Koenig lookup. | |
3243 | * include/bits/gslice_array.h: Likewise. | |
3244 | * include/bits/indirect_array.h: Likewise. | |
3245 | * include/bits/list.tcc: Likewise. | |
3246 | * include/bits/mask_array.h: Likewise. | |
3247 | * include/bits/slice_array.h: Likewise. | |
3248 | ||
7f6dd1ca GB |
3249 | 2003-07-04 Gawain Bolton <gbolton@free.fr> |
3250 | ||
3251 | * include/bits/stl_tree.h: Performance and memory usage | |
3252 | improvements. | |
3253 | ||
8c90b13a L |
3254 | 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> |
3255 | ||
3256 | * Makefile.am: Replace PWD with PWD_COMMAND. | |
3257 | * Makefile.in: Regenerated. | |
3258 | * docs/html/Makefile: Likewise. | |
3259 | ||
2f805868 PC |
3260 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
3261 | ||
3262 | * include/bits/valarray_array.h: Fully qualify standard | |
3263 | functions with std::, thus avoiding Koenig lookup. | |
3264 | * include/bits/vector.tcc: Likewise. | |
3265 | ||
a30335e9 BK |
3266 | 2003-07-04 Benjamin Kosnik <bkoz@redhat.com> |
3267 | ||
3268 | * include/Makefile.am: Update target_ to host_. | |
3269 | * include/Makefile.in: Regenerate. | |
3270 | * src/Makefile.am: Same. | |
3271 | * src/Makefile.in: Regenerate. | |
3272 | ||
3273 | * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support. | |
e6cc3a24 | 3274 | |
d8d81f62 BK |
3275 | 2003-07-04 Benjamin Kosnik <bkoz@redhat.com> |
3276 | ||
3277 | * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To | |
3278 | --enable-libstdcxx-debug-flags. | |
3279 | (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug. | |
3280 | (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch. | |
3281 | * aclocal.m4: Regenerate. | |
3282 | * configure: Same. | |
3283 | * docs/html/configopts.html: Update. | |
e6cc3a24 | 3284 | |
10ef4e2e PC |
3285 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
3286 | ||
3287 | Revert the fix for libstdc++/11378. | |
3288 | ||
ac2c48d7 PC |
3289 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
3290 | ||
3291 | PR libstdc++/11378 | |
3292 | * include/std/std_fstream.h (xsputn): In the unbuffered case, | |
3293 | provided always_noconv(), issue directly _M_file.xsputn. | |
3294 | * testsuite/performance/filebuf_unbuf_sputn.cc: New. | |
3295 | ||
9dd90ac6 PC |
3296 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
3297 | ||
3298 | * include/bits/stl_list.h: Fully qualify standard | |
3299 | functions with std::, thus avoiding Koenig lookup. | |
3300 | * include/bits/stl_queue.h: Likewise. | |
3301 | * include/bits/stl_raw_storage_iter.h: Likewise. | |
3302 | * include/bits/stl_tempbuf.h: Likewise. | |
3303 | * include/bits/stl_tree.h: Likewise. | |
3304 | * include/bits/stl_uninitialized.h: Likewise. | |
3305 | * include/bits/stl_vector.h: Likewise. | |
e6cc3a24 | 3306 | * include/ext/rope: Change includes order. |
9dd90ac6 | 3307 | |
1b33b6b2 BK |
3308 | 2003-07-04 Benjamin Kosnik <bkoz@redhat.com> |
3309 | ||
3310 | * configure.host (fpos_include_dir): Fix. | |
3311 | ||
369b78b0 PC |
3312 | 2003-07-04 Paolo Carlini <pcarlini@unitus.it> |
3313 | ||
3314 | * include/bits/stl_heap.h: Fully qualify standard | |
3315 | functions with std::, thus avoiding Koenig lookup. | |
3316 | * include/bits/stl_iterator_base_funcs.h: Likewise. | |
3317 | ||
3318 | * include/bits/stl_algo.h: Qualify __iterator_category too. | |
3319 | * include/bits/stl_algobase.h: Likewise. | |
3320 | * include/bits/stl_bvector.h: Likewise. | |
3321 | ||
3322 | * include/bits/stl_algo.h: Don't qualify the pair type. | |
3323 | ||
cc5112c9 BK |
3324 | 2003-07-03 Benjamin Kosnik <bkoz@redhat.com> |
3325 | ||
3326 | * include/Makefile.am (target_headers): Add fpos.h | |
3327 | (bits_headers): Remove. | |
3328 | * include/Makefile.in: Regenerate. | |
3329 | * configure.in: Add FPOS_INC_SRCDIR, substitute it. | |
3330 | * configure: Regenerate. | |
3331 | * configure.host: Add fpos_include_dir. | |
3332 | * config/os/gnu-linux/fpos.h: New. | |
e6cc3a24 ZW |
3333 | * config/os/generic/fpos.h: Add. |
3334 | * include/bits/fpos.h: Remove. | |
cc5112c9 BK |
3335 | |
3336 | * config/io/c_io_stdio.h: Remove fpos_t typedef. | |
3337 | ||
3338 | * include/bits/fstream.tcc: Tweaks. | |
3339 | * include/std/std_fstream.h: Same. | |
e6cc3a24 | 3340 | |
cc5112c9 BK |
3341 | * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to... |
3342 | * testsuite/27_io/fpos/mbstate_t/1.cc: ...here. | |
3343 | * testsuite/27_io/fpos/mbstate_t/2.cc: Same. | |
3344 | * testsuite/27_io/fpos/mbstate_t/3.cc: Same. | |
3345 | * testsuite/27_io/fpos/1.cc: New. | |
e6cc3a24 | 3346 | |
cc5112c9 BK |
3347 | 2003-07-03 Benjamin Kosnik <bkoz@redhat.com> |
3348 | Petur Runolfsson <peturr02@ru.is> | |
e6cc3a24 | 3349 | |
cc5112c9 BK |
3350 | * include/std/std_streambuf.h: Remove _M_pos. |
3351 | * config/io/basic_file_stdio.h: Use seekpos instead of seekoff. | |
3352 | * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek, | |
3353 | use fread/fwrite instead of read/write. | |
3354 | * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix. | |
3355 | * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs | |
3356 | before reading again. | |
3357 | * testsuite/27_io/objects/char/6.cc: Tweak. | |
e6cc3a24 | 3358 | |
304d79dc DE |
3359 | 2003-07-03 David Edelsohn <edelsohn@gnu.org> |
3360 | ||
3361 | * testsuite/22_locale/num_put/put/char/7.cc: Guard with | |
3362 | _GLIBCPP_USE_WCHAR_T. | |
3363 | ||
41ba4c46 PC |
3364 | 2003-07-02 Paolo Carlini <pcarlini@unitus.it> |
3365 | ||
3366 | * include/bits/basic_string.tcc (_M_replace_aux): Constify | |
3367 | __n1 and __off1. | |
3368 | ||
da73f9de PC |
3369 | 2003-07-02 Paolo Carlini <pcarlini@unitus.it> |
3370 | ||
3371 | * include/bits/stl_bvector.h: Fully qualify standard | |
3372 | functions with std::, thus avoiding Koenig lookup. | |
3373 | * include/bits/stl_construct.h: Likewise. | |
3374 | * include/bits/stl_deque.h: Likewise. | |
3375 | ||
1c380095 PC |
3376 | 2003-07-02 Paolo Carlini <pcarlini@unitus.it> |
3377 | ||
3378 | * testsuite/22_locale/num_put/put/char/7.cc: Include | |
3379 | <testsuite_hooks.h>, tweak. | |
3380 | * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise. | |
3381 | ||
f9f4d1e1 PE |
3382 | 2003-07-01 Phil Edwards <pme@gcc.gnu.org> |
3383 | ||
3384 | * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects | |
3385 | check* targets, but not libs/programs). | |
3386 | * testsuite/Makefile.in: Regenerate. | |
3387 | ||
b7693a46 RS |
3388 | 2003-07-01 Roger Sayle <roger@eyesopen.com> |
3389 | ||
3390 | * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS. | |
3391 | (GLIBCPP_CHECK_MATH_SUPPORT): Likewise. | |
3392 | * aclocal.m4: Regenerate. | |
3393 | * configure: Regenerate. | |
3394 | ||
a5b1b26c BK |
3395 | 2003-07-01 Benjamin Kosnik <bkoz@redhat.com> |
3396 | ||
3397 | * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error. | |
3398 | * aclocal.m4: Regenerated. | |
3399 | * configure: Regenerated. | |
e6cc3a24 | 3400 | |
f64f3e74 PC |
3401 | 2003-07-01 Paolo Carlini <pcarlini@unitus.it> |
3402 | ||
3403 | PR libstdc++/11389 | |
3404 | * include/bits/fstream.tcc (underflow): For encoding() == 0 | |
3405 | don't read more than __buflen chars. | |
3406 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New. | |
3407 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New. | |
3408 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New. | |
3409 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New. | |
3410 | ||
5ee78c21 JQ |
3411 | 2003-07-01 Jerry Quinn <jlquinn@optonline.net> |
3412 | ||
3413 | * 22_locale/num_put/put/char/7.cc: New. | |
3414 | * 22_locale/num_put/put/wchar_t/7.cc: New. | |
3415 | ||
e97ee22e JQ |
3416 | 2003-06-30 Jerry Quinn <jlquinn@optonline.net> |
3417 | ||
3418 | * src/locale.cc (__use_cache<numpunct>): Revert previous relocation. | |
3419 | * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto. | |
3420 | ||
7d6a0993 BK |
3421 | 2003-06-30 Benjamin Kosnik <bkoz@redhat.com> |
3422 | ||
3423 | * 27_io/basic_filebuf/seekoff/char/1-in.cc: New. | |
3424 | * 27_io/basic_filebuf/seekoff/char/1-io.cc: New. | |
3425 | * 27_io/basic_filebuf/seekoff/char/1-out.cc: New. | |
3426 | * 27_io/basic_filebuf/seekoff/char/2-in.cc: New. | |
3427 | * 27_io/basic_filebuf/seekoff/char/2-io.cc: New. | |
3428 | * 27_io/basic_filebuf/seekoff/char/2-out.cc: New. | |
3429 | * 27_io/basic_filebuf/seekoff/char/2.cc: Remove. | |
3430 | * 27_io/basic_filebuf/seekoff/char/3-in.cc: New. | |
3431 | * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change. | |
3432 | * 27_io/basic_filebuf/seekoff/char/3-out.cc: New. | |
3433 | * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove. | |
3434 | * 27_io/basic_filebuf/seekpos/char/1-in.cc: New. | |
3435 | * 27_io/basic_filebuf/seekpos/char/1-io.cc: New. | |
3436 | * 27_io/basic_filebuf/seekpos/char/1-out.cc: New. | |
3437 | * 27_io/basic_filebuf/seekpos/char/2-in.cc: New. | |
3438 | * 27_io/basic_filebuf/seekpos/char/2-io.cc: New. | |
3439 | * 27_io/basic_filebuf/seekpos/char/2-out.cc: New. | |
3440 | * 27_io/basic_filebuf/seekpos/char/2.cc: Change. | |
3441 | * 27_io/basic_filebuf/seekpos/char/3-in.cc: New. | |
3442 | * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove. | |
3443 | * 27_io/basic_filebuf/seekpos/char/3-out.cc: New. | |
3444 | * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove. | |
3445 | * data/seekoff-1.tst: Remove. | |
3446 | * data/seekoff-1io.tst: New. | |
3447 | * data/seekoff-1out.tst: New. | |
3448 | * data/seekoff-2.tst: Remove. | |
3449 | * data/seekoff-2io.tst: New. | |
3450 | * data/seekoff-2out.tst: New. | |
3451 | * data/seekoff.txt | |
3452 | * data/seekpos-1.tst: Remove. | |
3453 | * data/seekpos-1io.tst: New. | |
3454 | * data/seekpos-1out.tst: New. | |
3455 | * data/seekpos-2.tst: Remove. | |
3456 | * data/seekpos-2io.tst: New. | |
3457 | * data/seekpos-2out.tst: New. | |
3458 | * data/seekpos.txt: New. | |
3459 | ||
a5b1b26c | 3460 | 2003-06-30 Jerry Quinn <jlquinn@optonline.net> |
cf0cad09 JQ |
3461 | |
3462 | * src/locale.cc (__use_cache<numpunct>): Move from here ... | |
3463 | * include/bits/locale_facets.tcc (__use_cache<numpunct>): To | |
3464 | here. | |
3465 | ||
884a757a PC |
3466 | 2003-06-30 Paolo Carlini <pcarlini@unitus.it> |
3467 | ||
3468 | * include/bits/stl_algobase.h: Fully qualify standard | |
3469 | functions with std::, thus avoiding Koenig lookup. | |
3470 | ||
5892c641 | 3471 | 2003-06-30 Doug Gregor <dgregor@apple.com> |
e6cc3a24 | 3472 | |
5892c641 | 3473 | * include/bits/locale_facets.tcc (money_get::do_get): Avoid |
e6cc3a24 | 3474 | subscripting empty string. |
5892c641 | 3475 | |
7685a26d PE |
3476 | 2003-06-30 Phil Edwards <pme@gcc.gnu.org> |
3477 | ||
3478 | * testsuite/Makefile.am (check-am): Do not override. | |
3479 | (baseline_symbols): Declare as PHONY, so no need to 'touch' it. | |
3480 | * testsuite/Makefile.in: Regenerate. | |
3481 | ||
e6cc3a24 ZW |
3482 | 2003-06-30 Doug Gregor <dgregor@apple.com> |
3483 | ||
d147b75b DG |
3484 | * testsuite/24_iterators/insert_iterator.cc (test01, test02): |
3485 | Don't initialize an insert_iterator with a singular iterator. | |
3486 | ||
44f0760e | 3487 | 2003-06-30 Benjamin Kosnik <bkoz@redhat.com> |
e6cc3a24 | 3488 | |
44f0760e BK |
3489 | * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch. |
3490 | * aclocal.m4: Regenerate. | |
3491 | * configure.in (GLIBCPP_CHECK_PCH): Move, change to | |
3492 | GLIBCPP_ENABLE_PCH, default to yes. | |
3493 | * configure: Regenerate. | |
3494 | * docs/html/configopts.html: Add --enable-pch. | |
e6cc3a24 | 3495 | |
e37f7da7 PE |
3496 | 2003-06-30 Phil Edwards <pme@gcc.gnu.org> |
3497 | ||
3498 | * testsuite/lib/libstdc++-v3-dg.exp: Add comments. | |
3499 | (libstdc++-v3-init): Also set LD_RUN_PATH. | |
3500 | ||
cd16e04b PC |
3501 | 2003-06-30 Paolo Carlini <pcarlini@unitus.it> |
3502 | ||
fbfcbadc PC |
3503 | * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move |
3504 | from here to filebuf and stringbuf. | |
cd16e04b PC |
3505 | (~basic_streambuf()): Don't set _M_mode. |
3506 | (basic_streambuf()): Don't set _M_mode. | |
3507 | * include/std/std_fstream.h (_M_mode): Move here, from streambuf. | |
3508 | (~basic_filebuf()): Clean up. | |
3509 | * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode. | |
3510 | * include/std/std_sstream.h (_M_mode): Move here, from streambuf. | |
3511 | * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode. | |
3512 | * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise. | |
3513 | * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise. | |
3514 | * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise. | |
3515 | * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise. | |
3516 | ||
3517 | 2003-06-30 Paolo Carlini <pcarlini@unitus.it> | |
3518 | ||
3519 | * include/std/std_fstream.h (_M_underflow): Remove. | |
3520 | (uflow): Remove, inherited from streambuf. | |
3521 | (underflow): Only declare. | |
e6cc3a24 | 3522 | * include/bits/fstream.tcc (_M_underflow): Rename to |
cd16e04b PC |
3523 | underflow, to which is equivalent for __bump == false, |
3524 | simplify. | |
3525 | * include/std/std_sstream.h (_M_underflow): Remove. | |
3526 | (uflow): Remove, inherited from streambuf. | |
3527 | (underflow): Only declare. | |
e6cc3a24 | 3528 | * include/bits/sstream.tcc (_M_underflow): Rename to |
cd16e04b PC |
3529 | underflow, to which is equivalent for __bump == false, |
3530 | simplify. | |
3531 | ||
c868f37e PC |
3532 | 2003-06-29 Paolo Carlini <pcarlini@unitus.it> |
3533 | ||
fbfcbadc PC |
3534 | * include/bits/stl_algo.h: Fully qualify standard functions |
3535 | with std::, thus avoiding Koenig lookup. | |
c868f37e | 3536 | |
165f54e0 PC |
3537 | 2003-06-29 Paolo Carlini <pcarlini@unitus.it> |
3538 | ||
3539 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: | |
3540 | Improve type correctness-wise. | |
3541 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: | |
3542 | Likewise. | |
3543 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: | |
3544 | Likewise. | |
3545 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: | |
3546 | Likewise. | |
3547 | ||
90319d16 PC |
3548 | 2003-06-29 Paolo Carlini <pcarlini@unitus.it> |
3549 | ||
3550 | * include/std/std_streambuf.h (uflow): According to | |
3551 | 27.5.2.4.3,p16, don't check gptr() < egptr(). | |
3552 | ||
b417ae14 PC |
3553 | 2003-06-28 Paolo Carlini <pcarlini@unitus.it> |
3554 | ||
3555 | PR libstdc++/9875 | |
3556 | * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0. | |
3557 | (seekpos): Likewise. | |
3558 | * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc: | |
3559 | New test. | |
3560 | * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc: | |
3561 | New test. | |
3562 | ||
f1a22109 BK |
3563 | 2003-06-27 Benjamin Kosnik <bkoz@redhat.com> |
3564 | ||
3565 | * testsuite/testsuite_performance.h (__gnu_cxx_test): Change | |
3566 | output name to libstdc++-v3-performance.sum. | |
3567 | * testsuite/Makefile.am (CLEANFILES): Remove .performance. | |
3568 | * testsuite/Makefile.in: Regenerate. | |
e6cc3a24 | 3569 | |
f1a22109 BK |
3570 | 2003-06-27 Matthias Klose <doko@debian.org> |
3571 | ||
3572 | * testsuite/Makefile.am (check-abi, check-abi-verbose): Save | |
3573 | output of abi-check in libstdc++-v3-abi.sum. | |
3574 | * testsuite/Makefile.in: Regenerate. | |
3575 | ||
2e8a523f KW |
3576 | 2003-06-27 Krister Walfridsson <cato@df.lth.se> |
3577 | ||
3578 | * config/os/bsd/netbsd/ctype_noninline.h | |
3579 | (_C_ctype_): Declare. | |
3580 | (ctype<char>::classic_table): Return _C_ctype_ + 1. | |
3581 | (ctype<char>::ctype): Use classic_table. | |
3582 | ||
3461133d PC |
3583 | 2003-06-27 Paolo Carlini <pcarlini@unitus.it> |
3584 | Nathan C. Myers <ncm-nospam@cantrip.org> | |
3585 | ||
3586 | PR libstdc++/9178 | |
3587 | * include/bits/fstream.tcc (_M_underflow): Properly estimate | |
3588 | the worst-case number of external bytes for a given get area. | |
3589 | * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New. | |
3590 | ||
3591 | 2003-06-27 Paolo Carlini <pcarlini@unitus.it> | |
3592 | Petur Runolfsson <peturr02@ru.is> | |
3593 | ||
3594 | PR libstdc++/11305 | |
3595 | * include/bits/fstream.tcc (overflow): Properly estimate the | |
3596 | worst-case number of external bytes for a given put area | |
3597 | (by using codecvt::max_length()). | |
3598 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New. | |
3599 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New. | |
3600 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New. | |
3601 | * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New. | |
3602 | ||
5648db54 NS |
3603 | 2003-06-27 Nathan Sidwell <nathan@codesourcery.com> |
3604 | ||
3605 | * config/linker-map.gnu: Remove ; after __numpunct_cache. | |
3606 | ||
215f9e28 BK |
3607 | 2003-06-26 Benjamin Kosnik <bkoz@redhat.com> |
3608 | ||
3609 | * include/bits/ios_base.h (ios_base::_M_getloc): Return reference | |
3610 | to the imbued locale. | |
3611 | * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use | |
3612 | _M_getloc. | |
3613 | (num_put::_M_convert_float): Use. | |
3614 | ||
3615 | 2003-06-26 Benjamin Kosnik <bkoz@redhat.com> | |
3616 | Jerry Quinn <jlquinn@optonline.net> | |
3617 | ||
3618 | * config/linker-map.gnu: Add __numpunct_cache. | |
3619 | * config/locale/gnu/numeric_members.cc | |
3620 | (numpunct::_M_initialize_numpunct): Account for _M_data, fill in | |
3621 | all elements for "C" locale. | |
3622 | (numpunct::~numpunct): Delete _M_data. | |
e6cc3a24 | 3623 | * config/locale/generic/numeric_members.cc: Same. |
215f9e28 BK |
3624 | * include/bits/basic_ios.tcc |
3625 | (basic_ios::init): Remove __locale_cache bits. | |
3626 | (basic_ios::_M_cache_locale): Same. | |
e6cc3a24 | 3627 | * include/bits/ios_base.h: Same. Tweaks. |
215f9e28 BK |
3628 | * include/bits/locale_classes.h: Tweaks. Reorder classes. |
3629 | (__use_cache): Make friends with _Impl, locale. | |
3630 | (_Impl::_M_caches): Add. | |
3631 | (_Impl::_M_install_cache): Add. | |
3632 | * include/bits/locale_facets.h (__numpunct_cache): New. | |
3633 | (numpunct): Encapsulate data members in __numpunct_cache member, | |
3634 | _M_data. Adjust virtuals. | |
e6cc3a24 | 3635 | (numpunct::numpunct): New ctor for the same. |
215f9e28 | 3636 | (__locale_cache_base): Remove. |
e6cc3a24 | 3637 | (__locale_cache): Remove. |
215f9e28 BK |
3638 | * include/bits/locale_facets.tcc (__use_cache): New function, |
3639 | specializations. | |
3640 | (num_put::_M_convert_int, _M_convert_float, do_put): Use it. | |
3641 | * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w. | |
3642 | * src/ios.cc (ios_base::ios_base): Remove __locale_cache. | |
3643 | * src/locale-inst.cc: Same. Add __numpunct_cache. | |
3644 | * src/locale.cc: Tweak inlines. | |
3645 | (__use_cache): Define specializations. | |
3646 | * src/localename.cc: Use global bits. | |
3647 | (_Impl::~Impl): Deal with __numpunct_cache destruction. | |
3648 | (_Impl::_Impl): Same. Pre-cache standard numpunct facets. | |
3649 | (_Impl::_M_init_facet): Take into account __numpunct_cache. | |
3650 | * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers. | |
3651 | * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. | |
3652 | ||
8370378a | 3653 | 2003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org> |
e6cc3a24 | 3654 | Paolo Carlini <pcarlini@unitus.it> |
8370378a NM |
3655 | |
3656 | * testsuite/performance/filebuf_copy.cc: New, testing char | |
3657 | by char file copy. | |
3658 | ||
2cfe4e68 | 3659 | 2003-06-26 Paolo Carlini <pcarlini@unitus.it> |
e6cc3a24 | 3660 | Nathan C. Myers <ncm-nospam@cantrip.org> |
2cfe4e68 PC |
3661 | |
3662 | * include/bits/fstream.tcc (_M_underflow): When the actual | |
3663 | end of file is reached, set 'uncommitted' mode to allow a | |
3664 | next write without an intervening seek (see C++98 27.8.1.1,2 | |
3665 | and C89 7.9.5.3). | |
3666 | * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New. | |
3667 | ||
29d9ed97 NM |
3668 | 2003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org> |
3669 | ||
3670 | * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, | |
3671 | sputc): Move inline, from here... | |
3672 | * include/std/std_streambuf.h: ... to here. | |
3673 | ||
3674 | * include/std/std_streambuf.h (snextc, sbumpc, sgetc, | |
3675 | sputbackc, sungetc, sputc): Use __builtin_expect. | |
3676 | ||
c1a62440 PE |
3677 | 2003-06-24 Phil Edwards <pme@gcc.gnu.org> |
3678 | ||
3679 | * docs/doxygen/mainpage.html: Use a useful title. | |
3680 | ||
cdc1242a BK |
3681 | 2003-06-24 Benjamin Kosnik <bkoz@redhat.com> |
3682 | ||
3683 | * docs/html/documentation.html: Remove assignment info. | |
3684 | * docs/html/17_intro/contribute.html: Edits. | |
3685 | * docs/html/17_intro/libstdc++-assign.tx: Remove. | |
3686 | ||
3687 | * docs/html/test.html: Update. | |
3688 | ||
3689 | * README: Update. | |
e6cc3a24 | 3690 | |
1b6f0a56 | 3691 | 2003-06-24 Benjamin Kosnik <bkoz@redhat.com> |
e6cc3a24 | 3692 | Ulrich Drepper <drepper@redhat.com> |
1b6f0a56 BK |
3693 | |
3694 | * testsuite/testsuite_performance.h: Tweak mallinfo. | |
3695 | ||
71b46021 | 3696 | 2003-06-24 Paolo Carlini <pcarlini@unitus.it> |
e6cc3a24 | 3697 | Nathan C. Myers <ncm-nospam@cantrip.org> |
71b46021 PC |
3698 | |
3699 | * include/std/std_fstream.h (_M_filepos): Remove. | |
3700 | (_M_reading, _M_writing): New, encode the various I/O modes: | |
3701 | 'read', 'write' and 'uncommitted'. | |
3702 | (sync): If there is something to flush, do it, then go to | |
3703 | 'uncommitted' mode. | |
3704 | * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal | |
3705 | with three different cases: __off > 0 (upon underflow), | |
3706 | __off == 0 (upon overflow), __off == -1 (upon open, setbuf, | |
3707 | seekoff/pos). | |
3708 | (_M_underflow): Don't call overflow, set _M_reading to true | |
3709 | on success, tweak. | |
3710 | (pbackfail): Set _M_reading to true on pback creation, tweak. | |
3711 | (overflow): Don't seek, deal with overflow in 'uncommitted' mode, | |
3712 | set _M_writing to true on success, tweak. | |
3713 | (seekoff): Simplify, set _M_reading, _M_writing to false, call | |
3714 | _M_set_buffer(-1) ('uncommitted'). | |
3715 | (open, close, setbuf): Set _M_reading, _M_writing to false and | |
3716 | call _M_set_buffer(-1), tweak. | |
3717 | (basic_filebuf): Don't set _M_buf_unified. | |
3718 | (_M_destroy_internal_buffer): Don't call setg and setp. | |
3719 | * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading, | |
3720 | _M_writing and _M_set_buffer(-1). | |
3721 | * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur, | |
3722 | _M_out_lim, _M_buf_unified): Remove. | |
3723 | (basic_streambuf): Don't set _M_out_lim and _M_buf_unified. | |
e6cc3a24 | 3724 | (setp): Don't set _M_out_lim. |
71b46021 PC |
3725 | * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for |
3726 | the new logic ('read', 'write' and 'uncommitted' modes): e.g., | |
3727 | upon open the mode is 'uncommitted' and therefore the put area | |
3728 | pointers are null. | |
3729 | * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto. | |
3730 | * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto. | |
3731 | * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto. | |
3732 | * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto. | |
3733 | * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto. | |
3734 | * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto. | |
3735 | * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto. | |
3736 | * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto. | |
3737 | * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto. | |
3738 | * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto. | |
3739 | * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto. | |
3740 | * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto. | |
3741 | * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto. | |
3742 | * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto. | |
3743 | * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto. | |
3744 | * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto. | |
3745 | * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto. | |
3746 | * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto. | |
3747 | * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto. | |
3748 | * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto. | |
3749 | ||
3750 | * include/bits/fstream.tcc (showmanyc): Use only the | |
3751 | documented derivation interface to basic_streambuf (gptr(), | |
3752 | setg(), etc.) to work right with user specializations. | |
3753 | * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, | |
3754 | sputc, xsgetn, xsputn, __copy_streambufs): Likewise. | |
3755 | * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc): | |
3756 | Likewise. | |
3757 | * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback, | |
3758 | xsgetn): Likewise. | |
3759 | ||
9eb6e1d3 LR |
3760 | 2003-06-23 Loren J. Rittle <ljrittle@acm.org> |
3761 | ||
3762 | * configure.host (freebsd*): Set abi_baseline_pair. | |
3763 | * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2 | |
3764 | (at or near first release) to 3.3. | |
3765 | * config/abi/i386-freebsd5/baseline_symbols.txt: New file. | |
3766 | * config/abi/alpha-freebsd5/baseline_symbols.txt: New file. | |
3767 | * config/abi/sparc-freebsd5/baseline_symbols.txt: New file. | |
3768 | ||
3d57d7ba | 3769 | * include/ext/mt_allocator.h: Portability. |
d1a2c4d6 | 3770 | * testsuite/testsuite_performance.h: Likewise. |
3d57d7ba | 3771 | |
c89c30dd BK |
3772 | 2003-06-23 Benjamin Kosnik <bkoz@redhat.com> |
3773 | ||
3774 | * docs/html/17_intro/libstdc++-assign.txt: Update address. | |
3775 | ||
3776 | * testsuite/performance/ifstream_getline.cc: Fix. | |
e6cc3a24 | 3777 | |
c89c30dd | 3778 | 2003-06-23 Doug Gregor <dgregor@apple.com> |
2b491e3a | 3779 | |
e6cc3a24 ZW |
3780 | * include/bits/boost_concept_check.h: Don't use _D or _R for type |
3781 | names. | |
2b491e3a | 3782 | |
1b170b55 PC |
3783 | 2003-06-22 Paolo Carlini <pcarlini@unitus.it> |
3784 | Nathan C. Myers <ncm-nospam@cantrip.org> | |
3785 | ||
3786 | * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim | |
3787 | is now used only for filebuf, when _M_buf_unified is true. | |
3788 | epgtr() plays the role of _M_out_lim but it's only updated | |
3789 | upon overflow, underflow, uflow, seekoff/pos. | |
3790 | * include/bits/sstream.tcc (_M_underflow): New, implements | |
3791 | stringbuf::underflow and uflow. | |
3792 | (seekoff, seekpos): Tweak, use _M_update_egptr. | |
3793 | * include/std/std_sstream.h (str): Rewrote, deal correctly | |
3794 | with the new logic, in particular, when pptr() > egptr(). | |
3795 | (_M_sync): When __testout && !__testin set all the get area | |
3796 | pointers to the current string end. | |
3797 | (_M_update_egptr): New, internal function updating egptr() | |
3798 | to the actual string end. | |
3799 | (_M_underflow): New, declare. | |
3800 | (underflow): Dispatch to _M_underflow(false). | |
3801 | (uflow): Dispatch to _M_underflow(true). | |
3802 | ||
3803 | * include/bits/sstream.tcc (pbackfail, overflow, seekoff, | |
3804 | seekpos): Use only the documented derivation interface to | |
3805 | basic_streambuf (gptr(), setg(), etc.) to work right with | |
3806 | user specializations. | |
3807 | * include/std/std_sstream.h (str, _M_sync): Likewise. | |
3808 | ||
8dbe14be DG |
3809 | 2003-06-20 Doug Gregor <dgregor@apple.com> |
3810 | ||
1b170b55 PC |
3811 | * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr |
3812 | * testsuite/21_strings/basic_string/replace/char/4.cc: Don't | |
3813 | dereference end iterator. | |
3814 | * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same. | |
3815 | * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with | |
3816 | index equal to the length of a string. | |
3817 | * testsuite/22_locale/ctype/narrow/char/2.cc: Same. | |
3818 | * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same. | |
3819 | * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same. | |
3820 | * testsuite/22_locale/ctype/widen/char/1.cc: Same. | |
3821 | * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same. | |
3822 | * testsuite/23_containers/list_modifiers.cc: Don't dereference | |
3823 | singular reverse iterator. | |
3824 | * testsuite/23_containers/vector_bool.cc: Don't increment singular | |
3825 | iterator. | |
3826 | * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator. | |
8dbe14be | 3827 | |
bdb0f0f5 DG |
3828 | 2003-06-20 Doug Gregor <dgregor@apple.com> |
3829 | ||
e6cc3a24 | 3830 | * include/bits/basic_string.h (basic_string::replace): Dispatch |
bdb0f0f5 DG |
3831 | _InputIterator version based on _Is_integer. |
3832 | * include/bits/basic_string.tcc (basic_string::replace): | |
3833 | Renamed replace(iterator, iterator, size_type, _CharT) to | |
3834 | _M_replace_aux. | |
3835 | * testsuite/21_strings/basic_string/assign/char/1.cc (test01): | |
3836 | Test basic_string::assign(_InputIterator, _InputIterator), | |
3837 | which calls basic_string::replace(iterator, iterator, | |
3838 | _Input_iterator, _InputIterator). | |
3839 | ||
f5a6463e BK |
3840 | 2003-06-20 Benjamin Kosnik <bkoz@redhat.com> |
3841 | ||
3842 | * testsuite/testsuite_performance.h (resource_counter): Don't use | |
3843 | mallinfo at the moment. | |
3844 | ||
bbdfb3e8 MK |
3845 | 2003-06-20 Matthias Klose <doko@debian.org> |
3846 | ||
3847 | * configure.host: Set try_cpu to target_cpu for existing | |
3848 | baseline files. | |
3849 | ||
97460e9a AJ |
3850 | 2003-06-19 Andreas Jaeger <aj@suse.de> |
3851 | ||
3852 | * testsuite/Makefile.am (extract_symvers): Revert accidental | |
3853 | change. | |
3854 | * testsuite/Makefile.in: Regenerate. | |
3855 | ||
3856 | * configure.in: Pass MULTISUBDIR to testsuite/Makefile. | |
3857 | * configure: Regenerated. | |
3858 | ||
50af15ec PC |
3859 | 2003-06-19 Paolo Carlini <pcarlini@unitus.it> |
3860 | ||
3861 | * include/std/std_sstream.h (_M_sync): Make non virtual. | |
3862 | ||
ce4f8c6b BK |
3863 | 2003-06-18 Benjamin Kosnik <bkoz@redhat.com> |
3864 | ||
3865 | * testsuite/testsuite_performance.h (time_counter): New. | |
3866 | (resource_counter): New. | |
3867 | (report_performance): New. | |
3868 | (start_counters): New. | |
3869 | (stop_counters): New. | |
97460e9a | 3870 | (clear_counters): New. |
ce4f8c6b BK |
3871 | * testsuite/performance/allocator.cc: Instrument. |
3872 | * testsuite/performance/cout_insert_int.cc: Same. | |
3873 | * testsuite/performance/complex_norm.cc: Same. | |
3874 | * testsuite/performance/filebuf_sputc.cc: New. | |
3875 | * testsuite/performance/fstream_seek_write.cc: Same. | |
3876 | * testsuite/performance/ifstream_getline.cc: Same. | |
3877 | * testsuite/performance/map_create_fill.cc: Same. | |
3878 | * testsuite/performance/ofstream_insert_float.cc: Same. | |
3879 | * testsuite/performance/ofstream_insert_int.cc: Same. | |
97460e9a | 3880 | * testsuite/performance/string_append.cc: Convert. |
ce4f8c6b BK |
3881 | * scripts/check_performance: New. |
3882 | * testsuite/Makefile.am (check-performance): New. | |
3883 | (CLEANFILES): Add. | |
97460e9a | 3884 | |
b82a33d2 | 3885 | 2003-06-18 Paolo Carlini <pcarlini@unitus.it> |
e6cc3a24 | 3886 | Benjamin Kosnik <bkoz@redhat.com> |
b82a33d2 PC |
3887 | |
3888 | * include/std/std_sstream.h (setbuf): Check __n >= 0. | |
3889 | * include/bits/fstream.tcc (setbuf): Tweak. | |
3890 | ||
4c526d09 PC |
3891 | 2003-06-18 Paolo Carlini <pcarlini@unitus.it> |
3892 | ||
3893 | * include/bits/sstream.tcc (seekoff): We can't seek beyond | |
3894 | _M_out_lim, therefore _M_move_out_cur boils down to simply | |
3895 | updating _M_out_cur. | |
3896 | (seekpos): Likewise, clean up. | |
3897 | ||
c1b74c21 | 3898 | 2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org> |
e6cc3a24 | 3899 | Paolo Carlini <pcarlini@unitus.it> |
c1b74c21 NM |
3900 | |
3901 | * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too, | |
3902 | simply equivalent to the unbuffered case (0, 0) as far as | |
3903 | _M_buf_size is concerned. | |
3904 | ||
a1af4623 AJ |
3905 | 2003-06-18 Andreas Jaeger <aj@suse.de> |
3906 | ||
3907 | * testsuite/Makefile.am (new-abi-baseline): Create baseline | |
3908 | directory. | |
3909 | (baseline_file): Use baseline_dir. | |
3910 | (baseline_dir): New. | |
3911 | (mkinstalldirs): New. | |
3912 | ||
3913 | * acinclude.m4: Rename baseline_file to baseline_dir, strip | |
3914 | filename from baseline_dir. | |
3915 | ||
3916 | * testsuite/Makefile.in: Regenerated. | |
3917 | * Makefile.in: Regenerated. | |
3918 | * aclocal.m4: Regenerated. | |
3919 | * configure: Regenerated. | |
3920 | ||
2f934953 BK |
3921 | 2003-06-17 Benjamin Kosnik <bkoz@redhat.com> |
3922 | ||
3923 | * configure.in: Missed check_survey bit. | |
3924 | * configure: Regenerated. | |
3925 | ||
0676e930 BK |
3926 | 2003-06-17 Benjamin Kosnik <bkoz@redhat.com> |
3927 | ||
3928 | * scripts: New. | |
3929 | * config/abi/extract_symvers: Move to... | |
3930 | * scripts/extract_symvers: ...here. | |
3931 | * mkcheck.in: Move to.. | |
3932 | * scripts/check_survey.in: ...here. | |
3933 | * testsuite_flags.in: Move to.. | |
3934 | * scripts/testsuite_flags.in: ...here. | |
3935 | * configure.in: Change check and testsuite_flags locations. | |
3936 | * configure: Regenerate. | |
3937 | * testsuite/Makefile.am (current_symbols.txt): Change location. | |
3938 | * testsuite/Makefile.in: Regenerate. | |
3939 | * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify | |
3940 | location of testsuite_flags. | |
3941 | * Makefile.am (check-script): Move.. | |
3942 | (check-script-install): Move... | |
a1af4623 | 3943 | * testsuite/Makefile.am: ... here. |
0676e930 | 3944 | * testsuite/Makefile.in: Regenerate. |
a1af4623 AJ |
3945 | * Makefile.in: Regenerate. |
3946 | ||
82620aaf BK |
3947 | 2003-06-17 Benjamin Kosnik <bkoz@redhat.com> |
3948 | ||
3949 | * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0. | |
3950 | ||
c4c064e7 BK |
3951 | 2003-06-16 Benjamin Kosnik <bkoz@redhat.com> |
3952 | ||
3953 | * Makefile.am (check-abi): Move... | |
3954 | (new-abi-baseline): Move... | |
3955 | * testsuite/Makefile.am: ...here. | |
3956 | (new-abi-baseline): Conditionalize. | |
3957 | (check-abi): Conditionalize. | |
3958 | (check-abi-verbose): New. | |
3959 | * Makefile.in: Regenerate. | |
a1af4623 | 3960 | * testsuite/Makefile.in: Regenerate. |
c4c064e7 BK |
3961 | * configure.in: Consolidate testsuite configure bits. |
3962 | * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same. | |
3963 | * configure: Regenerate. | |
a1af4623 | 3964 | * aclocal.m4: Regenerate. |
c4c064e7 BK |
3965 | * testsuite/abi_check.cc: Add --check-verbose. |
3966 | Only output detailed information if --check-verbose. | |
3967 | ||
e7bb3511 | 3968 | 2003-06-16 Andreas Jaeger <aj@suse.de> |
a1af4623 | 3969 | |
e6cc3a24 | 3970 | * testsuite/abi_check.cc: Create summary report. |
a1af4623 | 3971 | |
8363b773 PC |
3972 | 2003-06-16 Paolo Carlini <pcarlini@unitus.it> |
3973 | ||
3974 | * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix | |
3975 | for systems with BUFSIZ != 8192. | |
3976 | * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto. | |
3977 | * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: | |
3978 | Minor tweaks. | |
3979 | ||
5ab481e0 BK |
3980 | 2003-06-16 Andreas Jaeger <aj@suse.de> |
3981 | ||
3982 | * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make | |
3983 | check-abi multilib aware. | |
3984 | * aclocal.m4: Regenerate. | |
3985 | * configure: Regenerate. | |
a1af4623 | 3986 | |
5ab481e0 | 3987 | 2003-06-16 Benjamin Kosnik <bkoz@redhat.com> |
e6cc3a24 | 3988 | Andreas Jaeger <aj@suse.de> |
5ab481e0 BK |
3989 | |
3990 | * configure.host: Set x86_64 abi_baseline pair correctly. | |
3991 | ||
0bad3b7c PC |
3992 | 2003-06-16 Paolo Carlini <pcarlini@unitus.it> |
3993 | ||
3994 | * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and | |
e6cc3a24 | 3995 | fix for missing seeks between gets and puts into... |
0bad3b7c PC |
3996 | * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New. |
3997 | * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New. | |
3998 | * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New. | |
3999 | * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New. | |
4000 | * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New. | |
4001 | * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New. | |
a1af4623 | 4002 | |
dc4add82 RH |
4003 | 2003-06-15 Richard Henderson <rth@redhat.com> |
4004 | ||
4005 | * config/linker-map.gnu: Export virtual function thunks for | |
4006 | 64-bit systems too. | |
4007 | ||
ef16a298 BK |
4008 | 2003-06-13 Benjamin Kosnik <bkoz@redhat.com> |
4009 | ||
4010 | * config/abi/i686-pc-linux-gnu: To.. | |
4011 | * config/abi/i486-linux-gnu: ...this. | |
4012 | * config/abi/alphaev67-unknown-linux-gnu: To.. | |
4013 | * config/abi/alpha-linux-gnu: ...this. | |
4014 | * config/abi/ia64-unknown-linux-gnu: To... | |
4015 | * config/abi/ia64-linux-gnu: ...this. | |
4016 | * config/abi/x86_64-unknown-linux-gnu: To... | |
4017 | * config/abi/x86_64-linux-gnu: ...this. | |
4018 | * config/abi/i386-unknown-freebsd4: To... | |
4019 | * config/abi/i386-freebsd4: ...this. | |
5ab481e0 BK |
4020 | * config/linker-map.gnu: Cleanups, move libsupc++ bits into |
4021 | CXXABI. | |
ef16a298 BK |
4022 | * configure.host: abi_baseline_triplet to abi_baseline_pair. |
4023 | Simplify cpu bits so that abi_baseline_pair can use the same | |
4024 | cpu configuration. | |
4025 | * acinclude.m4: Same. | |
4026 | * aclocal.m4: Regenerate. | |
4027 | * configure.in: Can't get enable_abi_check to yes unless native. | |
4028 | * configure: Regenerate. | |
4029 | ||
ed242935 PC |
4030 | 2003-06-13 Paolo Carlini <pcarlini@unitus.it> |
4031 | ||
4032 | * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and | |
4033 | fix for missing seeks between gets and puts into... | |
4034 | * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New. | |
4035 | * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New. | |
4036 | * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into... | |
4037 | * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New. | |
4038 | * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New. | |
4039 | * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix | |
4040 | for missing seeks between gets and puts. | |
4041 | * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto. | |
4042 | * testsuite/data/seekoff-1.tst: New. | |
4043 | * testsuite/data/seekoff-2.tst: New. | |
4044 | * testsuite/data/seekpos-1.tst: New. | |
4045 | * testsuite/data/seekpos-2.tst: New. | |
4046 | ||
ca566e4c NM |
4047 | 2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org> |
4048 | ||
4049 | Avoid multi-processor bus contention on increment/decrement-and- | |
a1af4623 | 4050 | test of the reference count in the empty-string object, by comparing |
e6cc3a24 ZW |
4051 | addresses first, and never touching the reference count of the empty- |
4052 | string object. | |
ca566e4c NM |
4053 | * include/bits/basic_string.h: |
4054 | (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its | |
4055 | members. | |
a1af4623 | 4056 | (_Rep::_S_empty_rep()): New accessor. |
ca566e4c NM |
4057 | (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to |
4058 | a base class _Rep_base. | |
4059 | (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string. | |
4060 | (basic_string()): Change to use _M_refdata() in place of _M_refcopy(), | |
4061 | since no longer must increment its refcount. | |
4062 | * include/bits/basic_string.tcc: | |
a1af4623 | 4063 | (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and |
e6cc3a24 ZW |
4064 | return immediately. The former might be unnecessary. The latter |
4065 | prevents begin() and end() from cloning it unnecessarily. | |
ca566e4c NM |
4066 | (_S_construct(_InIterator, _InIterator, const _Alloc&, |
4067 | input_iterator_tag), _S_construct(_InIterator, _InIterator, | |
4068 | const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT, | |
4069 | const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy(). | |
4070 | (_M_mutate): Check for the empty string and treat it as shared. | |
e6cc3a24 ZW |
4071 | This is necessary here because _M_mutate is sometimes called with |
4072 | all-zero arguments; in all other uses of _M_is_shared, the test comes | |
4073 | out right anyhow. | |
a1af4623 | 4074 | |
c37514ff BK |
4075 | 2003-06-12 Benjamin Kosnik <bkoz@redhat.com> |
4076 | ||
4077 | * src/allocator-inst.cc: Explicitly instantiate. | |
4078 | * include/ext/pool_allocator.h: Inhibit implicit instantiations. | |
4079 | Tweaks. | |
4080 | * config/linker-map.gnu: Add __pool_alloc bits. Tweaks. | |
a1af4623 | 4081 | |
58ac1d7f BK |
4082 | 2003-06-11 Benjamin Kosnik <bkoz@redhat.com> |
4083 | ||
4084 | * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify. | |
4085 | * aclocal.m4: Regenerate. | |
4086 | * Makefile.am (SUBDIRS): Remove libio. | |
4087 | * Makefile.in: Regenerate. | |
4088 | * configure.in: Same. | |
4089 | * configure: Regenerate. | |
4090 | * config/io/basic_file_libio.cc: Remove. | |
a1af4623 | 4091 | * config/io/basic_file_libio.h: Remove. |
58ac1d7f | 4092 | * config/io/c_io_libio_codecvt.c: Remove. |
a1af4623 | 4093 | * config/io/c_io_libio.h: Remove. |
58ac1d7f BK |
4094 | * libio/*: Remove. |
4095 | * src/Makefile.am: Same. | |
4096 | * src/Makefile.in: Regenerate. | |
a1af4623 | 4097 | * docs/html/configopts.html: Edits. |
58ac1d7f | 4098 | * docs/html/explanations.html: Edits. |
a1af4623 | 4099 | |
1ff9402d BK |
4100 | 2003-06-11 Benjamin Kosnik <bkoz@redhat.com> |
4101 | ||
4102 | * include/bits/stl_alloc.h (__debug_alloc): Move out. | |
4103 | (__malloc_alloc): Same. | |
4104 | (__pool_alloc): Same. | |
4105 | (__new_alloc): Same. | |
4106 | Rename to.. | |
4107 | * include/bits/allocator.h: ...this. | |
4108 | * include/bits/stl_deque.h: Modify comment. | |
4109 | * include/bits/stl_tree.h: Modify include. | |
4110 | * include/std/std_memory.h: Same. | |
4111 | * include/ext/rope: Same. | |
a1af4623 | 4112 | * include/ext/slist: Same. |
1ff9402d BK |
4113 | * include/std/std_vector.h: Same. |
4114 | * include/std/std_stack.h: Same. | |
4115 | * include/std/std_queue.h: Same. | |
4116 | * include/std/std_list.h: Same. | |
4117 | * include/std/std_deque.h: Same. | |
4118 | * include/backward/alloc.h: Same. | |
4119 | * include/ext/debug_allocator.h: New. | |
a1af4623 AJ |
4120 | * include/ext/malloc_allocator.h: New. |
4121 | * include/ext/pool_allocator.h: New. | |
1ff9402d BK |
4122 | * include/ext/new_allocator.h: New. |
4123 | * include/bits/pthread_allocimpl.h: Remove. | |
a1af4623 | 4124 | * include/bits/stl_pthread_alloc.h: Remove. |
1ff9402d BK |
4125 | * include/Makefile.am (ext_headers): Add. |
4126 | * include/Makefile.in: Regenerate. | |
4127 | * src/stl-inst.cc: Use __gnu_cxx namespace. | |
4128 | * src/stl-inst.cc: Move to... | |
4129 | * src/allocator-inst.cc: Here. | |
4130 | * src/Makefile.am (sources): Update. | |
4131 | * src/Makefile.in: Regenerate. | |
4132 | * config/linker-map.gnu: Remove __pool_alloc bits. | |
4133 | * testsuite/ext/headers.cc: Add. | |
4134 | * testsuite/ext/allocators.cc: Fixup. | |
a1af4623 | 4135 | |
1ff9402d | 4136 | 2003-06-11 Stefan Olsson <stefan@snon.net> |
e6cc3a24 | 4137 |