]>
Commit | Line | Data |
---|---|---|
61c71946 BK |
1 | 2001-06-10 Benjamin Kosnik <bkoz@redhat.com> |
2 | ||
3 | * acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking. | |
4 | Add checking for strtof, _Exit in stdlib.h | |
5 | * aclocal.m4: Regenerate. | |
6 | * configure.in: Regenerate. | |
7 | * include/c_std/bits/std_cstdio.h: Alphabetize lists. | |
8 | (snprintf): Put C99 functions into __gnu_cxx namespace. | |
9 | (vfscanf): Same. | |
10 | (vscanf): Same. | |
11 | (vsnprintf): Same. | |
12 | (vsscanf): Same. | |
13 | * include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs | |
14 | for C99 functions within _GLIBCPP_USE_C99 guard. | |
15 | (_Exit): Same. | |
16 | (strtof): Same. | |
17 | (strtold): Same. | |
18 | * include/bits/locale_facets.tcc: Check if C99 is enabled. | |
19 | * include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within | |
20 | C99 guard. | |
21 | * include/c_std/bits/cmath.tcc: Formatting tweak. | |
22 | * include/c_std/bits/std_cmath.h: Same. | |
23 | ||
680cd9ed BK |
24 | 2001-06-10 Benjamin Kosnik <bkoz@redhat.com> |
25 | ||
26 | * include/c_std/bits/std_cstdio.h: Include cstddef for size_t. | |
27 | ||
28 | 2001-06-09 Alexandre Oliva <aoliva@redhat.com> | |
29 | Stephen L Moshier <moshier@mediaone.net> | |
4e0abb1d AO |
30 | |
31 | * acinclude.m4 (AC_EXEEXT): Work around in case it expands to | |
32 | nothing, as in autoconf 2.50. | |
33 | * configure: Rebuilt. | |
34 | ||
cd7894a5 BK |
35 | 2001-06-09 Benjamin Kosnik <bkoz@redhat.com> |
36 | ||
d25e1193 BK |
37 | * include/c_std/bits/std_cwchar.h: Remove size_t injection, |
38 | include std_cstddef. | |
39 | * include/c_std/bits/std_ctime.h: Same. | |
40 | * include/c_std/bits/std_cstring.h: Same. | |
41 | * include/c_std/bits/std_cstdlib.h: Same. | |
42 | ||
43 | * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf. | |
cd7894a5 BK |
44 | * include/c_std/bits/std_cctype.h: Remove isblank. |
45 | ||
df7b1359 BK |
46 | 2001-06-09 Benjamin Kosnik <bkoz@redhat.com> |
47 | ||
48 | * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc, | |
49 | fgetws. | |
50 | * aclocal.m4: Regenerate. | |
51 | * configure: Regenerate. | |
52 | * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc | |
53 | injection, guard fgetwc, fgetws. | |
54 | * include/c_std/bits/std_cstdio.h: Remove superfluous includes. | |
55 | * include/c_std/bits/std_clocale.h: And here. | |
56 | * include/c_std/bits/std_cctype.h: And here. | |
57 | * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection. | |
58 | ||
59 | * config/basic_file_stdio.h: Don't include unistd.h. | |
60 | * config/c_io_stdio.h: Don't use compatibility headers. | |
61 | * libsupc++/eh_terminate.cc: Qualify abort. | |
62 | (__terminate): And here. | |
63 | * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort. | |
64 | ||
7ae4a70a BK |
65 | 2001-06-08 Benjamin Kosnik <bkoz@redhat.com> |
66 | ||
67 | * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections. | |
68 | ||
de96ac46 BK |
69 | 2001-06-08 Benjamin Kosnik <bkoz@redhat.com> |
70 | ||
71 | libstdc++/2767 | |
72 | libstdc++/2989 | |
73 | libstdc++/2992 | |
74 | * include/std/*: Add copyright notice. | |
75 | * include/c_std/bits/*: Use using statements instead of extern "C". | |
76 | * include/c_std/bits/std_cmath.h: Don't overload double versions | |
77 | of math functions with __buitin versions, use global version to | |
78 | prevent ambiguities. Remove define hacks. | |
79 | * include/c_std/bits/std_cwchar.h: Using declarations for "C" | |
80 | functions that have changed signatures and std:: | |
81 | declarations. Remove define hacks. | |
82 | * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous | |
83 | __builtins in std::. Remove define hacks. | |
84 | * testsuite/17_intro/headers_c.cc: Add tests. | |
85 | * testsuite/17_intro/headers_c++.cc: Add test. | |
86 | ||
7628e178 LR |
87 | 2001-06-07 Loren J. Rittle <ljrittle@acm.org> |
88 | John David Anglin <dave@hiauly1.hia.nrc.ca> | |
89 | ||
90 | * libsupc++/eh_alloc.cc: Ensure that required macros are | |
91 | defined before including gthr.h. Ensure that we get the | |
92 | version of gthr.h for which we know how to provide a | |
93 | configuration. | |
94 | * libsupc++/eh_globals.cc: Likewise. And, bring the threading | |
95 | code path into line with the current EH model. Use std, where | |
96 | appropriate. | |
97 | ||
5e218033 LR |
98 | 2001-06-07 Loren J. Rittle <ljrittle@acm.org> |
99 | John David Anglin <dave@hiauly1.hia.nrc.ca> | |
100 | ||
101 | * config/threads-no.h: Remove file. | |
102 | * config/threads-posix.h: Remove file. | |
103 | ||
104 | * acconfig.h (_GLIBCPP_USE_THREADS): Remove. | |
105 | (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h). | |
106 | (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise. | |
107 | * config.h.in: Regenerate. | |
108 | ||
109 | * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to | |
110 | setup and use gthr*.h files. In particular, make gthr.h files | |
111 | namespace-clean in the staging area (they don't have to be for | |
112 | libgcc.a). | |
113 | * aclocal.m4: Regenerate. | |
114 | * configure: Regenerate. | |
115 | ||
116 | * src/Makefile.am (build_headers): Remove bits/c++threads.h | |
117 | and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h. | |
118 | * src/Makefile.in: Regenerate. | |
119 | ||
120 | * include/bits/c++config: Cleanup threading configuration macros. | |
121 | In particular, define __STL_GTHREADS macro which controls... | |
122 | * include/bits/stl_threads.h: ...a brand new gthr.h-based | |
123 | configuration here. | |
124 | ||
125 | * config/c_io_stdio.h: Include staged gthr.h instead of local | |
126 | thread configuration file. Always use __gthread_mutex_t | |
127 | instead of __mutext_type (or int). | |
128 | * include/bits/std_fstream.h: Likewise. | |
129 | ||
130 | * docs/html/17_intro/howto.html: Remove placeholder comment in | |
131 | case this configuration patch didn't make it. Add advice that | |
132 | section only applies if configured with --enable-threads. | |
133 | * docs/html/23_containers/howto.html: Reword to make clear | |
134 | that _PTHREADS is no longer required for any port to be | |
135 | correctly using STL with threads. Add advice that section | |
136 | only applies if configured with --enable-threads. | |
137 | ||
3b8fd08f BK |
138 | 2001-06-06 Benjamin Kosnik <bkoz@redhat.com> |
139 | ||
140 | * src/string-inst.cc (_Rep::_S_max_size): Add instantiation. | |
141 | ||
5de197f2 BK |
142 | 2001-06-05 Benjamin Kosnik <bkoz@redhat.com> |
143 | ||
144 | libstdc++/3045 | |
145 | * include/bits/basic_ios.tcc: Formatting tweaks. | |
146 | * include/bits/ios_base.h: Formatting tweaks. | |
147 | * src/ios.cc (ios_base::Init::_S_ios_create): Use filebufs here. | |
148 | (ios_base::Init::_S_ios_destroy): ..and here. Explicitly call dtors. | |
149 | * src/globals.cc: Allocate filebufs for standard streams here. | |
150 | (buf_cout, buf_cin, buf_cerr): Like so. | |
151 | (buf_wcout, buf_wcin, buf_wcerr): And so. | |
152 | * testsuite/27_io/ios_init.cc: Add. | |
153 | ||
fdf1b60d BK |
154 | 2001-06-04 Brendan Kehoe <brendan@zen.org> |
155 | Benjamin Kosnik <bkoz@redhat.com> | |
156 | ||
157 | libstdc++/3017 | |
158 | * include/bits/locale_facets.h (ctype<_CharT>): Add definitions | |
159 | for generic ctype virtuals. | |
160 | * src/locale.cc: Minor tweaks, naming consistency. | |
161 | * testsuite/22_locale/ctype.cc: Add test. | |
162 | ||
31990cd5 KS |
163 | 2001-06-04 Kenny Simpson <theonetruekenny@yahoo.com> |
164 | Phil Edwards <pme@sources.redhat.com> | |
165 | ||
166 | PR libstdc++/3035 and PR libstdc++/3036 | |
167 | * include/bits/stl_pair.h: Fix pair ctor and make_pair according | |
168 | to LWG DR 181 and 265. | |
169 | ||
5c626f52 PE |
170 | 2001-06-04 Phil Edwards <pme@sources.redhat.com> |
171 | ||
172 | PR libstdc++/3034 | |
173 | * include/bits/stl_multiset.h (find, lower_bound, upper_bound, | |
174 | equal_range): Add const overloads as per LWG DR 214. | |
175 | * include/bits/stl_set.h: Likewise. | |
176 | ||
84b9f762 BK |
177 | 2001-06-04 Brendan Kehoe <brendan@zen.org> |
178 | Phil Edwards <pme@sources.redhat.com> | |
179 | ||
5c626f52 | 180 | PR libstdc++/3018 |
84b9f762 BK |
181 | * include/bits/std_bitset.h (bitset::test): Fix __pos >= _Nb |
182 | comparison; all positions must be < _Nb. | |
183 | * testsuite/23_containers/bitset_members.cc: New file. | |
184 | ||
5890be18 BK |
185 | 2001-06-04 Brendan Kehoe <brendan@zen.org> |
186 | ||
187 | PR libstdc++/3016 | |
188 | * include/bits/stl_queue.h (classes queue, priority_queue): Fix | |
189 | ctors to match the standard. | |
190 | ||
c0e17daf JO |
191 | 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com> |
192 | ||
193 | * include/bits/char_traits.h (move): Reverse qualification of | |
194 | memmove with std::. | |
195 | (copy): Reverse qualification of memcpy with std::. | |
196 | ||
1007e271 JO |
197 | 2001-06-04 Jeffrey Oldham <oldham@codesourcery.com> |
198 | ||
199 | * include/bits/char_traits.h (move): Qualify memmove with std::. | |
200 | (copy): Qualify memcpy with std::. | |
201 | * testsuite/27_io/filebuf_virtuals.cc (test01): Qualify strlen and | |
202 | strncmp with std::. | |
203 | (test02): Likewise. | |
204 | * testsuite/27_io/stringbuf_virtuals.cc (test01): Likewise. | |
205 | ||
38fae3e3 HPN |
206 | 2001-06-04 Hans-Peter Nilsson <hp@axis.com> |
207 | ||
208 | * libsupc++/Makefile.am (install-glibcppinstallHEADERS, | |
209 | uninstall-glibcppinstallHEADERS): Have explicit rules catering to | |
210 | SUN make VPATH peculiarities. | |
211 | * libsupc++/Makefile.in: Regenerate. | |
212 | ||
5419e2ff HPN |
213 | 2001-06-01 Hans-Peter Nilsson <hp@axis.com> |
214 | ||
215 | * src/Makefile.am (VPATH): Delimit with ":", not space. | |
216 | * src/Makefile.in: Regenerate. | |
217 | ||
218 | * configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU | |
219 | make isn't found. | |
220 | * configure: Regenerate. | |
221 | ||
fdf1b60d | 222 | 2001-05-31 scott snyder <snyder@fnal.gov> |
59bd14d8 SS |
223 | |
224 | libstdc++/2976 | |
225 | * include/bits/istream.tcc: Include std_ostream.h. | |
226 | ||
d29087b4 BK |
227 | 2001-05-31 Benjamin Kosnik <bkoz@redhat.com> |
228 | ||
229 | libstdc++/2997 | |
230 | * src/bitset.cc: Qualify size_t with std::. | |
231 | ||
232 | 2001-05-30 Benjamin Kosnik <bkoz@redhat.com> | |
bfa1e6b1 BK |
233 | |
234 | * acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove. | |
235 | (_GLIBCPP_BUGGY_COMPLEX): Remove. | |
236 | * config.h.in: Regenerate. | |
237 | * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove. | |
238 | * aclocal.m4: Regenerate. | |
239 | * configure.in: Don't call it. | |
240 | * configure: Regenerate. | |
241 | ||
242 | libstdc++/2970 | |
243 | * src/complex_io.cc (operator<<(ostream&, const complex&): Fix. | |
244 | * testsuite/26_numerics/complex_inserters_extractors.cc (test01): | |
245 | New test. | |
246 | ||
247 | libstdc++/2985 | |
248 | * include/bits/std_complex.h: Include sstream. Put definitions for | |
249 | complex inserters and extractors here, and remove them from... | |
250 | * src/complex_io.cc: ...here. | |
251 | * include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits | |
252 | parameter. | |
253 | (basic_ios::__numget_type): Same. | |
254 | * include/bits/std_istream.h: Same. | |
255 | * include/bits/std_ostream.h: Same. | |
256 | * include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base | |
257 | class iterator template arguments. | |
258 | * src/locale-inst.cc: Add explicit has_facet instantiations. | |
259 | * include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove. | |
260 | (_M_get_fnumput): Remove. | |
261 | (_M_get_fnumget): Remove. | |
262 | (basic_ios::_M_check_facet): New function. | |
263 | (basic_ios::_M_cache_facets): New function. | |
264 | * include/bits/basic_ios.tcc: Definition for _M_cache_facets. | |
265 | (basic_ios::imbue): Call _M_cache_facets. | |
266 | (basic_ios::init): Same. | |
267 | * include/bits/istream.tcc: Format, use _M_check_facet. | |
268 | * include/bits/ostream.tcc: Same. | |
269 | * include/bits/locale_facets.tcc (__output_float): Change | |
270 | signature, add _Traits. | |
271 | * testsuite/26_numerics/complex_inserters_extractors.cc (test02): | |
272 | New test. | |
273 | ||
85836c0b LR |
274 | 2001-05-30 Loren J. Rittle <ljrittle@acm.org> |
275 | ||
276 | * include/bits/c++config (__USE_MALLOC): Do not define it. | |
277 | Document why not and give pointers to more information. | |
278 | ||
279 | * docs/html/23_containers/howto.html: Update documentation | |
280 | to reflect recent understanding of problem. | |
281 | * docs/html/17_intro/howto.html: Likewise. | |
282 | ||
462b7396 PE |
283 | 2001-05-30 Phil Edwards <pme@sources.redhat.com> |
284 | ||
285 | * docs/doxygen/user.cfg.in: Minor addition. | |
286 | * docs/html/documentation.html: Reorganize. Put most-looked-at | |
287 | stuff first. | |
288 | * docs/html/install.html: Update for 3.0. HTML fixups. | |
289 | * docs/html/17_intro/howto.html: Likewise. | |
290 | * docs/html/18_support/howto.html: Likewise. | |
291 | * docs/html/19_diagnostics/howto.html: Likewise. | |
292 | * docs/html/20_util/howto.html: Likewise. | |
293 | * docs/html/23_containers/howto.html: Likewise. | |
294 | * docs/html/24_iterators/howto.html: Likewise. More notes. | |
295 | * docs/html/25_algorithms/howto.html: Likewise. | |
296 | * docs/html/26_numerics/howto.html: Likewise. More notes. | |
297 | * docs/html/27_io/howto.html: Likewise. | |
298 | * docs/html/ext/howto.html: Likewise. | |
299 | * docs/html/faq/index.html: Likewise. | |
300 | * docs/html/faq/index.txt: Regenerate. | |
301 | * docs/html/27_io/iostreams_hierarchy.pdf: Remove in favor of | |
302 | Doxygen-created documentation. | |
303 | ||
e944097a RO |
304 | 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
305 | ||
306 | * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use | |
307 | get_multilibs to find gcc. | |
308 | ||
54eb01be PE |
309 | 2001-05-30 Phil Edwards <pme@sources.redhat.com> |
310 | ||
311 | * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages. | |
312 | * aclocal.m4: Regenerate. | |
313 | * configure: Regenerate. | |
314 | ||
3702c634 GDR |
315 | 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com> |
316 | ||
317 | * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::. | |
318 | * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise. | |
319 | ||
320 | 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com> | |
321 | ||
322 | * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::. | |
323 | * include/c_std/bits/std_cstdlib.h: Same. | |
324 | * include/c_std/bits/std_cwchar.h: Same. | |
325 | ||
b86ee4a5 LR |
326 | 2001-05-30 Loren J. Rittle <ljrittle@acm.org> |
327 | ||
328 | * docs/html/17_intro/howto.html: Update link. | |
329 | * docs/html/23_containers/howto.html: Likewise. Add new link. | |
330 | ||
4200d6fe GDR |
331 | 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com> |
332 | ||
333 | * include/c_std/bits/std_cmath.h (sqrt): #undef. | |
334 | ||
57db2f4d RO |
335 | 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
336 | ||
337 | * mknumeric_limits: Stop if gen-num-limits dies. | |
338 | ||
bd937d50 BK |
339 | 2001-05-25 Benjamin Kosnik <bkoz@redhat.com> |
340 | ||
341 | other/2931 | |
342 | * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE. | |
343 | * aclocal.m4: Regenerate. | |
344 | * configure: Same. | |
345 | ||
346 | 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | |
347 | Phil Edwards <pme@sources.redhat.com> | |
348 | Alexandre Oliva <aoliva@redhat.com> | |
349 | ||
350 | * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir | |
351 | in an amd-safe manner. Revert glibcpp_prefixdir. | |
352 | ||
4e588ec9 GDR |
353 | 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com> |
354 | ||
355 | * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos, | |
356 | fabs, sin, sqrt. They are now implemented in terms of __builtin_ | |
357 | variants. | |
358 | ||
a16ad779 BK |
359 | 2001-05-24 Benjamin Kosnik <bkoz@redhat.com> |
360 | ||
361 | libstdc++/2830 | |
362 | * testsuite/21_strings/inserters_extractors.cc (test09): New test. | |
363 | * include/bits/ostream.tcc: Format to match istream.tcc. | |
364 | (operator<<(basic_ostream __out, const basic_string __s)): Fix. | |
365 | ||
1044b043 PE |
366 | 2001-05-24 Phil Edwards <pme@sources.redhat.com> |
367 | ||
368 | * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify | |
369 | malloc with std:: . | |
370 | (__cxa_free_exception): Likewise with free. | |
371 | ||
eeff8d2c MM |
372 | 2001-05-24 Mark Mitchell <mark@codesourcery.com> |
373 | ||
374 | * include/c_std/bin/std_cstring.h: #define away all global | |
375 | functions we will redeclare in namespace `std'. | |
376 | * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use | |
377 | std::memset, instead of memset. | |
378 | * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp', | |
379 | not plain `strcmp'. | |
380 | * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of | |
381 | plain `strcpy'. | |
382 | ||
d422980b BK |
383 | 2001-05-24 Benjamin Kosnik <bkoz@redhat.com> |
384 | ||
385 | libstdc++/2832 | |
386 | * include/bits/basic_ios.tcc: Small tweak. | |
387 | * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust | |
388 | ctors and dtors, and rdbuf settings. | |
389 | (ofstream): Same. | |
390 | (fstream): Same. | |
391 | * include/bits/std_sstream.h: Same, but for stringstream classes. | |
392 | * testsuite/27_io/ostringstream_members.cc: New. | |
393 | * testsuite/27_io/stringstream_members.cc: New. | |
394 | * testsuite/27_io/fstream_members.cc: New. | |
395 | * testsuite/27_io/ifstream_members.cc: Add test. | |
396 | * testsuite/27_io/istringstream_members.cc: Add test. | |
397 | * testsuite/27_io/ofstream_members.cc: Add test. | |
398 | ||
3e0105a4 GDR |
399 | 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com> |
400 | ||
401 | * include/bits/c++config(__NO_MATH_INLINES): Move to... | |
402 | * config/os/gnu-linux/bits/os_defines.h: ...here. | |
403 | ||
cf3e18dd GDR |
404 | 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com> |
405 | ||
406 | * include/bits/c++config (__NO_MATH_INLINES): New macro. | |
407 | * testsuite/26_numerics/fabs_inline.cc (main): New test. | |
408 | ||
ec233c75 BK |
409 | 2001-05-22 Benjamin Kosnik <bkoz@redhat.com> |
410 | ||
411 | libstdc++/2841 | |
412 | * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set | |
413 | ld_library_path. | |
414 | (libstdc++-v3_set_ld_library_path): New, copied from g++.exp. | |
415 | (libstdc++-v3-finish): Remove. | |
416 | (libstdc++-v3_exit): Remove. | |
417 | ||
8d12b800 PE |
418 | 2001-05-22 Phil Edwards <pme@sources.redhat.com> |
419 | ||
420 | * docs/html/documentation.html: Point to doxygen output. | |
421 | ||
990101f9 BK |
422 | 2001-05-21 Benjamin Kosnik <bkoz@redhat.com> |
423 | ||
424 | * mkcheck.in (static_fail): Remove S_FLAG decoration on output. | |
425 | ||
426 | * include/bits/std_sstream.h (stringbuf::setbuf): Require both | |
427 | arguments to be non-null. | |
428 | * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only | |
429 | try allocations if allocated size is greater than zero. | |
430 | (filebuf::_M_filebuf_init): Change to | |
431 | (filebuf::_M_allocate_file): Which is what it does now. | |
432 | (filebuf::_M_allocate_bufers): Change to | |
433 | (filebuf::_M_allocate_internal_buffer): This, and create | |
434 | (filebuf::_M_allocate_pback_buffer): New. | |
435 | (filebuf::_M_destroy_internal_buffer): New. | |
436 | (filebuf::_M_buf_allocated): New data member. | |
437 | (filebuf::setbuf): Use new logic, allow use of external buffer. | |
438 | * testsuite/27_io/stringbuf_virtuals.cc: New file. | |
439 | * testsuite/27_io/filebuf_virtuals.cc: New file. | |
440 | ||
9ea659ac BK |
441 | 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com> |
442 | ||
443 | * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to | |
444 | __glibcpp_memchr. | |
445 | (strchr): Same, but to __glibcpp_strchr. | |
446 | (strpbrk): Same. | |
447 | (strrchr): Same. | |
448 | (strstr): Same. | |
449 | * include/c_std/bits/std_cwchar.h (wcschr): Same. | |
450 | (wcsbrk): Same. | |
451 | (wcsrchr): Same. | |
452 | (wcsstr): Same. | |
453 | (wmemchr): Same. | |
454 | ||
ec233c75 | 455 | 2001-05-21 Benjamin Kosnik <bkoz@redhat.com> |
9ea659ac BK |
456 | |
457 | * testsuite/21_strings/c_strings.cc (main): Fix. | |
458 | ||
572051a2 PE |
459 | 2001-05-19 Phil Edwards <pme@sources.redhat.com> |
460 | ||
461 | * acinclude.m4: Fix --help spacing, correct comments. | |
462 | * aclocal.m4: Regenerate. | |
463 | * configure: Regenerate. | |
464 | * mkcheck.in: Add usage comments. | |
465 | * docs/html/documentation.html: Point to doxygen'd tarball. | |
466 | ||
662d9425 BK |
467 | 2001-05-18 Benjamin Kosnik <bkoz@redhat.com> |
468 | ||
469 | * testsuite/README: Add notes. | |
470 | ||
471 | * src/Makefile.am (libstdc++.INC): Remove. | |
472 | * src/Makefile.in: Regenerate. | |
473 | ||
474 | Phil Edwards <pedwards@disaster.jaj.com> | |
475 | * mkcheck.in: Add missing '#'. | |
476 | ||
28e8acb6 AMT |
477 | 2001-05-18 Angela Marie Thomas <angela@cygnus.com> |
478 | ||
479 | * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags | |
480 | appropriately for remote testing and testing installed files without | |
481 | a build dir. | |
482 | ||
52a57250 BK |
483 | 2001-05-18 Benjamin Kosnik <bkoz@redhat.com> |
484 | ||
485 | * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir | |
486 | amd glibcpp_prefixdir with absolute paths. | |
487 | ||
488 | * include/bits/c++config (__GLIBCPP__): Bump. | |
489 | * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number. | |
490 | ||
a60d96b1 GDR |
491 | 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com> |
492 | ||
493 | * include/bits/std_valarray.h (valarray<>::operator[] const): | |
494 | Return a const reference. | |
495 | * testsuite/26_numerics/valarray_const_bracket.cc: New test. | |
496 | ||
a75b7b0b AO |
497 | 2001-05-18 Alexandre Oliva <aoliva@redhat.com> |
498 | ||
499 | * configure.target (ATOMICITYH): Actually use AIX-specific code on | |
500 | earlier versions of AIX 4.*. | |
501 | ||
256e7e85 AMT |
502 | 2001-05-18 Angela Marie Thomas <angela@cygnus.com> |
503 | ||
504 | * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set | |
505 | output_file based on the name of the testcase. | |
506 | ||
507 | 2001-05-18 Angela Marie Thomas <angela@cygnus.com> | |
508 | ||
509 | * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build | |
510 | gluefile and use it if needs_status_wrapper is set. | |
511 | ||
9c233cb3 AO |
512 | 2001-05-18 Alexandre Oliva <aoliva@redhat.com> |
513 | ||
514 | * configure.target (ATOMICITYH): Use cpu/generic code on earlier | |
515 | versions of AIX. | |
516 | ||
754ad41d AO |
517 | 2001-05-17 Alexandre Oliva <aoliva@redhat.com> |
518 | ||
519 | * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code | |
520 | on earlier versions of AIX. | |
521 | ||
be079e1c BK |
522 | 2001-05-15 Benjamin Kosnik <bkoz@redhat.com> |
523 | ||
524 | * testsuite_flags.in (query): Add backwards, ext directories. | |
525 | ||
99d8dccc MM |
526 | 2001-05-15 Mark Mitchell <mark@codesourcery.com> |
527 | ||
528 | * porting.texi: Correct documentation about handling | |
529 | _LARRGEFILE_SOURCE and its ilk. | |
530 | * config/os/solaris/solaris2.5/bits/os_defines.h: Remove | |
531 | definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and | |
532 | __EXTENSIONS__. | |
533 | * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise. | |
534 | * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise. | |
535 | ||
7edc73b4 ZW |
536 | 2001-05-15 Zack Weinberg <zackw@stanford.edu> |
537 | ||
538 | * testsuite/21_strings/inserters_extractors.cc, | |
539 | testsuite/27_io/istream_unformatted.cc, | |
540 | testsuite/27_io/stringstream.cc: | |
541 | Replace multi-line string constants with C89-style | |
542 | concatenated string constants. | |
543 | ||
402d7dfe RH |
544 | 2001-05-14 Richard Henderson <rth@redhat.com> |
545 | ||
546 | * mknumeric_limits: Build with -fno-exceptions. | |
547 | ||
c6192d88 BK |
548 | 2001-05-13 Benjamin Kosnik <bkoz@redhat.com> |
549 | ||
550 | Switch over to new harness. | |
551 | * testsuite_flags.in: Tweaks via Gaby. | |
552 | * testsuite/Makefile.am: Change tool to libstdc++-v3. | |
553 | (EXPECT): Quote directly. | |
554 | (RUNTEST): Same. | |
555 | * configure.in: Output testsuite_flags. | |
556 | * acinclude.m4: Substitute src, bld, and prefix dirs. | |
557 | Remove glibcpp_expect, glibcpp_runtestflags. | |
558 | * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs. | |
559 | * mkcheck.in: Port to new interface. | |
560 | ||
561 | * aclocal.m4: Regerate. | |
562 | * configure: Regnerate. | |
563 | * Makefile.in: Regnerate. | |
564 | * */Makefile.in: Regenerate. | |
565 | ||
566 | * tests_flags.in: Remove. | |
567 | * testsuite/lib/libstdc++.exp: Remove. | |
568 | * testsuite/libstdc++.tests/tests.exp: Remove. | |
569 | ||
d0481042 AO |
570 | 2001-05-13 Alexandre Oliva <aoliva@redhat.com> |
571 | ||
572 | * configure.target: Remove detection of AIX pthread multilib, now | |
573 | obtained from `gcc -v'. | |
574 | ||
fca8e37b JDA |
575 | 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca> |
576 | ||
577 | * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU | |
578 | size. Add hpux case for HP size. | |
579 | ||
c6192d88 BK |
580 | 2001-05-11 Benjamin Kosnik <bkoz@redhat.com> |
581 | ||
582 | * testsuite_flags.in: New, simplified interface. | |
583 | * testsuite/lib/libstdc++-v3-dg.exp: New test harness. | |
584 | * testsuite/libstdc++-v3.dg: Add. | |
585 | * testsuite/libstdc++-v3.dg/dg.exp: Add. | |
586 | ||
04d930e6 BK |
587 | 2001-05-11 Benjamin Kosnik <bkoz@redhat.com> |
588 | ||
589 | * testsuite/*/*.cc: Remove spaces, make sure testcases return zero. | |
590 | * testsuite/config/default.exp: Update bugs email address. | |
591 | ||
817e7411 RH |
592 | 2001-05-11 Richard Henderson <rth@redhat.com> |
593 | ||
594 | * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove | |
595 | all pointer encoding logic. | |
596 | (struct lsda_header_info): Add ttype_base. | |
597 | (get_ttype_entry): Use it instead of a context. | |
598 | (check_exception_spec): Likewise. | |
599 | (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in | |
600 | the c++ exception header for __cxa_call_unexpected. | |
601 | (__cxa_call_unexpected): Use it. | |
602 | ||
8850521b BK |
603 | 2001-05-09 Benjamin Kosnik <bkoz@redhat.com> |
604 | ||
605 | * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call | |
606 | libgloss_link_flags to find crt0.o for targets that use libgloss | |
607 | instead of newlib. | |
608 | Change LDFLAGS to LIBS. | |
609 | Consistently name procedures libstdc++-XXX. | |
610 | * testsuite/libstdc++.tests/tests.exp: Use new procedure names. | |
8850521b | 611 | |
eea790f7 BK |
612 | 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com> |
613 | ||
614 | * include/c_std/bits/std_cstring.h (memchr): Correct definitions. | |
615 | (strchr): Same. | |
616 | (strpbrk): Same. | |
617 | (strrchr): Same. | |
618 | (strstr): Same. | |
619 | * include/c_std/bits/std_cwchar.h (wcschr): Same. | |
620 | (wcsbrk): Same. | |
621 | (wcsrchr): Same. | |
622 | (wcsstr): Same. | |
623 | (wmemchr): Same. | |
624 | * testsuite/21_strings/c_strings.cc: Add tests. | |
625 | ||
39003c99 BK |
626 | 2001-05-07 Benjamin Kosnik <bkoz@redhat.com> |
627 | ||
628 | libstdc++/2523 | |
629 | * include/bits/std_fstream.h (basic_filebuf): Change signature. | |
630 | * include/bits/fstream.tcc (basic_filebuf): Change bool argument | |
631 | to int_type, pass in buffer size info. | |
632 | * include/bits/std_streambuf.h (_M_is_indeterminate): Check for | |
633 | unbuffered situation. | |
634 | (underflow): Remove codecvt bits for the time being. | |
635 | * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call. | |
636 | * include/bits/locale_facets.tcc (_M_extract): Cache dereference | |
637 | values from iterators, clean. | |
638 | * src/locale.cc: Ditto. | |
639 | * include/bits/sbuf_iter.h: Format. | |
640 | * src/ios.cc: Explicitly pass in buffer sizes at creation time. | |
641 | * testsuite/27_io/narrow_stream_objects.cc: Add tests. | |
642 | * testsuite/27_io/filebuf.cc: Tweaks. | |
643 | * testsuite/27_io/filebuf_members.cc: Tweaks. | |
644 | ||
eefd41e3 MM |
645 | 2001-05-07 Mark Mitchell <mark@codesourcery.com> |
646 | ||
647 | * config/os/solaris/solaris2.7/bits/os_defines.h | |
648 | (_LARGEFILE_SOURCE): Define it. | |
649 | ||
f8e4b51d AO |
650 | 2001-05-03 Alexandre Oliva <aoliva@redhat.com> |
651 | ||
652 | * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or | |
653 | -prefer-non-pic depending on whether libtool has shared libraries | |
654 | enabled or disabled. | |
655 | * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to | |
656 | $(LIBSUPCXX_PICFLAGS). | |
657 | * configure, */Makefile.in: Rebuilt. | |
658 | ||
a85afd69 BK |
659 | 2001-05-01 Benjamin Kosnik <bkoz@redhat.com> |
660 | ||
661 | * include/bits/sbuf_iter.h (istreambuf_iterator): Correct. | |
662 | * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test. | |
663 | ||
664 | * include/bits/std_sstream.h (stringbuf): Leak | |
665 | copied string. | |
666 | * testsuite/24_iterators/ostreambuf_iterator.cc: Correct. | |
667 | ||
168e83ca TB |
668 | 2001-05-01 Tom Browder <tbrowder@home.com> |
669 | ||
670 | * docs/html/ext/howto.html: Fix typo. | |
671 | ||
358c9f4b GDR |
672 | 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com> |
673 | ||
674 | * testsuite/libstdc++.tests/tests.exp: Add comment. | |
675 | ||
55a0ab4a GDR |
676 | 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com> |
677 | ||
678 | * testsuite/libstdc++.tests/tests.exp: Set ulimits. | |
679 | ||
c3aac512 MM |
680 | 2001-04-30 Mark Mitchell <mark@codesourcery.com> |
681 | ||
682 | * porting.texi: Use the GFDL. | |
683 | ||
b85381b9 BK |
684 | 2001-04-30 Benjamin Kosnik <bkoz@redhat.com> |
685 | ||
686 | libstdc++/2627 | |
687 | * testsuite/24_iterators/ostreambuf_iterator.cc: New file. | |
688 | * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus | |
689 | specializations. | |
690 | ||
215e9863 BK |
691 | 2001-04-30 Benjamin Kosnik <bkoz@redhat.com> |
692 | ||
693 | libstdc++/2964 | |
694 | * include/bits/stl_iterator_base_funcs.h (__advance): Fix. | |
695 | ||
fb75f5eb PE |
696 | 2001-04-28 Phil Edwards <pme@sources.redhat.com> |
697 | ||
698 | * docs/doxygen/run_doxygen: Minor tweaks. | |
699 | * docs/doxygen/style.css: New file. | |
700 | * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the | |
701 | latest parameters available. Use style.css. | |
702 | ||
3f3942e8 BK |
703 | 2001-04-27 Benjamin Kosnik <bkoz@redhat.com> |
704 | ||
705 | * docs/doxygen/mainpage.doxy: New. | |
706 | * docs/doxygen/user.cfg.in: Change default configuration. Single | |
707 | frame, other tweaks. | |
708 | ||
9cc03fab MM |
709 | 2001-04-26 Mark Mitchell <mark@codesourcery.com> |
710 | ||
711 | * docs/html/17_intro/BADNAMES: Remove EGCS reference. | |
712 | Indicate obsolete nature of thelist for G++ 3.0. | |
713 | ||
ede74510 AO |
714 | 2001-04-26 Alexandre Oliva <aoliva@redhat.com> |
715 | ||
716 | * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain | |
717 | target_thread_file with `gcc -v'. | |
718 | * aclocal.m4, configure: Rebuilt. | |
719 | ||
5db6f3de BK |
720 | 2001-04-25 Benjamin Kosnik <bkoz@redhat.com> |
721 | ||
722 | * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names. | |
723 | * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs. | |
724 | * include/c_std/bits/std_cwchar.h (std): Same. | |
725 | * acconfig.h (std): Remove c99 injection into std. | |
726 | * config.h.in: Regenerate. | |
727 | ||
728 | * testsuite/README: Fix typo. | |
729 | ||
730 | * include/bits/codecvt.h: Remove warnings. | |
731 | ||
673af03a PS |
732 | 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> |
733 | ||
734 | * include/ext/slist: Include required header files. | |
735 | ||
910e8539 LR |
736 | 2001-04-23 Loren J. Rittle <ljrittle@acm.org> |
737 | ||
738 | * include/c_std/bits/std_cerrno.h (errno): Define macro from | |
739 | identifier declared with external linkage, if needed. | |
740 | * include/c_std/bits/std_csetjmp.h (setjmp): Likewise. | |
741 | * include/c_std/bits/std_cstdarg.h (va_end): Likewise. | |
742 | ||
337187ff BK |
743 | 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com> |
744 | ||
673af03a | 745 | * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory |
337187ff | 746 | re-configures find the build compiler. |
673af03a | 747 | (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes |
337187ff BK |
748 | libstdc++/2609. |
749 | * aclocal.m4: Regenerate. | |
750 | * configure: Regenerate. | |
751 | ||
6c3a9f72 BK |
752 | 2001-04-20 Benjamin Kosnik <bkoz@redhat.com> |
753 | ||
754 | * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99 | |
755 | support is enabled correctly before long long is activated. | |
756 | * aclocal.m4: Regenerate. | |
757 | * configure: Regenerate. | |
758 | ||
759 | * include/backward/backward_warning.h: Format correctly. | |
760 | ||
761 | * testsuite/26_numerics/c99_classification_macros_c.cc: Add. | |
762 | * testsuite/26_numerics/c99_classification_macros_c++.cc: Add. | |
763 | * testsuite/26_numerics/c99_macros.cc: Remove. | |
764 | ||
e906926f PE |
765 | 2001-04-20 Phil Edwards <pme@sources.redhat.com> |
766 | ||
767 | * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with | |
768 | __iterator_category. | |
769 | ||
7cda84dc BK |
770 | 2001-04-19 Benjamin Kosnik <bkoz@redhat.com> |
771 | ||
772 | * acconfig.h (_GLIBCPP_USE_C99): Add. | |
773 | * config.h.in: Regenerate. | |
774 | * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC | |
775 | 9899: 1999 support. | |
776 | * aclocal.m4: Regenerate. | |
777 | * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default. | |
778 | * configure: Regenerate. | |
779 | * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes. | |
780 | * configure: Regenerate. | |
781 | * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull | |
782 | into c99. | |
783 | * include/c_std/bits/std_cmath.h: Bring C99 functions into c99 | |
784 | namespace. | |
785 | * include/c_std/bits/std_cstdlib.h: Same. | |
786 | * docs/html/configopts.html: Update. | |
787 | * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of | |
788 | math.h | |
789 | (test_c99_classify): Add. | |
790 | * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove. | |
791 | (_ISOC99_SOURCE): Remove. | |
792 | ||
793 | * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48. | |
794 | * include/bits/c++config (__STL_ASSERTIONS): Simplify. | |
795 | * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48. | |
796 | * aclocal.m4: Regenerate. | |
797 | * configure: Regenerate. | |
798 | ||
7145b855 PE |
799 | 2001-04-19 Phil Edwards <pme@sources.redhat.com> |
800 | ||
801 | * Makefile.am (doxygen): Assume script is missing execute perms. | |
802 | * Makefile.in: Regenerated. | |
803 | * docs/doxygen/user.cfg.in: Add class diagrams and source browsing. | |
804 | ||
599d54fd LR |
805 | 2001-04-17 Loren J. Rittle <ljrittle@acm.org> |
806 | ||
807 | * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files. | |
808 | ||
47e982b2 BK |
809 | 2001-04-17 Benjamin Kosnik <bkoz@redhat.com> |
810 | ||
811 | * testsuite/23_containers/map_operators.cc: Add dg-excess-errors. | |
812 | * testsuite/23_containers/set_operators.cc: Same. | |
813 | ||
814 | * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by | |
815 | default. | |
816 | (__GLIBCPP__): Bump from value of last release. | |
817 | * include/bits/concept_check.h: Default to off, edit comments. | |
818 | * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS. | |
819 | * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS. | |
820 | * src/Makefile.in: Regenerate. | |
821 | ||
f2d43953 MR |
822 | 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE> |
823 | ||
824 | * include/bits/boost_concept_check.h(_Mutable_ContainerConcept): | |
825 | Properly uglify member. | |
826 | ||
948421e0 PE |
827 | 2001-04-13 Phil Edwards <pme@sources.redhat.com> |
828 | ||
829 | * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead | |
7cda84dc BK |
830 | of EqualityCo |
831 | mparableConcept. | |
948421e0 | 832 | |
62bb0c97 PE |
833 | 2001-04-13 Phil Edwards <pme@sources.redhat.com> |
834 | ||
835 | * include/bits/boost_concept_check.h: Uglify, fork from Boost. | |
836 | * include/bits/concept_check.h: Uglify. | |
837 | * include/bits/stl_algo.h: Likewise. | |
838 | * include/bits/stl_algobase.h: Likewise. | |
839 | * include/bits/stl_deque.h: Likewise. | |
840 | * include/bits/stl_heap.h: Likewise. | |
841 | * include/bits/stl_iterator_base_funcs.h: Likewise. | |
842 | * include/bits/stl_list.h: Likewise. | |
843 | * include/bits/stl_map.h: Likewise. | |
844 | * include/bits/stl_multimap.h: Likewise. | |
845 | * include/bits/stl_multiset.h: Likewise. | |
846 | * include/bits/stl_numeric.h: Likewise. | |
847 | * include/bits/stl_queue.h: Likewise. | |
848 | * include/bits/stl_set.h: Likewise. | |
849 | * include/bits/stl_stack.h: Likewise. | |
850 | * include/bits/stl_vector.h: Likewise. | |
851 | * include/ext/hash_map: Likewise. | |
852 | * include/ext/hash_set: Likewise. | |
853 | * include/ext/slist: Likewise. | |
854 | ||
d72274e4 GDR |
855 | 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com> |
856 | ||
857 | * testsuite/23_containers/set_operators.cc: Just try to compile. | |
858 | Mark as XFAIL. | |
859 | * testsuite/23_containers/map_operators.cc: Same. | |
860 | ||
d93aa335 JM |
861 | 2001-04-12 Jason Merrill <jason_merrill@redhat.com> |
862 | ||
863 | * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to | |
864 | output_file. | |
865 | (dg-test): Revert rth's change. | |
866 | ||
f847167e NS |
867 | 2001-04-12 Nathan Sidwell <nathan@codesourcery.com> |
868 | ||
869 | * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't | |
870 | terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE. | |
871 | ||
e98d0cea GDR |
872 | 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com> |
873 | ||
874 | * testsuite/README: Add DejaGnu specific documentation. | |
875 | ||
46840bcd BK |
876 | 2001-04-11 Benjamin Kosnik <bkoz@redhat.com> |
877 | ||
878 | * acinclude.m4: AC_CHECK_TOOL for expect. | |
879 | * aclocal.m4: Regenerate. | |
880 | * configure: Regenerate. | |
881 | * testsuite/Makefile.am (RUNTEST): Use substituted. | |
882 | (EXPECT): Same. | |
883 | ||
884 | * configure.in: Remove xcompiling substitution. | |
885 | * tests_flags.in (CROSS_LIB_PATH): Remove. | |
886 | (xcompiling): Remove. | |
887 | (CXX): Use substituted CXX. | |
888 | ||
889 | 2001-04-11 Richard Henderson <rth@redhat.com> | |
890 | ||
891 | * testsuite/lib/libstdc++.exp: Specify path for output_file. | |
a14fd7f5 | 892 | |
0f719068 GDR |
893 | 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com> |
894 | ||
895 | * include/bits/std_valarray.h(valarray<>::operator[]): Make | |
896 | inline. | |
897 | ||
14bc1c0e BK |
898 | 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com> |
899 | ||
900 | * testsuite/25_algorithms/equal.cc: New test. | |
901 | ||
902 | 2001-04-06 Joe Buck <jbuck@welsh-buck.org> | |
903 | ||
904 | * stl_algobase.h (std::equal): avoid use of possibly-undefined | |
905 | operator != (one line patch). | |
906 | ||
4efbaaa7 BK |
907 | 2001-04-06 Benjamin Kosnik <bkoz@redhat.com> |
908 | ||
909 | * include/backward/backward_warning.h: Re-enable. | |
910 | ||
af8aa517 BK |
911 | 2001-04-06 Benjamin Kosnik <bkoz@redhat.com> |
912 | Alexandre Oliva <aoliva@redhat.com> | |
913 | ||
914 | * tests_flags.in (CROSS_LIB_PATH): Add as -B flag. | |
915 | ||
e521873c GDR |
916 | 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com> |
917 | ||
918 | * include/c_std/bits/std_cmath.h: Get rid of C99 math macros. | |
919 | * testsuite/26_numerics/c99_macros.cc: Add test. | |
920 | ||
6d32e2c9 PE |
921 | 2001-04-06 Phil Edwards <pme@sources.redhat.com> |
922 | ||
923 | * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES. | |
924 | * docs/html/faq/index.txt: Regenerated. | |
925 | ||
8f946b6e BK |
926 | 2001-04-06 Benjamin Kosnik <bkoz@redhat.com> |
927 | ||
928 | * include/backward/backward_warning.h: Temporarily disable until | |
929 | g++ testsuite changes go in. | |
930 | * tests_flags.in (CROSS_LIB_PATH): Add. | |
931 | ||
baac9fce BK |
932 | 2001-04-05 Benjamin Kosnik <bkoz@redhat.com> |
933 | ||
934 | Warn when using backward headers. | |
935 | * include/backward/algo.h: Include warning file. | |
936 | * include/backward/vector.h: Same. | |
937 | * include/backward/tree.h: Same. | |
938 | * include/backward/tempbuf.h: Same. | |
939 | * include/backward/strstream: Same. | |
940 | * include/backward/streambuf.h: Same. | |
941 | * include/backward/stream.h: Same. | |
942 | * include/backward/stack.h: Same. | |
943 | * include/backward/slist.h: Same. | |
944 | * include/backward/set.h: Same. | |
945 | * include/backward/rope.h: | |
946 | * include/backward/queue.h: Same. | |
947 | * include/backward/pair.h: Same. | |
948 | * include/backward/ostream.h: Same. | |
949 | * include/backward/new.h: Same. | |
950 | * include/backward/multiset.h: Same. | |
951 | * include/backward/multimap.h: Same. | |
952 | * include/backward/map.h: Same. | |
953 | * include/backward/list.h: Same. | |
954 | * include/backward/iterator.h: Same. | |
955 | * include/backward/istream.h: Same. | |
956 | * include/backward/iostream.h: | |
957 | * include/backward/iomanip.h: | |
958 | * include/backward/heap.h: Same. | |
959 | * include/backward/hashtable.h: | |
960 | * include/backward/hash_set.h: | |
961 | * include/backward/hash_map.h: | |
962 | * include/backward/function.h: | |
963 | * include/backward/fstream.h: | |
964 | * include/backward/deque.h: | |
965 | * include/backward/defalloc.h: Same. | |
966 | * include/backward/complex.h: Same. | |
967 | * include/backward/bvector.h: | |
968 | * include/backward/alloc.h: | |
969 | * include/backward/algobase.h: Same. | |
970 | ||
971 | * include/backward/backward_warning.h: New file. | |
972 | * src/Makefile.am (backward_headers): Add backward_warning.h | |
973 | * src/Makefile.in: Regenerate. | |
974 | ||
975 | 2001-04-05 Benjamin Kosnik <bkoz@redhat.com> | |
976 | ||
977 | * src/Makefile.am (myinstalldirs): Make sure backward directory is | |
978 | created. | |
979 | (myinstallheaders): Install backward headers in backward directory. | |
980 | * src/Makefile.in: Regenerate. | |
981 | ||
8d66b99a BK |
982 | 2001-04-05 Benjamin Kosnik <bkoz@redhat.com> |
983 | ||
984 | Prepare for libstdc++-2.92. | |
985 | * docs/html/17_intro/RELEASE-NOTES (New): Update. | |
986 | * docs/html/configopts.html: Fix formatting. | |
987 | * README (file): Updates. | |
988 | * include/bits/c++config (__GLIBCPP__): Update. | |
989 | ||
864e133c PE |
990 | 2001-04-05 Phil Edwards <pme@sources.redhat.com> |
991 | ||
992 | * docs/doxygen/run_doxygen: Check for the existence of Doxygen. | |
993 | ||
c89b3a7d PE |
994 | 2001-04-04 Phil Edwards <pme@sources.redhat.com> |
995 | ||
996 | * docs/doxygen/user.cfg.in: Extract all non-private members; | |
997 | reduce confusing documentation output. | |
998 | ||
75da53c9 GK |
999 | 2001-04-04 Geoffrey Keating <geoffk@redhat.com> |
1000 | ||
1001 | * include/backward/fstream.h: Add missing semicolons. | |
1002 | ||
12764462 BK |
1003 | 2001-04-03 Benjamin Kosnik <bkoz@redhat.com> |
1004 | ||
1005 | * include/bits/fstream.tcc: Add bool parameter to filebuf ctor. | |
1006 | * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin, | |
1007 | _M_cerr, _M_wcout, _M_wcin, _M_wcerr. | |
1008 | (ios_base::Init::_S_ios_create): New. | |
1009 | (ios_base::Init::_S_ios_destroy): New. | |
1010 | * include/bits/std_fstream.h: Change ctor args. | |
1011 | * src/ios.cc (ios_base::Init::Init): Use _S_ios_create. | |
1012 | (ios_base::Init::~Init): Use _S_ios_destroy. | |
1013 | (ios_base::sync_with_stdio): Use new members. | |
1014 | * testsuite/27_io/filebuf_members.cc: Fix calling conventions for | |
1015 | filebuf ctor. | |
1016 | ||
cf54a767 PS |
1017 | 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> |
1018 | ||
1019 | * include/backward/fstream.h: Expose streampos to global | |
1020 | namespace. | |
1021 | ||
aa53cb52 PS |
1022 | 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> |
1023 | ||
1024 | * include/bits/stl_iterator_base_types.h: Fix typo | |
1025 | ||
896b336b AS |
1026 | 2001-04-03 Andreas Schwab <schwab@suse.de> |
1027 | ||
1028 | * include/backward/fstream.h: Define filebuf and wfilebuf. | |
1029 | ||
30a20a1e PE |
1030 | 2001-04-02 Phil Edwards <pme@sources.redhat.com> |
1031 | ||
1032 | New concept checking implementation. | |
1033 | * docs/html/19_diagnostics/howto.html: Document. | |
1034 | * docs/html/17_intro/concept_check.diff: New file, for reference. | |
1035 | * include/bits/boost_concept_check.h: New file from Boost. | |
1036 | * include/bits/c++config: Update comments. | |
1037 | ||
1038 | * include/bits/concept_check.h: New file. | |
1039 | * include/bits/concept_checks.h: Removed. | |
1040 | * include/bits/container_concepts.h: Removed. | |
1041 | * include/bits/sequence_concepts.h: Removed. | |
1042 | * include/bits/stl_iterator_base.h: Removed; split into... | |
1043 | * include/bits/stl_iterator_base_funcs.h: ...this new file... | |
1044 | * include/bits/stl_iterator_base_types.h: ...and this new file. | |
1045 | ||
1046 | * include/bits/sbuf_iter.h: Update to use new implementation. | |
1047 | * include/bits/std_iterator.h: Likewise. | |
1048 | * include/bits/std_memory.h: Likewise. | |
1049 | * include/bits/stl_algo.h: Likewise. | |
1050 | * include/bits/stl_algobase.h: Likewise. | |
1051 | * include/bits/stl_construct.h: Likewise. | |
1052 | * include/bits/stl_deque.h: Likewise. | |
1053 | * include/bits/stl_heap.h: Likewise. | |
1054 | * include/bits/stl_list.h: Likewise. | |
1055 | * include/bits/stl_map.h: Likewise. | |
1056 | * include/bits/stl_multimap.h: Likewise. | |
1057 | * include/bits/stl_multiset.h: Likewise. | |
1058 | * include/bits/stl_numeric.h: Likewise. | |
1059 | * include/bits/stl_queue.h: Likewise. | |
1060 | * include/bits/stl_set.h: Likewise. | |
1061 | * include/bits/stl_stack.h: Likewise. | |
1062 | * include/bits/stl_uninitialized.h: Likewise. | |
1063 | * include/bits/stl_vector.h: Likewise. | |
1064 | * include/ext/hash_map: Likewise. | |
1065 | * include/ext/hash_set: Likewise. | |
1066 | * include/ext/slist: Likewise. | |
1067 | * include/ext/stl_hashtable.h: Likewise. | |
1068 | ||
1069 | * src/Makefile.am (base_headers): Update list of headers. | |
1070 | * Makefile.in: Regenerated. | |
1071 | * src/Makefile.in: Regenerated. | |
1072 | * libio/Makefile.in: Regenerated. | |
1073 | * libmath/Makefile.in: Regenerated. | |
1074 | * libsupc++/Makefile.in: Regenerated. | |
1075 | * testsuite/Makefile.in: Regenerated. | |
1076 | ||
1077 | * docs/html/install.html: Update contact information. | |
1078 | * docs/html/17_intro/howto.html: Ditto. | |
1079 | * docs/html/18_support/howto.html: Ditto. | |
1080 | * docs/html/20_util/howto.html: Ditto. | |
1081 | * docs/html/21_strings/howto.html: Ditto. | |
1082 | * docs/html/22_locale/howto.html: Ditto. | |
1083 | * docs/html/23_containers/howto.html: Ditto. | |
1084 | * docs/html/24_iterators/howto.html: Ditto. | |
1085 | * docs/html/25_algorithms/howto.html: Ditto. | |
1086 | * docs/html/26_numerics/howto.html: Ditto. | |
1087 | * docs/html/27_io/howto.html: Ditto. | |
1088 | * docs/html/faq/index.html: Ditto, plus info on new checking code. | |
1089 | * docs/html/ext/howto.html: Ditto, plus info on new checking code. | |
1090 | * docs/html/faq/index.txt: Regenerated. | |
1091 | ||
9f4a318c ZW |
1092 | 2001-04-02 Zack Weinberg <zackw@stanford.edu> |
1093 | ||
1094 | * testsuite/lib/libstdc++.exp (dg-test): Annotate result | |
1095 | messages with $which_library as well as $tool_flags and | |
1096 | ${dg-extra-tool-flags}. Factor out annotation text into | |
1097 | a single variable. | |
1098 | ||
1099 | 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com> | |
1100 | ||
92c3688a SW |
1101 | * include/c_std/bits/std_cstring.h: Fix for const-correctness. |
1102 | * include/c_std/bits/std_cwchar.h: Same. | |
1103 | * testsuite/21_strings/c_strings.cc: Add. | |
9f4a318c | 1104 | |
d31eaae0 BK |
1105 | 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com> |
1106 | ||
1107 | * docs/html/configopts.html: Add --enable-sjlj-exceptions docs. | |
1108 | ||
aa9de837 ZW |
1109 | 2001-04-01 Zack Weinberg <zackw@stanford.edu> |
1110 | ||
1111 | * tests_flags.in: Use test a = b, not test a == b which is not | |
1112 | portable. | |
1113 | ||
9b7e0d00 BK |
1114 | 2001-03-31 Benjamin Kosnik <bkoz@redhat.com> |
1115 | ||
1116 | * configure.target: Remove duplicate aix entry. | |
1117 | ||
1118 | 2001-03-30 Benjamin Kosnik <bkoz@redhat.com> | |
1119 | ||
1120 | * include/ext/stl_bvector.h: Move to... | |
1121 | * include/bits/stl_vector.h: ...here. | |
1122 | * include/ext/bvector: Move to... | |
1123 | * include/backward/bvector.h: ...here. | |
1124 | * include/bits/std_vector.h: Change stl_bvector include. | |
1125 | * include/bits/std_queue.h: Remove bvector include. | |
1126 | * include/ext/tree: Insert using rb_tree, move to... | |
1127 | * include/backward/tree.h: ...here. | |
1128 | * include/backward/hash_map.h: Include ext/hash_map. | |
1129 | * include/backward/hash_set.h: Include ext/hash_set. | |
1130 | * include/backward/queue.h: New file. | |
1131 | * include/backward/stack.h: Edit. | |
1132 | * include/backward/algo.h: Same. | |
1133 | * include/backward/algobase.h: Same. | |
1134 | * include/backward/alloc.h: Same. | |
1135 | * include/backward/function.h: Same. | |
1136 | * include/backward/iomanip.h: Same. | |
1137 | * include/backward/istream.h: Same. | |
1138 | * include/backward/iterator.h: Same. | |
1139 | * include/backward/list.h: Same. | |
1140 | * include/backward/map.h: Same. | |
1141 | * include/backward/multimap.h: Same. | |
1142 | * include/backward/multiset.h: Same. | |
1143 | * include/backward/ostream.h: Same. | |
1144 | * include/backward/pair.h: Same | |
1145 | * include/backward/rope.h: Same. | |
1146 | * include/backward/set.h: Same. | |
1147 | * include/backward/stream.h: Same. | |
1148 | * include/backward/strstream.h: Same. | |
1149 | * include/backward/tempbuf.h: Same. | |
1150 | * src/Makefile.am (ext_headers): Edit. | |
1151 | * src/Makefile.in: Regenerate. | |
1152 | * testsuite/ext/headers.cc (main): Fix. | |
1153 | * mkcheck.in: Fix. | |
9f4a318c | 1154 | |
b935ee20 PE |
1155 | 2001-03-30 Phil Edwards <pme@sources.redhat.com> |
1156 | ||
1157 | * tests_flags.in (LIBS): Pass correct path for installed testing. | |
1158 | ||
755f30f4 BK |
1159 | 2001-03-28 Benjamin Kosnik <bkoz@redhat.com> |
1160 | ||
1161 | * mkcheck.in (LIBTOOL): Don't construct -B argument here... | |
1162 | * tests_flags.in (CXX): Construct here. | |
1163 | (static_fail): Don't remove compile.out. Format with spaces. | |
1164 | (INCLUDES): Deal with xcompiling. | |
1165 | * configure.in (xcompiling): Substitute. | |
1166 | * testsuite/Makefile.am: Snake libjava configury. | |
1167 | * testsuite/Makefile.in: Regenerate. | |
1168 | * testsuite/23_containers/map_operators.cc: Tweaks. | |
1169 | * testsuite/23_containers/set_operators.cc: Tweaks. | |
1170 | ||
1171 | 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com> | |
1172 | ||
1173 | Enable dejagnu testing framework. | |
1174 | * configure.in: Generate testsuite/Makefile. | |
1175 | * configure: Regenerate. | |
1176 | * Makefile.am (check-install): Change rule from this... | |
1177 | (check-script-install): ...to this. | |
1178 | (check): Change rule from this... | |
1179 | (check-script):...to this. | |
1180 | * Makefile.in: Regenerate. | |
9f4a318c | 1181 | |
400f4e55 AO |
1182 | 2001-03-28 Alexandre Oliva <aoliva@redhat.com> |
1183 | ||
1184 | * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after | |
1185 | --tag CXX. | |
1186 | (LIBTOOL): Let automake take care of its definition. | |
1187 | * libsupc++/Makefile.in: Rebuilt. | |
1188 | ||
52a11cbf RH |
1189 | 2001-03-28 Richard Henderson <rth@redhat.com> |
1190 | ||
1191 | IA-64 ABI Exception Handling: | |
1192 | * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New. | |
1193 | * configure.in: Use it. | |
1194 | * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate. | |
9f4a318c ZW |
1195 | * libsupc++/Makefile.am (sources): Update files list. |
1196 | * libsupc++/Makefile.in: Regenerate. | |
1197 | * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files. | |
1198 | * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files. | |
52a11cbf | 1199 | * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files. |
9f4a318c ZW |
1200 | * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files. |
1201 | * libsupc++/exception_support.cc: Remove. | |
1202 | * libsupc++/exception_support.h: Remove. | |
1203 | * libsupc++/pure.cc: Use std::terminate. | |
1204 | * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove. | |
1205 | (__is_pointer): Remove. | |
1206 | * libsupc++/unwind-cxx.h: New file. | |
1207 | * libsupc++/vec.cc (uncatch_exception): Update for new abi. | |
52a11cbf | 1208 | |
787d2fb7 AO |
1209 | 2001-03-27 Alexandre Oliva <aoliva@redhat.com> |
1210 | ||
1211 | * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose | |
1212 | CXX tag explicitly. | |
1213 | * src/Makefile.am (CXXLINK): Likewise. | |
1214 | * libsupc++/Makefile.in, src/Makefile.in: Rebuilt. | |
1215 | ||
ec0104b3 BK |
1216 | 2001-03-27 Benjamin Kosnik <bkoz@redhat.com> |
1217 | ||
1218 | * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default. | |
1219 | ||
6fd7b97d PS |
1220 | 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> |
1221 | ||
9f4a318c ZW |
1222 | * libstdc++-v3/tests_flags.in: Change the order of libstdc++ |
1223 | and libc | |
6fd7b97d | 1224 | |
5fa9abc3 BK |
1225 | 2001-03-26 Benjamin Kosnik <bkoz@redhat.com> |
1226 | ||
1227 | * include/bits/basic_file.h (get_fileno): Remove. | |
1228 | (_M_fileno): Remove. | |
1229 | (_M_cfile_created): Add. | |
1230 | (basic_file::basic_file(__c_file_type*, openmode): Add. | |
1231 | (basic_file::basic_file(int, const char*, openmode): Remove. | |
1232 | * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd, | |
1233 | const char*, ios_base::openmode): Don't allocate | |
1234 | internal buffers. Turn off internal buffers. | |
1235 | (basic_filebuf::overflow): Remove test for null buffer. | |
1236 | (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use. | |
1237 | * include/bits/streambuf.cc: Tweak. | |
1238 | * include/bits/std_ostream.h: Tweak. | |
1239 | * config/basic_file_libio.h: Same. | |
1240 | * config/basic_file_stdio.h: Same. | |
1241 | * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default. | |
1242 | * testsuite/27_io/filebuf_members.cc: Tweaks. | |
9f4a318c ZW |
1243 | * testsuite/27_io/ios_base_members_static.cc: Tweaks. |
1244 | ||
e03f70b3 PE |
1245 | 2001-03-24 Phil Edwards <pme@sources.redhat.com> |
1246 | ||
1247 | * Makefile.am: New targets, doxygen and doxygen-maint. | |
1248 | * Makefile.in: Regenerated. | |
1249 | * docs/doxygen/run_doxygen: Finally implemented. | |
1250 | * docs/doxygen/maint.cfg.in: New file. | |
1251 | * docs/doxygen/user.cfg.in: New file. | |
1252 | ||
c21b6f87 PE |
1253 | 2001-03-24 Phil Edwards <pme@sources.redhat.com> |
1254 | ||
1255 | * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment. | |
1256 | * src/Makefile.am: Replace leading spaces with tabs on continuation | |
1257 | lines. | |
1258 | * aclocal.m4: Regenerated. | |
1259 | * configure: Ditto. | |
1260 | * Makefile.in: Ditto. | |
1261 | * src/Makefile.in: Ditto. | |
1262 | * libio/Makefile.in: Ditto. | |
1263 | * libmath/Makefile.in: Ditto. | |
1264 | * libsupc++/Makefile.in: Ditto. | |
1265 | ||
537286a2 PE |
1266 | 2001-03-24 Phil Edwards <pme@sources.redhat.com> |
1267 | ||
1268 | * docs/html/19_diagnostics/howto.html: HTML fixup. Describe | |
1269 | concept-checking code and current status of same. | |
1270 | * docs/html/ext/howto.html: Ditto. | |
1271 | * docs/html/faq/index.html: Ditto. | |
1272 | * docs/html/faq/index.txt: Regenerated. | |
1273 | ||
2c085782 PE |
1274 | 2001-03-24 Phil Edwards <pme@sources.redhat.com> |
1275 | ||
1276 | * include/bits/std_bitset.h: Include ostream and istream headers | |
1277 | instead of iostream. | |
1278 | ||
0d6eae43 GB |
1279 | 2001-03-22 Greg Bumgardner <bumgard@roguewave.com> |
1280 | ||
1281 | * include/bits/ostream.tcc: Use __builtin_alloca. | |
1282 | ||
6ca9928a BK |
1283 | 2001-03-22 Benjamin Kosnik <bkoz@redhat.com> |
1284 | ||
1285 | * src/misc-inst.cc (__sink_unused_warning): Move to... | |
1286 | * src/locale-inst.cc (__sink_unused_warning): Move to... | |
1287 | * src/stl-inst.cc: Here. | |
1288 | * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define, | |
1289 | commented it out. | |
1290 | ||
edb7d731 TP |
1291 | 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr> |
1292 | ||
1293 | * intclude/bits/basic_file.h: Fix typos in comments. | |
1294 | ||
f64805b6 RH |
1295 | 2001-03-20 Richard Henderson <rth@redhat.com> |
1296 | ||
1297 | * src/gen-num-limits.cc: Instantiate for wchar_t. | |
1298 | * config/os/aix/bits/ctype_base.h (mask): Use unsigned int. | |
1299 | ||
f8c02bc5 JM |
1300 | 2001-03-20 Jason Merrill <jason@redhat.com> |
1301 | ||
1302 | * libsupc++/vec.cc (__cxa_vec_cleanup): New fn. | |
1303 | (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it. | |
1304 | * libsupc++/cxxabi.h: Declare it. | |
1305 | ||
e52ba67a AO |
1306 | 2001-03-16 Alexandre Oliva <aoliva@redhat.com> |
1307 | ||
1308 | * src/gen-num-limits.cc (signal_adapter): Overloaded to match | |
1309 | signal_func with an unspecified argument list. | |
1310 | ||
243baa28 BK |
1311 | 2001-03-15 Benjamin Kosnik <bkoz@redhat.com> |
1312 | ||
1313 | * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++. | |
1314 | ||
15f13f01 GDR |
1315 | 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com> |
1316 | ||
1317 | * include/bits/basic_string.tcc (operator+): Fix thinko. | |
1318 | ||
69302d8b BK |
1319 | 2001-03-14 Benjamin Kosnik <bkoz@redhat.com> |
1320 | ||
1321 | libstdc++/2020 | |
1322 | * include/bits/std_streambuf.h: Remove cached locale facets. | |
1323 | (basic_streambuf::_M_buf_fctype): Remove. | |
1324 | (basic_streambuf::~basic_streambuf): Remove here. | |
1325 | (basic_streambuf::basic_streambuf): Same. | |
1326 | (basic_streambuf::imbue): Same. | |
1327 | * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype. | |
1328 | * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove. | |
1329 | (basic_filebuf::~basic_filebuf()): Remove here. | |
1330 | * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same. | |
1331 | (basic_filebuf::imbue): Same. | |
1332 | * include/bits/localefwd.h (_Count_ones): Remove. | |
1333 | (locale::_S_num_categories): Just use 6, since this doesn't | |
1334 | actually change, ever. | |
1335 | * include/bits/locale_facets.tcc (has_facet): Simplify. | |
1336 | (use_facet): Same. | |
1337 | * testsuite/27_io/filebuf.cc (test06): Add tests. | |
9f4a318c | 1338 | |
816dc708 SE |
1339 | 2001-03-13 Steve Ellcey <sje@cup.hp.com> |
1340 | ||
1341 | * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks | |
1342 | match HP-UX ctype.h header file. | |
1343 | ||
fafcb5c9 AP |
1344 | 2001-03-13 Andris Pavenis <pavenis@latnet.lv> |
1345 | ||
9f4a318c | 1346 | * config/djgpp/bits/ctype_noninline.h: Fix typo and remove |
fafcb5c9 AP |
1347 | duplicate definitions of __dj_ctype_* |
1348 | ||
f68147f7 BK |
1349 | 2001-03-13 Benjamin Kosnik <bkoz@redhat.com> |
1350 | ||
1351 | * libsupc++/new: Remove pragma interface. | |
1352 | * libsupc++/typeinfo: Same. | |
1353 | * libsupc++/exception: Same. | |
9f4a318c | 1354 | * libsupc++/new_handler.cc: Remove pragma implementation. |
f68147f7 BK |
1355 | (bad_alloc::~bad_alloc()): Add. |
1356 | * libsupc++/exception_support.cc: Same. | |
1357 | (exception::~exception): Add. | |
1358 | (bad_exception::~bad_exception): Add. | |
1359 | * libsupc++/tinfo.cc: Same. | |
1360 | (bad_cast::~bad_cast): Add. | |
1361 | (bad_typeid::~bad_typeid): Add. | |
1362 | ||
65aac28a PE |
1363 | 2001-03-13 Phil Edwards <pme@sources.redhat.com> |
1364 | ||
1365 | * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts. | |
1366 | ||
52e8d2b2 FL |
1367 | 2001-03-12 Felix Lee <flee@redhat.com> |
1368 | ||
1369 | * mkcheck.in: workaround for bash 2.01 IFS bug. | |
1370 | ||
db1d582c BK |
1371 | 2001-03-12 Benjamin Kosnik <bkoz@redhat.com> |
1372 | ||
1373 | Fixups for -fno-for-scope | |
1374 | * include/bits/locale_facets.tcc (__match_parallel): Fixup. | |
1375 | * src/valarray-inst.cc (__gslice_to_index): Same. | |
9f4a318c | 1376 | |
e6ff97b1 RB |
1377 | 2001-03-12 Rodney Brown <RodneyBrown@mynd.com> |
1378 | ||
9f4a318c ZW |
1379 | * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush |
1380 | prior to trapping signal (UnixWare 7 workaround). | |
e6ff97b1 | 1381 | |
86c18af9 CR |
1382 | 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net> |
1383 | ||
1384 | * include/backward/hashtable.h: Same. | |
1385 | * include/backward/rope.h: Fix include. | |
1386 | ||
bc4f48d7 BK |
1387 | 2001-03-12 Benjamin Kosnik <bkoz@redhat.com> |
1388 | ||
1877bd89 BK |
1389 | * include/backward/vector.h: Include std_vector.h. |
1390 | ||
bc4f48d7 BK |
1391 | * include/bits/istream.tcc (basic_istream<_CharT, _Traits>& |
1392 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)): | |
1393 | Fix typo. | |
1394 | ||
8f999578 PS |
1395 | 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> |
1396 | ||
9f4a318c ZW |
1397 | * include/ext/stl_hashtable.h: Change type of __n to size_t |
1398 | * include/backward/bvector.h: Include <ext/stl_bvector.h> | |
8f999578 | 1399 | |
0e061da6 BK |
1400 | 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com> |
1401 | ||
1402 | * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>& | |
1403 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)): | |
1404 | Use streamsize, not int_type. | |
1405 | ||
1406 | 2001-03-08 Benjamin Kosnik <bkoz@redhat.com> | |
1407 | ||
1408 | * testsuite/27_io/streambuf.cc (test06): New test, disabled at the | |
1409 | moment. | |
9f4a318c | 1410 | |
c53cf0fe AS |
1411 | 2001-03-08 Andreas Schwab <schwab@suse.de> |
1412 | ||
1413 | * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test | |
1414 | command. | |
9f4a318c | 1415 | * aclocal.m4, configure: Regenerated. |
c53cf0fe | 1416 | |
d32c94be BK |
1417 | 2001-03-07 Benjamin Kosnik <bkoz@redhat.com> |
1418 | ||
1419 | * include/bits/std_iosfwd.h: Remove string forward decls here. | |
1420 | * include/bits/stringfwd.h: Add forward decls for char_traits | |
1421 | specializations. | |
1422 | * config/c_io_libio.h (wstreamoff): Delete. | |
1423 | * config/c_io_stdio.h (wstreamoff): Same. | |
1424 | * include/bits/char_traits.h: Use streamoff not wstreamoff for | |
1425 | char_traits<wchar_t>::off_type. | |
1426 | Remove duplicate typedefs. | |
1427 | * include/bits/fpos.h: Define streampos/wstreampos here. | |
1428 | * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int | |
1429 | values to off_type. | |
1430 | (test05): Same. | |
1431 | Changeup output files. | |
9f4a318c | 1432 | * testsuite/27_io/istream_unformatted.cc: Change output files. |
d32c94be BK |
1433 | * testsuite/27_io/istream_seeks-1.txt: Add. |
1434 | * testsuite/27_io/istream_seeks-2.tst: Add. | |
1435 | * testsuite/27_io/istream_seeks-1.tst: Add. | |
1436 | * testsuite/27_io/istream_unformatted-2.tst: Delete. | |
1437 | * testsuite/27_io/istream_unformatted-3.tst: Delete. | |
1438 | * testsuite/27_io/istream_unformatted-3.txt: Delete. | |
1439 | ||
dd1f09c2 AO |
1440 | 2001-03-07 Alexandre Oliva <aoliva@redhat.com> |
1441 | ||
1442 | Add Irix 5.2, 6.3 support. | |
9f4a318c ZW |
1443 | * config/os/irix/bits: Renamed to... |
1444 | * config/os/irix/irix6.5/bits: this. | |
1445 | * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits. | |
1446 | * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N, | |
1447 | _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros. | |
1448 | * config/os/irix/irix5.2/bits/ctype_noninline.h | |
1449 | (ctype<char>::ctype): Initialize _M_table with __ctype. | |
1450 | * configure.target: Adjust. | |
1451 | ||
2077a6c5 BK |
1452 | 2001-03-06 Benjamin Kosnik <bkoz@redhat.com> |
1453 | ||
1454 | libstdc++/2181 | |
1455 | * include/bits/istream.tcc (basic_istream<_CharT, _Traits>:: | |
1456 | operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use | |
1457 | sentry. | |
1458 | (basic_istream<_CharT, _Traits>:: operator>>(__ios_type& | |
1459 | (*__pf)(__ios_type&)): Same. | |
1460 | (basic_istream<_CharT, _Traits>:: operator>>(ios_base& | |
1461 | (*__pf)(ios_base&))): Same. | |
1462 | * testsuite/27_io/istream_extractor_other.cc: Add tests. | |
1463 | * testsuite/27_io/istream_manip.cc (test01): Fix. | |
9f4a318c ZW |
1464 | |
1465 | 2001-03-06 Nathan Myers <ncm@cantrip.org> | |
d3688a02 NM |
1466 | Benjamin Kosnik <bkoz@redhat.com> |
1467 | ||
1468 | * include/c_std/bits/std_cerrno.h: Don't define errno in std::. | |
1469 | * testsuite/17_intro/header_cerrno.cc (test01): New file. | |
1470 | * testsuite/17_intro/header_cassert.cc (test01): New file. | |
1471 | * testsuite/17_intro/header_cstddef.cc (test01): New file. | |
9f4a318c ZW |
1472 | * testsuite/17_intro/header_csetjmp.cc (test01): New file. |
1473 | * testsuite/17_intro/header_cstdarg.cc (test01): New file. | |
d3688a02 | 1474 | |
21aaf8bf SS |
1475 | 2001-03-05 scott snyder <snyder@fnal.gov> |
1476 | ||
1477 | libstdc++/2190 | |
9f4a318c ZW |
1478 | * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long) |
1479 | from here... | |
1480 | * include/c_std/bits/std_cstdlib.h: ... to here. | |
21aaf8bf | 1481 | * testsuite/17_intro/header_cstdlib.cc: Add test. |
9f4a318c | 1482 | |
f283dc44 SW |
1483 | 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com> |
1484 | ||
1485 | * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t. | |
1486 | ||
e49ceff2 LB |
1487 | 2001-03-05 Laurynas Biveinis <lauras@softhome.net> |
1488 | ||
9f4a318c | 1489 | * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type |
e49ceff2 | 1490 | definition. Replace enum with static const variables. |
9f4a318c | 1491 | |
e49ceff2 LB |
1492 | * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove |
1493 | throw specification, fix typos, use <static_cast>. | |
1494 | (ctype<char>::scan_is): remove throw specification. | |
1495 | (ctype<char>::scan_not): likewise. | |
9f4a318c | 1496 | |
e49ceff2 LB |
1497 | * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo. |
1498 | (ctype<char>::do_toupper(char)): use <static_cast>. | |
1499 | (ctype<char>::do_toupper(char *, const char *)): likewise. | |
1500 | (ctype<char>::do_tolower(char)): likewise. | |
1501 | (ctype<char>::do_tolower(char *, const char *)): likewise. | |
f283dc44 | 1502 | |
d53d7f6e PE |
1503 | 2001-03-04 Phil Edwards <pme@sources.redhat.com> |
1504 | ||
1505 | http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html | |
1506 | * include/backward/algo.h: Use std not __STD. Remove unneeded | |
1507 | macros and "never happens" code. Adjust to C++STYLE guidelines. | |
1508 | * include/backward/algobase.h: Likewise. | |
1509 | * include/backward/alloc.h: Likewise. | |
1510 | * include/backward/bvector.h: Likewise. | |
1511 | * include/backward/deque.h: Likewise. | |
1512 | * include/backward/function.h: Likewise. | |
1513 | * include/backward/hash_map.h: Likewise. | |
1514 | * include/backward/hash_set.h: Likewise. | |
1515 | * include/backward/hashtable.h: Likewise. | |
1516 | * include/backward/heap.h: Likewise. | |
1517 | * include/backward/iterator.h: Likewise. | |
1518 | * include/backward/list.h: Likewise. | |
1519 | * include/backward/map.h: Likewise. | |
1520 | * include/backward/multimap.h: Likewise. | |
1521 | * include/backward/multiset.h: Likewise. | |
1522 | * include/backward/pair.h: Likewise. | |
1523 | * include/backward/rope.h: Likewise. | |
1524 | * include/backward/set.h: Likewise. | |
1525 | * include/backward/slist.h: Likewise. | |
1526 | * include/backward/stack.h: Likewise. | |
1527 | * include/backward/strstream: Likewise. | |
1528 | * include/backward/tempbuf.h: Likewise. | |
1529 | * include/backward/tree.h: Likewise. | |
1530 | * include/backward/vector.h: Likewise. | |
1531 | * include/bits/basic_ios.h: Likewise. | |
1532 | * include/bits/basic_ios.tcc: Likewise. | |
1533 | * include/bits/basic_string.h: Likewise. | |
1534 | * include/bits/c++config: Likewise. | |
1535 | * include/bits/concept_checks.h: Likewise. | |
1536 | * include/bits/fpos.h: Likewise. | |
1537 | * include/bits/fstream.tcc: Likewise. | |
1538 | * include/bits/functexcept.h: Likewise. | |
1539 | * include/bits/ios_base.h: Likewise. | |
1540 | * include/bits/istream.tcc: Likewise. | |
1541 | * include/bits/mask_array.h: Likewise. | |
1542 | * include/bits/ostream.tcc: Likewise. | |
1543 | * include/bits/pthread_allocimpl.h: Likewise. | |
1544 | * include/bits/sbuf_iter.h: Likewise. | |
1545 | * include/bits/slice.h: Likewise. | |
1546 | * include/bits/slice_array.h: Likewise. | |
1547 | * include/bits/sstream.tcc: Likewise. | |
1548 | * include/bits/std_bitset.h: Likewise. | |
1549 | * include/bits/std_fstream.h: Likewise. | |
1550 | * include/bits/std_iomanip.h: Likewise. | |
1551 | * include/bits/std_ios.h: Likewise. | |
1552 | * include/bits/std_istream.h: Likewise. | |
1553 | * include/bits/std_iterator.h: Likewise. | |
1554 | * include/bits/std_memory.h: Likewise. | |
1555 | * include/bits/std_ostream.h: Likewise. | |
1556 | * include/bits/std_sstream.h: Likewise. | |
1557 | * include/bits/std_streambuf.h: Likewise. | |
1558 | * include/bits/std_string.h: Likewise. | |
1559 | * include/bits/std_valarray.h: Likewise. | |
1560 | * include/bits/stl_algo.h: Likewise. | |
1561 | * include/bits/stl_algobase.h: Likewise. | |
1562 | * include/bits/stl_alloc.h: Likewise. | |
1563 | * include/bits/stl_construct.h: Likewise. | |
1564 | * include/bits/stl_deque.h: Likewise. | |
1565 | * include/bits/stl_function.h: Likewise. | |
1566 | * include/bits/stl_heap.h: Likewise. | |
1567 | * include/bits/stl_iterator.h: Likewise. | |
1568 | * include/bits/stl_iterator_base.h: Likewise. | |
1569 | * include/bits/stl_list.h: Likewise. | |
1570 | * include/bits/stl_map.h: Likewise. | |
1571 | * include/bits/stl_multimap.h: Likewise. | |
1572 | * include/bits/stl_multiset.h: Likewise. | |
1573 | * include/bits/stl_numeric.h: Likewise. | |
1574 | * include/bits/stl_pair.h: Likewise. | |
1575 | * include/bits/stl_pthread_alloc.h: Likewise. | |
1576 | * include/bits/stl_queue.h: Likewise. | |
1577 | * include/bits/stl_raw_storage_iter.h: Likewise. | |
1578 | * include/bits/stl_relops.h: Likewise. | |
1579 | * include/bits/stl_set.h: Likewise. | |
1580 | * include/bits/stl_stack.h: Likewise. | |
1581 | * include/bits/stl_tempbuf.h: Likewise. | |
1582 | * include/bits/stl_threads.h: Likewise. | |
1583 | * include/bits/stl_tree.h: Likewise. | |
1584 | * include/bits/stl_uninitialized.h: Likewise. | |
1585 | * include/bits/stl_vector.h: Likewise. | |
1586 | * include/bits/streambuf.tcc: Likewise. | |
1587 | * include/bits/type_traits.h: Likewise. | |
1588 | * include/bits/valarray_meta.h: Likewise. | |
1589 | * include/ext/bvector: Likewise. | |
1590 | * include/ext/hash_map: Likewise. | |
1591 | * include/ext/hash_set: Likewise. | |
1592 | * include/ext/ropeimpl.h: Likewise. | |
1593 | * include/ext/slist: Likewise. | |
1594 | * include/ext/stl_bvector.h: Likewise. | |
1595 | * include/ext/stl_hash_fun.h: Likewise. | |
1596 | * include/ext/stl_hashtable.h: Likewise. | |
1597 | * include/ext/stl_rope.h: Likewise. | |
1598 | * src/complex_io.cc: Likewise. | |
1599 | * src/ios.cc: Likewise. | |
1600 | * src/locale-inst.cc: Likewise. | |
1601 | * src/locale.cc: Likewise. | |
1602 | * src/localename.cc: Likewise. | |
1603 | * src/misc-inst.cc: Likewise. | |
1604 | * src/stdexcept.cc: Likewise. | |
1605 | * src/stl-inst.cc: Likewise. | |
1606 | * src/strstream.cc: Likewise. | |
1607 | * src/valarray-inst.cc: Likewise. | |
1608 | ||
4073aad5 BK |
1609 | 2001-03-03 Benjamin Kosnik <bkoz@redhat.com> |
1610 | ||
1611 | * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha. | |
1612 | ||
4cacbdf2 BK |
1613 | 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> |
1614 | ||
9f4a318c | 1615 | * include/bits/istream.tcc: change type of __extracted to __size_type |
4cacbdf2 BK |
1616 | |
1617 | 2001-03-02 Benjamin Kosnik <bkoz@redhat.com> | |
1618 | ||
1619 | * src/wstring-inst.cc: New file. | |
1620 | * src/Makefile.am (EXTRA_LTLIBRARIES): Remove. | |
1621 | (libinst_wstring_la_SOURCES): Remove. | |
1622 | (libstdc___la_LIBADD): Remove libinst_wstring_la. | |
1623 | (sources): Add wstring-inst.cc | |
1624 | * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove | |
1625 | libinst_wstring_la. | |
1626 | ||
758c46c9 PS |
1627 | 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> |
1628 | ||
9f4a318c ZW |
1629 | * src/locale.cc: initialise __ret with zero |
1630 | * src/strstream.cc:cast gptr to int_type | |
758c46c9 | 1631 | |
a810c642 PE |
1632 | 2001-03-01 Phil Edwards <pme@sources.redhat.com> |
1633 | ||
1634 | * docs/html/faq/index.html: Update broken links. | |
1635 | * docs/html/faq/index.txt: Regenerated. | |
1636 | ||
c14fe26a BK |
1637 | 2001-02-28 Benjamin Kosnik <bkoz@redhat.com> |
1638 | ||
1639 | libstdc++/2064 | |
1640 | * configure.target: Change irix* to irix6.5* in target_os table. | |
1641 | ||
e08838ac BK |
1642 | 2001-02-28 Benjamin Kosnik <bkoz@redhat.com> |
1643 | ||
1644 | libstdc++/2103 | |
1645 | * include/bits/c++config (__GLIBCPP__): Bump number in | |
1646 | anticipation of 2.92. | |
1647 | ||
1648 | * include/bits/codecvt.h: Fix typo. | |
1649 | * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for | |
1650 | stdio model. | |
1651 | * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t | |
1652 | instantiations for stdio model. | |
1653 | ||
5e3cbe0b PE |
1654 | 2001-02-28 Phil Edwards <pme@sources.redhat.com> |
1655 | ||
1656 | * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS | |
1657 | and GLIBCPP_CXXFLAGS as unused variables. | |
1658 | * configure.host: Likewise. | |
1659 | * configure.target: Likewise. | |
1660 | * aclocal.m4: Regenerated. | |
1661 | * configure: Regenerated. | |
1662 | * Makefile.in: Regenerated. | |
1663 | * libio/Makefile.in: Regenerated. | |
1664 | * libmath/Makefile.in: Regenerated. | |
1665 | * libsupc++/Makefile.in: Regenerated. | |
1666 | * src/Makefile.in: Regenerated. | |
1667 | ||
c0a26060 BK |
1668 | 2001-02-27 Benjamin Kosnik <bkoz@redhat.com> |
1669 | ||
1670 | libstdc++/1886 | |
1671 | * include/bits/basic_file.h: Include basic_file_model.h. | |
1672 | * config/c_io_libio.cc: Move to... | |
1673 | * config/basic_file_libio.cc: Here. | |
1674 | * config/basic_file_libio.h: New file. | |
1675 | * config/c_io_stdio.cc: Move to... | |
1676 | * config/basic_file_stdio.cc: Here. | |
1677 | * config/basic_file_stdio.h: New file. | |
1678 | * config/c_io_libio.h: Tweak. | |
1679 | * config/c_io_stdio.h: Tweak. | |
1680 | * src/Makefile.am (build_headers): Add basic_file_model.h. | |
1681 | (sources): Add basic_file.cc, remove c++io.cc. | |
1682 | * src/Makefile.in: Regenerate. | |
1683 | * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for | |
1684 | basic_file_model.h and basic_file.cc. | |
1685 | * aclocal.m4: Regenerate. | |
1686 | * configure: Regenerate. | |
1687 | * testsuite/27_io/filebuf.cc (test05): Add regression. | |
9f4a318c | 1688 | |
a29456b5 BK |
1689 | 2001-02-27 Benjamin Kosnik <bkoz@redhat.com> |
1690 | ||
1691 | Correct license. | |
1692 | * config/cpu/alpha/bits/atomicity.h: Change. | |
758c46c9 | 1693 | * config/cpu/arm/bits/atomicit3y.h |
a29456b5 BK |
1694 | * config/cpu/generic/bits/atomicity.h |
1695 | * config/cpu/i386/bits/atomicity.h | |
1696 | * config/cpu/i486/bits/atomicity.h | |
1697 | * config/cpu/ia64/bits/atomicity.h | |
1698 | * config/cpu/powerpc/bits/atomicity.h | |
1699 | * config/cpu/sparc/sparc32/bits/atomicity.h | |
1700 | * config/cpu/sparc/sparc64/bits/atomicity.h | |
1701 | * config/os/aix/bits/atomicity.h | |
1702 | * config/os/irix/bits/atomicity.h | |
1703 | ||
0db54514 BK |
1704 | 2001-02-27 Benjamin Kosnik <bkoz@redhat.com> |
1705 | ||
9dd3d53c BK |
1706 | * include/bits/std_stdexcept.h (runtime_error): Make string |
1707 | member non-const. | |
1708 | (logic_error): Same. | |
1709 | * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test. | |
1710 | (test03): Fix. | |
0db54514 | 1711 | |
0349df29 BK |
1712 | 2001-02-26 Benjamin Kosnik <bkoz@redhat.com> |
1713 | ||
1714 | libstdc++/1972 | |
1715 | libstdc++/2089 | |
1716 | * include/bits/std_stdexcept.h (logic_error::logic_error): Use | |
1717 | string object, not reference. | |
1718 | (runtime_error::runtime_error): Same. | |
1719 | * testsuite/19_diagnostics/stdexceptions.cc: New file. | |
1720 | ||
6a163d7c PE |
1721 | 2001-02-26 Phil Edwards <pme@sources.redhat.com> |
1722 | ||
1723 | * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version. | |
1724 | (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new | |
1725 | diagnostics. Remove WFMT_FLAGS. | |
1726 | * configure.in: Replace WFMT_FLAGS with diagnostics options. | |
1727 | * libsupc++/Makefile.am: Likewise. | |
1728 | * src/Makefile.am: Likewise. | |
1729 | * aclocal.m4: Regenerated. | |
1730 | * configure: Regenerated. | |
1731 | * Makefile.in: Regenerated. | |
1732 | * libio/Makefile.in: Regenerated. | |
1733 | * libmath/Makefile.in: Regenerated. | |
1734 | * libsupc++/Makefile.in: Regenerated. | |
1735 | * src/Makefile.in: Regenerated. | |
1736 | ||
a0086436 PE |
1737 | 2001-02-26 Phil Edwards <pme@sources.redhat.com> |
1738 | ||
1739 | Fixes libstdc++/2079 | |
1740 | * include/backward/iomanip.h: Expose <ios> manipulators to global | |
1741 | namespace. | |
1742 | * include/backward/iostream.h: Also expose std::ws. | |
1743 | ||
f5500e44 GF |
1744 | 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com> |
1745 | ||
1746 | * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko. | |
1747 | ||
8ac2677f BK |
1748 | 2001-02-23 Benjamin Kosnik <bkoz@redhat.com> |
1749 | ||
1750 | * include/bits/codecvt.h: Use __builtin_alloca. | |
1751 | * include/bits/ostream.tcc: Same. | |
1752 | * include/bits/fstream.tcc: Same. | |
1753 | ||
cd33b1d7 AO |
1754 | 2001-02-23 Alexandre Oliva <aoliva@redhat.com> |
1755 | ||
1756 | * mknumeric_limits (CC): Use VAR=${VAR=...} form. | |
1757 | ||
eb5bc1fa DE |
1758 | 2001-02-23 David Edelsohn <dje@watson.ibm.com> |
1759 | ||
1760 | * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc | |
1761 | ||
12961d65 PE |
1762 | 2001-02-23 Phil Edwards <pme@sources.redhat.com> |
1763 | ||
1764 | c++/2052 | |
1765 | * include/backward/iostream.h: Expose std::flush in old headers. | |
1766 | ||
487f1450 GDR |
1767 | 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com> |
1768 | ||
1769 | * mknumeric_limits: Remove special-casing on target. Use gcc | |
1770 | instead of g++ to build gen-num-limits.cc | |
1771 | ||
6259cad9 BK |
1772 | 2001-02-22 Benjamin Kosnik <bkoz@redhat.com> |
1773 | ||
1774 | * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir. | |
1775 | ||
1776 | * include/bits/codecvt.h: Use alloca instead of __extension__ for | |
1777 | the time being. | |
1778 | * include/bits/ostream.tcc: Same. | |
1779 | * include/bits/std_ostream.h: Same. | |
1780 | * include/bits/fstream.tcc: Same. | |
1781 | * include/bits/locale_facets.tcc: Add typename. | |
1782 | * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable. | |
1783 | ||
c2aa93b5 PE |
1784 | 2001-02-21 Phil Edwards <pme@sources.redhat.com> |
1785 | ||
1786 | * tests_flags.in: Remove -n flag from call to echo. | |
1787 | ||
3d71e6ce BK |
1788 | 2001-02-20 Benjamin Kosnik <bkoz@redhat.com> |
1789 | ||
1790 | * config/c_locale_gnu.h: Add clocale include. | |
1791 | ||
9cfeea6e PE |
1792 | 2001-02-20 Phil Edwards <pme@sources.redhat.com> |
1793 | ||
1794 | * include/bits/stl_config.h: Remove file. | |
1795 | * src/Makefile.am (base_headers): Remove from list. | |
1796 | * configure: Regenerate. | |
1797 | * Makefile.in: Ditto. | |
1798 | * libio/Makefile.in: Ditto. | |
1799 | * libmath/Makefile.in: Ditto. | |
1800 | * libsupc++/Makefile.in: Ditto. | |
1801 | * src/Makefile.in: Ditto. | |
1802 | ||
1803 | * include/bits/c++config: Move relevant macros to here. | |
1804 | * include/backward/alloc.h: Include c++config.h instead. | |
1805 | * include/backward/function.h: Ditto. | |
1806 | * include/backward/heap.h: Ditto. | |
1807 | * include/backward/pair.h: Ditto. | |
1808 | * include/bits/pthread_allocimpl.h: Ditto. | |
1809 | * include/bits/std_functional.h: Ditto. | |
1810 | * include/bits/std_iterator.h: Ditto. | |
1811 | * include/bits/std_numeric.h: Ditto. | |
1812 | * include/bits/std_utility.h: Ditto. | |
1813 | * include/bits/stl_algobase.h: Ditto. | |
1814 | * include/bits/type_traits.h: Ditto. | |
1815 | * src/stl-inst.cc: Ditto. | |
1816 | ||
b0a85b86 GDR |
1817 | 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com> |
1818 | ||
1819 | * include/bits/basic_file.h: Add #pragma system_header | |
1820 | * include/bits/basic_ios.h: Ditto. | |
1821 | * include/bits/basic_string.h: Ditto. | |
1822 | * include/bits/char_traits.h: Ditto. | |
1823 | * include/bits/codecvt.h: Ditto. | |
1824 | * include/bits/cpp_type_traits.h: Ditto. | |
1825 | * include/bits/fpos.h: Ditto. | |
1826 | * include/bits/gslice.h: Ditto. | |
1827 | * include/bits/gslice_array.h: Ditto. | |
1828 | * include/bits/indirect_array.h: Ditto. | |
1829 | * include/bits/ios_base.h: Ditto. | |
1830 | * include/bits/limits_generic.h: Ditto. | |
1831 | * include/bits/locale_facets.h: Ditto. | |
1832 | * include/bits/localefwd.h: Ditto. | |
1833 | * include/bits/mask_array.h: Ditto. | |
1834 | * include/bits/sbuf_iter.h: Ditto. | |
1835 | * include/bits/sequence_concepts.h: Ditto. | |
1836 | * include/bits/slice.h: Ditto. | |
1837 | * include/bits/slice_array.h: Ditto. | |
1838 | * include/bits/std_algorithm.h: Likewise. | |
1839 | * include/bits/std_bitset.h: Likewise. | |
1840 | * include/bits/std_complex.h: Likewise. | |
1841 | * include/bits/std_deque.h: Likewise. | |
1842 | * include/bits/std_fstream.h: Likewise. | |
1843 | * include/bits/std_functional.h: Likewise. | |
1844 | * include/bits/std_iomanip.h: Likewise. | |
1845 | * include/bits/std_ios.h: Likewise. | |
1846 | * include/bits/std_iosfwd.h: Likewise. | |
1847 | * include/bits/std_iostream.h: Likewise. | |
1848 | * include/bits/std_istream.h: Likewise. | |
1849 | * include/bits/std_iterator.h: Likewise. | |
1850 | * include/bits/std_list.h: Likewise. | |
1851 | * include/bits/std_locale.h: Likewise. | |
1852 | * include/bits/std_map.h: Likewise. | |
1853 | * include/bits/std_memory.h: Likewise. | |
1854 | * include/bits/std_numeric.h: Likewise. | |
1855 | * include/bits/std_ostream.h: Likewise. | |
1856 | * include/bits/std_queue.h: Likewise. | |
1857 | * include/bits/std_set.h: Likewise. | |
1858 | * include/bits/std_sstream.h: Likewise. | |
1859 | * include/bits/std_stack.h: Likewise. | |
1860 | * include/bits/std_stdexcept.h: Likewise. | |
1861 | * include/bits/std_streambuf.h: Likewise. | |
1862 | * include/bits/std_string.h: Likewise. | |
1863 | * include/bits/std_utility.h: Likewise. | |
1864 | * include/bits/std_valarray.h: Likewise. | |
1865 | * include/bits/std_vector.h: Likewise. | |
1866 | * include/bits/stringfwd.h: Likewise. | |
1867 | * include/bits/type_traits.h: Likewise. | |
1868 | * include/bits/valarray_array.h: Likewise. | |
1869 | * include/bits/valarray_meta.h: Likewise. | |
1870 | ||
c62ea795 AJ |
1871 | 2001-02-19 Andreas Jaeger <aj@suse.de> |
1872 | ||
1873 | * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap): | |
1874 | Fix typo. | |
1875 | ||
f5d3e93f GB |
1876 | 2001-02-16 Greg Bumgardner <bumgard@roguewave.com> |
1877 | ||
1878 | libstdc++/1734 | |
9f4a318c ZW |
1879 | * include/bits/std_ostream.h: Replaced usage of |
1880 | _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3. | |
1881 | * include/bits/char_traits.h: Removed non-standard | |
1882 | methods that cannot be used elsewhere. | |
1883 | ||
f5d3e93f | 1884 | libstdc++/1885 |
9f4a318c ZW |
1885 | * include/bits/basic_ios.h: Uncommented #include of |
1886 | bits/basic_ios.tcc | |
1887 | ||
f5d3e93f | 1888 | libstdc++/1897 |
9f4a318c ZW |
1889 | * include/bits/codecvt.h: See next... |
1890 | * include/bits/fstream.tcc: See next... | |
1891 | * include/bits/ostream.tcc: Add __extension__ | |
1892 | to variable-length arrays. | |
1893 | ||
f5d3e93f | 1894 | libstdc++/1967 |
9f4a318c | 1895 | * include/bits/localefwd.h: Changed int counter type to size_t. |
f5d3e93f GB |
1896 | |
1897 | libstdc++/1968 | |
9f4a318c | 1898 | * include/bits/std_fstream.h: Added typedef for __ctype_type. |
f5d3e93f | 1899 | |
b8f971fc BK |
1900 | 2001-02-16 Benjamin Kosnik <bkoz@redhat.com> |
1901 | ||
1902 | * testsuite/21_strings/char_traits.cc: Move to ... | |
1903 | * testsuite/21_strings/char_traits_requirements.cc: ..here. | |
1904 | * testsuite/21_strings/char_traits-int_type.cc: Move to ... | |
1905 | * testsuite/21_strings/char_traits_typedefs.cc: ..here. | |
1906 | ||
f0217d41 GDR |
1907 | 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com> |
1908 | ||
1909 | * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro | |
9f4a318c | 1910 | definitions. |
f0217d41 | 1911 | |
63100912 BK |
1912 | 2001-02-15 Benjamin Kosnik <bkoz@redhat.com> |
1913 | ||
1914 | * include/bits/c++config: Revert. | |
1915 | ||
bcd0cabb MM |
1916 | 2001-02-15 Mark Mitchell <mark@codesourcery.com> |
1917 | ||
1918 | * include/bits/istream.tcc: Use ios_base::iostate in place of | |
1919 | iostate throughout. Insert `typename' keyword where necessary. | |
1920 | * include/bits/ostream.tcc: Insert `typename' keyword where | |
1921 | necessary. | |
9f4a318c | 1922 | |
e6ec3b2a | 1923 | 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com> |
e4df3e48 | 1924 | |
9f4a318c ZW |
1925 | * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): |
1926 | Define so library is compliant. | |
e4df3e48 | 1927 | |
729338bb AG |
1928 | 2001-02-15 Anthony Green <green@redhat.com> |
1929 | ||
9f4a318c ZW |
1930 | * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross |
1931 | compilation. | |
1932 | * aclocal.m4: Regenerate. | |
1933 | * configure: Regenerate. | |
729338bb | 1934 | |
01a49191 RB |
1935 | 2001-02-15 Rodney Brown <RodneyBrown@mynd.com> |
1936 | ||
9f4a318c ZW |
1937 | * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): |
1938 | Include ieeefp.h for fpclass on UnixWare{2,7}. | |
01a49191 RB |
1939 | * aclocal.m4: Regenerate. |
1940 | * configure: Regenerate. | |
9f4a318c ZW |
1941 | * mkcheck.in (size_command): Do without GNU-grep when using |
1942 | size from binutils. | |
01a49191 | 1943 | |
94083e5d MM |
1944 | 2001-02-15 Mark Mitchell <mark@codesourcery.com> |
1945 | ||
1946 | Remove old ABI support from libsupc++. | |
1947 | * libsupc++/cxxabi.h: Remove conditionally compiled code. | |
1948 | * libsupc++/exception_support.cc: Likewise. | |
1949 | * libsupc++/pure.cc: Likewise. | |
1950 | * libsupc++/tinfo.cc: Likewise. | |
1951 | * libsupc++/tinfo.h: Likewise. | |
1952 | * libsupc++/tinfo2.cc: Likewise. | |
1953 | * libsupc++/typeinfo: Likewise. | |
1954 | * libsupc++/vec.cc: Likewise. | |
1955 | ||
e2c09482 BK |
1956 | 2001-02-15 Benjamin Kosnik <bkoz@redhat.com> |
1957 | ||
1958 | Add support for -fno-exceptions. | |
1959 | * include/bits/exception_support.h: Remove. | |
1960 | * include/bits/basic_string.h: Remove exception_support. | |
1961 | (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range. | |
1962 | (string::at): Same. | |
1963 | (string::substr): Same. | |
1964 | * include/bits/basic_string.tcc (string::reserve): Replace | |
1965 | __LENGTHERROR with __throw_length_error. | |
1966 | (string::_S_create): Same. | |
1967 | (string::resize): Same. | |
1968 | (string::_M_replace): Same. | |
1969 | (string::replace): Same. | |
1970 | (string::copy): Replace __OUTOFRANGE with __throw_out_of_range. | |
1971 | (string::compare): Same. | |
1972 | * include/bits/stl_vector.h: Remove exception_support. | |
1973 | * src/Makefile.am (base_headers): Remove here. | |
1974 | * src/Makefile.in: Regenerate. | |
1975 | ||
1976 | * include/bits/stl_range_errors.h: Remove. | |
1977 | * include/bits/stl_deque.h: Use __throw_range_error. | |
1978 | * include/bits/std_deque.h: Include functexcept.h. | |
1979 | * include/bits/std_vector.h: Same. | |
1980 | * src/Makefile.am (base_headers): Remove here. | |
1981 | * src/Makefile.in: Regenerate. | |
1982 | * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error. | |
1983 | * include/ext/bvector: Remove stl_range_errors.h | |
1984 | ||
1985 | * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove. | |
1986 | ||
1987 | * include/bits/functexcept.h: New file. | |
1988 | * src/functexcept.cc: New file. Definitions for function-based | |
1989 | exception routines. | |
1990 | * src/Makefile.am (sources): Add functexcept.cc. | |
1991 | * src/Makefile.in: Regenerate. | |
1992 | ||
1993 | * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with | |
1994 | __EXCEPTIONS. | |
1995 | ||
1996 | * include/bits/localefwd.h: Include functexcept.h. | |
1997 | * include/bits/std_iosfwd.h: Same. | |
1998 | ||
1999 | * include/bits/basic_ios.h: Use __throw_ios_failure instead of | |
2000 | throw basic_ios::failure. | |
2001 | * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): | |
2002 | Use __throw_exception_again. | |
2003 | (filebuf::_M_filebuf_init): Same. | |
2004 | * include/bits/streambuf.tcc (__copy_streambufs): Same. | |
2005 | * include/bits/ostream.tcc (ostream::operator<<): Same. | |
2006 | * include/bits/istream.tcc (istream::operator>>): Same. | |
2007 | * include/bits/basic_string.tcc (string::_M_mutate): Same. | |
2008 | (string::_S_construct): Same. | |
2009 | (string::_M_clone): Same. | |
2010 | * include/bits/locale_facets.tcc (use_facet(const locale&)): Use | |
2011 | __throw_bad_cast. | |
2012 | (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again. | |
2013 | * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use | |
2014 | __throw_exception_again. | |
2015 | (locale::_Imp::_Imp(string, size_t): Same. | |
2016 | (locale::_Imp::_M_replace_facet): Use __throw_runtime_error. | |
2017 | * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again. | |
2018 | (locale::locale(const char*)): Use __throw_runtime_error. | |
2019 | (locale::classic): Use __throw_exception_again. | |
2020 | (locale::_S_normalize_category): Use __throw_runtime_error. | |
2021 | ||
2022 | * src/stdexcept.cc: Remove cruft. | |
2023 | ||
2024 | * libsupc++/exception_defines.h: New file. | |
2025 | * libsupc++/new_opnt.cc: Include exception_defines.h. | |
2026 | * libsupc++/vec.cc: Same. | |
2027 | (__cxa_vec_new2): Use __throw_exception_again. | |
2028 | (__cxa_vec_new3): Same. | |
2029 | (__cxa_vec_ctor): Same. | |
2030 | (__cxa_vec_delete3): Same. | |
2031 | (__cxa_vec_cctor): Same. | |
2032 | (__cxa_vec_delete2): Same. | |
2033 | (__cxa_vec_dtor): Same. | |
2034 | * libsupc++/exception_support.cc: Include exception_defines.h. Only | |
2035 | compile exception-handling bits if __EXCEPTIONS is defined. | |
2036 | Remove old ABI support. | |
2037 | * libsupc++/new_op.cc (new): Include exception_defines.h. Use | |
2038 | std::__throw_bad_alloc() instead of throw bad_alloc. | |
2039 | * libsupc++/Makefile.am: Add exception_defines.h. | |
2040 | * libsupc++/Makefile.in: Reformat. | |
2041 | * libsupc++/*: Format. | |
2042 | ||
777c9517 PE |
2043 | 2001-02-15 Phil Edwards <pme@sources.redhat.com> |
2044 | ||
2045 | * docs/html/configopts.html: Minor updates and typo fixes. | |
2046 | * docs/html/faq/index.html: Updates of the "not really bugs" list. | |
2047 | * docs/html/faq/index.txt: Regenerated. | |
2048 | ||
78e3e6ac GDR |
2049 | 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com> |
2050 | ||
2051 | * testsuite/lib/libstdc++.exp: Lift, temporarily, out of | |
9f4a318c | 2052 | dejagnu/dg.exp. Adapt to log options used to run testcases. |
78e3e6ac GDR |
2053 | |
2054 | 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com> | |
2055 | ||
2056 | * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from | |
2057 | dejagnu/dg.exp. | |
2058 | ||
f4483e85 | 2059 | 2001-02-13 Dirk Mueller <dmuell@gmx.net> |
9f4a318c | 2060 | Phil Edwards <pme@sources.redhat.com> |
f4483e85 DM |
2061 | |
2062 | * include/backward/function.h: Do not use rel_ops for older | |
2063 | headers either. | |
2064 | * include/backward/pair.h: Likewise. | |
2065 | ||
11662aaa MM |
2066 | 2001-02-12 Mark Mitchell <mark@codesourcery.com> |
2067 | ||
2068 | * src/locale.cc: Remove bogus locale::id definitions. | |
2069 | ||
169ef01c GDR |
2070 | 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com> |
2071 | ||
1c7c97cc GDR |
2072 | * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR, |
2073 | not _DEFINE_VALARRAY_OPERATOR which is not existent. | |
2074 | ||
169ef01c GDR |
2075 | * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix |
2076 | thinko in member initialisation. | |
2077 | ||
d2155bfe GDR |
2078 | 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com> |
2079 | ||
2080 | * include/bits/std_valarray.h(valarray<>::shift): Avoid | |
2081 | comparaison between signed and unsigned integer types. | |
2082 | (valarray<>::cshift): Reformat. | |
2083 | ||
48dbafe4 AO |
2084 | 2001-02-11 Alexandre Oliva <aoliva@redhat.com> |
2085 | ||
2086 | * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available. | |
2087 | * mknumeric_limits: Compile it with -DHAVE_CONFIG_H. | |
2088 | * configure.in: Test for sigsetjmp. | |
2089 | * configure, config.h.in: Rebuilt. | |
2090 | ||
8db47d74 GDR |
2091 | 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com> |
2092 | ||
9f4a318c | 2093 | * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip |
8db47d74 GDR |
2094 | lengths and strides. |
2095 | (__gslice_to_index): Document. | |
2096 | ||
b80253d7 GDR |
2097 | 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com> |
2098 | ||
2099 | * include/bits/char_traits.h char_traits<char>::int_type: Change | |
2100 | to `int' to match 21.1.3.1/2. | |
2101 | ||
2102 | * testsuite/21_strings/char_traits-int_type.C: New test. | |
2103 | ||
7f98c6bc GDR |
2104 | 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com> |
2105 | ||
2106 | * testsuite/Makefile.am: New file. | |
2107 | ||
929408ba NS |
2108 | 2001-02-09 Nathan Sidwell <nathan@codesourcery.com> |
2109 | ||
2110 | * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo. | |
2111 | ||
ab7a43d8 BK |
2112 | 2001-02-08 Loren J. Rittle <ljrittle@acm.org> |
2113 | ||
9f4a318c | 2114 | * src/locale-inst.cc (fill_n): Instantiate with size_t arguments. |
ab7a43d8 BK |
2115 | |
2116 | 2001-02-08 David Edelsohn <edelsohn@gnu.org> | |
527b03ed DE |
2117 | |
2118 | * configure.target (aix4*): Remove extra set of brackets. | |
2119 | ||
0c952af3 BK |
2120 | 2001-02-07 Benjamin Kosnik <bkoz@redhat.com> |
2121 | ||
2122 | Clean up stdexcept. | |
2123 | * include/bits/stringfwd.h: New file. | |
2124 | * include/bits/stl_string_fwd.h: Remove. | |
2125 | * include/bits/localefwd.h: Remove declaration for allocator. | |
2126 | * include/bits/std_iosfwd: Same. | |
2127 | * include/bits/std_string.h: Include it. | |
2128 | * include/bits/std_ios.h: Remove include. | |
2129 | * include/bits/basic_string.h: Tweak. | |
2130 | * libsupc++/new: Format. | |
2131 | * src/Makefile.am (base_headers): Add stringfwd.h, remove | |
2132 | stl_string_fwd.h | |
2133 | * src/Makefile.in: Regenerate. | |
2134 | * include/bits/std_stdexcept.h: Rewrite. | |
2135 | * src/stdexcept.cc: Same. | |
9f4a318c | 2136 | |
64c8ea24 | 2137 | 2001-02-06 Benjamin Kosnik <bkoz@redhat.com> |
72ed2836 BK |
2138 | |
2139 | * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library | |
2140 | install locations too. | |
64c8ea24 | 2141 | * aclocal.m4: Regenerate. |
72ed2836 BK |
2142 | * configure.in: Remove USE_LIBDIR. |
2143 | * configure: Regenerate. | |
2144 | * src/Makefile.am (toolexecdir): Simplify, use | |
2145 | glibcpp_toolexecdir, glibcpp_toolexeclibdir. | |
2146 | * src/Makefile.in: Regenerate. | |
2147 | * libsupc++/Makefile.am: Same. | |
2148 | * libsupc++/Makefile.in: Regenerate. | |
2149 | ||
2150 | * src/Makefile.am: Just remove special rules for locale-inst.cc and | |
2151 | misc-inst.cc as no longer necessary. | |
2152 | ||
2153 | Follow C++STYLE for naming non-static functions. | |
2154 | * include/bits/ostream.tcc (_S_pad_char): Not static, rename to | |
2155 | __pad_char. | |
2156 | * include/bits/streambuf.tcc: Same. | |
2157 | * include/bits/ostream.tcc: Same. | |
2158 | * include/bits/istream.tcc: Same. | |
2159 | * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric. | |
2160 | (_S_output_float): To __output_float. | |
2161 | * include/bits/std_streambuf.h (_S_copy_streambufs): To | |
2162 | __copy_streambufs. | |
2163 | * include/bits/locale_facets.tcc (_S_build_float_format): To | |
2164 | __build_float_format. | |
2165 | (_S_format): To __output_integer. | |
2166 | (_S_fill): To __pad. | |
2167 | * src/locale.cc: Same. | |
2168 | * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct | |
2169 | names. | |
2170 | * include/bits/locale_facets.tcc (_S_group_digits): To | |
2171 | __group_digits. | |
2172 | * src/locale-inst.cc: Fixup names. Add use_facet instantiations | |
2173 | for collate, numpunct. | |
9f4a318c | 2174 | |
222bb619 PE |
2175 | 2001-02-06 Phil Edwards <pme@sources.redhat.com> |
2176 | ||
2177 | * docs/html/configopts.html: Fix HTML markup. | |
2178 | * docs/html/install.html: Bring up to date. | |
2179 | * docs/html/17_intro/C++STYLE: Add global variable conventions. | |
2180 | * docs/html/21_strings/howto.html: More notes. | |
2181 | * docs/html/22_locale/howto.html: Fix HTML markup. | |
2182 | * docs/html/27_io/howto.html: More notes. | |
2183 | * docs/html/27_io/binary_iostreams_kanze.txt: New file. | |
2184 | * docs/html/27_io/binary_iostreams_kuehl.txt: New file. | |
2185 | ||
9fbbdc9f JO |
2186 | 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com> |
2187 | ||
2188 | * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters | |
2189 | to match header files. | |
2190 | (_S_output_float): Likewise. | |
2191 | (_S_copy_streambufs): Likewise. | |
2192 | ||
3f0d0909 | 2193 | 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com> |
9f4a318c | 2194 | Phil Edwards <pme@sources.redhat.com> |
0cc21532 HR |
2195 | |
2196 | * include/bits/std_istream.h (op>> signed,unsigned char): Must | |
2197 | use reinterpret_cast, not static_cast. | |
2198 | ||
e9a393e6 BK |
2199 | 2001-02-06 Benjamin Kosnik <bkoz@redhat.com> |
2200 | ||
2201 | * acinclude.m4 (gxx_include_dir): Quote, fix regression. | |
2202 | * aclocal.m4: Regenerate. | |
2203 | * configure: Regenerate. | |
9f4a318c | 2204 | |
e9a393e6 | 2205 | 2001-02-05 Benjamin Kosnik <bkoz@redhat.com> |
0a1cceea BK |
2206 | |
2207 | * include/bits/locale_facets.h (class moneypunct): Fix typos. | |
f84e0dd3 | 2208 | * libsupc++/pure.cc: Revert. |
0a1cceea | 2209 | |
e9a393e6 | 2210 | 2001-02-05 Benjamin Kosnik <bkoz@redhat.com> |
f8db4f20 BK |
2211 | |
2212 | * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro. | |
2213 | (GLIBCPP_CHECK_MATH_DECL_2): New macro. | |
2214 | (GLIBCPP_CHECK_MATH_DECL_3): New macro. | |
2215 | (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too. | |
2216 | (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same. | |
2217 | (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same. | |
2218 | (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions. | |
2219 | * aclocal.m4: Regenerate. | |
2220 | * configure: Regenerate. | |
9f4a318c | 2221 | |
bf6adbe2 MM |
2222 | 2001-02-05 Mark Mitchell <mark@codesourcery.com> |
2223 | ||
2224 | * include/bits/locale_facets.tcc: Remove `static' keyword on | |
2225 | function definitions. | |
2226 | * include/bits/std_streambuf.h: Likewise. | |
2227 | * src/Makefile.am: Remove use of -fimplicit-templates. | |
2228 | * src/Makefile.in: Regenerated. | |
2229 | * src/locale-inst.cc: Explicitly instantiate more functions. | |
72ed2836 | 2230 | * src/misc-inst.cc: Likewise. |
bf6adbe2 | 2231 | * src/string-inst.cc: Likewise. |
f8db4f20 | 2232 | |
43ba4a58 BK |
2233 | 2001-02-05 Benjamin Kosnik <bkoz@redhat.com> |
2234 | ||
2235 | * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New | |
2236 | macro. Consolidate all the bits to do with where includes might be | |
2237 | installed. | |
2238 | * aclocal.m4: Regenerate. | |
2239 | * configure.in: Use it. | |
9f4a318c | 2240 | * configure: Regenerate. |
43ba4a58 BK |
2241 | * src/Makefile.am (targetincludep): Use simplified rules. |
2242 | (targetincludep): Rename gxx_target_include_dir. | |
2243 | (myincludep): Rename gxx_include_dir. | |
2244 | * src/Makefile.in: Regenerate. | |
2245 | * libsupc++/Makefile.am: Use simplified rules. | |
2246 | * libsupc++/Makefile.in: Regenerate. | |
9f4a318c | 2247 | |
8089616e BK |
2248 | 2001-02-05 Benjamin Kosnik <bkoz@redhat.com> |
2249 | ||
2250 | * include/c_std/bits/std_cerrno.h: Correct date format for copyright. | |
2251 | * include/c_std/bits/std_cctype.h: Same. | |
2252 | * include/c_std/bits/std_cassert.h: Same. | |
2253 | * include/c_std/bits/std_cstdarg.h: Same. | |
2254 | * include/c_std/bits/std_cstddef.h: Same. | |
9f4a318c | 2255 | |
8089616e BK |
2256 | * include/c_std/bits/std_cstdio.h: Undefine all names brought into |
2257 | namespace std. | |
2258 | * include/c_std/bits/std_ctime.h: Same. | |
2259 | * include/c_std/bits/std_clocale.h: Same. | |
2260 | * include/c_std/bits/std_cmath.h: Same. | |
2261 | * include/c_std/bits/std_csetjmp.h: Same. | |
2262 | * include/c_std/bits/std_csignal.h: Same. | |
2263 | * include/c_std/bits/std_cstring.h: Same. | |
2264 | * include/c_std/bits/std_cstdlib.h: Same. | |
2265 | * include/c_std/bits/std_cwchar.h: Same. | |
9f4a318c | 2266 | |
58f60b5c PE |
2267 | 2001-02-05 Phil Edwards <pme@sources.redhat.com> |
2268 | ||
2269 | * testsuite/27_io/ios_base_members_static.cc: Swap order of tests. | |
2270 | ||
9b30b506 MM |
2271 | 2001-02-05 Mark Mitchell <mark@codesourcery.com> |
2272 | ||
2273 | * src/string-inst.cc (string::_M_replace): Explicitly instantiate. | |
2274 | (string::_S_construct): Likewise. | |
2275 | ||
0ba434e0 GDR |
2276 | 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com> |
2277 | ||
2278 | * testsuite/config/default.exp: New file. | |
2279 | * testsuite/config: New directory. | |
2280 | ||
0f0b2faf MM |
2281 | 2001-02-04 Mark Mitchell <mark@codesourcery.com> |
2282 | ||
2283 | * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro. | |
2284 | * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp | |
2285 | whenever !__GXX_MERGED_TYPEINFO_NAMES. | |
2286 | * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise. | |
2287 | ||
ae9dc931 | 2288 | 2001-02-03 Alexandre Oliva <aoliva@redhat.com> |
9f4a318c | 2289 | Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> |
ae9dc931 | 2290 | |
9f4a318c ZW |
2291 | * Makefile.am (mkinstalldirs): Set. |
2292 | * src/Makefile.am (mkinstalldirs): Set. | |
2293 | * libmath/Makefile.am (mkinstalldirs): Set. | |
2294 | * libsup++/Makefile.am (mkinstalldirs): Set. | |
2295 | * libio/Makefile.am (mkinstalldirs): Set. | |
ae9dc931 BK |
2296 | * */Makefile.in: Regenerate. |
2297 | ||
be76a59f BK |
2298 | 2001-02-03 Benjamin Kosnik <bkoz@redhat.com> |
2299 | ||
2300 | * include/bits/stl_threads.h (struct _STL_mutex_lock): Same. | |
2301 | * include/bits/localefwd.h: More initialization cleanups. | |
2302 | ||
2303 | 2001-02-03 Jeffrey A Law <law@cygnus.com> | |
07319722 JL |
2304 | |
2305 | * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize | |
2306 | correctly targets with 16bit ints. | |
2307 | (_S_ios_openmode_end): Similarly. | |
2308 | (_S_ios_iostate_end): Similarly. | |
2309 | (_S_ios_Seekdir_end): Similarly. | |
9f4a318c | 2310 | |
2bf9b27d PE |
2311 | 2001-02-02 Phil Edwards <pme@sources.redhat.com> |
2312 | ||
2313 | * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs. | |
2314 | ||
e2c20fae AO |
2315 | 2001-02-01 Alexandre Oliva <aoliva@redhat.com> |
2316 | ||
2317 | * configure.in (toplevel_srcdir, auxdir): Set. | |
2318 | * acinclude.m4 (glibcpp_basedir): Set based on auxdir. | |
2319 | * aclocal.m4, configure, Makefile.in: Rebuilt. | |
2320 | * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise. | |
2321 | * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir. | |
2322 | * libsupc++-v3/Makefile.in: Rebuilt. | |
2323 | * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed. | |
2324 | * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise. | |
2325 | ||
1f63887a BK |
2326 | 2001-01-30 Benjamin Kosnik <bkoz@redhat.com> |
2327 | ||
2328 | * config/c_locale_generic.cc: Remove langinfo include. | |
2329 | ||
0214010c BK |
2330 | 2001-01-29 Benjamin Kosnik <bkoz@redhat.com> |
2331 | ||
2332 | Preliminary named locales. | |
2333 | * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro. | |
2334 | * aclocal.m4: Regenerate. | |
2335 | * configure.in: Use it. | |
2336 | * configure: Regerate. | |
2337 | * src/Makefile.am (sources): Add c++locale.cc. | |
2338 | (build_headers): Add c++locale.h. | |
2339 | * src/Makefile.in: Regenerate. | |
9f4a318c | 2340 | * config/c_locale_gnu.h: New file. |
0214010c BK |
2341 | * config/c_locale_gnu.cc: New file. Non-inline member functions |
2342 | for named locales, gnu-specific. | |
9f4a318c | 2343 | * config/c_locale_generic.h: New file. |
0214010c BK |
2344 | * config/c_locale_generic.cc: New file. Non-inline member |
2345 | functions for named locales, generic version. | |
2346 | * docs/html/configopts.html: Add documentation on new options. | |
2347 | ||
2348 | * include/bits/locale_facets.h (class _Messages): Remove. | |
2349 | (class _Moneypunct): Remove. | |
2350 | * src/locale-inst.cc: Remove. | |
9f4a318c | 2351 | |
0214010c BK |
2352 | * include/bits/locale_facets.h (class _Collate): Remove. |
2353 | * src/locale-inst.cc (std): Remove. | |
2354 | * src/locale.cc: And here. | |
9f4a318c | 2355 | |
0214010c BK |
2356 | * include/bits/localefwd.h (locale::_M_coalesce): New |
2357 | function. Correctly put together multi-name locales. | |
2358 | (_Impl(const _Impl&, category, size_t)): Remove. | |
2359 | ||
2360 | * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_* | |
2361 | member functions. | |
2362 | (_M_normalize_category_names): Remove. | |
2363 | (_M_replace_categories): Fix. | |
2364 | ||
2365 | * src/localename.cc (locale::_Impl::_M_construct_collate): Remove. | |
2366 | (locale::_Impl::_M_construct_ctype): Remove. | |
9f4a318c ZW |
2367 | (locale::_Impl::_M_construct_monetary): Remove. |
2368 | (locale::_Impl::_M_construct_numeric): Remove. | |
2369 | (locale::_Impl::_M_construct_time): Remove. | |
2370 | (locale::_Impl::_M_construct_messages): Remove. | |
0214010c BK |
2371 | |
2372 | * include/bits/locale_facets.h (_Bad_use_facet): Remove. | |
2373 | (_Use_facet_failure_handle): Remove. | |
2374 | * src/locale.cc: Remove definitions. | |
2375 | * src/locale-inst.cc: And here. | |
9f4a318c | 2376 | |
0214010c BK |
2377 | * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests. |
2378 | ||
2379 | * src/localename.cc (locale::facet::_S_create_c_locale): Properly | |
2380 | create and error-check underlying locale object. | |
2381 | (locale::facet::_S_destroy_c_locale): Add, take care of properly | |
2382 | tearing down underlying locale object. | |
2383 | * include/bits/localefwd.h (locale::facet): Declare. | |
2384 | * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for | |
2385 | correctness, as glibc apparently has incorrect info in it. Test | |
9f4a318c | 2386 | with it when it works again..... |
0214010c BK |
2387 | |
2388 | * include/bits/localefwd.h (locale::_Impl::__vec_string): | |
2389 | Remove. Number of categories is fixed at six, so just simplify and | |
2390 | make this an array of strings. | |
2391 | (locale::_Impl::_M_has_name): Remove. | |
9f4a318c ZW |
2392 | (locale::_Impl::_M_name): Remove. |
2393 | (locale::_Impl::_M_category_names): Turns into... | |
0214010c BK |
2394 | (locale::_Impl::_M_names): ...this. |
2395 | (locale::_Impl::_M_has_same_name()): New function. | |
2396 | * src/localename.cc (locale::_Impl::~_Impl()): Remove here. | |
2397 | (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify | |
2398 | signature. | |
2399 | * src/locale.cc (locale::name()): Construct mangled name | |
2400 | accurately reflecting combined locale categories. | |
2401 | ||
2402 | * src/locale.cc (locale::classic()): Don't initialize here. | |
2403 | * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t | |
2404 | __refs, bool __has_name, string __str): Do it here. | |
2405 | ||
2406 | * include/bits/localefwd.h: _S_categories_num to | |
2407 | _S_num_categories. _S_facets_num to _S_num_facets. | |
2408 | (locale::id::id()): Explicitly set _M_index to zero. | |
2409 | * src/locale.cc: Same. | |
2410 | ||
2411 | * src/locale.cc: (locale::locale(const char*)): Construct named | |
2412 | locales uniquely. | |
2413 | ||
2414 | * src/locale.cc: Remove numpunct_byname ctors. | |
2415 | * testsuite/22_locale/numpunct_byname.cc: New file. | |
9f4a318c ZW |
2416 | * testsuite/22_locale/numpunct.cc: New file. |
2417 | ||
0214010c BK |
2418 | * include/bits/localefwd.h (class locale): Change data members to |
2419 | protected, from private. | |
2420 | (_Impl::_M_get_c_locale): Add member function. | |
2421 | (locale::facet::_M_get_global_impl()): Add member function. | |
2422 | * include/bits/locale_facets.h (numpunct::_M_init): Change to take | |
2423 | a __c_locale pointer. | |
2424 | (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for | |
2425 | named locales. | |
2426 | * testsuite/22_locale/members.cc: New file, test name and combine. | |
9f4a318c | 2427 | |
0214010c BK |
2428 | * include/bits/locale_facets.h (class numpunct): Remove class |
2429 | _Punct and _Numpunct. Rewrite class numpunct to be correct for | |
2430 | named locales. | |
2431 | * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add. | |
2432 | * src/localename.cc (_Impl::~_Impl()): Call __frelocale. | |
2433 | (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale. | |
2434 | * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations. | |
2435 | * testsuite/22_locale/numpunct_char_members.cc: New file. | |
9f4a318c | 2436 | |
4870f472 GDR |
2437 | 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com> |
2438 | ||
2439 | * testsuite/README: Add more comment. | |
2440 | * testsuite/lib/libstdc++.exp: Tweak comment. | |
2441 | ||
58245fb1 BK |
2442 | 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com> |
2443 | ||
2444 | * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs. | |
2445 | ||
31e1e0a6 LR |
2446 | 2001-01-25 Loren J. Rittle <ljrittle@acm.org> |
2447 | ||
9f4a318c ZW |
2448 | * testsuite/21_strings/inserters_extractors.cc: Remove |
2449 | explicit reference to 'testsuite/'. | |
31e1e0a6 | 2450 | |
d9de4b22 RH |
2451 | 2001-01-25 Richard Henderson <rth@redhat.com> |
2452 | ||
2453 | * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion | |
2454 | bits. Fixes Tru64 build issues. | |
9f4a318c | 2455 | |
57d278be MS |
2456 | 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
2457 | ||
2458 | * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug | |
2459 | (use ${MAKE-make}, not ${MAKE:-make}). | |
2460 | * aclocal.m4, configure: Regenerate. | |
2461 | ||
bfd7f4ec MM |
2462 | 2001-01-25 Mark Mitchell <mark@codesourcery.com> |
2463 | ||
71456ba3 MM |
2464 | * src/ios.cc: Remove accidental inclusion of <stdio.h> in last |
2465 | checkin. | |
2466 | ||
bfd7f4ec MM |
2467 | * src/Makefile.am (sources): Add globals.cc. |
2468 | * src/Makefile.in: Regenerated. | |
2469 | * src/globals.cc: New file. | |
2470 | * src/ios.cc (cin): Don't define here, just declare extern. | |
2471 | (cout): Likewise. | |
2472 | (cerr): Likewise. | |
2473 | (clog): Likewise. | |
2474 | (wcin): Likewise. | |
2475 | (wcout): Likewise. | |
2476 | (wcerr): Likewise. | |
2477 | (wclog): Likewise. | |
2478 | ||
69d211dd PE |
2479 | 2001-01-25 Phil Edwards <pme@sources.redhat.com> |
2480 | ||
2481 | * include/bits/std_iterator.h: Do not include stl_relops.h. | |
2482 | * include/bits/std_numeric.h: Ditto. | |
2483 | * include/bits/stl_algobase.h: Ditto. | |
2484 | * include/bits/stl_relops.h: Add comment warning about problems. | |
2485 | ||
db353c2c GDR |
2486 | 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com> |
2487 | ||
2488 | * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/' | |
2489 | in testcases. Prepare for the DejaGnu based framework. | |
2490 | * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite | |
2491 | directory -- it is now mkcheck working directory. | |
2492 | * tests_flags.in: Remove reference to $(top_srcdir). Use | |
2493 | ${SRC_DIR} instead. | |
2494 | * Makefile.am (check, check-install): Change mkcheck invocation | |
9f4a318c | 2495 | logic. |
db353c2c GDR |
2496 | * Makefile.in: Regenerate. |
2497 | ||
c347e892 MM |
2498 | 2001-01-24 Mark Mitchell <mark@codesourcery.com> |
2499 | ||
2500 | * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove. | |
2501 | (__always_swap): Likewise. | |
2502 | ||
17fd8a87 CD |
2503 | 2001-01-23 Chris Demetriou <cgd@broadcom.com> |
2504 | ||
2505 | * libsupc++/exception_support.cc (__terminate_func): Remove | |
2506 | declaration. | |
2507 | (__terminate_func_ptr): New typedef. | |
2508 | (__terminate, __terminate_set_func): New extern function | |
2509 | prototypes. | |
2510 | (std::terminate): Use __terminate function. | |
2511 | (std::set_terminate): Use __terminate_set_func function. | |
2512 | ||
3637cfac BK |
2513 | 2001-01-23 Benjamin Kosnik <bkoz@redhat.com> |
2514 | ||
2515 | * configure.target: Just use os_include_dir always. | |
2516 | * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT. | |
2517 | Link atomicity files and ctype files here. | |
2518 | * configure: Regenerate. | |
2519 | * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove. | |
2520 | (GLIBCPP_ENABLE_ATOMICITY): Remove. | |
2521 | * aclocal.m4: Regenerate. | |
9f4a318c | 2522 | |
c8f33f22 CD |
2523 | 2001-01-23 Chris Demetriou <cgd@broadcom.com> |
2524 | ||
2525 | * configure.in: Place definition of MULTISUBDIR in | |
2526 | libsupc++/Makefile as is done for src/Makefile. | |
2527 | * configure: Regenerate. | |
2528 | ||
9b8fd32c PE |
2529 | 2001-01-23 Phil Edwards <pme@sources.redhat.com> |
2530 | ||
2531 | * acinclude.m4: Cosmetic changes only. | |
2532 | * aclocal.m4: Regenerated. | |
2533 | * configure: Regenerated. | |
2534 | * configure.target: Update documented list of changed variables. | |
2535 | * docs/html/install.html: Fix typo. | |
2536 | * docs/html/20_util/howto.html: More notes on auto_ptr. | |
2537 | * docs/html/27_io/howto.html: More notes on streabufs. | |
2538 | * docs/html/faq/index.html: Add rel_ops problem and mention the | |
2539 | DEC as(1) .subsection difficulty. | |
2540 | * docs/html/faq/index.txt: Regenerated. | |
2541 | ||
2542 | 2001-01-23 Mark Mitchell <mark@codesourcery.com> | |
2543 | ||
9f4a318c ZW |
2544 | * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro. |
2545 | (GLIBCPP_CHECK_MATH_SUPPORT): Use it. | |
2546 | (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if | |
2547 | its already provided in config.target. | |
2548 | * aclocal.m4: Regenerated. | |
2549 | * configure: Likewise. | |
2550 | * configure.target: Set ctype_include_dir for lots of systems. | |
2551 | * libsupc++/Makefile.am: Explicitly include --tag disable-shared. | |
2552 | * libsupc++/Makefile.in: Regenerated. | |
9b8fd32c | 2553 | |
15235317 GDR |
2554 | 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com> |
2555 | ||
2556 | * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx# | |
2557 | keyword capability. | |
2558 | ||
2559 | * testsuite/README: Add comment. | |
2560 | ||
0505b046 PE |
2561 | 2001-01-21 Phil Edwards <pme@sources.redhat.com> |
2562 | ||
2563 | * docs/html/configopts.html: Update for current status. Fix HTML. | |
2564 | * docs/html/install.html: Update for current status. | |
2565 | ||
0109cb75 GDR |
2566 | 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com> |
2567 | ||
2568 | * testsuite/libstdc++.tests/tests.exp: New file. | |
2569 | * testsuite/lib/libstdc++.exp: Itou. | |
2570 | * testsuite/README: Itou. | |
2571 | ||
1af7d6cf GDR |
2572 | 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com> |
2573 | ||
2574 | * tests_flags.in: Just output the bare minimum to run tests. | |
2575 | Let's the caller do its own arrangement. | |
2576 | ||
2577 | * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags | |
2578 | computations. | |
2579 | ||
db4a7a8a GDR |
2580 | 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com> |
2581 | ||
2582 | * testsuite/17_intro: Prepare testcases for new style DejaGnu | |
9f4a318c | 2583 | framework. |
db4a7a8a | 2584 | |
9ca4a2fd GDR |
2585 | 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com> |
2586 | ||
2587 | * testsuite/libstdc++.tests, testsuite/lib: New directories. | |
2588 | ||
824a9109 BK |
2589 | 2001-01-17 Loren J. Rittle <ljrittle@acm.org> |
2590 | ||
9f4a318c ZW |
2591 | * mkcheck.in: Construct file names that match $objdir structure. |
2592 | * testsuite/27_io/filebuf_members-1.txt: New file. | |
2593 | * testsuite/27_io/ifstream_members-1.txt: New file. | |
2594 | * testsuite/27_io/ostream_inserter_char-1.txt: New file. | |
824a9109 BK |
2595 | |
2596 | * testsuite/27_io/ios_base_members_static.cc (test02): Add test. | |
2597 | * testsuite/27_io/ios_base_members_static-1.tst: Add expected output. | |
2598 | ||
86b4d211 PS |
2599 | 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> |
2600 | ||
2601 | * testsuite/27_io/istream_sentry.cc (test02): Fix. | |
2602 | ||
824a9109 | 2603 | 2001-01-17 Benjamin Kosnik <bkoz@redhat.com> |
d34786e3 BK |
2604 | |
2605 | libstdc++/1605 | |
2606 | * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs. | |
2607 | * src/ios.cc (ios_base::failure): Make definitions match. | |
9f4a318c ZW |
2608 | * libsupc++/typeinfo (class bad_typeid): Add throw specs. |
2609 | (class bad_cast): Same. | |
2610 | * libsupc++/exception (class exception): Add throw specs. | |
2611 | * libsupc++/exception_support.cc (set_terminate): Add throw specs. | |
2612 | (set_unexpected): Same. | |
2613 | (uncaught_exception): Same. | |
2614 | (what): Same. | |
d34786e3 BK |
2615 | |
2616 | * docs/html/17_intro/C++STYLE (classname): Fix. | |
9f4a318c | 2617 | |
5fdfba85 MM |
2618 | 2001-01-16 Mark Mitchell <mark@codesourcery.com> |
2619 | ||
2620 | * src/gen-num-limits.cc (INSTANTIATIONS): New macro. | |
2621 | Use it do explicitly instantiate predicate<T> and value<T> for | |
2622 | all the builtin Ts. | |
2623 | ||
96070989 NS |
2624 | 2001-01-16 Nathan Sidwell <nathan@codesourcery.com> |
2625 | ||
2626 | * libsupc++/exception_support.cc (__cp_pop_exception): Fix | |
2627 | uninitialized thinko in last change. | |
2628 | ||
40acfbea MM |
2629 | 2001-01-16 Mark Mitchell <mark@codesourcery.com> |
2630 | ||
2631 | * libsupc++/exception_support.cc (__cp_pop_exception): Change | |
2632 | prototype. | |
2633 | ||
13187a45 BK |
2634 | 2001-01-16 Benjamin Kosnik <bkoz@redhat.com> |
2635 | ||
2636 | * docs/html/17_intro/C++STYLE (classname): Add more existing | |
2637 | and stylish patterns. | |
2638 | ||
2639 | libstdc++/944 | |
2640 | * include/bits/istream.tcc (istream::sentry::sentry()): Set | |
9f12c2a6 | 2641 | failbit if the state of the stream is not good. |
13187a45 BK |
2642 | * testsuite/27_io/istream_sentry.cc (test02): Add test. |
2643 | * testsuite/27_io/istream_manip.cc (test01): Modify. | |
2644 | ||
2645 | libstdc++/1019 | |
2646 | reported by Paolo Carlini <pcarlini@unitus.it> | |
9f4a318c | 2647 | * include/bits/istream.tcc (operator>>(istream&, string&)): Fix. |
13187a45 BK |
2648 | * testsuite/21_strings/inserters_extractors.cc (test08): Add test. |
2649 | ||
2650 | libstdc++/1057 | |
2651 | * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly. | |
2652 | * include/bits/streambuf.tcc (xsputn): Remove outside if clause. | |
2653 | (xsgetn): Same. Simplify. | |
2654 | * testsuite/27_io/streambuf.cc (test04): Add testcases. | |
2655 | ||
9f4a318c | 2656 | reported by Larry Evans <jcampbell3@prodigy.net> |
13187a45 BK |
2657 | * include/bits/streambuf.tcc (streambuf::xsputn): Just check for |
2658 | equality with eof on returned value from overflow. | |
2659 | ||
3e29b81b AJ |
2660 | 2001-01-14 Andreas Jaeger <aj@suse.de> |
2661 | ||
2662 | * libio/libio.h: Add test for glibc 2.0. | |
2663 | ||
97644827 BK |
2664 | 2001-01-12 Benjamin Kosnik <bkoz@redhat.com> |
2665 | ||
051d74bf | 2666 | * config/os/djgpp/bits/*: Fix dates. |
3e29b81b | 2667 | |
97644827 BK |
2668 | * include/bits/basic_string.h (_S_find(const _CharT* __beg, const |
2669 | _CharT* __end, _CharT __c): Remove. | |
2670 | * include/bits/basic_string.tcc: Substitute traits::find for _S_find. | |
2671 | * include/bits/char_traits.h: Tweak. | |
2672 | ||
6f87af20 LB |
2673 | 2001-01-12 Laurynas Biveinis <lauras@softhome.net> |
2674 | ||
2675 | * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h> | |
2676 | (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older | |
2677 | bash bug. | |
2678 | * aclocal.m4: regenerated. | |
2679 | * configure.target: set os_include_dir to config/os/djgpp under DJGPP. | |
2680 | * configure: regenerated. | |
2681 | * config/os/djgpp, config/os/djgpp/bits: new directories. | |
3e29b81b AJ |
2682 | * config/os/djgpp/bits/ctype_base.h, |
2683 | config/os/djgpp/bits/ctype_inline.h, | |
6f87af20 LB |
2684 | config/os/djgpp/bits/ctype_noninline.h, |
2685 | config/os/djgpp/bits/os_defines.h: new files. | |
2686 | ||
57043d91 JM |
2687 | 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk> |
2688 | ||
2689 | * include/c_std/bits/std_cstdio.h: Undef printf. | |
2690 | ||
752808fb BK |
2691 | 2001-01-10 Benjamin Kosnik <bkoz@redhat.com> |
2692 | ||
2693 | * src/ios.cc: Fix typo: change cout->wcout. | |
2694 | ||
2695 | * src/Makefile.am (targetincludep): Fix for version-specific-libs. | |
2696 | * src/Makefile.in: Regenerate. | |
2697 | ||
90e420bd PS |
2698 | 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> |
2699 | ||
9f4a318c | 2700 | * include/bits/std_complex.h: Fix a typo. |
90e420bd | 2701 | |
469550eb | 2702 | 2001-01-09 Benjamin Kosnik <bkoz@redhat.com> |
9f4a318c | 2703 | <kainz@ilm.com> |
469550eb BK |
2704 | |
2705 | Fixes for libstdc++/1576 | |
2706 | * src/stdstreams.cc: Initialize with NULL filebuf. Delete | |
2707 | file, move contents into.... | |
2708 | * src/ios.cc: ...Here. Put defines for iostreams objects and | |
2709 | initialization routines into one file to simplify DSO interaction. | |
2710 | * include/bits/std_iostream.h: Touch. | |
2711 | * include/bits/ios_base.h (_S_synched_with_stdio): Make static. | |
2712 | * src/Makefile.am (sources): Remove stdstreams.cc. | |
2713 | * src/Makefile.in: Regenerate. | |
2714 | ||
b2fb4914 GDR |
2715 | 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com> |
2716 | ||
2717 | * tests_flags.in (check_directory): Fix typo. | |
2718 | ||
2719 | 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> | |
469550eb | 2720 | |
9f4a318c | 2721 | * include/bits/std_complex.h: Fix a typo. |
fa44a936 | 2722 | |
469550eb | 2723 | 2001-01-09 Loren J. Rittle <ljrittle@acm.org> |
04658553 LR |
2724 | |
2725 | * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right | |
2726 | code path:) Remove magic constants and restructure to handle | |
2727 | ctype.h bit mask layout changes more gracefully. (Make fast | |
2728 | code path:) Use __maskrune (), if available. | |
2729 | (is): Remove special case for digit and xdigit masks. | |
e7eceef2 RL |
2730 | |
2731 | 2001-01-09 Robert Lipe <robertlipe@usa.net> | |
2732 | ||
2733 | * include/c_std/bits/std_ctime.h: Undefine difftime. | |
2734 | ||
4a70b13a AO |
2735 | 2001-01-09 Alexandre Oliva <aoliva@redhat.com> |
2736 | ||
2737 | * src/gen-num-limits.cc (signal_adapter): New template function. | |
2738 | (signal_handler): Use it, instead of signal. | |
2739 | (traps<T>): Likewise. Install SIGTRAP handler too. Don't | |
2740 | require both tests to trap to set trap_flag. | |
2741 | ||
5a259aec BK |
2742 | 2001-01-08 Benjamin Kosnik <bkoz@redhat.com> |
2743 | ||
2744 | * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly | |
2745 | initialize mbstate_t member, name offset data members *off, not pos. | |
2746 | * include/bits/fstream.tcc (filebuf::filebuf): Same. | |
3e29b81b | 2747 | |
1d8939ef BK |
2748 | 2001-01-08 Benjamin Kosnik <bkoz@redhat.com> |
2749 | ||
2750 | reported by Chris G. Demetriou <cgd@sibyte.com> | |
2751 | * configure.in: Change -linux-* to -linux*. | |
2752 | * configure: Regenerate. | |
3e29b81b | 2753 | |
d358ecd0 BK |
2754 | 2001-01-05 Benjamin Kosnik <bkoz@redhat.com> |
2755 | ||
2756 | Fix 27_io/filebuf_members.cc | |
2757 | * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp, | |
2758 | const string& __name, category __cat, size_t __refs): Set | |
2759 | _M_has_name with _M_name. | |
2760 | * include/bits/localefwd.h (locale::operator!=): Protect member | |
2761 | function call with this->. | |
2762 | * src/locale.cc (locale::operator==): Make fast checks first. | |
2763 | * include/bits/basic_ios.tcc (basic_ios::init): Simplify. | |
2764 | ||
2765 | * include/bits/ios_base.h (_M_synced_with_stdio): Add data member | |
2766 | to ios_base::Init. | |
2767 | * src/ios.cc (ios_base::Init::Init): Initialize here. | |
2768 | (ios_base::sync_with_stdio): Set here. | |
3e29b81b | 2769 | |
d358ecd0 BK |
2770 | 2001-01-04 Loren J. Rittle <ljrittle@acm.org> |
2771 | ||
9f4a318c ZW |
2772 | * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On |
2773 | systems that support it, call dup() before fdopen(). | |
d358ecd0 | 2774 | |
e61c3e8c BK |
2775 | 2001-01-03 Benjamin Kosnik <bkoz@redhat.com> |
2776 | ||
2777 | * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t. | |
2778 | * testsuite/17_intro/header_cwctype.cc (main): New file. | |
2779 | ||
2780 | * src/Makefile.am (base_headers): Change. | |
2781 | * include/bits/std_string.h: And here. | |
2782 | * include/bits/string.tcc: Tweaks, move to... | |
2783 | * include/bits/basic_string.tcc: ...Here. | |
2784 | * src/string-inst.cc: Simplify, just instantiate the whole class, | |
2785 | not member-by-member. | |
2786 | ||
36e40658 BK |
2787 | 2001-01-02 Benjamin Kosnik <bkoz@redhat.com> |
2788 | ||
2789 | * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value. | |
2790 | * aclocal.m4: Regenerate. | |
2791 | * configure: Regenerate. | |
3e29b81b | 2792 | |
36e40658 BK |
2793 | * include/bits/c++config (__GLIBCPP__): Bump version number. |
2794 | ||
2795 | * ChangeLog: Start new log for year 2001 | |
2796 | * ChangeLog-2000: New file. | |
2797 | ||
2798 | * docs/html/configopts.html: Make sure default values are current, | |
2799 | add commentary. | |
2800 | ||
7b331228 | 2801 | 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com> |
3e29b81b | 2802 | |
7b331228 BK |
2803 | * include/c_std/bits/std_cwchar.h: Same. |
2804 | * testsuite/17_intro/header_cwchar.cc: Same. | |
2805 | * include/c_std/bits/std_ctime.h: Same. | |
2806 | * testsuite/17_intro/header_ctime.cc: Same. | |
2807 | * include/c_std/bits/std_cstdlib.h: Same. | |
2808 | Clean up undefs, make consistent with cwchar and cmath, etc. | |
2809 | * testsuite/17_intro/header_cstdlib.cc: Same. | |
2810 | * include/c_std/bits/std_cstdio.h: Same here. | |
2811 | * testsuite/17_intro/header_cstring.cc: Same. | |
2812 | * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t. | |
2813 | * testsuite/17_intro/header_cstring.cc: New file. Check for | |
2814 | size_t in namespace std. | |
2815 | ||
2816 | * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t. | |
2817 | * acconfig.h (HAVE_MBSTATE_T): Add. | |
2818 | * config.h.in: Regenerate. | |
2819 | * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for | |
2820 | mbstate_t. | |
2821 | * aclocal.m4: Regenerate. | |
2822 | * configure: Regenerate. | |
2823 | * testsuite/17_intro/headers_c++.cc: New file. | |
2824 | * testsuite/17_intro/headers_c.cc: Small changes. | |
2825 | ||
fb34ebc5 DB |
2826 | 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com> |
2827 | ||
2828 | * tests_flags.in: Fix typo in usage. | |
2829 | ||
2830 | * tests_flags.in: Set target specific LIBS for cygwin. |