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