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