]> gcc.gnu.org Git - gcc.git/blame - libstdc++-v3/ChangeLog
ctype_base.h (ctype_base): Change space mask.
[gcc.git] / libstdc++-v3 / ChangeLog
CommitLineData
4716be24
BK
12000-12-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2
3 * config/os/generic/bits/ctype_base.h (ctype_base): Change space mask.
4
5 * config/os/generic/bits/ctype_noninline.h (ctype): Remove default
6 arguments in definition.
7 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
8 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
9 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
10 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
11 * config/os/irix/bits/ctype_noninline.h (ctype): Same.
12 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
13 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
14 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
15 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
16
17 * include/bits/locale_facets.h: Tweak.
18
167ed88f
BK
192000-12-06 Benjamin Kosnik <bkoz@kredhat.com>
20
21 * include/bits/locale_facets.h (ctype): Remove _Ctype_nois and
22 _Ctype and replace with common __ctype_abstract_base.
23 (ctype<wchar_t>::_M_convert_to_wmask): Move to locale.cc.
24 * config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>::ctype):
25 And here.
26 * config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
27 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
28 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
29 * config/os/newlib/bits/ctype_noninline.h (ctype): Same.
30 * config/os/irix/bits/ctype_noninline.h (ctype): Same.
31 * config/os/hpux/bits/ctype_noninline.h (ctype): Same.
32 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
33 * config/os/aix/bits/ctype_noninline.h (ctype): Same.
34 * config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
35 * config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
36 * src/locale-inst.cc: Clean instantiations.
37 * src/locale.cc (ctype<char>): Add definitions here.
38 (ctype<wchar_t>::_M_wmask): Move definitions here.
39
40 * config/os/generic/bits/ctype_inline.h (ctype<char>::is):
41 Implement in a generic way, with only "C" functionality and no
42 knowlege of the target os.
43 * config/os/generic/bits/os_defines.h: Change comments to C++ style.
44 * testsuite/22_locale/ctype_char_members.cc (test01): Add tests.
45
46 * include/bits/codecvt.h (ctype_byname): Remove specializations,
47 as not required.
48 * include/bits/localefwd.h (codecvt_byname): And here.
49 * src/codecvt.cc: Remove codecvt_byname specializations.
50
51 * include/c/bits/std_cstdio.h: Include c++config.h.
52
f84ef7fb
PE
532000-12-06 Phil Edwards <pme@sources.redhat.com>
54
55 * acinclude.m4 (GLIBCPP_CHECK_*_DECL_AND_LINKAGE_*): Pre-test
56 whether the cached result is present.
57 * aclocal.m4: Regenerate.
58 * configure: Regenerate.
59 * Makefile.in: Regenerate.
60 * libio/Makefile.in: Regenerate.
61 * libmath/Makefile.in: Regenerate.
62 * libsupc++/Makefile.in: Regenerate.
63 * src/Makefile.in: Regenerate.
64
f0bffd99
RE
652000-12-06 Richard Earnshaw <rearnsha@arm.com>
66
67 * configure.target (*-*-freebsd, *-*-netbsd): Correct paths to
68 os_include_dir.
69
167ed88f 702000-12-05 Jeffrey A Law <law@cygnus.com>
598730fe
JL
71
72 * configure.target (hpux): Set os_include_dir.
73 * config/os/hpux/bits/ctype_base.h: New file
74 * config/os/hpux/bits/ctype_inline.h: New file
75 * config/os/hpux/bits/ctype_noinline.h: New file
76 * config/os/hpux/bits/os_defines.h: New file
77
239a3da0
APB
782000-12-05 Alexandre Petit-Bianco <apbianco@redhat.com>
79
80 * src/Makefile.am (libstdc++.INC): Revert for libjava builds.
81 * src/Makefile.in: Regenerate.
82
a767e383
BK
832000-12-05 Benjamin Kosnik <bkoz@haight.redhat.com>
84
85 * acinclude.m4 (EXTRA_CXX_FLAGS): And here.
86 * include/c/bits/std_cstdlib.h (std ): Change macro to
87 _GLIBCPP_NEED_LLDIV_T.
88 * acconfig.h: Remove unused MBSTATE_T bits.
89 * configure.in: Same.
90 * aclocal.m4: Regenerate.
91 * configure: Regenerate.
92 * config.h.in: Regenerate.
93
d53c4221
BK
942000-12-05 Benjamin Kosnik <bkoz@fillmore.redhat.com>
95
96 * acinclude.m4: Change up to reflect new directory organization.
97 Add in bits for NetBSD.
98 * aclocal.m4: Regenerate.
99 * configure: Regenerate.
100 * config/os/bsd: New directory.
101 * config/os/netbsd: Move to...
102 * config/os/bsd/netbsd: ...here.
103 * config/os/freebsd: Move to...
104 * config/os/bsd/freebsd: ...here.
105
f4c79fef
BK
1062000-12-05 Benjamin Kosnik <bkoz@haight.redhat.com>
107
108 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Check for
109 lldiv_t. Allow the use of os-specific defines while checking for
110 long-long functions by the inclusion of os_defines.h.
111 * aclocal.m4: Regenerate.
112 * configure.in: Add comments.
113 * configure: Regenerate.
114 * acconfig.h: Add _GLIBCPP_HAVE_LLDIV_T.
115 * config.h.in: Regenerate.
116 * config/os/gnu-linux/bits/os_defines.h: Fix typos and
117 duplications in comments.
118
c87e4688
RE
1192000-12-05 Richard Earnshaw <rearnsha@arm.com>
120
121 * config/os/freebsd/bits/ctype_base.h: Update comments about other
122 BSD variants.
123
0b971613
RE
1242000-12-05 Richard Earnshaw <rearnsha@arm.com>
125
126 * config/os/freebsd/bits/*.h: Move here from config/os/bsd/bits.
127 * aclocal.m4: Adjust accordingly.
128 * configure.target: Likewise.
129 * configure: Regenerate.
130
529dec15
RE
1312000-12-05 Richard Earnshaw <rearnsha@arm.com>
132
133 * config/cpu/arm/bits/atomicity.h: Add support for compiling Thumb
134 code.
135
11b176c1
RE
1362000-12-05 Richard Earnshaw <rearnsha@arm.com>
137
138 Support for NetBSD.
139 * aclocal.m4: Add test for NetBSD's ctype support.
140 * configure: Regenerate.
141 * configure.target: Support NetBSD.
142 * config/os/netbsd/bits/ctype_base.h: New file.
143 * config/os/netbsd/bits/ctype_inline.h: New file.
144 * config/os/netbsd/bits/ctype_noinline.h: New file.
145 * config/os/netbsd/bits/os_defines.h: New file.
146
fad3e66e
GDR
1472000-12-05 Gabriel Dos Reis <gdr@codesourcery.com>
148
149 * src/complex.cc (pow): Remove definitions for explicit
150 specializations.
151 * libmath/mathconf.h: Remove declarations for c_log, c_logf,
152 c_logl.
153 * libmath/complex-stub.h: Remove declarations for cpow, cpowf,
154 cpowl.
155 * libmath/cpow.c: Remove.
156 * libmath/cpowf.c: Remove.
157 * libmath/cpowl.c: Remove.
158 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove c_logl,
159 cpowl,
160 (EXTRA_DIST): Remove c_log, c_logf, carg, cargf.
161 * libmath/Makefile.in: Regenarate.
162 * libmath/c_log.c: Remove
163 * libmath/c_logf.c: Likewise.
164 * libmath/c_logl.c: Likewise.
165 * libmath/carg.c: Likewise.
166 * libmath/cargf.c: Likewise.
167 * libmath/cargl.c: Likewise.
168 * include/bits/std_complex.h (pow): Define primary templates.
169 (complex<>): Remove friend declarations for pow<>().
170 * acinclude.m4: Remove check for c_log, c_logf, c_logl, carg,
171 cargf.
172 * aclocal.m4: Regenarate.
173 * configure: Regenarate.
174
2702080f
JM
1752000-12-03 Joseph S. Myers <jsm28@cam.ac.uk>
176
177 * docs/configopts.html, docs/documentation.html,
178 docs/install.html, docs/17_intro/BADNAMES,
179 docs/17_intro/contribute.html, docs/17_intro/howto.html,
180 docs/18_support/howto.html, docs/19_diagnostics/howto.html,
181 docs/20_util/howto.html, docs/21_strings/howto.html,
182 docs/22_locale/howto.html, docs/23_containers/howto.html,
183 docs/24_iterators/howto.html, docs/25_algorithms/howto.html,
184 docs/26_numerics/howto.html, docs/27_io/howto.html,
185 docs/ext/howto.html, docs/faq/index.html, docs/faq/index.txt: Sync
186 with wwwdocs.
187
538f0be6
PE
1882000-12-01 Phil Edwards <pme@sources.redhat.com>
189
190 * docs/download.html: Remove.
191 * docs/footer.ihtml: Remove.
192 * docs/header.ihtml: Remove.
193 * docs/index.html: Remove.
194 * docs/links.html: Remove.
195 * docs/mail.html: Remove.
196 * docs/status.html: Remove.
197 * docs/thanks.html: Remove.
198
c1428b53
PE
1992000-12-01 Phil Edwards <pme@sources.redhat.com>
200
201 * mkcheck.in: Count static and shared results separately.
202
2032000-12-01 Loren J. Rittle <ljrittle@acm.org>
204
205 * mkcheck.in: Correct typo.
206
a30dbb39
GDR
2072000-12-01 Gabriel Dos Reis <gdr@codesourcery.com>
208
209 * src/cmath.cc: Remove.
210 * src/Makefile.am (c_base_headers): Add bits/cmath.tcc.
211 (sources): Remove cmath.cc
212 * src/Makefile.in: Regenerate.
213
214 * include/c/bits/std_cmath.h (__cmath_power<>): Declare.
215 (__cmath_abs<>): New function.
216 (abs, fabs): Use __cmath_abs when no direct support is available.
217 (__pow_helper<>): New function.
218 (pow): Define here. Use __pow_helper<>.
219
220 * include/c/bits/cmath.tcc: New file.
221
fc81ccd3
BK
2222000-11-29 Benjamin Kosnik <bkoz@redhat.com>
223
224 Fixes for build directories with colons, AIX build problems.
225 * src/Makefile.am: Cleanups, add documentation.
226 (libstdc++.INC): Simplify rule.
227 (myinstallheaders): Consolidate install rules.
228 (myinstalldirs): New, make directores.
229 (base_headers): Subdivide based on install directory.
230 (ext_headers): New.
231 (backward_headers): New.
232 (headers): Remove.
233 (c_headers): Remove, unused.
234 (c_shadow_headers): Split up, deal with conditional usage in a
235 sane manner.
236 * src/Makefile.in: Regenerate.
237
58884590
PE
2382000-11-29 Phil Edwards <pme@sources.redhat.com>
239
240 Sync with the documentation from wwwdocs.
241 * docs/Makefile: New file (rebuilds FAQ text version).
242 * docs/configopts.html: Update.
243 * docs/documentation.html: Update.
244 * docs/download.html: Update.
245 * docs/index.html: Update.
246 * docs/install.html: Update.
247 * docs/links.html: Update.
248 * docs/mail.html: Update.
249 * docs/status.html: Update.
250 * docs/thanks.html: Update.
251 * docs/27_io/howto.html: Update.
252 * docs/faq/index.html: Update for 2.91.
253 * docs/faq/index.txt: Update for 2.91.
254 * docs/footer.html: Removed.
255 * docs/footer.ihtml: New file.
256 * docs/gccrebuild.html: Removed.
257 * docs/header.html: Removed.
258 * docs/header.ihtml: New file.
259
56f8f4fb
LR
2602000-11-29 Loren J. Rittle <ljrittle@acm.org>
261
262 * tests_flags.in: Correct typo.
263
a45a172a
GDR
2642000-11-29 Gabriel Dos Reis <gdr@codesourcery.com>
265
266 * tests_flags (SH_FLAGS, ST_FLAGS): Move them back to ...
267 * mkcheck.in (SH_FLAGS, ST_FLAGS): ...here
268
abfadcb1
GDR
2692000-11-29 Gabriel Dos Reis <gdr@codesourcery.com>
270
271 * src/Makefile.am (sources): Add bitset.cc
272 * src/Makefile.in: Regenrate.
273
274 * include/bits/std_bitset.h (_GLIBCPP_BITSET_BITS_PER_WORD): New
275 macro. Replace __BITS_PER_WORDS throughout.
276 (__BITS_PER_WORDS): Remove.
277 (bitset<>::_M_do_find_first, bitset<>::_M_do_find_next): Move
278 definitions to src/bitset.cc.
279
280 * src/bitset.cc (bitset<>::_M_do_find_first,
281 bitset<>::_M_do_find_next): Define here.
282 (_Bit_count<>::_S_bit_count, _Find_one<>::_S_first_one): Define
283 here. Explicitly instantiate definitions.
284
79f41ea4
FS
2852000-11-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
286
287 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): Silence
288 preprocessor multi-line string warnings.
289 (__atomic_add): Likewise.
290 (__compare_and_swap): Likewise.
291 (__always_swap): Likewise.
292 (__test_and_set): Likewise.
293 * config/cpu/arm/bits/atomicity.h (__exchange_and_add): Likewise.
294 (__atomic_add): Likewise.
295 (__compare_and_swap): Likewise.
296 (__always_swap): Likewise.
297 (__test_and_set): Likewise.
298
74d2f859
BK
2992000-11-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
300
301 Update for 2.91 release.
302 * include/bits/c++config (__GLIBCPP__): Update.
303 * docs/17_intro/RELEASE-NOTES: Update.
304 * docs/status.html: Update, remove bogus autotools disinformation.
305
8ce10512
BK
3062000-11-27 Benjamin Kosnik <bkoz@redhat.com>
307
308 * tests_flags.in (LTCXX): Change CXX_FLAG to CXXFLAGS.
309
310 * testsuite/22_locale/ctor_copy_dtor.cc: Adjust formatting.
311 * testsuite/27_io/istream_extractor_arith.cc (test11): New
312 testcase, based on libstdc++/90.
313
6bd7b1bb
FS
3142000-11-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
315
079c384c
FS
316 * config/cpu/arm/bits/atomicity.h (__exchange_and_add): Add
317 __volatile__ to asm.
318 (__atomic_add): Likewise.
319 (__compare_and_swap): Likewise.
320 (__always_swap): Likewise.
321 (__test_and_set): Likewise.
322
6bd7b1bb
FS
323 * config/cpu/powerpc/bits/atomicity.h: Replace '__ATOMICITY_INLINE'
324 with 'inline'.
079c384c 325 (__exchange_and_add): Add __volatile__ to asm.
6bd7b1bb
FS
326 (__atomic_add): Likewise.
327 (__compare_and_swap): Likewise.
328 (__always_swap): Likewise.
329 (__test_and_set): Likewise.
330
f6b60eb4
GDR
3312000-11-27 Gabriel Dos Reis <gdr@codesourcery.com>
332
333 * tests_flags.in: Update documentation to reflect the change
334 below.
335
c383aafd
BK
3362000-11-26 Benjamin Kosnik <bkoz@fillmore.constant.com>
337
338 * tests_flags.in: Export CXX, CXXFLAGS.
339 * mkcheck.in: Grab them.
340
3412000-11-26 David Billinghurst <David.Billinghurst@riotinto.com>
342 Benjamin Kosnik <bkoz@redhat.com>
343
344 * mkcheck.in: Add exe extension to printnow executable, abstract
345 out call to this with TIMER_COMMAND.
346 * configure.target (l_glibcpp_cxxflags): Add cygwin support.
347 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Correct paths.
348 * aclocal.m4: Regenerate.
349 * configure: Regenerate.
350
158227a6
BK
3512000-11-26 Benjamin Kosnik <bkoz@redhat.com>
352
353 * testsuite/27_io/istream_unformatted.cc (test05): Fixup.
354
44382959
BK
3552000-11-26 Benjamin Kosnik <bkoz@redhat.com>
356
357 * acinclude.m4: Only sanity check for compiler version when
358 configuring. More fixes for 'make clean'.
359 * aclocal.m4: Regenerate.
360 * configure: Regenerate.
361
97c66a50
GDR
3622000-11-26 Gabriel Dos Reis <gdr@codesourcery.com>
363
364 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove cabsl.c
365 * libmath/Makefile.in: Regenerate.
366 * libmath/cabs.c: Remove.
367 * libmath/cabsf.c: Likewise.
368 * libmath/cabsl.c: Likewise.
369 * libmath/complex-stub.h: Remove declarations for cabs*.
370
371 * acinclude.m4: Remove check for cabs*.
372 * aclocal.m4: Regenerate.
373
374 * Makefile.in: Regenerate.
375
b21218ce
GDR
3762000-11-26 Gabriel Dos Reis <gdr@codesourcery.com>
377
378 * tests_flags.in: New file. Split out of ...
379 * mkcheck.in: ... this. Move flags computation into
380 tests_flags.in.
381 * configure.in: Add support for tests_flags.
382 * confiigure: Regenerate.
383
7ee9826b
JM
3842000-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
385
386 * acinclude.m4: Change C9X references to refer to C99.
387 * aclocal.m4, configure: Regenerate.
388 * config/os/gnu-linux/bits/os_defines.h, src/complex.cc,
389 testsuite/22_locale/codecvt_wchar_t_char.cc,
390 include/bits/stl_config.h, include/c/bits/std_cwchar.h,
391 libmath/mathconf.h: Change C9X references to refer to C99.
392
85fe3810
BK
3932000-11-25 Benjamin Kosnik <bkoz@redhat.com>
394 Richard Earnshaw <rearnsha@arm.com>
395
396 * src/Makefile.am (INCLUDES): Remove unconditional use of
397 _GNU_SOURCE and _ISOC99_SOURCE macros.
398 * src/Makefile.in: Regenerate.
399
35a63b94
BK
4002000-11-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
401
402 * testsuite/22_locale/codecvt_wchar_t_char.cc (main): Add
403 _GLIBCPP_USE_WCHAR_T guards.
404
405 * configure.in (AC_OUTPUT_COMMANDS): Remove, just run scripts as
406 is, so that checks for existence of generated files actually work.
407 * configure: Regenerate.
408
d0c3e4f4
HPN
4092000-11-23 Hans-Peter Nilsson <hp@bitrange.com>
410
411 * config/os/gnu-linux/bits/os_defines.h: Include <features.h>.
412 If not glibc 2.1 or higher, include <gnu/types.h> and define
413 __off64_t as __loff_t and #define __THROW as empty.
414
415 * libio/libio.h [__P]: Move __THROW and __PMT into their own
416 ifndef:s.
417
54214152
DE
4182000-11-23 David Edelsohn <edelsohn@gnu.org>
419
420 * porting.texi: Expand libtool information.
421
23a5b444
GDR
4222000-11-23 Gabriel Dos Reis <gdr@codesourcery.com>
423
424 * include/bits/ios_base.h (ios_base::failure::~failure,
425 ios_base::failure::what): Move defintion to ...
426
427 * src/ios.cc (ios_base::failure::~failure): ... here.
428 src/ios.cc (ios::failure::what): Likewise.
429
4ce69c7f
BK
4302000-11-22 Benjamin Kosnik <bkoz@redhat.com>
431
432 Make deprecated strstream header consistent with new and new.h.
433 * include/backward/strstream.h: Add. Use using declarations to
434 scope strstreambuf, istrstream, ostrstream, strstream to global
435 scope.
436 * include/backward/strstream: Remove using declarations.
437 * src/Makefile.am (base_headers): Add strstream.
438 * src/Makefile.in: Regenerate.
439
440 * include/backward/new.h (_CPP_BACKWARD_NEW_H): Change macro guard
441 to be consistent with other headers.
442
ea88c0f7
RH
4432000-11-22 Richard Henderson <rth@redhat.com>
444
445 * config/os/bsd/bits/ctype_inline.h (is): Fix order of expressions.
446
c361fee0
PE
4472000-11-22 Phil Edwards <pme@sources.redhat.com>
448
449 * porting.texi: Minor tweaks to vocabulary.
450
5789a524
LR
4512000-11-22 Loren J. Rittle <ljrittle@acm.org>
452
453 * include/backward/strstream.h: Reinstate the `using'
454 statements.
455
eed86de8
LR
4562000-11-22 Loren J. Rittle <ljrittle@acm.org>
457
458 * src/Makefile.am (base_headers): Add missing backwards headers.
459 * src/Makefile.in: Regenerate.
460
88628656
SS
4612000-11-21 scott snyder <snyder@fnal.gov>
462
463 * config/c_io_stdio.cc (seekoff): Fix return value.
464 (seekpos): Likewise.
465 (sys_seek): Likewise.
466
5388a89a
LR
4672000-11-21 Loren J. Rittle <ljrittle@acm.org>
468
469 * mkcheck.in (explanation): Retain output of all failing
470 compiles. Don't add gratuitous space to the log file.
471
63e749a8
BK
4722000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
473
5feb272b
BK
474 * src/strstream.cc: Adjust includes.
475 * src/Makefile.am (base_headers): Remove std_strstream.h, add
476 backwards/strstream.h.
477 (std_headers): Remove strstream.
478 * src/Makefile.in: Regenerate.
479 * libsupc++/Makefile.am (headers): Remove new.h
480 * libsupc++/Makefile.in: Regenerate.
481 * include/std/strstream: Remove.
63e749a8
BK
482 * include/backward/strstream.h: Replace with...
483 * include/bits/std_strstream.h: ...this. Move.
484 * include/backward/complex.h: Remove SGIisms.
485 * include/backward/streambuf.h: Same.
486 * include/backward/stream.h: Same.
487 * include/backward/ostream.h: Same.
488 * include/backward/istream.h: Same.
489 * include/backward/iostream.h: Same.
490 * include/backward/iomanip.h: Same.
491 * include/backward/fstream.h: Same.
492 * libsupc++/new.h: Add using declarations for bad_alloc,
493 nothrow_t, and nothrow, move to ...
494 * include/backward/new.h: ...here.
495
f45d2330
MM
4962000-11-21 Mark Mitchell <mark@codesourcery.com>
497
498 * porting.texi: New file.
499
b6bcb20e
BC
5002000-11-21 Branko Cibej <brankoe@xbc.nu>
501
502 * config/os/solaris/solaris2.6/bits/os_defines.h: Define
503 _XOPEN_SOURCE, _LARGEFILE64_SOURCE, __EXTENSIONS__, __off_t,
504 __off64_t and __ssize_t.
505 * config/os/solaris/solaris2.5/bits/os_defines.h: For now, use the
506 same configuration as above.
507
819004bb
BK
5082000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
509
510 * acinclude.m4 (AC_LC_MESSAGES): Check for locale.h.
511 * aclocal.m4: Regenerate.
512 * configure: Renerate.
513
66bc5940
BK
5142000-11-20 Benjamin Kosnik <bkoz@redhat.com>
515
516 * mkcheck.in (explanation): Don't paste output of passing compiles
517 into log file. Use -static. Get version info.
518
519 * testsuite/23_containers/vector_ctor.cc (test02): Fix thinko.
520
5212000-11-20 Gabriel Dos Reis <gdr@codesourcery.com>
b555ebaa
GDR
522
523 * include/bits/std_complex.h (complex<double>): Constructor
524 complex<double>::complex(const complex<float>&) is not explicit;
525 since it is a promotion.
526 (complex<long double>): Constructors taking complex<float> and
527 complex<double> are not explicit.
528
5e90dd71
BK
5292000-11-20 Benjamin Kosnik <bkoz@redhat.com>
530
531 * include/bits/std_complex.h: Tweaks, include cmath for abs overloads.
532 * src/complex.cc: Remove cmath include, formatting tweaks, remove
533 dead code.
534 * include/c/bits/std_cmath.h: Formatting tweaks.
535 * testsuite/26_numerics/complex_value.cc: New file, for catching
536 bits gleaned from libstdc++/106.
537
538 * testsuite/23_containers/vector_ctor.cc (test02): Add test from
539 libstdc++/102.
5e90dd71 540
78d58962
JM
5412000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
542
543 * include/bits/c++config, include/bits/ios_base.h,
544 include/bits/std_streambuf.h: Correct spelling of "deprecated".
545
2650255a
MM
5462000-11-19 Mark Mitchell <mark@codesourcery.com>
547
548 * libsupc++/exception_support.cc (__throw_bad_cast): Name it
549 __cxa_bad_cast under the new ABI.
550 (__throw_bad_typeid): Name it __cxa_bad_typeid under the new ABI.
551 * libsupc++/pure.cc (__pure_virtual): Name it __cxa_pure_virtual
552 under the new ABI.
553
f1f0c5a2
MM
5542000-11-18 Mark Mitchell <mark@codesourcery.com>
555
556 * libsupc++/exception_support.h: New header file.
557 * libsupc++/vec.cc: Include it.
558 (__cxa_vec_new2): Recatch exceptions before rethrows.
559 (__cxa_vec_new3): Likewise.
560 (__cxa_vec_ctor): Likewise.
561 (__cxa_vec_cctor): Likewise.
562 (__cxa_vec_dtor): Likewise.
563 (__cxa_vec_delete2): Likewise.
564 (__cxa_vec_delete3): Likewise.
565
c9b6c282
BK
5662000-11-17 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
567
568 * include/bits/stl_tree.h: Overload operators == and != to be able
569 to handle the case (const_iterator,iterator) and
570 (iterator,const_iterator), thus fixing libstdc++/737 and the like.
c55d2670
TP
571 * testsuite/23_containers/map_operators.cc (test02): New tests.
572
8e2d9424
LR
5732000-11-17 Loren J. Rittle <ljrittle@acm.org>
574
575 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Correct last patch
576 to ``make --enable-cstdio=stdio the default''.
577 * libstdc++-v3/aclocal.m4: Rebuilt.
578 * libstdc++-v3/configure: Rebuilt.
579
6414587c
PE
5802000-11-17 Phil Edwards <pme@sources.redhat.com>
581
582 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Move switch statement
583 contents to...
584 * configure.target: ...here. Enable generic atomic ops, and warn.
585 * aclocal.m4: Regenerated.
586 * configure: Ditto.
587 * Makefile.in: Ditto.
588 * libio/Makefile.in: Ditto.
589 * libmath/Makefile.in: Ditto.
590 * libsupc++/Makefile.in: Ditto.
591 * src/Makefile.in: Ditto.
592
5af655cc
LR
5932000-11-16 Loren J. Rittle <ljrittle@acm.org>
594
595 * include/bits/locale_facets.tcc (num_get<_CharT,
596 _InIter>::do_get(...)): Add missing typename keyword.
597
e26cb7ab
MM
5982000-11-16 Mark Mitchell <mark@codesourcery.com>
599
600 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make
601 --enable-cstdio=stdio the default. Disable wide character support
602 in that event.
603 * configure.in: Move GLIBCPP_ENABLE_C_MBCHAR after
604 (GLIBCPP_ENABLE_CSTDIO).
605 * config/c_io_stdio.h: Don't include <libio.h>, don't define
606 __c_wfile_type.
607 * aclocal.m4: Regenerated.
608 * configure: Likewise.
609 * Makefile.in: Likewise.
610 * libio/Makefile.in: Likewise.
611 * libmath/Makefile.in: Likewise.
612 * libsupc++/Makefile.in: Likewise.
613 * src/Makefile.in: Likewise.
614
cdb3cf85
GP
6152000-11-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
616
617 * config/c_io_stdio.h: Include stddef.h.
618
c135a22c
MM
6192000-11-16 Mark Mitchell <mark@codesourcery.com>
620
35ef21d2
MM
621 * config/c_io_stdio.h (streamsize): Make it a typedef for
622 ptrdiff_t.
623 (wstreamsize): Likewise.
624
c135a22c
MM
625 * config/c_io_stdio.h: Include libio.h.
626
c9b6c282 6272000-11-15 Mark P Mitchell <mark@codesourcery.com>
c4d3f801
MM
628
629 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.
630 * src/Makefile.am (libstdc___la_LIBADD): Use it.
631 * aclocal.m4: Regenerated.
632 * configure: Likewise.
633 * Makefile.in: Likewise.
634 * libio/Makefile.in: Likewise.
635 * libmath/Makefile.in: Likewise.
636 * libsupc++/Makefile.in: Likewise.
637 * src/Makfile.in: Likewise.
638
4f12dd3c
MM
6392000-11-15 Mark Mitchell <mark@codesourcery.com>
640
641 * mkcheckin.in: Move check for bash version 2 later in the file.
642
643 * include/bits/basic_string.h (basic_string::_Rep::_S_max_size):
644 Make it const.
645 (basic_string::_Rep::_S_terminal): Likewise.
646 * include/bits/string.tcc (basic_string::_Rep::_S_max_size):
647 Likewise.
648 (basic_string::_Rep::_S_terminal): Likewise.
649
74e1cd25
DB
6502000-11-15 David Billinghurst <David.Billinghurst@riotinto.com>
651
652 * mkcheck.in: Add function size_command() for irix.
653
5b20f7a0
BK
6542000-11-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
655
656 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to
657 initial value.
9f935979
BK
658 (GLIBCPP_EXPORT_INCLUDES): Only export TOPLEVEL_INCLUDES if
659 building a canadian cross. This should fix the remaining java
660 build issues.
5b20f7a0 661 * aclocal.m4: Regenerate.
9f935979 662 * configure: Regenerate.
5b20f7a0
BK
663
664 * include/bits/c++config (__GLIBCPP__): Set release version for 2.91.
665
acfb0fc5
PE
6662000-11-14 Phil Edwards <pme@sources.redhat.com>
667
5b20f7a0
BK
668 * mkcheck.in: On a platform where we don't know how to extract
669 section sizes, just set them to zero. Use old method of reading
670 file contents.
acfb0fc5 671
daa54c4b 6722000-11-13 Loren J. Rittle <ljrittle@acm.org>
5b20f7a0 673
daa54c4b
LR
674 * config/c_io_stdio.h: Don't define __c_wfile_type
675 when _GLIBCPP_USE_WCHAR_T is not defined.
676
d0941a31
PE
6772000-11-13 Phil Edwards <pme@sources.redhat.com>
678
679 * acinclude.m4 (GLIBCPP_CHECK_TARGET): New macro, replacing
5b20f7a0
BK
680 GLIBCPP_CHECK_CPU and GLIBCPP_CHECK_OS, sourcing configure.target.
681 (GLIBCPP_CONFIGURE): Call new macro here.
d0941a31
PE
682 * configure.host: Cleanup.
683 * configure.in: Remove those two macros.
684 * configure.target: New file.
685 * aclocal.m4: Regenerated.
686 * configure: Ditto.
687 * Makefile.in: Ditto.
688 * libio/Makefile.in: Ditto.
689 * libmath/Makefile.in: Ditto.
690 * libsupc++/Makefile.in: Ditto.
691 * src/Makefile.in: Ditto.
692
693 * mkcheck.in: Use libtool. Split things out into functions.
694
b72554f1
APB
6952000-11-12 Alexandre Petit-Bianco <apbianco@cygnus.com>
696
697 * Makefile.am (tmp-libstdsc++.INC:): Do not use -I$(top_builddir).
698 * Makefile.in: Regenerate.
699
fef53cdc
DE
7002000-11-12 David Edelsohn <edelsohn@gnu.org>
701
702 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add test for
703 libiconv.a providing wchar_t support functions.
704 * aclocal.m4: Regenerate.
705
66dfa143
LR
7062000-11-12 Loren J. Rittle <ljrittle@acm.org>
707
708 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle FreeBSD.
709 * aclocal.m4, configure: Rebuilt.
710
84e0b551
BK
7112000-11-12 Brent Verner <brent@rcfile.org>
712
713 * include/c_std/bits/wrap_langinfo.h: New file.
714 * include/c_std/langinfo.h: New file.
715 * include/bits/codecvt.h (__enc_trants::__enc_traits()): Bring in
716 CODESET from _C_legacy::CODESET if using shadow headers.
51d61f86
BV
717 * src/Makefile.am: Add new files.
718 * src/Makefile.in: Regenerate.
719
b5430af6
MM
7202000-11-12 Mark Mitchell <mark@codesourcery.com>
721
81dfdc48
MM
722 * include/c/bits/std_cmath.h (abs): Change extern "C" declaration
723 of `abs (double)' to ...
724 (fabs): this.
725
b5430af6
MM
726 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
727 __EXTENSIONS__.
728
84e0b551 7292000-11-11 Mark P Mitchell <mark@codesourcery.com>
8d8523fe
MM
730
731 * include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
732 when _GLIBCPP_USE_WCHAR_T is not defined.
733
585ddf9c
PE
7342000-11-10 Phil Edwards <pme@sources.redhat.com>
735
736 * include/bits/codecvt.h (__iconv_adaptor): New adaptor function,
737 courtesy of Alexandre Oliva, to handle const/non-const signatures.
738 (codecvt::do_out): Use.
739 (codecvt::do_in): And here.
740
ca6c4418
GDR
7412000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
742
743 * include/bits/cpp_type_traits.h: Fix typos. Adjust formatting.
744
982b8443
GDR
7452000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
746
747 * include/bits/localefwd.h (_Count_ones<>::_S_halfcount,
748 _Count_ones<>::_S_count): Turn into enumerators.
749
11977a42
MM
7502000-11-08 Mark Mitchell <mark@codesourcery.com>
751
752 * include/bits/codecvt.h (codecvt::do_out): Make it const-correct.
753 (codecvt::do_in): Likewise.
754
02a480f1
DE
7552000-11-08 David Edelsohn <edelsohn@gnu.org>
756
757 * src/locale-inst.cc: Add explicit instantiations of
758 _M_fill_insert and fill_n<..., unsigned long,...> .
759
6e124e38
GDR
7602000-11-06 Gabriel Dos Reis <gdr@codesourcery.com>
761
762 * include/bits/std_complex.h (conj): Undo double removal.
763
aa17a5f3
AO
7642000-11-06 Alexandre Oliva <aoliva@redhat.com>
765
766 * acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
767 alternatives for CXX_libstdcxx, now that it is useless.
768 * aclocal.m4, configure: Rebuilt.
769
f73bbdca
MM
7702000-11-04 Mark Mitchell <mark@codesourcery.com>
771
bb4127f8
MM
772 * acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
773 * aclocal.m4: Regenerated.
774 * configure: Likewise.
775
f73bbdca
MM
776 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix punctuation in
777 use of `test'.
778 * aclocal.m4: Regenerated.
779 * configure: Likewise.
780
de9aefe0
AO
7812000-11-04 Alexandre Oliva <aoliva@redhat.com>
782
783 * acinclude.m4 (CXX): Prevent it from being cached.
784 * aclocal.m4, configure, */Makefile.in: Rebuilt.
785
626d8f0a
PE
7862000-11-03 David Edelsohn <dje@watson.ibm.com>
787
788 * acinclude.m4 (GLIBCPP_CHECK_OS): Add AIX target selecting threads
789 flag based on multilib definition of $CXX.
790 * mknumeric_limits (LDFLAGS): Add AIX target linking with pthreads
791 based on multilib definition of $CXX.
792 * config/os/aix/bits/os_defines.h (_G_USING_THUNKS): Define as 0.
793
7942000-11-03 Phil Edwards <pme@sources.redhat.com>
795
796 * acinclude.m4: Cleanups.
797 * aclocal.m4: Regenerated.
798 * configure: Ditto.
799 * Makefile.in: Ditto.
800 * libio/Makefile.in: Ditto.
801 * libmath/Makefile.in: Ditto.
802 * libsupc++/Makefile.in: Ditto.
803 * src/Makefile.in: Ditto.
804
805 * docs/install.html: Removal of EGCS.
806 * docs/23_containers/wrappers_h.txt: Likewise.
807 * docs/faq/index.html: Likewise.
808 * docs/faq/index.txt: Regenerated.
809 * docs/thanks.html: More people.
810
50149aa9
DE
8112000-11-03 David Edelsohn <edelsohn@gnu.org>
812
813 * include/c/bits/std_cwchar.h: Undefine macro that conflicts
814 with function name defined in this file.
815
11d6fb54
MM
816Thu Nov 2 23:19:20 2000 Mark P Mitchell <mark@codesourcery.com>
817
818 * include/c/bits/std_cctype.h: Undefine macros that conflict
819 with function names defined in this file.
820 * include/c/bits/std_cstdio.h: Likewise.
821
5a0b0c7a
MM
8222000-11-02 Mark Mitchell <mark@codesourcery.com>
823
824 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.
825
7d3b1e8d
MM
826Thu Nov 2 10:11:45 2000 Mark P Mitchell <mark@codesourcery.com>
827
dbf5ba31
MM
828 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Add support for IRIX.
829 * aclocal.m4: Regenerated.
830 * Makefile.in: Regenerated.
831 * libio/Makefile.in: Likewise.
832 * libmath/Makefile.in: Likewise.
833 * libsupc++/Makefile.in: Likewise.
834 * src/Makefile.in: Likewise.
835 * configure: Likewise.
836 * config/os/irix/bits/ctype_base.h: Revise.
837 * config/os/irix/bits/ctype_inline.h: Likewise.
838 * config/os/irix/bits/ctype_noninline.h: Likewise.
839
840 * testsuite/22_locale/codecvt_unicode_char.cc: Don't run it
841 if not _GLIBCPP_USE_WCHAR_T.
842 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
843 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
844 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
845
846 * mkcheck.in: Fix echoing of -rpath option.
847
7d3b1e8d
MM
848 * config/os/irix/bits/atomicity.h (_Atomic_word): Make it a
849 signed type.
850 (__exchange_aand_add): Adjust accordingly.
851 (__atomic_add): Likewise.
852
d83c7eb4
BK
8532000-11-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
854
855 * src/locale.cc: Match orderings for static members.
856 * include/bits/fstream.tcc: Fixes for cin.
857
c9871410
GDR
8582000-11-02 Gabriel Dos Reis <gdr@codesourcery.com>
859
860 * include/bits/std_complex.h (complex<>): Remove (cos<>, cosh<>,
861 exp<>, log<>, log<>, sin, sinh<>) friend declarations.
862 (cos, cosh, sin, sinh): Define primary templates.
863
864 * src/complex.cc (cos<>, cosh<>, sin<>, sinh<>): Comment out
865 definitions.
866
9717c75c
BK
8672000-11-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
868
869 * bits/basic_file.h (_M_open_mode): Change signature, move
870 specializations to..
871 * config/c_io_libio.cc: ...here.
872 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add sdtio option, remove wince.
873 * aclocal.m4: Regenerate.
874 * configure: Regenerate.
875 * config/c_io_stdio.h: New file.
876 * config/c_io_stdio.cc: New file.
877 * docs/configopts.html: Modify documentation.
878
49ba75d2
BK
8792000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
880
881 * include/c/bits/std_cwctype.h: Add more undefs.
882
99fa3f5e
GDR
8832000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
884
885 * include/bits/std_complex.h (norm): Forward declare.
886 (complex<>): Comment out friend declaration of conj<>.
887 (conj<>): Comment out specialization.
888 (exp, log, log10): Define primary templates.
889
890 * src/complex.cc (exp<>, log<>, log10<>): Comment out
891 specializations.
892
bc359d3a
BK
8932000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
894
895 * include/bits/std_complex.h: Remove duplicate definition of conj.
896 * include/c/bits/std_cwctype.h: Consistent placement of undefs.
897
e541461a
GDR
8982000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
899
900 * src/complex.cc (arg, polar): Comment out specializations.
901
902 * include/bits/std_complex.h (complex<>): Remove arg<> friend
903 declaration.
904 (arg): Define primary template.
905 (polar): Likewise.
906 (conj): Likewise.
907
89b78169
GDR
9082000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
909
910 * include/c/bits/std_cwctype.h: #undef possible function-like
911 macro definitions of iswxxx functions, which might be brought in
912 by <wctype.h>. Those macro definitions prevent build on some
913 linux-based systems.
914
915 * include/bits/std_complex.h (complex<>): Comment out friend
916 declarations of abs<> specializations.
917 (abs): Define primary template.
918
919 * src/complex.cc (abs): Comment out specialization definition.
920
34791641
PE
9212000-10-30 Phil Edwards <pme@sources.redhat.com>
922
923 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Raise debugging level from
924 the default of 2 to 3.
925 * configure.in: Fix minor typos. SUBST the values of enable_shared
926 and enable_static so that mkcheck will be aware of them. Put the
927 test for gconv.h in with all the other header tests.
928 * aclocal.m4: Regenerate.
929 * configure: Ditto.
930 * Makefile.in: Ditto.
931 * libio/Makefile.in: Ditto.
932 * libmath/Makefile.in: Ditto.
933 * libsupc++/Makefile.in: Ditto.
934 * src/Makefile.in: Ditto.
935
936 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
937 _G_USING_THUNKS to 0.
938
4bc95009
BK
9392000-10-30 Benjamin Kosnik <bkoz@redhat.com>
940
941 * src/complex_io.cc : Remove ancient defines.
942 * config/os/gnu-linux/bits/os_defines.h: Add defines.
943 * libsupc++/tinfo2.cc: Change to cstddef.
944
945 * include/bits/codecvt.h: Add include of c++config.h, so that
946 __USE_GNU gets defined. (Important for alpha.)
947
948 * include/c/bits/std_cwctype.h: Same.
949 * include/c/bits/std_ctime.h: And here.
950 * include/c/bits/std_cstdarg.h: Same.
951 * include/c/bits/std_csignal.h: Same.
952 * include/c/bits/std_csetjmp.h: Same.
953 * include/c/bits/std_clocale.h: Same.
954 * include/c/bits/std_climits.h: Touch.
955 * include/c/bits/std_cfloat.h: Same.
956 * include/c/bits/std_cerrno.h: Same.
957 * include/c/bits/std_cwchar.h: Same.
958 * include/c/bits/std_cassert.h: Same.
959 * include/c/bits/std_cctype.h: Same.
960 * include/c/bits/std_cstddef.h: And here.
961 * include/c/bits/std_cstdlib.h: And here.
962 * include/c/bits/std_cstdio.h: Same.
963 * include/c/bits/std_cstring.h: Add names to namespace std::.
964
965 * include/bits/c++config (_GNU_SOURCE): Move linux-specific macros
966 from here...
967 (_ISOC99_SOURCE): And this one....
968 * config/os/gnu-linux/bits/os_defines.h: ...to here.
969
970 * include/bits/codecvt.h (codecvt<_InternT, _ExternT,
971 __enc_traits>::do_in): Don't cast to const, this is a bug in glibc
972 prior to 2.2.
973 (codecvt<_InternT, _ExternT, __enc_traits>::do_out): Same.
974 * include/c/bits/std_cwchar.h: Add using declarations for mbstate_t.
975
9762000-10-30 Steven King <sxking@uswest.net>
977
978 * include/bits/codecvt.h: Add cast.
979 * include/c_std/stdio.h: Re-add printf using declaration.
980 * include/c_std/bits/std_cstdio.h: Same
981 * testsuite/22_locale/codecvt_wchar_t_char.cc: Fixup testsuite.
982 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
983 * testsuite/22_locale/facet.cc: Same.
984 * testsuite/22_locale/global_templates.cc: Same.
985 * testsuite/22_locale/operators.cc: Same.
986 * testsuite/22_locale/static_members.cc: Same.
987 * testsuite/26_numerics/c_math.cc: Same.
988 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
989 * testsuite/27_io/fpos.cc: Same.
990 * testsuite/27_io/istream_extractor_arith.cc: Same.
991 * testsuite/27_io/istream_unformatted.cc: Same.
992 * testsuite/27_io/ostream_inserter_arith.cc: Same.
993 * testsuite/27_io/streambuf.cc: Same.
994
b4b2a487
MM
9952000-10-30 Mark Mitchell <mark@codesourcery.com>
996
997 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Check
998 for cabs, cabsf, and cabsl, too.
999 * aclocal.m4: Regenerated.
1000 * config.h.in: Likewise.
1001 * configure: Likewise.
1002 * libmath/Makefile.am (libmath_la_SOURCES): Remove cabs.c and
1003 cabsf.c.
1004 * libmath/Makefile.in: Regenerated.
1005 * libmath/complex-stub.h (cabs): Don't declare if the system
1006 already provides this function.
1007 (cabsf): Likewise.
1008 (cabsl): Likewise.
1009 * src/complex.cc (abs): Directly use `hypot' since we can't call
1010 cabs on IRIX.
1011
747dcaf1
JM
10122000-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
1013
1014 * acinclude.m4: Update URL on egcs.cygnus.com to point to
1015 gcc.gnu.org.
1016 * aclocal.m4, configure: Regenerate.
1017 * src/gen-num-limits.cc, include/bits/c++config,
1018 include/bits/stl_config.h: Remove EGCS references.
1019
23d3495f
MM
10202000-10-29 Mark Mitchell <mark@codesourcery.com>
1021
1022 * mkcheck.in (test_file): Use -rpath, rather than --rpath, when
1023 building shared executables.
1024
5e53dba6
BK
10252000-10-29 Mark Harig <mharig@landmark.com>
1026
1027 * src/Makefile.am: Change logic for include dir options.
1028 * src/Makefile.in: Regenerate.
1029 * libsupc++/Makefile.am: Ditto.
1030 * libsupc++/Makefile.in: Regenerate.
1031
10322000-10-29 Benjamin Kosnik <bkoz@redhat.com>
1033
1034 * configure.in: Simplify use of AC_CACHE_SAVE. Put linked files
1035 in $(top_builddir)/include/bits, not $(top_builddir)/bits, to help
1036 with libgcj build issues and improve consistency with the source
1037 directory's include directory setup.
1038 * configure: Regenerate.
1039 * acinclude.m4: Same here.
1040 * aclocal.m4: Regenerate.
1041 * mknumeric_limits (OUT_H): Also change paths here.
1042 * mkcheck.in (C_DIR): And here.
1043 * mkc++config (OUT_H): And here.
1044 * libmath/Makefile.am (INCLUDES): And here.
1045 * src/Makefile.am (INCLUDES): Change to $(top_builddir)/include.
1046 * libio/Makefile.am: Ditto.
1047 * libsupc++/Makefile.am (INCLUDES): Ditto.
1048
2f974bd2
MM
10492000-10-29 Mark Mitchell <mark@codesourcery.com>
1050
3c97056f
MM
1051 * config/c_io_libio.cc (basic_file<char>::__basic_file):
1052 Don't pass a NULL _IO_wide_data to _IO_no_init when
1053 _GLIBCPP_USE_WCHAR_T is not defined.
1054 * config/c_io_libio.h (_IO_codecvt): Don't declare when
1055 _GLIBCPP_USE_WCHAR_T is not defined.
1056 * config/c_io_libio_codecvt.c: Don't compile it
1057 when _GLIBCPP_USE_WCHAR_T is not defined.
1058 * include/bits/codecvt.h (codecvt<_InternT, _ExternT, __enc_traits):
1059 Don't define this specialization when _GLIBCPP_USE_WCHAR_T
1060 is not defined.
1061 * include/bits/locale_facets.h (<bits/std_cwctype.h>): Don't
1062 include it when _GLIBCPP_USE_WCHAR_T is not defined.
1063 * src/codecvt.cc (__enc_traits::_S_max_size): Don't define
1064 when _GLIBCPP_USE_WCHAR_T is not defined.
1065 * src/localename.cc (locale::_Impl::_M_construct_collate):
1066 Don't call wide-character functions when _GLIBCPP_USE_WCHAR_T is
1067 not defined.
1068 (locale::_Impl::_M_construct_ctype): Likewise.
1069 (locale::_Impl::_M_construct_monetary): Likewise.
1070 (locale::_Impl::_M_construct_numeric): Likewise.
1071 (locale::_Impl::_M_construct_time): Likewise.
1072 (locale::_Impl::_M_construct_messages): Likewise.
1073
1074 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle IRIX.
9ece5af6
MM
1075 * aclocal.m4: Regenerated.
1076 * configure: Likewise.
2f974bd2
MM
1077 * config/os/irix/bits/atomicity.h: New file.
1078 * config/os/irix/bits/os_defines.h (_POSIX_SOURCE): Undefine.
1079 (__off_t): Define.
1080 (__off64_t): Likewise.
1081 (__ssize_t): Likewise.
1082 (_G_USING_THUNKS): Define to zero.
1083
cea1f697
MM
10842000-10-28 Mark Mitchell <mark@codesourcery.com>
1085
1086 * src/string-inst.cc (basic_string<C>::npos): Explicitly
1087 instantiate it.
1088
e7140677
BK
10892000-10-26 Benjamin Kosnik <bkoz@redhat.com>
1090
1091 * include/c/bits/std_cmath.h: Fix double declarations in namespace std.
1092
1093 Clean up naming, consistency in "C" library autoconf testing.
1094 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): For consistency, change to
1095 GLIBCPP_CHECK_CTYPE_SUPPORT.
1096 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add.
1097 * aclocal.m4: Regenerate.
1098 * configure.in: And here.
1099 Add call to GLIBCPP_CHECK_STDLIB_SUPPORT.
1100 * configure: Regenerate.
1101
11022000-10-26 David Edelsohn <edelsohn@gnu.org>
1103
1104 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_2): New macro.
1105 (GLIBCPP_CHECK_MATH_SUPPORT): Use it to test for strtold.
1106
11072000-10-26 Phil Edwards <pme@sources.redhat.com>
1108 David Edelsohn <dje@watson.ibm.com>
1109
1110 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
1111 --gc-sections stuff entirely to avoid misleading people.
1112 (GLIBCPP_ENABLE_CSTDIO): Merge need_libio and need_xtra_libio.
1113 * libio/Makefile.am (LIBIO_SRCS,LIBIO_WSRCS,LIBIO_XTRA_SRCS):
1114 Rearrange and merge.
1115 * libio/libio.h: Simplify, make fewer assumptions. Define those
1116 macros which must be defined.
1117 * config/os/solaris/solaris2.7/bits/os_defines.h: Simplify as a
1118 result.
1119
140c3b7e
MM
11202000-10-26 Mark Mitchell <mark@codesourcery.com>
1121
1122 * include/backward/streambuf.h: New file.
1123
a69135b8
DE
11242000-10-26 David Edelsohn <dje@watson.ibm.com>
1125
1126 * config/os/aix/bits/ctype_inline.h (is): Use __OBJ_DATA directly.
1127 * config/os/aix/bits/ctype_noninline.h (do_tolower): Fix typo.
1128 * config/os/aix/bits/os_defines.h: Add AIX defines.
1129
eae7a9fa
BK
11302000-10-26 Benjamin Kosnik <bkoz@redhat.com>
1131
1132 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Remove.
1133 * aclocal.m4: Regenerate.
1134 * configure.in: Remove GLIBCPP_ENABLE_LONG_DOUBLE.
1135 * configure: Regenerate.
1136 * docs/configopts.html: Remove.
1137 * src/complexl.cc: Revert.
1138 * config.h.in: Remove.
1139 * include/c_std/bits/std_cmath.h: Remove guards based on
1140 _GLIBCPP_USE_LONG_DOUBLE.
1141 * include/c/bits/std_cmath.h: Same. Format. Match c_std behavior
1142 with respect to long double signatures.
1143
1144 * config/os/aix/bits/ctype_noninline.h (ctype): Remove throw
1145 specification.
1146 * config/os/newlib/bits/ctype_noninline.h (ctype): And here.
1147 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
1148 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
1149 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
1150 * config/os/bsd/bits/ctype_noninline.h (ctype): Same.
1151
95faa9a1
GDR
11522000-10-26 Gabriel Dos Reis <gdr@codesourcery.com>
1153
1154 * include/bits/std_valarray.h (valarray::valarray): Fix thinko.
1155 Use __valarray_copy_construct only where appropriate.
1156
be5aeb60
MM
11572000-10-25 Mark Mitchell <mark@codesourcery.com>
1158
1159 * Makefile.in (check): Don't make mkcheck executable.
1160 (check-install): Likewise.
1161 * configure.in (AC_OUTPUT): Make mkcheck executable.
1162 * mkcheck.in (top_srcdir): New variable.
1163 (INC_PATH): Set the path to the backward and ext directories
1164 correctly.
1165
dfb1d76f
PE
11662000-10-25 Phil Edwards <pme@sources.redhat.com>
1167
1168 * configure.in: Check for gconv.h.
1169 * libio/wfileops.c: Wrap gconv.h in HAVE_GCONV_H.
1170
1171 * config/c_io_libio_codecvt.c: Change __mbstate_t to __c_mbstate_t.
1172 * libio/_G_config.h: And here.
1173 * libio/iofwide.c: And here.
1174 * libio/libio.h: And here.
1175
1176 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Remove
1177 exception specification to match declaration.
1178 * include/bits/locale_facets.tcc: Include bits/std_clocale.h.
1179
1ac41449
MH
11802000-10-24 Mark Harig <mharig@landmark.com>
1181
1182 * docs/configopts.html: Added documentation for the
1183 "--enable-version-specific-runtime-libs" and
1184 "--with-gxx-include-dir" configuration switches.
1185
8b8ab21c
BK
11862000-10-24 Benjamin Kosnik <bkoz@redhat.com>
1187
1188 * include/bits/stl_pair.h (make_pair): Add LWG solution.
1189
1190 * testsuite/21_strings/compare.cc (test01): Inject namespace std
1191 into the mix.
1192
1193 * mkcheck.in (MAX_MEM_USAGE): Bump up to 3072. Strangely enough,
1194 this works.
1195
11962000-10-24 Levente Farkas <lfarkas@mindmaker.hu>
1197
1198 * include/bits/std_bitset.h (_M_do_find_next): Fix typo.
1199
12002000-10-24 Phil Edwards <pme@sources.redhat.com>
1201
1202 * acconfig.h: List _GLIBCPP_USE_THREADS.
1203 * acinclude.m4: General formatting cleanup (tabs/spaces), typo
1204 correction, etc. Add comments about following *real* changes
1205 where they are used.
1206 (GLIBCPP_ENABLE_C_MBCHAR): New test...
1207 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): ...results used here.
1208 (GLIBCPP_ENABLE_CSTDIO): Define need_wlibio iff wide characters
1209 are requested.
1210 (GLIBCPP_ENABLE_THREADS): If threads are used, define new
1211 macro _GLIBCPP_USE_THREADS in c++config.h.
1212 (GLIBCPP_ENABLE_SHADOW): For C_INCLUDE_DIR, change () to {} as
1213 this is used in both makefiles and shell scripts (mkcheck).
1214 * configure.in: Call GLIBCPP_ENABLE_C_MBCHAR.
1215
1216 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USE_THREADS.
1217 * config/c_io_libio.h: In nonthreaded case, typedef __c_lock to
1218 something harmless, like int.
1219
1220 * config/os/aix/bits/os_defines.h: Guard with _GLIBCPP_OS_DEFINES,
1221 add comment/instructions.
1222 * config/os/bsd/bits/os_defines.h: Ditto.
1223 * config/os/generic/bits/os_defines.h: Ditto.
1224 * config/os/gnu-linux/bits/os_defines.h: Ditto.
1225 * config/os/irix/bits/os_defines.h: Ditto.
1226 * config/os/newlib/bits/os_defines.h: Ditto.
1227 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
1228 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
1229
1230 * mkcheck.in: Limit the available heap size for testsuite
1231 binaries, initially at 2MB.
1232
23d3495f
MM
12332000-10-23 Benjamin Kosnik <bkoz@redhat.com>
1234
1235 * testsuite/21_strings/compare.cc (test01): Add using declarations.
1236
1237 * include/c_std/bits/std_cerrno.h: And here.
1238 * include/c_std/bits/std_cassert.h: Tweaks.
1239
1240 * mkcheck.in: Simplify.
1241
1242 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
1243 (GLIBCPP_ENABLE_LONG_LONG): Same.
1244 * aclocal.m4: Regenerate.
1245
1246 * src/Makefile.am (c_shadow_headers): Add features.h,
1247 bits/wrap_features.h.
1248 * src/Makefile.in: Regenerate.
1249 * include/c_std/features.h: New file.
1250 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
1251 file. Need to have c++config.h included before this file so
1252 _ISOC99_SOURCE around.
1253
1254 * include/c_std/sys/cdefs.h: Hack.
1255 * include/c_std/stdlib.h: Same, use c++config.h.
1256 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
1257
1258 * include/c_std/bits/std_cassert.h: Fix.
1259 * include/c_std/bits/std_cerrno.h: Make consistent.
1260
1261 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
1262 declaration from ::_C_legacy to _C_legacy.
1263
1264 * include/c_std/bits/std_cstdio.h: same with printf.
1265 * include/c_std/stdio.h: And here.
1266
1267 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
1268 * include/c_std/stdlib.h: Same here.
1269
dcc41852
BK
12702000-10-23 Benjamin Kosnik <bkoz@redhat.com>
1271
1272 * testsuite/21_strings/compare.cc (test01): Add using declarations.
1273
1274 * include/c_std/bits/std_cerrno.h: And here.
1275 * include/c_std/bits/std_cassert.h: Tweaks.
1276
1277 * mkcheck.in: Simplify.
1278
1279 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
1280 (GLIBCPP_ENABLE_LONG_LONG): Same.
1281 * aclocal.m4: Regenerate.
1282
1283 * src/Makefile.am (c_shadow_headers): Add features.h,
1284 bits/wrap_features.h.
1285 * src/Makefile.in: Regenerate.
1286 * include/c_std/features.h: New file.
1287 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
1288 file. Need to have c++config.h included before this file so
1289 _ISOC99_SOURCE around.
1290
1291 * include/c_std/sys/cdefs.h: Hack.
1292 * include/c_std/stdlib.h: Same, use c++config.h.
1293 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
1294
1295 * include/c_std/bits/std_cassert.h: Fix.
1296 * include/c_std/bits/std_cerrno.h: Make consistent.
1297
1298 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
1299 declaration from ::_C_legacy to _C_legacy.
1300
1301 * include/c_std/bits/std_cstdio.h: same with printf.
1302 * include/c_std/stdio.h: And here.
1303
1304 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
1305 * include/c_std/stdlib.h: Same here.
1306
6b76f569
BK
13072000-10-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1308
9fedcfd5
BK
1309 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): New macro.
1310 * aclocal.m4: Regenerate.
1311 * configure.in: Use it.
1312 * configure: Regenerate.
1313 * src/complexl.cc: Fixup.
1314 * include/c_std/bits/std_cmath.h: Fixup.
1315 * include/c/bits/std_cmath.h: Fixup.
fac04553 1316 * docs/configopts.html: Add docs.
9fedcfd5 1317
6b76f569
BK
1318 * docs/links.html: Add links to defects list, standards FAQ.
1319
1320 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Disable tests
1321 with string creation that allocate huge ammounts of memory.
1322
1323 * include/c/bits/std_cstddef.h: Put size_t, ptrdiff_t in
1324 namepace std.
1325
13262000-10-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1327
1328 * libsupc++/exception.cc: Use namespace std.
1329 * libsupc++/new: DITTO.
1330 * libsupc++/new_op.cc: DITTO.
1331 * libsupc++/new_opnt.cc: DITTO.
1332 * libsupc++/new_opv.cc: DITTO.
1333 * libsupc++/new_opvnt.cc: DITTO.
1334 * libsupc++/tinfo.cc: DITTO.
1335 * libsupc++/tinfo.h: DITTO.
1336 * libsupc++/vec.cc: DITTO.
1337 * libsupc++/Makefile.am: Blank lines removal.
1338
d73b0bcf
JM
13392000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
1340
1341 * docs/configopts.html, docs/install.html, docs/17_intro/BADNAMES,
1342 docs/17_intro/howto.html, docs/18_support/howto.html,
1343 docs/19_diagnostics/howto.html, docs/20_util/howto.html,
1344 docs/21_strings/howto.html, docs/22_locale/howto.html,
1345 docs/23_containers/howto.html, docs/24_iterators/howto.html,
1346 docs/25_algorithms/howto.html, docs/26_numerics/howto.html,
1347 docs/27_io/howto.html, docs/ext/howto.html, docs/faq/index.html:
1348 Remove many EGCS references; use current absolute URLs on
1349 gcc.gnu.org or sources.redhat.com for messages in list archives.
1350 * docs/faq/index.txt: Regenerate.
1351
7dc08a20
BK
13522000-10-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1353
1354 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Adjust
1355 creation of state_type for unicode_codecvt to take into account
1356 the byte order markings. Add distinct tests for UCS-2BE and UCS-2LE.
1357 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Same.
1358 * include/bits/codecvt.h (__enc_traits): Add support for encodings
1359 that need a byte order marker. Needed for correct unicode support.
1360
1361 * src/locale.cc: Remove explicit qualification std::.
1362 (locale::locale(const char* __name)): Revert, as named locale
1363 support not finished.
1364 * src/localename.cc (locale::_Impl:: _Impl(size_t __numfacets,
1365 size_t __refs, bool __has_name = false, string __name): Move
1366 default argument...
1367 * include/bits/localefwd.h: Here.
1368
b0166fda
CS
13692000-10-18 Chip Salzenberg <chip@valinux.com>
1370
1371 * libio/libio.h (_IO_USER_LOCK): Define.
1372
7dc08a20 13732000-10-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
697649ea
BK
1374
1375 * libsupc++/Makefile.am (exception): Change exception.cc to
1376 exception_support.cc.
1377 (CXXLINK): Remove bogus --tag CC.
1378 * libsupc++/Makefile.in: Regenerate.
1379 * libsupc++/exception.cc: Move to...
1380 * libsupc++/exception_support.cc: ...here.
1381
1382 * src/Makefile.am: Remove bogus --tag CC.
1383 * src/Makefile.in: Regenerate.
1384
1385 * include/bits/locale_facets.tcc (use_facet): Simplify.
1386 * include/bits/locale_facets.h (use_facet<ctype<char> >): Correct
1387 use_facet declaration. Replace 'const ctype<T>' with ctype<T>.
1388 (use_facet<ctype<wchar_t> >): Same.
1389 * src/locale-inst.cc: Remove explicit instantiation.
1390 * src/locale.cc: Correct signature here too.
1391 (_Bad_use_facet::what()): Correct error string.
1392 * include/bits/localefwd.h: Correct comment.
1393
1394 * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
1395
13962000-10-17 Martin Buchholz <martin@xemacs.org>
189244a4
MB
1397
1398 * testsuite/27_io/istream_seeks.cc: Fix spelling typo.
1399 * testsuite/27_io/ostream_seeks.cc: Similarly.
1400
a9117427
BK
14012000-10-17 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1402
1403 via Alexandre Oliva <aoliva@redhat.com>
1404 * libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
1405 * libsupc++/Makefile.in: Regenerate.
1406 * src/Makefile.am: Duplicate code.
1407 * src/Makefile.in: Regenerate.
1408
1409 * acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
1410 * aclocal.m4: Regenerate.
1411 * configure.in: And here.
1412 * configure: Regenerate.
1413
1414 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
1415 test for SECTION_LDFLAGS.
1416
9ece379a
BK
14172000-10-16 Benjamin Kosnik <bkoz@gnu.org>
1418
1419 Shadow headers would work if libsupc++ was strict about namespaces.
1420 This only possible if g++ maps std::size_t -> size_t. (Hint hint.)
1421 * include/c_std/assert.h: Add guards.
1422 * include/c_std/bits/std_climits.h: Correct typo.
1423 * include/c_std/ctype.h: Remove #error.
1424
1425 * libio/libioP.h: Break up extern "C" bits around includes.
1426 * libio/libio.h: Only include C headers, or else _C_legacy namespaces
1427 will be nested.
1428 * libio/libioP.h: Same here.
1429
14302000-10-15 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1431
1432 * include/c_std/unistd.h: Define some types only when defined in
1433 the original unistd.h.
1434 * include/c_std/bits/std_cstddef.h: Explicitly ask for the
1435 definition of size_t, ptrdiff_t and NULL.
1436 * include/c_std/bits/wrap_unistd.h: Blank lines removal.
1437
60ade935
PE
14382000-10-15 Phil Edwards <pme@sources.redhat.com>
1439
1440 * docs/configopts.html: Remove libgcc-rebuild; HTML formatting.
1441
1fd2f510
BK
14422000-10-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1443 Mark Harig <markh@landmark.com>
1444
1445 * src/Makefile.am (toolexeclibdir): Add support fo
1446 VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
1447 * src/Makefile.in: Regenerate.
1448 * libsupc++/Makefile.am: Same.
1449 (glibcppinstalldir): Adjust.
1450 * libsupc++/Makefile.in: Regenerate.
1451 * Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
1452 * Makefile.in: Regenerate.
1453 * docs/configopts.html: Add descriptions of flags.
1454
e466dc8a
BK
14552000-10-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1456
1457 * libsupc++/Makefile.am: Use it.
1458 * libio/Makefile.am: Use it.
1459 * libmath/Makefile.am: Use it.
1460 * src/Makefile.am: Use it.
1461 * Makefile.am (AM_MAKEFLAGS): Remove includes.
1462
1463 * acinclude.m4 (GLIBCPP_EXPORT_INCLUES): Move include macros here.
1464 (GLIBCPP_EXPORT_FLAGS): Move CXX flag setting here.
1465 * configure.in: Use it.
1466
1467 * mkcheck.in (SRC_DIR): Use C_INCLUDE_DIR.
b1e53318
BK
1468
1469 * src/Makefile.am (CXXCOMPILE): Remove.
1470 * src/Makefile.in: Regenerate.
1471 * libsupc++/Makefile.am (CXXCOMPILE): Same here.
1472 * libsupc++/Makefile.in: Regenerate.
1473
82271b8c
BK
1474 * include/c_std/*: Merge with shadow.
1475 * include/c_std/bits/*: Same.
1476
1477 * shadow: Remove directory.
1478 * shadow/*: De-populate.
1479
a3cfd96a
PE
14802000-10-11 Phil Edwards <pme@sources.redhat.com>
1481
1482 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
1483 exception-throwing code for linker test.
1484 * aclocal.m4: Regenerate.
1485 * configure: Regenerate.
1486
a6863e25
BK
14872000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1488
1489 * Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
1490 * libsupc++/include: Remove
1491 * libsupc++/include/*: Move to ...
1492 * libsupc++: Here.
1493 * libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
1494 (glibcppinstalldir): New.
1495
1496 * src/Makefile.am (c_base_headers): New.
1497 (c_shadow_headers): New
1498 (c_headers): New.
1499 (myinstallheaders): Correct install issues.
1500 * src/Makefile.in: Regenerate.
1501
1502 * Makefile.am (CSHADOW_INCLUDES): Simplify.
1503 * Makefile.in: Regenerate.
1504 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
1505 * aclocal.m4: Regenerate.
1506 * mkcheck.in (SRC_DIR): Use it.
1507
1508 * include/bits/std_stdexcept.h: And here.
1509 * include/bits/std_ios.h: Change std_exception.h to exception.
1510 * src/locale.cc: And here.
1511 * src/locale-inst.cc: And here.
1512
1513 * include/bits/valarray_array.h: And here.
1514 * include/bits/stl_alloc.h: And here.
1515 * include/bits/stl_algobase.h: And here.
1516 * include/bits/pthread_allocimpl.h: And here.
1517 * include/bits/stl_construct.h: Change to std_new.h to new.
1518
1519 * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.
1520
1521 * src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
1522 (headers): Remove duplicated headers.
1523 (std_headers): And here.
1524 * src/Makefile.in: Regenerate.
1525 * libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
1526 * libsupc++/Makefile.in: Regenerate.
1527 * Makefile.am (LIBSUPCXX_INCLUDES): Add here.
1528 (AM_MAKEFLAGS): And here.
1529 * Makefile.in: Regenerate.
1530 * include/bits/std_typeinfo.h: Remove.
1531 * include/bits/std_new.h: Remove
1532 * include/bits/std_exception.h: Remove.
1533 * std/new: Remove.
1534 * std/typeinfo: Remove.
1535 * std/exception: Remove.
1536
1537 * libio/_G_config.h (__need_ptrdiff_t): Add.
1538
1539 * libsupc++/include/new: Change stddef.h to cstddef.
1540 * libsupc++/tinfo.h: Change limits.h to climits.
1541 * libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
1542 renders the file uncompilable. Add copyright.
1543
1544 * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
1545 namespace, as it is a fundamental type.
1546
3734420f
RH
15472000-10-09 Richard Henderson <rth@cygnus.com>
1548
1549 * libsupc++/pure.cc: New file.
1550 * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
1551 (sources): Add pure.cc.
1552 * libsupc++/Makefile.in: Regenerate.
1553
3ec840ea 15542000-10-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
0b8e0cf3
BK
1555
1556 * docs/configopts.html: Edit.
1557
1558 * libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
1559 * libio/Makefile.in: Regenerate.
1560 * libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
1561 * libmath/Makefile.in: Regenerate.
1562 * libsupc++/Makefile.am (INCLUDES): Remove duplicate.
1563 * libsupc++/Makefile.in: Regenerate.
1564
1565 * Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
1566 TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
1567 CSHADOW_INCLUDES up here.
1568 * Makefile.in: Regenerate.
1569 * src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
1570 for shadow headers.
1571 (myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
1572 Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
1573 LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
1574 * src/Makefile.in: Regenerate.
1575
1576 * include/c: New directory.
1577 * include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
1578 std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
1579 std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
1580 std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
1581 std_cwchar.h, std_cwctype.h): Add, moving from...
1582 * include/bits: ...here.
1583 * include/c_std: New directory.
1584 * include/c_std/bits/*: Populate from...
1585 * shadow: ...here. Remove directory.
1586
1364053c
BK
15872000-10-08 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1588
1589 * libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
1590 (INCLUDES): Add glibcpp_includedir.
1591 * libsupc++/Makefile.in: Regenerate.
1592
1593 * acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
1594 * aclocal.m4: Regenerate.
1595 * config/os/*/bits/os_defintes: Adjust copyright dates.
1596
79b425c6
PE
15972000-10-08 Phil Edwards <pme@sources.redhat.com>
1598
1599 * include/bits/c++config: Include <bits/os_defines.h>
1600 * config/os/aix/bits/os_defines.h: New file.
1601 * config/os/bsd/bits/os_defines.h: Ditto.
1602 * config/os/generic/bits/os_defines.h: Ditto.
1603 * config/os/gnu-linux/bits/os_defines.h: Ditto.
1604 * config/os/irix/bits/os_defines.h: Ditto.
1605 * config/os/newlib/bits/os_defines.h: Ditto.
1606 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
1607 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
1608 * config/os/solaris/solaris2.7/bits/os_defines.h: Ditto.
1609
e974e9cc
BK
16102000-10-07 David Edelsohn <dje@watson.ibm.com>
1611
1612 * config/os/aix/bits/atomicity.h: New file.
1613
58ad9ee0
BK
16142000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1615
1616 * acinclude.m4: Remove CPU_FLAGS
1617 * libio/Makefile.am: Here too.
1618 * Makefile.am: Here too.
1619
1620 * src/Makefile.am (CONFIG_INCLUDES): Remove.
1621 (INCLUDES): Remove CONFIG_INCLUDES.
1622 (cpu_headers): Remove.
1623 (myinstallheaders): Remove cpu_headers.
1624 (generated_headers): Rename to build_headers.
1625 (build_headers): Add atomicity.h, ctype_base.h,
1626 ctype_specializations.h.
1627
1628 * config/os: New directory.
1629 * config/aix: Move to...
1630 * config/bsd: Move to...
1631 * config/generic: Move to...
1632 * config/gnu-linux: Move to...
1633 * config/irix: Move to...
1634 * config/newlib: Move to...
1635 * config/solaris: Move to...
1636 * config/os/*: Here.
1637
e974e9cc
BK
16382000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1639
1640 * acinclude.m4: Remove CPU_FLAGS
1641 * libio/Makefile.am: Here too.
1642 * Makefile.am: Here too.
1643
1644 * src/Makefile.am (CONFIG_INCLUDES): Remove.
1645 (INCLUDES): Remove CONFIG_INCLUDES.
1646 (cpu_headers): Remove.
1647 (myinstallheaders): Remove cpu_headers.
1648 (generated_headers): Rename to build_headers.
1649 (build_headers): Add atomicity.h, ctype_base.h,
1650 ctype_specializations.h.
1651
1652 * config/os: New directory.
1653 * config/aix: Move to...
1654 * config/bsd: Move to...
1655 * config/generic: Move to...
1656 * config/gnu-linux: Move to...
1657 * config/irix: Move to...
1658 * config/newlib: Move to...
1659 * config/solaris: Move to...
1660 * config/os/*: Here.
1661
c7053b70
BK
16622000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1663
1664 * src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
1665 CONFIG_CXXFLAGS from here, and move to...
1666 * src/Makefile.in: Regenerate.
1667 * Makefile.am: ... here. Clean.
1668 (OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
1669 (WARN_CXXFLAGS): Same.
1670 (CONFIG_CXXFLAGS): Same.
1671 * Makefile.in: Regenerate.
1672 * libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
1673 WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
1674 * libsupc++/Makefile.in: Regenerate.
1675
1676 Change math to libmath.
1677 * math: Move to libmath, delete.
1678 * libmath: New directory.
1679 * libmath/*: Populate.
1680 * src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
1681 (libstdc___la_LIBADD): Same.
1682 * src/Makefile.in: Regenerate.
1683 * configure.in: Add AC_OUTPUT for libmath/Makefile.
1684 * configure: Regenerate.
1685 * Makefile.am (SUBDIRS): Add libmath.
1686 * Makefile.in: Regenerate.
1687 * README (file): Change name.
1688
06bd10fb
BK
16892000-10-06 Benjamin Kosnik <bkoz@cygnus.com>
1690 Richard Henderson <rth@cygnus.com>
1691 Alexandre Oliva <aoliva@redhat.com>
1692
1693 * libsupc++: New directory.
1694 * libsupc++/*: Populate.
1695 * libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
1696 eh-common.h, gansidecl.h.
1697 * configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
1698 * configure: Regenerate.
1699 * Makefile.am (SUBDIRS): Add libsupc++.
1700 * Makefile.in: Regenerate.
1701 * src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
1702 * src/Makefile.in: Regenerate.
1703 * libio/Makefile.am: Remove extraneous, confusing bits.
c7053b70 1704 * libio/Makefile.in: Regenerate.
06bd10fb 1705
89e37ad7
BK
17062000-10-05 Brent Verner <brent@rcfile.org>
1707
1708 * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
1709 test for _M_gcount < in_avail(), as in_avail() only reports info
1710 for current buffer, causing method to return at end of buffer.
1711 * testsuite/27_io/istream_unformatted.cc [test07()]: New test.
1712 * testsuite/27_io/istream_unformatted-3.txt: New file.
1713 * testsuite/27_io/istream_unformatted-3.tst: New file.
1714
17152000-10-05 Benjamin Kosnik <bkoz@fillmore.constant.com>
1716
1717 * README (file): Adjust directory structures.
1718 * mkcheck.in (INC_PATH): Adjust for header changes.
1719
9a200b0a
PE
17202000-10-05 Phil Edwards <pme@sources.redhat.com>
1721
1722 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts
1723 for public relations purposes.
1724 * aclocal.m4: Regenerated.
1725 * configure: Regenerated.
1726
1727 * docs/ext/howto.html: Additional explanation about hashing.
1728
35ba1733
BK
17292000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
1730
1731 * include: New directory.
1732 * include/backward: New directory.
1733 * include/bits: New directory.
1734 * include/ext: New directory.
1735 * include/std: New directory.
1736 * include/*/*: Populate.
1737
1738 * backwards: Move to include/backwards, delete.
1739 * bits: Move to include/bits, delete.
1740 * ext: Move to include/ext, delete.
1741 * std: Move to include/std, delete.
1742
1743 * src/complex.cc: Adjust include of mathconf.
1744
1745 * mkc++config (BASE_H): Add include.
1746
1747 * src/Makefile.am: Support for topleve sources include directory.
1748 (INCLUDES): Add LIBMATH_INCLUDE.
1749 * src/Makefile.in: Regenerate.
1750 * math/Makefile.am (INCLUDES): Append /include.
1751 * math/Makefile.in: Regenerate.
1752 * libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
1753 * libio/Makefile.in: Regenerate.
1754
e23062d5
BK
17552000-10-04 Benjamin Kosnik <bkoz@gnu.org>
1756
1757 * libio/_G_config.h : Re-guard the __mbstate_t declaration.
1758
2ef49c56
BK
17592000-10-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1760
1761 * docs/22_locale/howto.html: Add link to proto-documentation on
1762 locales.
1763 * docs/documentation.html: Rename links for clarity.
1764
1765 * src/Makefile.am (headers): Remove unistd.h, wrap_unistd.h. Add
1766 fcntl.h, iolibio.h, libioP.h, pthread.h, iconv.h.
1767 * src/Makefile.in: Regenerate.
1768
0517cb99
BK
17692000-10-02 Steven King <sxking@uswest.net>
1770
1771 * mkcshadow: Fixed script to output proper include guard.
1772 * bits/char_traits.h: Cleaned up types in char_traits<char> functions.
1773 * libio/_G_config.h: Hacked to make work with shadow heraders.
1774 * shadow/*: Hacked to make shadow headers work.
1775
17762000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1777
1778 Self-compile with shadow headers.
1779 * acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
1780 like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
1781 it becomes the default way the library is built.
1782 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
1783 * config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
1784 * config/gnu-linux/ctype.cc (ctype): Use it.
1785
1786 * src/localename.cc (locale::_Impl::_M_replace_categories): Remove
1787 call to assert.
1788 * src/locale.cc: Explicitly cast mbstate_t to void* in calls to
1789 memset. This should not be necessary, but an ambiguous overload
1790 with it in.
1791
1792 * shadow/bits/std_cwchar.h: Fix.
1793 * shadow/wchar.h: Fix.
1794
1795 * config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
1796 enums into namespace std:: for ctype_base enum. Other OS types
1797 will have to do this as well.
1798 * config/gnu-linux/ctype.cc (ctype): Inject ctype data into
1799 namespace std, in particular __ctype_toupper, __ctype_tolower,
1800 __ctype_b.
1801
1802 * shadow/iolibio.h: New file.
1803 * shadow/bits/wrap_iolibio.h: New file.
1804 * shadow/libioP.h: New file.
1805 * shadow/bits/wrap_libioP.h: New file.
1806 * shadow/bits/wrap_fcntl.h: New file.
1807 * shadow/fcntl.h: New file.
1808 * shadow/iconv.h: New file. Inject iconv names into the global
1809 namespace, unmangled for the moment.
1810 * shadow/bits/wrap_iconv.h: New file.
1811 * shadow/unistd.h: Remove. Useless.
1812 * shadow/bits/wrap_unistd.h: Remove.
1813
1814 * src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
1815 * src/Makefile.in: Regenerate.
1816
1817 * config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
1818
1819 * shadow/libio.h: Fix.
1820 * shadow/bits/wrap_libio.h: Fix.
1821
1822 * shadow/bits/std_clocale.h: Remove typedef struct construct,
1823 which will not compile.
1824 * shadow/bits/std_ctime.h: Same.
1825
1826 * shadow/pthread.h: New file. Put pthreads types and functions
1827 into global scope, which is probably not the correct long-term
1828 solution but has to be done at the moment before libio wrappers
1829 can even be started.
1830 * shadow/bits/wrap_pthread.h: New file.
1831
1832 * bits/std_ios.h: Formatting tweak.
1833 * shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
1834
1835 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
1836 tests for compiler features.
1837 * aclocal.m4: Regenerate.
1838 * configure: Regenerate.
1839
1840 * config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
1841 redefined.
1842 * libio/libioP.h: Comment out fcntl.h include.
1843
1844 * shadow/math.h: Add in float and long declarations, as per ISO C9X.
1845
1846 * bits/c++config: Define _ISOC99_SOURCE.
1847
1848 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
1849 CSHADOWFLAGS, as well as _ISOC99_SOURCE.
1850 * aclocal.m4: Regenerate.
1851 * configure: Regenerate.
1852 * src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
1853 (CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
1854 (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
1855 std or shadow directories.
1856 (LTCXXCOMPILE): Same.
1857 (INCLUDES): Add $(top_builddir) before $(top_srcdir).
1858 (AC_CXXFLAGS): Add CSHADOWFLAGS.
1859 * src/Makefile.in: Regenerate.
1860
1861 * src/complex.cc (FCT): Change ::name to name.
1862 * src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
1863 * src/complexf.cc (FCT): Same.
1864
1865 * src/complexf.cc: Remove FCT define, as things are properly
1866 overloaded in the std namespace with the shadow headers.
1867 * src/complexl.cc: Same.
1868 * src/complex.cc: Same.
1869
a5e3fe86
PE
18702000-09-25 Phil Edwards <pme@sources.redhat.com>
1871
1872 * docs/documentation.html: Add link to...
1873 * docs/ext/howto.html: ...this. New dir/file, describing library
1874 extensions (both ours and SGI's).
1875 * docs/faq/index.html: Small updates.
1876 * docs/faq/index.txt: Regenerate.
1877
fbf191fe
TP
18782000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1879
1880 * bits/basic_file.h (_M_open_mode): Remove extra qualifier.
1881
be544957
LF
18822000-09-25 Levente Farkas <lfarkas@mindmaker.hu>
1883
1884 * ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
1885
22b9554c
BK
18862000-09-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1887
1888 * src/localename.cc (locale::_Imp) : Remove typedefs.
1889 * bits/localefwd.h (locale::locale(const locale& __other, _Facet*
be544957 1890 __f): Consistency check, call _Imp ctor with reference argument
22b9554c
BK
1891 of 1.
1892 * bits/localefwd.h: Change _S_num_categories to
1893 _S_categories_num. Add new data member, _S_facets_num, which is
1894 the number of standard facets.
1895
df8bbc66
PE
18962000-09-19 Phil Edwards <pme@sources.redhat.com>
1897
1898 * docs/21_strings/howto.html: Fix editor lossage from last commit.
1899
3c1fd79b
PE
19002000-09-19 Phil Edwards <pme@sources.redhat.com>
1901
1902 * docs/thanks.html: More thanks.
1903 * docs/18_support/howto.html: Fix thinko.
1904 * docs/21_strings/howto.html: Minor tweaks and updates to URLs.
1905 Redo the string transformation notes and link to...
1906 * docs/22_locale/howto.html: ...here.
1907
8bc603ee
BK
19082000-09-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1909
1910 * src/locale-inst.cc: Add time_put_byname and
1911 time_get_byname instantiations.
1912 * bits/locale_facets.h: Correct default, private derivation to
1913 public derivation in _byname declarations.
1914 * src/locale.cc (locale::classic()): Simplify.
1915 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1916 const string& __name, category __cat, size_t __refs): Re-work for
1917 named locales.
1918 (_M_normalize_category_names): Remove.
1919
1920 * testsuite/22_locale/global_templates.cc (test01): Tweaks.
1921 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1922
b4927ead
YB
19232000-09-18 Yuri V. Baskakov <yuribsk@lab.sun.mcst.ru>
1924
1925 * bits/std_bitset.h (operator>>): Change to char_type.
1926
d9fbca26
BK
19272000-09-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1928
1929 * src/locale.cc (locale::locale(const char* __name)): Consolidate
1930 name setting. Add checks for NULL __name pointers. Remove calls to
1931 _S_initialize() as initial locale initialization can either be
1932 assumed, or needs to be made consistent throughout locale
1933 constructors.
1934 (locale::locale(const locale& __other, const char* __name,
1935 category __cat): Add checks for NULL name. Add checks for
1936 assignment to self.
1937 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1938 const string& __name, category __cat, size_t __refs)): Set correct
1939 name, has_name values.
1940 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1941 * docs/22_locale/locale.html: New file, more unfinished docs...
1942
e4cc8659
BK
19432000-09-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1944
1945 * src/locale.cc (locale::name()): Implement.
1946 (_Impl(size_t __numfacets, size_t __refs, bool __namep = false,
1947 string __name = "*")): Change signature.
1948 (locale::classic): Initialize the "C" locale as a named locale.
1949 * bits/localefwd.h (locale): Change _M_num_references to
1950 _M_references. Eliminate _M_cached_name_ok. Rename _M_cached_name
1951 to _M_name.
1952 * bits/localefwd.h: Tweaks.
1953 * src/localename.cc: Tweaks.
1954 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Add tests.
1955 (test01): Fix.
1956
1957 * bits/basic_string.h: Consistency check, change _M_state ->
1958 _M_references.
1959
b75bedeb
BK
19602000-09-14 Brendan Kehoe <brendan@zen.org>
1961
1962 * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
1963 return type.
1964
1965 * src/Makefile.an (headers): Also install backward/fstream.h.
1966 * src/Makefile.in: Regenerate.
1967
1968 * bits/char_traits.h (char_traits<_CharT>::get_state,
1969 char_traits<char>::get_state, char_traits<wchar_t>::get_state): Pass
1970 argument in by reference, not by value. Uglify to _S_get_state.
1971 (char_traits<*>::__eos): Uglify to _S_eos.
1972 * bits/std_ostream.h (ends(basic_ostream<_CharT, _Traits>& __os)):
1973 Change __eos to _S_eos.
1974
e4cc8659 19752000-09-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
b75bedeb
BK
1976
1977 * testsuite/22_locale/static_members.cc: New file.
1978 * testsuite/22_locale/ctor_copy_dtor.cc: New file.
1979 * src/locale.cc: Minor formatting tweaks.
1980
3e80ddc7
BK
19812000-09-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1982
1983 * testsuite/22_locale/global_templates.cc (test01): Add negative
1984 tests for use_facet.
1985
1986 * bits/localefwd.h (locale::operator()): Minor tweaks.
1987 * bits/locale_facets.tcc (locale::operator()): Same.
1988 * testsuite/22_locale/operators.cc: New file.
1989
1990 * testsuite/22_locale/facet.cc (output_iterator): Remove
1991 gnu_input_iterator, gnu_output_iterator.
1992
5219f162
BK
19932000-09-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1994
1995 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0".
1996 * aclocal.m4: Regenerate.
1997 * configure: Regenerate.
1998
1999 * bits/c++config (__GLIBCPP__): Update, in the hopes of making a
2000 snapshot release soon.
2001 (_GNU_SOURCE): Define this in the header files, as ISO C99 support
2002 is pretty much assumed.
2003
2004 * testsuite/22_locale/global_templates.cc: New file. Add tests for
2005 use_facet and has_facet.
2006
2007 * bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
2008 Modify/correct iconv signatures for glibc2.2.
2009
79f5e38e
BC
20102000-09-10 Branko Cibej <branko.cibej@hermes.si>
2011
2012 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Replace "grep -q" with
2013 "grep -c".
2014
8a019bcf
BK
20152000-09-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2016
2017 * bits/localefwd.h (locale::_Impl): Scope out types to public.
2018 (locale): Make _Impl declaration public.
2019
e0b7ed05
FN
20202000-09-08 Felix Natter <fnatter@gmx.net>
2021
2022 * docs/17_intro/porting-howto.html: New version.
2023
f1158db3
BK
20242000-09-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2025
2026 * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
2027 to __unused__.
2028 * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
2029 * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.
2030
7f586614
BK
20312000-09-07 Phil Edwards <pme@sources.redhat.com>
2032
2033 Add bits for --enable-maintainer-mode:
2034 - turns on enable_debug
2035 (doing "--enable-maint --disable-debug" will DTRT)
2036 - turns on -Werror, now off by default
2037 * acinclude.m4: Add bits.
2038 * aclocal.m4: Regenerate.
2039 * configure.in: Add defaults for GLIBCPP_ENABLE_DEBUG.
2040 * configure: Regenerate.
2041
20422000-09-07 Benjamin Kosnik <bkoz@cygnus.com>
2043
2044 * bits/std_cwctype.h: Remove yesterday's hacks.
2045
3a664f16
BG
20462000-09-07 Brad Garcia <bgarcia@laurelnetworks.com>
2047
2048 * bits/stl_tree.h: Make operators !=, == type safe for map, set.
2049 * testsuite/23_containers/set_operators.cc: New file. Should not
2050 compile.
2051 * testsuite/23_containers/map_operators.cc: New file. Ditto.
2052
735bce7e
RH
20532000-09-06 Richard Henderson <rth@cygnus.com>
2054 Benjamin Kosnik <bkoz@cygnus.com>
2055
2056 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add ia64 support.
2057 * aclocal.m4: Regenerate.
2058 * configure: Regenerate.
2059 * config/cpu/ia64: New directory.
2060 * config/cpu/ia64/bits: New directory.
2061 * config/cpu/ia64/bits/atomicity.h: New file.
2062
f133a43e
BK
20632000-09-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2064
2065 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory
2066 to no, so that libstdc++-v3's libio will be built on glibc-2.2
2067 systems.
2068 * aclocal.m4: Regenerate.
2069 * configure: Regenerate.
2070 * */Makefile.in: Regenerate.
2071
2072 * bits/std_cwctype.h: Put in temporary hack to work around -O2 +
2073 glibc 2.1.x unsigned errors. Or disable -Werror by default...
2074
2075 * testsuite/23_containers/vector_element_access.cc: New file.
2076 * bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
2077
dbb4d33a
LF
20782000-09-06 Levente Farkas <lfarkas@mindmaker.hu>
2079
2080 * bits/string.tcc: Fix up more parameter names.
2081
6d93bca4
AO
20822000-09-06 Alexandre Oliva <aoliva@redhat.com>
2083
2084 * configure: Rebuilt with new libtool.m4.
2085
0435a3f8
BK
20862000-09-01 Benjamin Kosnik <bkoz@cygnus.com>
2087
2088 * src/locale-inst.cc: Remove pre-instantiation of unicode
2089 codecvt types. Now unnecessary, as locale header now correct.
2090
0479a462
BK
20912000-08-31 Benjamin Kosnik <bkoz@cygnus.com>
2092
2093 * bits/locale_facets.tcc (_S_build_float_format): Move ...
2094 * src/locale.cc: Here.
2095 * bits/locale_facets.tcc (num_get::_M_extract): Clean up generic
2096 definition. Move specialization to ...
2097 * src/locale.cc: Here.
2098 * bits/locale_facets.tcc: Move _Format_cache specializations to ...
2099 * src/locale.cc: Here.
2100 * bits/locale_facets.tcc: Move use_facet<ctype> specializations to ...
2101 * src/locale.cc: Here.
2102
2103 * bits/std_locale.h: Note that locale_facets.tcc should be
2104 included here, for standards conformance. It may increase
2105 compile times though. For the time being, enable.
2106 * testsuite/22_locale/facet.cc: New file, some parts commented out
2107 for the time being.
2108
2109 * mkcheck.in: Append total time to test summary file.
2110
2111 * bits/sbuf_iter.h : Formatting tweaks.
2112
2113 Clean up static const data member definitions.
2114 * src/locale.cc: Add definitions for all missing locale,
2115 locale::_Imp, and locale::id static data members.
2116 (ctype<char>): Add table_size define.
2117 (money_base): Add _S_default_pattern, uglify.
2118 * bits/localefwd.h: Add definitions for static members of _Count_ones.
2119 * bits/locale_facets.h: Tweaks.
2120 * bits/locale_facets.tcc: Tweaks.
2121 * bits/string.tcc: Add definition for npos.
2122 * bits/ios_base.h: Tweaks.
2123 * bits/ios_base.h (ios_base::Init::_M_ios_base_init): Change to
2124 _S_ios_base_init.
2125 * src/ios.cc: And here. Add _S_local_words definition.
2126 Add definitions for __ios_flags const static data.
2127 * src/codecvt.cc: Same for __enc_traits.
2128 * src/locale-inst.cc: Remove money_base data member definition
2129 here.
2130
bf6a6113
BK
21312000-08-30 Benjamin Kosnik <bkoz@redhat.com>
2132
e203a988
BK
2133 * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file.
2134
2135 * docs/22_locale/codecvt.html: Re-number.
2136 * docs/22_locale/howto.html: Add entry for ctype
2137 documentation. Add entry for Nathan's introduction to locales
2138 paper.
2139 * docs/22_locale/ctype.html: New file. In progress...
2140
bf6a6113
BK
2141 * docs/22_locale/codecvt.html: Formatting cleanups.
2142 * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko.
2143
e203a988
BK
21442000-08-30 Phil Edwards <pme@sources.redhat.com>
2145
2146 * docs/22_locale/codecvt.html: Behind-the-scenes ASCII->HTML
2147 tweaks for certain browsers.
2148
21492000-08-29 Benjamin Kosnik <bkoz@redhat.com>
8c81504d
BK
2150
2151 * bits/locale_facets.h (ctype<char>): Remove __table_type.
2152 Add include for bits/std_cwctype.h, for wctype_t.
2153 * src/locale.cc (ctype<wchar_t>): Implement.
2154 * config/gnu-linux/bits/ctype_base.h (ctype_base): Remove mask
2155 typedef, instead name enum.
2156 * config/gnu-linux/bits/ctype_specializations.h: Tweak.
2157 * config/gnu-linux/ctype.cc: Tweak.
2158 * testsuite/22_locale/ctype.cc: Tweak.
2159
e203a988 2160 * bits/codecvt.h (__enc_traits): Uglify names.
8c81504d 2161
a811708d
BK
21622000-08-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2163
2164 * docs/22_locale/codecvt.html: Add more bits, format.
ffe9f785
BK
2165 * bits/codecvt.h: Add copy ctor, rename types.
2166 * testsuite/22_locale/codecvt_unicode_char.cc: Tweak.
2167
2168 * libio/iofwide.c: Tweak.
2169
58fdec72
PE
21702000-08-28 Phil Edwards <pme@sources.redhat.com>
2171
2172 * docs/configopts.html: Mention new options.
2173 * docs/install.html: Formatting changes for platform-specific
2174 pre-reqs, previously only Cygwin.
2175 * docs/mail.html: Fix new link.
2176 * docs/thanks.html: A couple more people.
2177 * docs/26_numerics/howto.html: Fix typo.
2178
e403cf29
BK
21792000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2180
2181 * docs/22_locale/howto.html: Add notes on codecvt implementation.
2182 * docs/22_locale/codecvt.html: New file. In progress.
2183
4d0e4296
BK
21842000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2185
2186 * acconfig.h: Revert.
2187 * acinclude.m4: Revert.
2188 * libio/_G_config.h: Revert.
2189 * libio/libio.h: Revert.
2190
21912000-08-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
985287b8
BK
2192
2193 * bits/codecvt.h: Tweaks.
2194 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up
2195 initial string literals for UCS4.
2196
697c2a39
PE
21972000-08-23 Phil Edwards <pme@sourceware.cygnus.com>
2198
2199 * acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added.
2200 * acinclude.m4: New macro, GLIBCPP_ENABLE_WCHAR. Set the threads
2201 definition as well, and some minor spelling/spacing fixes. If
2202 building libio, check for certain typedefs.
2203 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS.
2204 Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types
2205 will never be there.
2206 * libio/libio.h: In the null case, _IO_lock_t can't just be void.
2207 * src/string-inst.cc: Use _GLIBCPP_USE_WCHAR_T.
2208
2209 * configure.in: Update the cache a bit more often.
2210
2211 * mkcheck.in: For check-install, also need to -I the testsuite dir.
2212
ae658d47
BK
22132000-08-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2214
2215 * src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
2216 __enc_traits> instantiations for has_facet and use_facet.
2217 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
2218 testing two-byte unicode encodings converted to four-byte UCS4
2219 encodings.
2220
2221 * bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
2222 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
2223 correct state/encoding information.
2224
2225 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
2226 mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
2227 now.
2228 Add checks for langinfo.h, nl_langinfo function call.
2229 * libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.
2230
7e0ec38b
BK
22312000-08-22 Richard B. Kreckel <Richard.Kreckel@Uni-Mainz.DE>
2232
2233 * config/cpu/alpha/bits/atomicity.h: Change __attribute__
2234 ((unused)) to __attribute__ ((__unused__)).
2235 * config/cpu/arm/bits/atomicity.h: Same.
2236 * config/cpu/generic/bits/atomicity.h: Same.
2237 * config/cpu/i386/bits/atomicity.h: Same.
2238 * config/cpu/i486/bits/atomicity.h: Same.
2239 * config/cpu/powerpc/bits/atomicity.h: Same.
2240 * config/cpu/sparc/sparc32/bits/atomicity.h: Same.
2241 * config/cpu/sparc/sparc64/bits/atomicity.h: Same.
2242
22432000-08-22 Levente Farkas <lfarkas@mindmaker.hu>
bbcec4ef
LF
2244
2245 * bits/basic_string.h: Fix up parameter names.
2246
f3342f73
BV
22472000-08-22 Brent Verner <brent@rcfile.org>
2248
2249 * src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
2250 $(top_srcdir)
2251 * src/Makefile.in: Regenerate.
2252
a5834d1b
BK
22532000-08-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2254
2255 * bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
2256 up __enc_traits template so as to be marginally useful.
2257 * src/codecvt.cc: And here.
2258 * bits/char_traits: Tweak.
2259 * bits/locale_facets.h: Tweak.
2260 * bits/locale_facets.tcc: Tweak.
2261 * bits/localefwd.h: Tweak.
2262 * src/locale-inst.cc: Add use_facet/has_facet instantiations here.
2263 * testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
2264 * testsuite/22_locale/codecvt_char_char.cc: New file.
2265 * testsuite/22_locale/codecvt_unicode_char.cc: New file.
2266
4b6243ef
GDR
22672000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2268
2269 * bits/std_cmath.h (std::abs): Overload for int and long.
2270
1efef503
BK
22712000-08-20 Benjamin Kosnik <bkoz@gnu.org>
2272
2273 * src/string-inst.cc: Tweak instantiations for new-gxx-abi.
2274
b426bedd
GDR
22752000-08-19 Gabriel Dos Reis <gdr@codesourcery.com>
2276
2277 * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
2278 thinko. Diagnostic messages really need to be improved for
2279 template argument deduction.
2280
9744ff7d
BK
22812000-08-18 Benjamin Kosnik <bkoz@gnu.org>
2282
2283 * bits/valarray_meta.h: Fix typos...
2284
e825bf4a
GDR
22852000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
2286
2287 * bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
2288 _Expr<>::apply): Implement.
2289
e3b4d2e9
GDR
22902000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
2291
2292 * bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.
2293
2294 * bits/valarray_array.h (__valarray_min, __valarray_max): New
2295 function.
2296
1492cacb
MM
22972000-08-17 Mark Mitchell <mark@codesourcery.com>
2298
2299 * bits/localefwd.h (std::locale): Use explicit `class' specified
2300 when declaring friends.
2301 * bits/std_fstream.h (std::basic_filebuf): Likewise.
2302
7d7aced2
AO
23032000-08-16 Alexandre Oliva <aoliva@redhat.com>
2304
2305 * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
2306 * src/Makefile.in: Regenerate.
2307
63511623
BK
23082000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2309
2310 * bits/codecvt.h: New file.
2311 * src/codecvt.cc: New file.
2312 * bits/std_locale.h: Add include here.
2313 * src/Makefile.am (headers): Add codecvt.h
2314 (sources): Add codecvt.cc.
2315 * src/Makefile.in: Regenerate.
2316 * bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
2317 __codecvt_abstract_base in an attempt to point some light this way...
2318 Move __enc_traits and codecvt bits to codecvt.h.
2319 * src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
2320 explicit instantiation. Separate out codecvt instantations, simplify.
2321 * src/locale.cc: Move codecvt bits to codecvt.cc
2322
2f1cb8c2
AO
23232000-08-15 Alexandre Oliva <aoliva@redhat.com>
2324
2325 * src/Makefile.am (INCLUDES): New target file, with all -I flags.
2326 * src/Makefile.in: Regenerate.
2327
f60ded13
BK
23282000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2329
d04703d6
BK
2330 C/C++ io merge/sync.
2331 * libio/fileops.c
2332 * libio/genops.c
2333 * libio/iofclose.c
2334 * libio/iofopen.c
2335 * libio/iofwide.c
2336 * libio/libio.h
2337 * libio/libioP.h
2338 * libio/stdio.c
2339 * libio/wfileops.c
2340 * libio/wgenops.c
2341 * config/c_io_libio.cc (__basic_file): Add hacky casts to
2342 ((struct _IO_FILE_plus *) in ctors.
2343 (__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt.
2344 * libio/Makefile.am: Fix copyright. Remove cleanup.c.
2345 * libio/cleanup.c: Remove.
2346 * libio/filedoalloc.c (_IO_file_doallocate): Don't call
2347 _IO_cleanup_registration_needed, even if not libc.
2348
f60ded13
BK
2349 * testsuite/27_io/stringstream.cc (test02): Fix.
2350
aa1b2f7d
BV
23512000-08-14 Brent Verner <brent@rcfile.org>
2352
2353 * testsuite/debug_assert.h: new file
2354 * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
2355 changed conditional #include <c?assert.?h?> to
2356 unconditional #include <debug_assert.h>
2357 * mkcheck.in: added $SRC_DIR/testsuite to include search path
2358 for testsuite compile command.
2359
5312a1d9
LF
23602000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
2361
2362 * bits/std_fstream.h: Remove duplicate typdefs for ofstream and
2363 wofstream, filebuf, wfilebuf, fstream, wfstream.
2364 * bits/std_streambuf.h: Same for streambuf, wstreambuf.
2365 * bits/std_sstream.h: Same for stringstream and wstringstream.
2366 Same for stringbuf, wstringbuf, istringstream, wistringstream,
2367 ostringstream, wostringstream.
2368
2369 * testsuite/26_numerics/valarray.cc: Add test.
2370
57119aa9
ZW
23712000-08-14 Zack Weinberg <zack@wolery.cumb.org>
2372
2373 * configure: Regenerate after change to ../libtool.m4.
2374
9c683c2a
BK
23752000-08-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2376
2377 * bits/locale_facets.tcc: Formatting tweaks.
2378 * bits/locale_facets.h (__enc_traits): Start integrating this
2379 into codecvt, ctype. Formatting tweaks.
2380
8901ac21
BK
23812000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2382
2383 Preliminary wchar_t implementation, with trivial encodings.
2384 * docs/configopts.html: Add bits about canonical configure option
2385 checking.
2386
2387 * testsuite/27_io/iostream_objects.cc: Replace this file (which
2388 has newly-declared-illegal mixing of wide/narrow stdstreams) with...
2389 * testsuite/27_io/narrow_stream_objects.cc: New file.
2390 * testsuite/27_io/wide_stream_objects.cc: New file.
2391
2392 * bits/fstream.tcc (underflow): Temporarily hack a solution
2393 together that writes from the external file to the internal
2394 buffers. This removes codecvt from the loop, and is incorrect.
2395 (_M_really_overflow): Same here.
2396
2397 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
2398
23992000-08-08 Benjamin Kosnik <bkoz@cygnus.com>
2400 Ulrich Drepper <drepper@cygnus.com>
2401
2402 * config/c_io_libio.h: Tweak.
2403 * config/c_io_libio_codecvt.c: New file.
2404 * libio/Makefile.am: Add c_codecvt.c.
2405 * libio/Makefile.in: Regenerate.
2406 * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
2407 stream is not orientated.
2408
2409 * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
2410 encoding gets fleshed out.
2411
2412 * bits/basic_file.h: Add specialization declarations.
2413 * config/c_io_libio.cc: Add specializations for pbackfail, uflow.
2414
2415 * config/c_io_libio.h: Add __c_wfile_type.
2416 * bits/basic_file.h: Add _M_wfile.
2417
2418 * config/c_io_libio.cc (__basic_file<char>): Initialize the
2419 streams without setting the orientation of the underlying FILE to
2420 either wide or narrow.
2421 (__basic_file<wchar_t>)): Enable tricky wchar_t io bits.
2422
320f9548
FN
24232000-08-07 Felix Natter <fnatter@gmx.net>
2424
2425 * docs/17_intro/porting-howto.html: New version.
2426
6e185caa
MM
24272000-08-03 Mark Mitchell <mark@codesourcery.com>
2428
2429 * bits/locale_facets.h (ctype::ctype): Don't name unused
2430 parameters.
2431
967add51
BK
24322000-08-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2433
2434 * docs/install.html: Edit bits about requiring a special version
2435 of the autotools.
2436
18acf3ba
BK
24372000-07-31 Benjamin Kosnik <bkoz@cygnus.com>
2438
2439 * libio/fileops.cc: Update to current glibc sources.
2440 * libio/genops.c: Same.
2441 * libio/iofwide.c: Same.
2442 * libio/libio.h: Same.
2443 * libio/libioP.h: Same.
2444 * libio/wfiledoalloc.c: Same.
2445 * libio/wgenops.c: Same.
2446
3df64633
AO
24472000-07-28 Alexandre Oliva <aoliva@redhat.com>
2448
2449 * acinclude.m4: Include ../libtool.m4.
2450 * aclocal.m4, configure: Rebuilt.
2451
421173e6
PE
24522000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
2453
2454 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
2455 before trying to use any of its options.
2456 (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
2457 * aclocal.m4: Regenerate.
2458 * configure.in: Having found GNU make, name it.
2459 * configure: Regenerate.
2460 * docs/install.html: Mention possible problems with caching.
2461 * src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
2462 * src/Makefile.in: Regenerate.
2463 * libio/Makefile.in: Regenerate.
2464 * math/Makefile.in: Regenerate.
2465 * Makefile.in: Regenerate.
2466
28861379
BK
24672000-07-26 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2468
2469 * src/misc-inst.cc (std): Remove instantiations.
2470
2471 * acinclude.m4: Add forward-looking bits for autoconf.
2472 * aclocal.m4: Regenerate.
2473
2474 * bits/ostream.tcc (ostream::operator<<): Fix const char* case.
2475
5780a46b
BK
24762000-07-25 Benjamin Kosnik <bkoz@gnu.org>
2477
2478 * configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
2479 it back for current versions of maintainer-tools...
2480 * acinclude.m4: Some cleanups...
2481 * aclocal: Regenerated.
2482 * configure: Regenerated.
2483
2484 * src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
2485 optimizing/adapting the hash table using GNU ld.
2486 * src/Makefile.in: Regenerate.
2487
24882000-07-24 H.J. Lu <hjl@gnu.org>
2489
2490 * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
2491 even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
2492 files don't include private libio header files needed by
2493 libstdc++ v3.
2494 * src/Makefile.in: Rebuild.
2495
020226e5
BK
24962000-07-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2497
5780a46b
BK
2498 * bits/std_fstream.h: Parameterize __basic_file.
2499 * config/c_io_libio.cc: Add wchar_t methods for parameterization.
2500 * bits/basic_file.h: Same here.
2501
020226e5
BK
2502 * bits/istream.tcc (getline): Tweaks.
2503
5780a46b
BK
2504 * bits/fstream.tcc: Shorten __retval to __ret.
2505 * bits/ostream.tcc: Same.
2506 * bits/sbuf_iter.h: Same.
2507 * bits/sstream.tcc: Same.
2508 * bits/streambuf.tcc: Same.
2509 * bits/std_fstream.h: Same.
2510 * src/string-inst.cc: Same.
2511 * src/ios.cc: Same.
2512 * config/c_io_libio.cc: Same.
2513 * bits/string.tcc: Same.
2514 * bits/std_streambuf.h: Same.
2515
99b51359
BK
25162000-07-23 Brent Verner <brent@rcfile.org>
2517
2518 * bits/istream.tcc: istream::getline(char_type*, streamsize,
2519 char_type) make compliant
2520 * testsuite/27_io/istream_unformatted.cc: test for compliant behavior
2521
020226e5 25222000-07-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
99b51359
BK
2523
2524 * acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
2525 and srcdir used to define CSHADOW_INCLUDES..
2526
2527 * configure.in: For consistency, change .sanity_warned to
2528 stamp-sanity-warned.
2529
2530 * acinclude.m4: Tweak formatting.
2531 * Makefile.am (check): Call mkcheck with full pathname for build
2532 directory...
2533 (check-install): And here.
2534 * Makefile.in: Regenerate.
2535
4a0d2ea6
GDR
25362000-07-22 Gabriel Dos Reis <gdr@codesourcery.com>
2537
2538 Line up with libstdc++-v2 version of valarray.
2539 * bits/valarray_array.h (__valarray_product): Make inline.
2540 * src/valarray-inst.cc (__valarray_product): Remove explicit
2541 instantiation.
2542
11489a95
BK
25432000-07-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2544
2545 * src/stl-inst.cc: Change __sink_unused_warning to unsigned int
2546 for alpha.
2547
2548 * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
2549 Change return type to void.
2550 * testsuite/25_algorithms/lower_bound.cc: Add return values.
2551 * testsuite/17_intro/header_ciso646.cc: Modify.
2552 * bits/locale_facets.h: Add return values for the generic cases.
2553
47f634cb
L
25542000-07-21 H.J. Lu (hjl@gnu.org)
2555
11489a95
BK
2556 * acinclude.m4: Include <features.h> for glibc testing.
2557 * aclocal.m4: Likewise.
2558
2559 * configure: Rebuild.
47f634cb 2560
c4cdd4a6
BK
25612000-07-20 H.J. Lu (hjl@gnu.org)
2562
2563 * acinclude.m4: Change "#pragma system_header" to
2564 "#pragma GCC system_header".
2565 * aclocal.m4: Likewise.
2566 * bits/std_cmath.h: Likewise.
2567 * bits/std_cassert.h: Likewise.
2568 * bits/std_cctype.h: Likewise.
2569 * bits/std_cerrno.h: Likewise.
2570 * bits/std_cfloat.h: Likewise.
2571 * bits/std_climits.h: Likewise.
2572 * bits/std_clocale.h: Likewise.
2573 * bits/std_cwchar.h: Likewise.
2574 * bits/std_csetjmp.h: Likewise.
2575 * bits/std_csignal.h: Likewise.
2576 * bits/std_cstdarg.h: Likewise.
2577 * bits/std_cstddef.h: Likewise.
2578 * bits/std_cstdio.h: Likewise.
2579 * bits/std_cstdlib.h: Likewise.
2580 * bits/std_cstring.h: Likewise.
2581 * bits/std_ctime.h: Likewise.
2582 * bits/std_cwctype.h: Likewise.
2583 * bits/std_exception.h: Likewise.
2584 * bits/std_new.h: Likewise.
2585 * bits/std_typeinfo.h: Likewise.
2586 * shadow/bits/std_cassert.h: Likewise.
2587 * shadow/bits/std_cctype.h: Likewise.
2588 * shadow/bits/std_cerrno.h: Likewise.
2589 * shadow/bits/std_cfloat.h: Likewise.
2590 * shadow/bits/std_climits.h: Likewise.
2591 * shadow/bits/std_clocale.h: Likewise.
2592 * shadow/bits/std_cmath.h: Likewise.
2593 * shadow/bits/std_csetjmp.h: Likewise.
2594 * shadow/bits/std_csignal.h: Likewise.
2595 * shadow/bits/std_cstdarg.h: Likewise.
2596 * shadow/bits/std_cstddef.h: Likewise.
2597 * shadow/bits/std_cstdio.h: Likewise.
2598 * shadow/bits/std_cstdlib.h: Likewise.
2599 * shadow/bits/std_cstring.h: Likewise.
2600 * shadow/bits/std_ctime.h: Likewise.
2601 * shadow/bits/std_cwchar.h: Likewise.
2602 * shadow/bits/std_cwctype.h: Likewise.
2603 * shadow/bits/wrap_libio.h: Likewise.
2604 * shadow/bits/wrap_unistd.h: Likewise.
2605 * shadow/sys/cdefs.h: Likewise.
2606
2607 * configure: Rebuild.
2608
26092000-07-20 Jakub Jelinek <jakub@redhat.com>
2610
2611 * config/cpu/sparc/sparc64/bits/atomicity.h (__exchange_and_add):
2612 Use extended word instructions to match 64bit _Atomic_word.
2613 (__atomic_add): Likewise.
2614 * math/clog10l.c (clog10l): Use M_PIl if defined.
2615 * math/c_logl.c (c_logl): Likewise.
2616 * math/signbitl.c (__signbitl): Adapt for IEEE quad long doubles.
2617 * math/mathconf.h (ieee_quad_double_shape_type): New type.
2618 (GET_LDOUBLE_MSW64): New define.
2619
7be50fd3
BK
26202000-07-20 Benjamin Kosnik <bkoz@cygnus.com>
2621
2622 * bits/std_streambuf.h: Add bits for pback buffers here, so that
2623 in_avail, etc can use them.
2624 * bits/std_fstream.h: Ditto.
2625 * bits/fstream.tcc: Ditto.
2626 * testsuite/27_io/filebuf.cc: Tweaks.
2627 * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
2628
26292000-07-19 Benjamin Kosnik <bkoz@cygnus.com>
2630
2631 * src/localename.cc: Same.
2632 * src/locale.cc: Same.
2633 * bits/localefwd.h: _M_init_facet to _M_facet_init.
2634
2635 * bits/locale_facets.h: _M_init_boolnames to _M_boolnames_init.
2636
2637 * bits/std_sstream.h: Change _M_init_stringbuf to _M_stringbuf_init.
2638
2639 * bits/fstream.tcc: Change _M_init_filebuf to _M_filebuf_init.
2640 * bits/std_fstream.h: Same.
2641
2642 * bits/basic_string.h: Tweaks.
2643
0fab9d0a
PE
26442000-07-19 Phil Edwards <pme@sourceware.cygnus.com>
2645
2646 * docs/18_support/howto.html: Update.
2647
456183bb
BK
26482000-07-19 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
2649
2650 Internal consistency checks.....
2651 * bits/ios_base.h: Change _M_locale_ios to _M_ios_locale.
2652 * src/ios.cc: Same.
2653
2654 * bits/basic_ios.h: Change _M_fctype_ios to _M_ios_fctype.
2655 * bits/basic_ios.tcc: Same.
2656
2657 * bits/std_streambuf.h: Change _M_locale_buf to _M_buf_locale.
2658 Change _M_fctype_buf to _M_buf_fctype.
2659 * bits/fstream.tcc: Same.
2660
2661 * bits/std_streambuf.h: Change _M_buf_bump to _M_out_cur_move.
2662 Change _M_locale_set to _M_buf_locale_init.
2663 * bits/streambuf.tcc: Same.
2664 * bits/sstream.tcc: Same.
2665 * bits/fstream.tcc: Same.
2666
2667 * bits/std_streambuf.h: Make typedefs consistent.
2668 (_M_buf_bump): Be more careful with input sequence.
2669
2670 * bits/std_sstream.h: Same.
2671 * bits/std_fstream.h: Same.
2672
26732000-07-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
dd75251f
BK
2674
2675 * acinclude.m4: Tweaks.
2676 * config/c_io_libio.cc: Tweaks.
2677 * bits/sstream.tcc (stringbuf::pbackfail): Simplify.
2678 * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
2679 * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
2680 * libio/iofclose.c iofopen.c, stdio.c: New files.
2681 * libio/Makefile.am: Add files, add flags, etc.
2682 * src/Makefile.am (sources): Add filebuf.cc.
2683 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
2684 (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
2685
29bd52c8
PE
26862000-07-17 Phil Edwards <pme@sourceware.cygnus.com>
2687
2688 * acinclude.m4: Import CHECK_GNU_MAKE from autoconf macro archive.
2689 * configure.in: Use it. Also print reminders one time.
2690 * aclocal.m4: Regenerate.
2691 * configure: Regenerate.
2692
d4c4ae6f
GDR
26932000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
2694
2695 * bits/valarray_array.h (__valarray_get_storage): New function.
2696 (_Array<>::Array): Use it.
2697 * bits/std_valarray.h (valarray<>::valarray): Likewise.
2698 (valarray<>::resize): Likewise. Tweak.
2699 * src/valarray-inst.cc (__valarray_product): Tweak.
2700
c0ed1dea
PE
27012000-07-11 Phil Edwards <pme@sourceware.cygnus.com>
2702
2703 * docs: Update sourceware->sources in every HTML file. Minor updates.
2704
c4561450
BK
27052000-07-07 Benjamin Kosnik <bkoz@soma.redhat.com>
2706
2707 Clean up configure/build longstanding issues.
2708 * src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
2709 (CXXLINK): Add here, instead.
2710
2711 * Makefile.am (check-install): Make sure mkcheck has execute privs.
2712 (check): Same here.
2713 * configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
2714
2715 * configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
2716 c_io_libio.cc instead of copying.
2717 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
2718
2719 * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
2720 c++threads.h instead of copying.
2721 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
0828a0bd
BK
2722 Tweaks.
2723
6eaa6abd
BK
2724 * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
2725 * bits/basic_file.h: Declare.
2726
2727 * mkcheck.in (TESTS_FILE): Use -v instead of --version.
2728
75555da7
BK
27292000-07-07 brent verner <brent@rcfile.org>
2730
2731 * testsuite/27_io/istream_unformatted.cc (test05): New test.
2732
27332000-07-07 Benjamin Kosnik <bkoz@gnu.org>
2734
2735 * bits/istream.tcc (istream::getline): Minor tweaks.
2736
dd1ee41e
PE
27372000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
2738
2739 * docs/download.html: Mention gcc_update.
2740 * docs/configopts.html: Minor updates.
2741 * docs/gccrebuild.html: Ditto.
2742 * docs/18_support/howto.html: More tips, explanations, and reminders.
2743 * docs/19_diagnostics/howto.html: Ditto.
2744 * docs/21_strings/howto.html: Ditto.
2745 * docs/24_iterators/howto.html: Ditto.
2746 * docs/25_algorithms/howto.html: Ditto.
2747 * docs/26_numerics/howto.html: Ditto.
2748
42d18a47
BK
27492000-07-05 brent verner <brent@rcfile.org>
2750
2751 * testsuite/27_io/ifstream_members.cc (test01): Add tests.
2752 * testsuite/27_io/ofstream_members.cc (test01): Add tests.
2753 * config/c_io_libio.cc (__basic_file::open): Unset
2754 ~_IO_DELETE_DONT_CLOSE.
2755
27562000-07-05 Zack Weinberg <zack@wolery.cumb.org>
2757
2758 * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h,
2759 bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h:
2760 Do not paste anything after 'operator' keyword.
2761
c14286b0
BK
27622000-07-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2763
2764 * bits/std_memory.h: Revert.
2765
27662000-07-03 Brendan Kehoe <brendan@zen.org>
2767
2768 * bits/std_complex.h: Fix parens. Format.
2769
f22ad9d0
BK
27702000-07-03 scott snyder <snyder@fnal.gov>
2771
2772 * bits/locale_facets.tcc (_M_extract): Only figure out the base
2773 from the input if base == 0.
2774 * testsuite/27_io/istream_extractor_arith.cc: Test reading a
2775 number with a leading `0' in hex mode.
2776
2777 * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
2778
2779 * mkinclosure: Change `==' to `=' in test.
2780
27812000-07-03 Chip Salzenberg <chip@valinux.com>
2782
2783 * src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
2784 not builddir.
2785 * src/Makefile.in: Regenerate.
2786
20427c6b
BK
27872000-07-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2788 Ulrich Drepper <drepper@purist.soma.redhat.com>
2789
2790 Sync libio to glibc-2.2 current CVS.
2791 * libio/_G_config.h: New file.
2792 * libio/wfileops.c: New file.
2793 * libio/wfiledoalloc.c: New file.
2794 * libio/wgenops.c: New file.
2795 * libio/iofwide.c: New file.
2796 * libio/Makefile.am: Tweaks.
2797 * libio/Makefile.in: Regenerate.
2798 * libio/gen-params: Remove. Generic replacement for this yet undone.
2799 * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h,
2800 libioP.h, stdfiles.c]: Update.
2801 * config/c_io_libio.cc: Tweaks.
2802 * acinclude.m4: Complete hacks to test wide io.
2803 * aclocal.m4: Regenerate.
2804 * configure: Regenerate.
2805 * src/Makefile.am: Update.
2806 * src/Makefile.in: Regenerate.
2807
2808 * math/cargl.c: Remove underscores.
2809
2810 * bits/locale_facets.h: Tweaks. Start adding iconv details
2811 and notes.
2812 * bits/locale_facets.tcc: Tweaks.
2813 * bits/std_cwchar.h: Tweaks.
2814
b6a89402
SS
28152000-06-29 scott snyder <snyder@fnal.gov>
2816
2817 * bits/concept_checks.h
2818 (__less_then_comparable_requirement_violation): Only check for <.
2819 * testsuite/25_algorithms/lower_bound.cc: New file.
2820
4a2f4b12 28212000-06-29 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
c011e2ad 2822
4a2f4b12
BK
2823 * testsuite/27_io/ostream_manip.cc (test02): Add tests.
2824 * bits/ostream.tcc: Tweak.
2825 * bits/std_fstream.h (basic_filebuf::setbuf): Reset
2826 _M_buf_size_opt too.
2827 * bits/std_streambuf.h (basic_streambuf::~basic_streambuf): Zero
2828 out _M_buf_size_opt.
b6a89402 2829 * bits/std_sstream.h (basic_stringbuf::_M_init_stringbuf): Set
4a2f4b12 2830 _M_buf_size_opt out here.
c011e2ad
BC
2831 * bits/char_traits.h (char_traits::eos): Non standard member
2832 function, uglify to __eos. Return char_type().
2833 * bits/std_ostream.h: Change.
fbd5f73b 2834
20427c6b 2835 * testsuite/27_io/ostream_seeks.cc: New file.
fbd5f73b
BK
2836 * testsuite/27_io/ostream_seeks-1.tst: New file.
2837 * testsuite/27_io/istream_unformatted.cc (main): Move test04 and
2838 test05 to...
2839 * testsuite/27_io/istream_seeks.cc: New file.
2840
c011e2ad
BC
28412000-06-29 Branko Cibej <branko.cibej@hermes.si>
2842
2843 * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
2844 _GLIBCPP_RESOLVE_LIB_DEFECTS.
2845 (auto_ptr): _M_ptr changed to void*.
2846 (suto_ptr::get): Cast _M_ptr to element type.
2847 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
2848 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
2849 (auto_ptr::operator*): Likewise.
2850 (auto_ptr::operator->): Likewise.
2851 (auto_ptr::release): Likewise.
2852 (auto_ptr::reset): Likewise.
2853 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
2854 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
2855 Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
2856 Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
2857
ab30ba5c
BK
28582000-06-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2859
2860 * testsuite/27_io/filebuf.cc: Tweak.
2861 * testsuite/27_io/filebuf_members.cc (test_01): Fix.
2862 * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
2863 filebuf dtor.
2864 (__basic_file::basic_file): Clean, add calls similar to
2865 _IO_file_attach.
2866 (__basic_file::open): Clean.
2867 (__basic_file::sys_open): Clean.
2868
2869 * bits/std_fstream.h: Revert.
2870 * bits/fstream.tcc (filebuf::close()): Revert.
2871 (filebuf::basic_filebuf()): Revert.
2872
54a3a087 28732000-06-27 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
4afdac6d
BK
2874
2875 Update to SGI STL 3.3
54a3a087
BK
2876 * ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
2877 ext/stl_rope.h, ext/ropeimpl.h: Update.
2878 * bits/std_bitset.h, bits/std_map, bits/std_memory.h,
2879 bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
2880 bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
2881 bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
2882 bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
2883 bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
2884 bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
2885 bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
2886 bits/stl_uninitialized.h, bits/stl_vectory.h: Update.
4afdac6d
BK
2887
2888 * src/Makefile.am (headers): Add new files.
2889 * src/Makefile.in: Regenerate.
54a3a087 2890 * src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
4afdac6d
BK
2891 * bits/concept_checks.h: New file.
2892 * bits/container_concepts.h: New file.
2893 * bits/sequence_concepts.h: New file.
4afdac6d
BK
2894
28952000-06-27 H.J. Lu <hjl@gnu.org>
2896 Loren J. Rittle <ljrittle@acm.org>
2897
2898 * mkcheck.in: Add support to print standard flags needed to
2899 test g++ in build tree. Enhance command line error checking.
2900
d4826ded
PE
29012000-06-27 Phil Edwards <pme@sourceware.cygnus.com>
2902
2903 * docs/install.html: Fix minor typo as reported.
2904
ab30ba5c 29052000-06-26 Brent Verner <brent@rcfile.org>
644638bc
BK
2906
2907 * bits/string.tcc (string::rfind): Fix.
2908 * testsuite/21_strings/rfind.cc: New file.
2909
29102000-06-26 Anthony Williams <anthony@anthonyw.cjb.net>
2911
2912 * testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.
2913
44b1b18c
BC
29142000-06-26 Branko Cibej <branko.cibej@hermes.si>
2915
644638bc
BK
2916 * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
2917
2918 * mkcheck.in: Make the *.txt and *.tst files writable after
2919 copying them to $TEST_DIR.
44b1b18c 2920
644638bc 2921 * testsuite/27_io/ostream_inserter_arith.cc: Renamed
4afdac6d
BK
2922 __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE. Define
2923 TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.
644638bc 2924
b16810bf
BK
29252000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2926
81ef1479
BK
2927 * bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
2928 (basic_filebuf::close): Use it.
2929 * bits/std_fstream.h (basic_filebuf): Remove default arguments for
2930 filebuf ctor.
2931 (basic_filebuf): Add _M_fileno_based data member.
2932 As reported by brent verner <brent@rcfile.org>
2933 * testsuite/27_io/filebuf_members.cc: New file.
2934 * testsuite/27_io/filebuf_members-1.tst: New file.
2935
b16810bf
BK
2936 * bits/std_fstream.h: Formatting tweaks.
2937 * testsuite/27_io/ofstream_members.cc: New file.
2938 * testsuite/27_io/ofstream_members-1.tst: New file.
2939 * testsuite/27_io/ifstream_members.cc: New file.
2940 * testsuite/27_io/ifstream_members-1.tst: New file.
2941
4f76382d
BK
29422000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2943 Ulrich Drepper <drepper@cygnus.com>
2944
2945 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
2946 that all the freaky stuff like sincos will be around...
2947
f5e79dda
BC
29482000-06-22 Branko Cibej <branko.cibej@hermes.si>
2949
2950 * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
2951
11fc1858
BK
29522000-06-22 Steven King <sxking@uswest.net>
2953
2954 * acinclude.m4: Check for sinl, _sinl using 1 parameter.
2955
29562000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2957
2958 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
2959 same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
2960 link against libm and don't use -fno-builtins...
2961 * math/mathconf.h: Change up builtin macros to new schema.
2962 * bits/std_cmath.h: And here. Wheee!
2963 * shadow/bits/std_cmath.h: And here.
2964 * acconfig.h: Change up builtin macros here.
2965 * math/cosf.c: Remove.
2966 * math/fabsf.c: Likewise.
2967 * math/sinf.c: Likewise.
2968 * math/sqrtf.c: Likewise.
2969 * math/Makefile.am (EXTRA_DIST): Remove those four files.
2970 * math/Makefile.in: Regenerate.
2971
5f349042
BK
29722000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
2973
2974 * testsuite/21_strings/find.cc: Patch.
2975
29762000-06-22 Benjamin Kosnik <bkoz@soma.redhat.com>
2977
2978 * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
2979 an easy way to get at g++ without having to link in libstdc++.
2980
38bd7296
BK
29812000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
2982
2983 Fix alpha, powerpc build failures.
2984 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
2985 re-write. Need to check for both proper declaration when using a
2986 c++ compiler, and "C" linkage when linking. Do both, and if both
2987 exist, then define the HAVE_* bits in config.h.
2988 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE): New, uber-macro. Does all.
2989 (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
2990 program, doh.
2991
60df8b81
BK
29922000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
2993
2994 * bits/string.tcc: Fix find.
2995 * testsuite/21_strings/find.cc: Patch.
2996
29972000-06-20 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2998
2999 * docs/install.html: Update where to get automake, where to get
3000 binutils.
3001 * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
3002 builtins.
3003
93c63813
BK
30042000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
3005
83fb52d8
BK
3006 * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
3007 Add -Werror-implicit-function-declaration instead.
3008
93c63813
BK
3009 Regenerate with fixed maintainer-tools.
3010 * aclocal.m4: Regenerate.
3011 * configure: Regenerate.
3012 * libio/Makefile.in: Regenerate.
3013 * src/Makefile.in: Regenerate.
3014
7f1063f8
RD
30152000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3016
3017 * testsuite/27_io/istream_extractor_arith.cc: Patch.
3018 * bits/locale_factets.tcc: Tweak.
3019
aac350aa
BK
30202000-06-19 Raja R Harinath <harinath@cs.umn.edu>
3021
3022 * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
3023 be overridden on the command line for individual files.
3024
2f103494
BK
30252000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
3026
aac350aa 3027 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
93c63813 3028 AC_LANG_CPLUSPLUS as this tries to link in libstdc++, which we are
aac350aa
BK
3029 building. Use -x c++ instead, which does not attempt to link
3030 libstdc++.
3031
3032 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Actually check for
3033 not coring when we hit a try/throw block, which was the problem
3034 with the linker support...
3035
2f103494
BK
3036 * docs/17_intro/contribute.html: Add bits about getting to the LWG
3037 issues pages.
3038 * docs/documentation.html: Rename link to make more accurate and scary.
3039 * docs/gccrebuild.html: Edit for clarity as these are no longer
3040 separate projects.
3041 * docs/install.html: Add bits about binutils for
3042 -ffunction-sections, -fdata-sections, -Wl,--gc-sections
3043
3044 * configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
3045 * math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
3046 USE_COMPLEX_LONG_DOUBLE.
3047 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
3048 GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
3049 Works around irregularies in powerpc "C" compiler, but a good idea
3050 anyway.
3051
3052 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
3053 New. Merge both old compiler bug checks for complex into this.
3054
7626c237
BK
30552000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
3056
3057 * testsuite/21_strings/find.cc: Empty strings can be found at all
3058 positions. Modified.
3059
30602000-06-19 Branko Cibej <branko.cibej@hermes.si>
3061
3062 * testsuite/20_utilities: New directory.
3063 * testsuite/20_utilities/auto_ptr.cc: New file.
3064
c470c17d
BK
30652000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3066
3067 * src/Makefile.am (string_sources): Simplify, assuming that with
3068 -ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
3069 hacking is not necessary.
3070 (wstring_sources): Same.
3071 (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
3072 -Wl,--gc-sections.
3073 * src/string-inst.cc: Remove macro blocks.
3074 * mkcheck.in (CXX_FLAG): Add bits here.
3075
3076 * src/string-inst.cc: Remove iostream-related string instantiations.
3077 * src/misc-inst.cc: Add here.
3078
3079 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
3080 to WFMT_FLAGS.
3081 * aclocal.m4: Regenerate.
3082 * configure.in: Change up.
3083 * configure: Regenerate.
3084
cc12edec
BK
30852000-06-13 Steven King <sxking@uswest.net>
3086
3087 * acinclude.m4: Fixup some of the builtin math tests and add tests for
3088 __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
3089 * acconfig.h: Add entries for fmod*.
3090
5ae55a2e
BK
30912000-06-13 Branko Cibej <branko.cibej@hermes.si>
3092
3093 * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
3094 Test *_MODFF not *_MODF for modf(float, float*).
3095 (modf(float, float*)): Remove reference to _C_legacy.
3096
cc12edec
BK
30972000-06-13 Benjamin Kosnik <bkoz@redhat.com>
3098
3099 * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
3100 _GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
3101 superset, and already defined at top level.
3102 * aclocal.m4: Regenerate.
3103 * configure: Regenerate.
3104
3105 * docs/17_intro/contribute.html: Plead with people to use -cp.
3106
8173b2d7
BK
31072000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
3108
3109 * testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
3110
3111 * testsuite/27_io/filebuf.cc: Changed calls to
3112 fpos<>._M_position() to implicit calls to operator streamoff().
3113 * testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
3114 as not needed. Revert, as part of standard.
3115 * testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
3116 call to numpunct<>._M_init() with overrides of the appropriate
3117 virtual functions.
3118
3119 * testsuite/27_io/stringstream.cc: Removed unnecessary char *
3120 pointers from test01, so no need to call base(), which isn't
3121 guaranteed to be implemented as iterators may themselves be pointers
3122 * testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
3123 _M_position() - use implicit conversion to streamoff instead
3124
31252000-06-13 Thomas Holenstein <thomas@hex.ch>
3126
3127 * bits/stl_iterator.h: Added inline to operators == to >=.
3128
96cbf48b
BV
31292000-06-13 Brent Verner <brent@rcfile.org>
3130
3131 * bits/streambuf.tcc: repaired _S_copy_streambufs()
3132 * testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
3133
088eb5a2
BK
31342000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3135
3136 * bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
3137 members.
3138 * src/locale.cc: Add cwchar include here. Remove incorrect
3139 definitions, and stub them out.
3140 * config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
3141 * config/solaris/solaris2.7/ctype.cc (ctype): Same.
3142 * config/solaris/solaris2.5/ctype.cc (ctype): Same.
3143 * config/newlib/ctype.cc: Same.
3144 * config/gnu-linux/ctype.cc: Same.
3145 * config/bsd/ctype.cc: Same.
3146 * config/aix/ctype.cc: Same.
3147
31482000-06-12 Branko Cibej <branko.cibej@hermes.si>
3149
3150 * config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
3151 towupper and towlower to convert wide characters.
3152
d54a528a
BK
31532000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3154
3155 * mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
3156
6c820cf2
BC
31572000-06-08 Branko Cibej <branko.cibej@hermes.si>
3158
3159 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
3160 sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
3161 * aclocal.m4: Regenerate.
3162 * configure: Regenerate.
3163 * math/cosf.c: New file.
3164 * math/fabsf.c: Likewise.
3165 * math/sinf.c: Likewise.
3166 * math/sqrtf.c: Likewise.
3167 * math/Makefile.am (EXTRA_DIST): Add those four files.
3168 * math/Makefile.in: Regenerate.
3169
5c61f0f2
PE
31702000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
3171
3172 * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
3173
54fa7415
SK
31742000-06-06 Steven King <sxking@uswest.net>
3175
3176 * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
3177 double and long double. Added defines for HAVE libm math functs for
3178 float and long double.
3179 * aclocal.m4: Added configure checks for builtin math funcs and libm
3180 support for float and long double versions of the math functions.
3181 * config.h.in: Added undefs for math functs.
3182 * configure: Regenerate.
3183 * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
3184 _GLIBCPP_HAVE_BUILTIN_*.
3185 * bits/std_cmath.h: Added long double support. Use builtins for
3186 float, double and long if available, otherwise, use libm versions if
3187 availible, otherwise, punt.
3188 * shadow/bits/std_cmath.h: ditto
3189
c9b39473
BK
31902000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3191
cc4316b5
BK
3192 * bits/locale_facets.h: Tweak.
3193 * src/locale.cc (codecvt<wchar_t>): Tweak.
3194
c9b39473
BK
3195 * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
3196 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
3197
cc4316b5
BK
3198 * bits/basic_string.h: Move data member up.
3199 * src/string-inst.cc: Fix instantiations.
3200 * bits/string.tcc: Fix types.
3201
3ce74580
AW
32022000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
3203
3204 * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
3205
3840fa2a
BK
32062000-06-01 Benjamin Kosnik <bkoz@gnu.org>
3207
3208 * bits/std_cwctype.h: Clean.
3209 * bits/std_cwchar.h: Clean, remove cruft.
3210
3211 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
3212 for beginning iconv support.
3213 Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
3214 macro.
3215 * acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
3216 * bits/limits_generic.h: Remove.
3217 * src/gen-num-limits.cc: Same.
3218
3219 * src/locale.cc: Tweaks.
3220
3221 * bits/char_traits.h: Tweaks.
3222
64cdd351
BK
32232000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3224
3225 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
3226 exponent, scientific formatting issues.
3227 * testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
3228
b2c62b3c
BC
32292000-05-31 Branko Cibej <branko.cibej@hermes.si>
3230
3231 * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
3232 and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
3233
149a0abf
NM
32342000-05-31 Nathan Myers <ncm@cantrip.org>
3235
3236 * docs/thanks.html: edit own credits
3237
30ff6342
BK
32382000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3239
83bcda1e
BK
3240 * bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
3241
30ff6342
BK
3242 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
3243
64cdd351
BK
3244 * mkcheck.in (SH_FLAG): Add in -Wl,--rpath -Wl,$LIB_PATH. Tweaks.
3245
30ff6342
BK
32462000-05-31 Steven King <sxking@uswest.net>
3247
3248 * shadow/time.h: fix typo
3249 * shadow/wchar.h: ifdef __USE_GNU for wcsdup
3250 * shadow/bits/std_cwchar.h: ditto
3251 * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
3252 and long long.
3253
0137be2d
PE
32542000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
3255
3256 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't
3257 available, force --disable. Need to flesh this out; make smarter.
3258 * aclocal.m4: Regenerate.
3259 * configure: Regenerate.
3260
3261 * mkcheck.in: Minor tweaks.
3262 * docs/download.html: Fix typo.
3263
5b80666b
BK
32642000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
3265
3266 * inclosure: Change to...
3267 * mkinclosure: This.
3268 Fix paths to bash.
3269 * mkcshadow: Fix paths to bash.
3270
3271 * src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
3272 * src/Makefile.in: Regnerate.
3273 * acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
3274 (GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
3275 * aclocal.m4: Regenerate.
39e09fba 3276 * mkcheck.in (INC_PATH): Tweak.
5b80666b
BK
3277
3278 * configure.in: Enable long long by default.
3279 * configure: Regenerate.
3280
3281 * mkcheck.in (LIB_PATH): Revert.
3282
bf93f43b
BK
32832000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
3284
3285 * config/cpu/i486: New directory.
3286 * config/cpu/i486/bits: New directory.
3287 * config/cpu/i486/bits/atomicity.h: New file.
3288 * config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
3289 'cmpxchgl' asm.
3290 * acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
3291
32922000-05-24 Loren J. Rittle <ljrittle@acm.org>
3293
3294 * backward/alloc.h (__default_alloc_template): Only expose
3295 implementation-specific symbol, if it exists in the
3296 configuration.
3297 * backward/iostream.h (ends): Expose symbol.
3298 * backward/strstream.h: New file.
3299 * backward/stream.h: New file.
3300 * backward/ostream.h: New file.
3301 * backward/istream.h: New file.
3302 * backward/fstream.h: New file.
3303 * backward/complex.h: New file.
3304 * backward/iomanip.h: New file.
3305
3306 * mkcheck.in (LIB_PATH): Add -R bits.
3307
3308 * math/carg.c (carg): Replace __atan2 with atan2.
3309
d3a12960
BK
33102000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
3311
d94611f1
BK
3312 * Makefile.am (TAGS): Construct.
3313 * Makefile.in: Rengerate.
3314 * src/Makefile.am: Tweak.
3315 * src/Makefile.in: Tweak.
3316 * configure.in: Tweak.
3317
3318 * bits/c++config.h: Rename to ...
3319 * bits/c++config: This.
3320 * mkc++config: Adjust.
3321
af9fe0d1
BK
3322 * m4: Remove.
3323 * m4/lc_message.m4: Merge into acinclude.m4.
3324 * m4/mathfcts.m4: Same.
3325 * m4/stringfcts.m4: Same.
3326 * acinclude.m4: Add here.
3327 * configure: Regnerate.
3328
d3a12960
BK
3329 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
3330 OPTLEVEL. Add FMTFLAGS.
3331 * aclocal.m4: Regenerate.
af9fe0d1
BK
3332 * src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this has
3333 been disabled due to higher-level Makefiles running amuck over
d3a12960
BK
3334 this bit, and add in FMTFLAGS so that formatting is clear.
3335 * src/Makefile.in: Regenerate.
3336 * configure: Regenerate.
3337
bf93f43b 3338 * src/ios.cc (ios_base::sync_with_stdio): Clean up buffers from
d3a12960
BK
3339 initialization.
3340
3341 * docs/download.html: Remove references to Cygwin-specific bits,
3342 as this can now be built natively.
3343 Update with current information.
3344
a4e99046
PE
33452000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
3346
3347 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
3348 -fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
3349 enclose other tests in this macro, including future ones.
3350 * aclocal.m4: Regenerate.
3351 * configure: Regenerate.
3352
3353 * docs/faq/index.html: Update location of libg++ FAQ.
3354 * docs/faq/index.txt: Regenerate.
3355
d3a12960 33562000-05-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
6f5ed736
BK
3357
3358 * docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
3359
276c771b
PE
33602000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
3361
3362 * mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
3363
11a6e9a7
PE
33642000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
3365
3366 * acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
3367 keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
3368 * aclocal.m4: Regenerate.
3369 * configure: Regenerate.
3370
0d9a68e8
NM
33712000-05-19 Nathan C. Myers <ncm@cantrip.org>
3372
3373 * bits/generic_shadow.h: s/swamp/legacy/
3374
8bd636c5
PE
33752000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
3376
3377 * acinclude.m4: Clean up comments on newer checks.
3378 (GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
3379 pragma support. Remove WERRORSUPPRESS variable, add WERROR.
3380 * aclocal.m4: Regenerate.
3381 * configure: Regenerate.
3382 * Makefile.in: Regenerate.
3383 * libio/Makefile.in: Regenerate.
3384 * math/Makefile.in: Regenerate.
3385 * src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
3386 * src/Makefile.in: Regenerate.
3387 * docs/configopts.html: Document changes to --enable names.
3388
6dad70df
BK
33892000-05-18 Chip Salzenberg <chip@valinux.com>
3390
3391 * bits/ostream.tcc (_S_pad_char): Function template should not be
3392 static.
3393 * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
3394 * src/string-inst.cc (__destroy_aux): Instantiate for string*.
3395
33962000-05-18 Nathan C. Myers <ncm@cantrip.org>
3397
3398 * mkcshadow: Change C_Swamp to C_legacy.
3399 * shadow/*: Same.
3400 * shadow/bits/*: Same.
3401 s/C_Swamp/C_legacy/g
3402 s/SWAMP/LEGACY/g
3403 s/_Shadow/_shadow/g
3404
34052000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
3406
3407 * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
3408 const char*.
3409 * src/string-inst.cc (string::_S_find): Same.
3410
d0d88ce3
BK
34112000-05-18 Benjamin Kosnik <bkoz@gnu.org>
3412
3413 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
3414 --enable-cshadow-headers. Add output messages.
3415 (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
3416 underscores (like the rest of the enable options.) Add output messages.
3417 * aclocal.m4: Regenerate.
3418 * configure: Regenerate.
3419 * configure.in: Touch.
3420
a51ef160
BK
34212000-05-17 Benjamin Kosnik <bkoz@cygnus.com>
3422
3423 * mkcheck.in: Enable shared library testing.
3424
811e551b
BK
34252000-05-17 Nathan C. Myers <ncm@cantrip.org>
3426
3427 * bits/std_cmath.h: fix sqrt(float)
3428
34292000-05-16 Loren J. Rittle <ljrittle@acm.org>
3430
3431 * bits/std_cassert.h: Use system_header pragma.
3432 * bits/std_cctype.h: Likewise.
3433 * bits/std_cerrno.h: Likewise.
3434 * bits/std_cfloat.h: Likewise.
3435 * bits/std_climits.h: Likewise.
3436 * bits/std_clocale.h: Likewise.
3437 * bits/std_cmath.h: Likewise.
3438 * bits/std_csetjmp.h: Likewise.
3439 * bits/std_csignal.h: Likewise.
3440 * bits/std_cstdarg.h: Likewise.
3441 * bits/std_cstddef.h: Likewise.
3442 * bits/std_cstdio.h: Likewise.
3443 * bits/std_cstdlib.h: Likewise.
3444 * bits/std_cstring.h: Likewise.
3445 * bits/std_ctime.h: Likewise.
3446 * bits/std_cwchar.h: Likewise.
3447 * bits/std_cwctype.h: Likewise.
3448 * bits/std_exception.h: Likewise.
3449 * bits/std_new.h: Likewise.
3450 * bits/std_typeinfo.h: Likewise.
3451 * shadow/bits/std_cassert.h: Likewise.
3452 * shadow/bits/std_cctype.h: Likewise.
3453 * shadow/bits/std_cerrno.h: Likewise.
3454 * shadow/bits/std_cfloat.h: Likewise.
3455 * shadow/bits/std_climits.h: Likewise.
3456 * shadow/bits/std_clocale.h: Likewise.
3457 * shadow/bits/std_cmath.h: Likewise.
3458 * shadow/bits/std_csetjmp.h: Likewise.
3459 * shadow/bits/std_csignal.h: Likewise.
3460 * shadow/bits/std_cstdarg.h: Likewise.
3461 * shadow/bits/std_cstddef.h: Likewise.
3462 * shadow/bits/std_cstdio.h: Likewise.
3463 * shadow/bits/std_cstdlib.h: Likewise.
3464 * shadow/bits/std_cstring.h: Likewise.
3465 * shadow/bits/std_ctime.h: Likewise.
3466 * shadow/bits/std_cwchar.h: Likewise.
3467 * shadow/bits/std_cwctype.h: Likewise.
3468 * shadow/bits/wrap_libio.h: Likewise.
3469 * shadow/bits/wrap_unistd.h: Likewise.
3470 * shadow/sys/cdefs.h: Likewise.
3471
34722000-05-16 Nathan C. Myers <ncm@cantrip.org>
3473
3474 It appears that gcc-2.96 supports the keyword "and" now.
3475 * bits/std_ciso646.h: remove.
3476 * std/ciso646: gut.
3477 * testsuite/17_intro/header_ciso646.c: enable testing.
3478 * src/Makefile.am, src/Makefile.in: remove mention of
3479 bits/std_ciso646.h
3480
a5c0553d
NM
34812000-05-16 Nathan C. Myers <ncm@cantrip.org>
3482
3483 * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
3484
032cc955
PE
34852000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
3486
3487 * acinclude.m4: Fix typo, switch to decaf...
3488 * aclocal.m4: Regenerate.
3489 * configure: Regenerate.
3490
99246c90
PE
34912000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
3492
3493 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
3494 * aclocal.m4: Regenerate.
3495 * configure.in: Call.
3496 * configure: Regenerate.
3497 * docs/configopts.html: Stub documentation.
3498
6ad50467
BK
34992000-05-14 Nathan Myers <ncm@cantrip.org>
3500
3501 * mkcshadow: build in more-correct directory, create cshadow/
3502 directory if needed, report progress.
3503
35042000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
3505
3506 * src/Makefile.am: Fix tr commands.
3507 * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
3508 * src/string-inst.cc: Remove extra instantiation of
3509 S::basic_string(S::size_type, C, S::allocator_type const&);
3510 * src/string-inst.cc: Remove extra template keyword.
3511
35122000-05-14 Loren J. Rittle <ljrittle@acm.org>
3513
3514 * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
3515 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
3516 * aclocal.m4: Regenerate.
3517 * configure: Regenerate.
3518 * */Makefile.in: Regenerate.
3519
32a4595e
PE
35202000-05-11 Phil Edwards <pme@sourceware.cygnus.com>
3521
3522 * acinclude.m4: Fix minor typo with ctypes, add more sanity to
3523 enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
3524 * aclocal.m4: Regenerate.
3525 * configure.in: Non-blank arguments break fewer Linuxes.
3526 * configure: Regenerate.
3527 * src/Makefile.am: Re-order AC_CXXFLAGS components.
3528 * src/Makefile.in: Regenerate.
3529
f035fae1
BK
35302000-05-10 Benjamin Kosnik <bkoz@redhat.com>
3531
991a40fc
BK
3532 * bits/std_cmath.h: Tweaks.
3533 * math/mathconf.h: Tweaks and fixes for HP-UX 11.
3534 (sqrtf): Define away iff !builtin and !in <math.h>.
3535 (sinf): Same.
3536 (cosf): Same.
3537 (fabsf): Same.
3538 At some point this directory should be converted to c++, the
3539 autoconf tests should be run by the c++ compiler (not c), and
3540 <cmath> should be used instead of math.h.
3541 Move declaration of nan() here.
3542 * math/complex-stub.h (cabsl): Remove nan() declaration.
3543
f035fae1
BK
3544 Finish up FreeBSD4.0 support.
3545 * config/bsd/ctype.cc: Scope out toupper, tolower calls.
3546 * config/generic/ctype.cc: And here.
3547 * testsuite/21_strings/char_traits.cc (test02): Guard with
3548 _GLIBCPP_USE_WCHAR_T.
3549
991a40fc
BK
3550 via Phil Edwards <pme@sourceware.cygnus.com>
3551 * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
3552 * acconfig.h: And here.
3553 * acinclude.m4: Same.
3554 * testsuite/27_io/istream.cc: And here.
3555 * testsuite/27_io/ostream.cc: And here.
3556
7b267e3e
BK
35572000-05-09 Benjamin Kosnik <bkoz@gnu.org>
3558
3559 * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
3560 -mcpu=powerpc.
9e9ada45
BK
3561 * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
3562
7b267e3e
BK
3563 * config/generic/bits/ctype_specializations.h (ctype<char>::is):
3564 Make more generic.
3565
3566 * config/bsd: New directory.
3567 * config/bsd/ctype.cc: New.
3568 * config/bsd/bits/ctype_base.h (ctype_base): New.
3569 * config/bsd/bits/ctype_specializations.h: New.
3570 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
3571
dcfa0bc8
PE
35722000-05-09 Phil Edwards <pme@sourceware.cygnus.com>
3573
3574 * acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
3575 * configure.in: Call.
3576 * src/Makefile.am: Append results of macro to AC_CXXFLAGS.
3577 * aclocal.m4: Regenerate.
3578 * configure: Ditto.
3579 * src/Makefile.in: Ditto.
3580 * docs/configopts.html: Document.
3581 * docs/download.html: Fix typo (close quote).
3582 * docs/footer.html: Update.
3583
55718a0b
BK
35842000-05-09 Loren J. Rittle <ljrittle@acm.org>
3585
3586 * backward/iostream.h: Expose endl. Guard wide types.
3587 * src/Makefile.am (headers): Update list to match files.
3588 * src/Makefile.in: Regenerate.
3589
35902000-05-09 Vadim Egorov <egorovv@mailandnews.com>
c0b84d79
VE
3591 Benjamin Kosnik <bkoz@gnu.org>
3592 Nathan Myers <ncm@cantrip.org>
3593 Dietmar Kuehl <dietmar_kuehl@yahoo.com>
3594
3595 * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
3596 (basic_streambuf::xsputn): Make consistent.
3597 * testsuite/27_io/filebuf.cc: Add tests.
3598
943ff2a0 35992000-05-08 Steven King <sxking@uswest.net>
8445e42a 3600
55718a0b 3601 * bits/char_traits.h: Use wchar_t utility functions for
8445e42a
SK
3602 char_traits<wchar_t> methods.
3603 * testsuite/21_string/char_traits.cc: New (test02): test
3604 char_traits<wchar_t>
3605
d207c3f7
BK
36062000-05-08 Benjamin Kosnik <bkoz@cygnus.com>
3607
8445e42a
SK
3608 * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
3609
d207c3f7
BK
3610 * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
3611 _M_buf_size based on macro, instead use _M_buf_size_opt.
3612 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
3613 (basic_streambuf()): Set _M_buf_size_opt.
3614 * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
3615 instead of _M_buf_size.
3616
bfe5c121
BC
36172000-05-04 Branko Cibej <branko.cibej@hermes.si>
3618
3619 * src/complex_io.cc: Don't instantiate inserters and extractors
3620 for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
3621
754ac8f7
PE
36222000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
3623 Felix Natter <fnatter@gmx.net>
3624
3625 * docs/footer.html: Update to see if it takes effect.
3626 * docs/thanks.html: More people.
3627 * docs/17_intro/headers_cc.txt: Copy from testsuite, since that can't
3628 be seen from the web pages. Rename for browser-friendliness...
3629 * docs/17_intro/howto.html: ...and update here.
3630 * docs/17_intro/porting-howto.html: Changes from Felix.
3631 * docs/gccrebuild.html: Mention v3->egcs move.
3632 * docs/faq/index.html: Ditto. Also misc tweaks and URL updates.
3633 * docs/faq/index.txt: Regenerate.
3634
e704c6bf
BK
36352000-05-01 Benjamin Kosnik <bkoz@redhat.com>
3636
3637 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
3638 fixes.
3639
8fd05cb0
VE
36402000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
3641
3642 * bits/char_traits.h: Fix parameter types.
3643 * bits/string.tcc: Avoid traits_type::move.
3644
cde28f0d
BK
36452000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
3646
3647 * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
3648 * src/Makefile.in: Regenerate.
3649 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
3650
53a6ca29
SK
36512000-04-30 Steven King <sxking@uswest.net>
3652
3653 * bits/locale_facets.h: Fix syntax error.
3654 * bits/std_fstream.h: ditto
3655
6dd4c3fd
BK
36562000-04-30 Benjamin Kosnik <bkoz@gnu.org>
3657
b7fe530c
BK
3658 * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
3659
6dd4c3fd
BK
3660 * mknumeric_limits (trait_name): Fix copyright notice.
3661 * src/gen-num-limits.cc: Explicitly instantiate epsilon and
3662 round_error data members of struct value. This works around
3663 weak-linking issues on AIX, HPUX.
3664
0bf0f027
PE
36652000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
3666
3667 * docs/download.html: Add link to list of mirror sites.
3668
3f49b842
BK
36692000-04-28 Loren J. Rittle <ljrittle@acm.org>
3670
3671 * mkcheck.in: Rely on exit status instead of the presence of a
3672 core file. Added comments on how/where to save core and exe
3673 files. Move shell wildcards outside quotes and fix core path.
3674
36752000-04-27 scott snyder <snyder@fnal.gov>
3676
3677 * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
3678 classes.
3679
f3b004d8
BK
36802000-04-26 Nathan C. Myers <ncm@cantrip.org>
3681
3682 * bits/basic_string.h: include <bits/atomicity.h> instead
3683 of <atomicity.h>, and use the uglified names.
3684 * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
3685 uglify names, eliminate dependence on <inttypes.h>.
3686 * src/Makefile.in, src/Makefile.am: refer to correct place
3687 for atomicity.h header.
3688
36892000-04-25 Steven King <sxking@uswest.net>
3690
3691 * bits/basic_string.h: Fix syntax error.
3692
36932000-04-25 Benjamin Kosnik <bkoz@redhat.com>
3694
3695 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
3696 USE_LONG_DOUBLE.
3697 (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
3698 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
3699 versions to this as copysignl is needed anyway for these targets.
3700 * math/Makefile.in: Regenerate.
3701
3702 * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
3703 * bits/fstream.tcc (underflow): Cast to libio types.
3704 * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
3705 * config/c_io_libio.cc (seekoff): And here.
3706
f7f8b180
LR
37072000-04-24 Loren J. Rittle <ljrittle@acm.org>
3708
3709 * mkcheck.in: Report compiler version used for test. Find
3710 the built _G_config.h instead of any old installed version.
3711
f4dad842
LR
37122000-04-24 Loren J. Rittle <ljrittle@acm.org>
3713
3714 * config/generic/ctype.cc (do_toupper): Remove dependence on
3715 non-portable/non-existent lookup table.
3716 (do_tolower): Same.
3717
5d89258a
BK
37182000-04-24 Nathan Myers <ncm@cantrip.org>
3719
3720 * src/string-inst.cc: More fixing.
3721
37222000-04-24 Benjamin Kosnik <bkoz@gnu.org>
3723
3724 * bits/stl_iterator.h: Pedantic fixing.
3725 * bits/std_sstream.h: And here.
3726 * bits/string.tcc: And here.
3727
37282000-04-24 Felix Natter <fnatter@gmx.net>
3729
3730 * docs/17_intro/howto.html: Add bits.
3731 * docs/17_intro/porting-howto.html: New file.
3732
37332000-04-24 Branko Cibej <branko.cibej@hermes.si>
3734
3735 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
3736 @libinst_wstring_la@ to libinst-wstring.la when specializing for
3737 wchar_t, to empty string otherwise.
3738 * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
3739 (sources): Remove $(string_sources) and $(wstring_sources).
3740 (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
3741 (libstdc___la_DEPENDENCIES): New.
3742 (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
3743
b2dad0e3
BK
37442000-04-20 Benjamin Kosnik <bkoz@redhat.com>
3745
3746 * bits/std_sstream.h: Tweak formatting.
3747 * bits/std_fstream.h: Make types public.
3748
3749 * testsuite/27_io/streambuf.cc: Fix for alpha.
3750
3751 Brad Garcia <bgarcia@laurelnetworks.com>
3752 * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
3753 initialization.
3754 * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
3755 bool formatting.
3756
37572000-04-19 Nathan Myers <ncm@cantrip.org>
3758
3759 * src/string-inst: consolidate _S_create,
3760 destroy, leak, clone members into stringMAIN and stringMUTATE
3761 object files.
3762 * src/Makefile.am: Above, and eliminate dependence on
3763 wstring-inst.cc.
3764 * src/wstring-inst.cc: Remove.
3765
37662000-04-18 Benjamin Kosnik <bkoz@redhat.com>
3767
3768 * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
3769 Add flags for specialized rules dealing with instantiations.
3770
3771 * src/string-inst.cc: Add instantiations missing from shared
3772 libraries--see stringEQ, stringCONSC.
3773 * src/Makefile.am (wstring_sources): Add.
3774 (string_sources): Same.
3775 * src/Makefile.in: Regenerate.
3776
3777 * stl/*: Integrate contents of this directory into top-level
3778 directories.
3779 * ext/bvector hash_map hash_set rope ropeimpl.h slist
3780 stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
3781 * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
3782 std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
3783 std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
3784 std_stdexcept.h std_strstream.h std_utility.h std_vector.h
3785 stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
3786 stl_deque.h stl_function.h stl_heap.h stl_iterator.h
3787 stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
3788 stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
3789 stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
3790 stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
3791 stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
3792 * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
3793 function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
3794 list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
3795 stack.h tempbuf.h tree.h vector.h: Add.
3796 * README (file): Update.
3797 * docs/documentation.html: README not being found.
3798 * src/Makefile.am (sources): Take out stl directory.
3799 * mkcheck.in (SRC_DIR): And here.
3800 * src/Makefile.in: Regenerate.
3801
38022000-04-18 Levente Farkas <lfarkas@mindmaker.hu>
3803
3804 * stl/bits/stl_function.h: Add bits so that const and non-const
3805 both work.
3806
38072000-04-18 scott snyder <snyder@fnal.gov>
3808
3809 * stl/bits/stl_map.h (class map): Fix default for _Alloc template
3810 parameter. Get rid of use of __STL_DEFAULT_ALLOCATOR and
3811 __STL_LIMITED_DEFAULT_TEMPLATES macros.
3812 * stl/bits/stl_multimap.h (class multimap): Likewise. Get rid of
3813 use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3814
38152000-04-18 scott snyder <snyder@fnal.gov>
3816
3817 * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
3818 this macro.
3819
3820 * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
3821 of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3822 * stl/ext/hash_set (class hash_set, class hash_multiset):
3823 Likewise.
3824 * stl/bits/stl_function.h (struct constant_unary_fun, struct
3825 constant_binary_fun): Likewise.
3826 * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
3827 * stl/bits/stl_stack.h (class stack): Likewise.
3828 * stl/bits/stl_set.h (class set): Likewise.
3829 * stl/bits/stl_multiset.h (class multiset): Likewise.
3830
3831 * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
3832 class reverse_iterator): Get rid of use of
3833 __STL_LIMITED_DEFAULT_TEMPLATES macro.
3834
3835 * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
3836 macro.
3837
3838 * stl/bits/stl_deque.h (class deque): Get rid of use of
3839 __STL_DEFAULT_ALLOCATOR macro.
3840 * stl/bits/stl_list.h (class list): Likewise.
3841 * stl/bits/stl_multiset.h (class multiset): Likewise.
3842 * stl/bits/stl_set.h (class set): Likewise.
3843 * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
3844 * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
3845 * stl/bits/stl_vector.h (class vector): Likewise.
3846 * stl/ext/ropeimpl.h (rotate): Likewise.
3847 * stl/ext/hash_map (class hash_map, class hash_multimap):
3848 Likewise.
3849 * stl/ext/hash_set (class hash_set, class hash_multiset):
3850 Likewise.
3851 * stl/ext/slist (class slist): Likewise.
3852 * stl/ext/stl_bvector.h (class bit_vector): Likewise.
3853 * stl/ext/stl_rope.h (class rope): Likewise.
3854 * src/locale.cc (_Impl): Likewise.
3855 * src/localename.cc (_Impl): Likewise.
3856 * bits/localefwd.h (_Impl): Likewise.
3857
38582000-04-18 Phil Edwards <pme@sourceware.cygnus.com>
3859
3860 * docs/install.html: Cleanup, minor changes.
3861 * docs/17_intro/howto.html: Ditto.
3862
38632000-04-18 Nathan Myers <ncm@cantrip.org>
3864
3865 * bits/basic_string.h: Remove "inline" from member _S_find.
3866
3867 * src/string-inst.cc: Rewrite to reflect non-inline template
3868 instantiations in string.tcc.
3869
3870 * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
3871 stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
3872 stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
3873 stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
3874 stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
3875 stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
3876 stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
3877 stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
3878 stringNESS.cc, stringSCOPY.cc: Remove.
3879 * src/wstringADDCS.cc, etc: Remove.
3880
3881 Benjamin Kosnik <bkoz@haight.constant.com>
3882 * src/Makefile.am: Modify to reflect above.
3883 * src/Makefile.in: Regenerate.
3884
38852000-04-17 Benjamin Kosnik <bkoz@cygnus.com>
3886
3887 * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
3888
38892000-04-13 Benjamin Kosnik <bkoz@haight.cygnus.com>
3890
3891 * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
3892 io interface here instead of the libio particulars.
3893
3894 * config/threads-posix.h: Consistency with stl_config.h.
3895
3896 * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
3897
38982000-04-13 Loren J. Rittle <ljrittle@acm.org>
3899
3900 * mknumeric_limits: Rename generic type template parameter name
3901 '_T' to '_Tp'.
3902 * stl/bits/type_traits.h: Ditto.
3903
39042000-04-06 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3905
3906 * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
3907 it is more useful for --enable-libstdcxx-v3. Use the built
3908 compilers with v3, instead of compilers in PATH, and don't
3909 re-include include directories for checking the install.
3910
39112000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
3912
3913 * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
3914 by default when using --enable-libstdcxx-v3.
3915 * src/Makefile.in: Regenerate.
3916 * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
3917 GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
3918 * configure: Regenerate.
3919 * mkcheck.in: Deal with NAMESPACES.
3920
39212000-04-05 Petter Urkedal <petter@matfys.lth.se>
3922
3923 * src/cmath.cc: New file...
3924 (pow(*, int)): Define functions...
3925 * src/Makefile.am (sources): ...register file.
3926 * src/Makefile.in: Regenerate.
3927 * bits/std_cmath.h (pow): ...declare functions here, and remove
3928 old definitions.
3929
39302000-04-04 Benjamin Kosnik <bkoz@redhat.com>
3931
3932 * acinclude.m4 (GCC_OBJDIR): Tweaks
3933
39342000-04-03 Benjamin Kosnik <bkoz@redhat.com>
3935
3936 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
3937 * config/cpu/arm: New directory.
3938
3939 Jesper Skov <jskov@redhat.com>
3940 * config/cpu/arm/atomicity.h: New file.
3941
39422000-03-31 Benjamin Kosnik <bkoz@redhat.com>
3943
3944 * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
3945 Remove unused bits. Clean.
3946
39472000-03-29 Benjamin Kosnik <bkoz@cygnus.com>
3948
3949 * testsuite/25_algorithms: New directory.
3950 * testsuite/25_algorithms/min_max.cc: New file.
3951
39522000-03-29 scott snyder <snyder@fnal.gov>
3953
3954 * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
3955 precision beyond that which we get from numeric_limits::digits10.
3956
3957 * stl/bits/stl_algobase.h (max, min): Don't use comparison
3958 operator.
3959
3960 * testsuite/23_containers/bitset_shift.cc: Fix.
3961
3962 * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
3963 temporary to imbue().
3964
3965 * bits/std_fstream.h (sync): Resync libio's idea of the current
3966 file position with the external file.
3967
39682000-03-28 Benjamin Kosnik <bkoz@cygnus.com>
3969
3970 * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
3971 mistake.
3972
3973 * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
3974 attempting calls to it.
3975 * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
3976 ctors. Instead, call _M_init_filebuf ...
3977 (open): Here, as suggested by 27.8.1.3.
3978 * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
3979 properly when initializing cout/cin/cerr.
3980
39812000-03-27 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3982
3983 * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
3984 * testsuite/22_locale/ctype_char_members.cc: And here.
3985 * testsuite/27_io/streambuf.cc (streambuf): And here.
3986 * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
3987 * testsuite/27_io/istream_unformatted.cc (test05): And here.
3988 * testsuite/27_io/istream_extractor_arith.cc: And here.
3989 * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
3990 * testsuite/27_io/ios_base_members_static.cc: And here.
3991 * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
3992
39932000-03-27 Chris Faylor <cgf@cygnus.com>
3994
3995 * configure.in: Remove setting of CXX if canadian cross.
3996 * configure: Regenerate.
3997
39982000-03-27 Nathan Myers <ncm@zembu.com>
3999
4000 * bits/sstream.tcc: Optimize.
4001 * bits/basic_string.h(string::append): Don't inline.
4002 * bits/string.tcc: Move out-of-line.
4003
40042000-03-27 Phil Edwards <pme@sourceware.cygnus.com>
4005
4006 * acinclude.m4: (GLIBCPP_CHECK_COMPILER_VERSION) When using <2.96,
4007 define WERRORSUPPRESS so that the inlining warnings won't kill us.
4008 * aclocal.m4: Regenerate.
4009 * configure: Regenerate.
4010 * src/Makefile.am: Use WERRORSUPPRESS for the files that need it.
4011 * src/Makefile.in: Regenerate.
4012
4013 * docs/install.html: Almost complete rewrite.
4014
40152000-03-25 Phil Edwards <pme@sourceware.cygnus.com>
4016
4017 * docs/install.html: Explain -Werror problem at "#Werror" mark.
4018 * docs/faq/index.html: Testsuite will die horribly if new libgcc.a
4019 not installed.
4020 * docs/faq/index.txt: Regenerate.
4021
40222000-03-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4023
4024 * src/Makefile.am (libio_headers_install): Fix.
4025 * src/Makefile.in: Regenerate.
4026
40272000-03-24 Benjamin Kosnik <bkoz@cygnus.com>
4028
4029 * docs/17_intro/RELEASE-NOTES: Fix typos.
4030 * docs/index.html: Update.
4031 * docs/17_intro/BUGS: Update.
4032 * docs/status.html: Update for 2.90.8 release.
4033
40342000-03-23 Phil Edwards <pme@sourceware.cygnus.com>
4035
4036 * Makefile.am: Better error message when missing libgcc2.ready.
4037 * Makefile.in: Regenerate.
4038 * acinclude.m4: Fastidious nitpicking reformatting.
4039 * aclocal.m4: Regenerate.
4040 * configure: Regenerate.
4041 * mkcheck.in: Must use same namespace settings as the library being
4042 tested. Also log ST_FLAG, since it's being passed.
4043 * docs/install.html: Add brief chunk on configuration.
4044 * docs/17_intro/RELEASE-NOTES: Fix minor Cygwin typo.
4045 * docs/23_containers/howto.html: Mention MT-safe string.
4046 * docs/faq/index.html: Minor updates.
4047 * docs/faq/index.txt: Regerarate.
4048
40492000-03-22 Benjamin Kosnik <bkoz@cygnus.com>
4050
4051 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
4052 Return newoff.
4053 * bits/fstream.tcc (seekoff): Sync.
4054 (seekpos): Sync.
4055 * testsuite/27_io/ostream_unformatted.cc: New file.
4056 * testsuite/27_io/stringbuf.cc: Fix.
4057 * testsuite/27_io/istream_unformatted.cc (test04): Fix.
4058
4059 * config/newlib/bits/ctype_base.h (ctype_base): Fix.
4060 * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
4061
4062 * src/complex_io.cc (operator>>complex): Tweak.
4063
4064 * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
4065 <inttypes.h> does not exist.
4066 * config/cpu/sparc/sparc64/atomicity.h: Same.
4067 * config/cpu/sparc/sparc32/atomicity.h: Same.
4068 * config/cpu/powerpc/atomicity.h: Same.
4069 * config/cpu/i386/atomicity.h: Same.
4070 * config/cpu/generic/atomicity.h: Same.
4071 * configure.in: Check for inttypes.h.
4072 * configure: Regnerate.
4073
40742000-03-21 Benjamin Kosnik <bkoz@cygnus.com>
4075
4076 * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
4077 correctly.
4078 * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
4079
4080 * docs/17_intro/RELEASE-NOTES (New): Add bits.
4081
4082 * configure.in: Move AC_CHECK_HEADERS to a point where we know we
4083 are compiling natively.
4084
4085 * libio/*: Update to CVS libio from egcs.
4086
40872000-03-21 Phil Edwards <pme@sourceware.cygnus.com>
4088
4089 * docs/download.html: Document use of -z9 for CVS.
4090 * docs/index.html: Add target date (no link) for future snapshot.
4091
40922000-03-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4093
4094 * bits/slice_array.h: Rename generic type template parameter name
4095 '_T' to '_Tp'.
4096 * bits/mask_array.h: Ditto
4097
40982000-03-20 Benjamin Kosnik <bkoz@cygnus.com>
4099
4100 * *: Change copyright holder from "Cygnus Solutions" to "Free
4101 Software Foundation, Inc."
4102
4103 * docs/configopts.html: Explain what "hella versions" means.
4104 * docs/install.html: Some tweaks--nice job on this Phil.
4105 * docs/documentation.html: Add a direct link to configuration options.
4106
4107 * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
4108 * docs/17_intro/RELEASE-NOTES (New): Add.
4109 * bits/c++config.h (__GLIBCPP__): Bump version.
4110
4111 * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
4112 type to match prototype.
4113
41142000-03-20 Phil Edwards <pme@sourceware.cygnus.com>
4115
4116 * docs/install.html: Update for new funky build procedure. Move
4117 description of 'configure' options to...
4118 * docs/configopts.html: ...here. New file.
4119 * docs/17_intro/howto.html: Updates for new snapshot.
4120 * docs/20_util/howto.html: Ditto.
4121 * docs/21_strings/howto.html: Ditto.
4122 * docs/21_strings/stringtok_std_h.txt: Fix example typos.
4123 * docs/22_locale/howto.html: Ditto.
4124 * docs/23_containers/howto.html: Ditto.
4125 * docs/faq/index.html: Ditto.
4126
41272000-03-18 Petter Urkedal <petter@matfys.lth.se>
4128 Benjamin Kosnik <bkoz@gnu.org>
4129
4130 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
4131 to the right place.
4132 * aclocal.m4: Regenerate.
4133 * configure: Regenerate.
4134
41352000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
4136 scott snyder <sss@karma.fnal.gov>
4137
4138 * config/c_io_libio.h: Add __c_lock.
4139 * config/threads-no.h: Same here.
4140 * config/threads-posix.h: Add __mutext_type typedef.
4141 * config/c_io_libio.cc: basic_file ctor takes lock arg.
4142 * bits/basic_file.h: Ctor takes lock arg.
4143 * bits/std_fstream.h: Add _M_lock.
4144 * bits/fstream.tcc: Supply it to basic_file ctor.
4145
4146 * mkcheck.in (resultstext): Change [[ to [.
4147
4148 * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
4149
4150 * bits/locale_facets.h: Tweak.
4151
4152 * stl/bits/stl_config.h: Fix defines.
4153
41542000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
4155
4156 * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
4157 atomicity.h
4158 * configure: Regenerate.
4159 * aclocal.m4: Regnerate.
4160
41612000-03-16 Nathan Myers <ncm@zembu.com>
4162
4163 * bits/string.tcc: Add MT support.
4164 * bits/basic_string.h: Same.
4165
41662000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
4167
4168 * configure.in: Make --enable-namespaces and -libgcc-rebuild=../..
4169 the defaults.
4170 * configure: Regenerate.
4171
4172 * config/solaris/solaris2.7/ctype.cc: Fix unsigned/signed comparison.
4173
41742000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
4175
4176 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): If Sol2.5 ctype is found, keep
4177 checking for 2.[67]. (GLIBCPP_ENABLE_RELIBGCC): No longer ignore
4178 any defaults passed in.
4179 * aclocal.m4: Regenerate.
4180
41812000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
4182
4183 * mkcheck.in: Report total successes and failures.
4184
41852000-03-15 Benjamin Kosnik <bkoz@cygnus.com>
4186
4187 * config/cpu: New directory, intended to be used to provide
4188 cpu-specific configuration files. In particular, assembly language
4189 primitives for thread safety.
4190 * config/cpu/alpha: Populate.
4191 * config/cpu/alpha/atomicity.h: New file.
4192 * config/cpu/arm: Populate.
4193 * config/cpu/generic: Populate.
4194 * config/cpu/generic/atomicity.h: New file.
4195 * config/cpu/hppa: Populate.
4196 * config/cpu/i386: Populate.
4197 * config/cpu/i386/atomicity.h: New file, take from i486.
4198 * config/cpu/m68k: Populate.
4199 * config/cpu/mips: Populate.
4200 * config/cpu/powerpc: Populate.
4201 * config/cpu/powerpc/atomicity.h: New file.
4202 * config/cpu/sparc: Populate.
4203 * config/cpu/sparc/sparc32: Populate.
4204 * config/cpu/sparc/sparc64: Populate.
4205 * config/cpu/sparc/sparc32/atomicity.h: New file.
4206 * config/cpu/sparc/sparc64/atomicity.h: New file.
4207
4208 * src/Makefile.am (myinstallheaders): Add install routines.
4209 * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
4210 cpu dir.
4211 * configure.in: Add.
4212
4213 * config/default: Adopt glibc naming conventions, and so move to
4214 * config/generic: Here.
4215 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
4216
42172000-03-15 Bill Thompson <billt@toast.net>
4218
4219 * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
4220
42212000-03-14 Phil Edwards <pme@sourceware.cygnus.com>
4222
4223 * docs/17_intro/howto.html: Add missing "TOC" entry, and new section.
4224
4225 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
4226 * aclocal.m4: Regenerate.
4227 * configure: Regenerate.
4228
42292000-03-13 scott snyder <snyder@fnal.gov>
4230 Jason Merrill <jason@cygnus.com>
4231
4232 * bits/locale_facets.h (class ctype, class ctype<char>, class
4233 ctype<wchar_t>): More mask fixes.
4234 * testsuite/22_locale/ctype.cc: Test for the problem.
4235
42362000-03-13 Benjamin Kosnik <bkoz@cygnus.com>
4237
4238 * acconfig.h: Add bits.
4239 * configure.in: Move AM_PROG_LIBTOOL up in file.
4240 Tweak cross compiling info.
4241 * configure: Regenerate.
4242
4243 * mknumeric_limits (XCOMPILE): Echo compilation line for
4244 gen-num-limits.cc
4245
4246 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
4247 * aclocal.m4: Regenerate.
4248 * configure: Regenerate.
4249 * config/aix/ctype.cc (ctype): Tweak.
4250 * config/aix/bits/ctype_base.h (ctype_base): Tweak.
4251 * config/aix/bits/ctype_specializations.h: New file.
4252
42532000-03-10 scott snyder <snyder@fnal.gov>
4254
4255 * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
4256 conversions.
4257 * testsuite/23_containers/vector_modifiers.cc (test01): Add a
4258 regression test for the problem.
4259
42602000-03-09 Benjamin Kosnik <bkoz@fidel.cygnus.com>
4261
4262 * testsuite/27_io/streambuf.cc (class testbuf): Same here.
4263 * bits/fpos.h: And here.
4264 * bits/std_ostream.h: Same here.
4265 * bits/std_istream.h: Same here.
4266 * bits/basic_ios.h: Same here.
4267 * bits/std_fstream.h: Same here.
4268 * bits/sbuf_iter.h (std): Here too.
4269 * bits/std_sstream.h: Make types public.
4270
4271 * src/misc-inst.cc: Use size_t instead of unsigned int.
4272 * bits/locale_facets.tcc (_S_format): For now, cast to char. I
4273 suppose this should be ctype::narrow... all the ctype<wchar_t>
4274 stuff needs to be cleaned up.
4275
42762000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
4277
4278 * docs/gentop: Remove entire directory, finally.
4279
42802000-03-09 scott snyder <snyder@fnal.gov>
4281
4282 * bits/std_cmath.h (modf): Fix pointer overrun.
4283 * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
4284 test for the problem.
4285
42862000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
4287
4288 Looks like changes to the #include'd files must be followed by a
4289 change to the #include'ing files to take effect. Caveat emptor.
4290 * docs/header.html: New file, for server-side include.
4291 * docs/footer.html: New file, for server-side include.
4292 * docs/documentation.html: Change to use SSI.
4293 * docs/download.html: Ditto.
4294 * docs/index.html: Ditto.
4295 * docs/mail.html: Ditto.
4296 * docs/status.html: Ditto.
4297 * docs/thanks.html: Ditto, plus minor updates.
4298 * docs/how.html: Remove.
4299
43002000-03-09 Benjamin Kosnik <bkoz@gnu.org>
4301
4302 Preliminary alpha-linux support.
4303 * src/locale.cc (ctype<wchar_t>): Use correct types...
4304 * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
4305 (ctype<wchar_t>): Same.
4306 * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
4307 types match for table_size (size_t).
4308
4309 * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
4310 as per char specialization.
4311 * config/*/ctype.cc: Same.
4312
43132000-03-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4314
4315 * bits/locale_facets.h (_Ctype<>::mask): Import from base class
4316 _Ctype_nois<>. Template base classes are never examinated in
4317 first-phase name-lookup.
4318
43192000-03-08 Benjamin Kosnik <bkoz@gnu.org>
4320
4321 Add Solaris 2.5.1 support.
4322 * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
4323 * config/solaris/solaris2.5/ctype.cc: Fixup.
4324 * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
4325 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
4326 * aclocal.m4: Regenerate.
4327 * configure: Regenerate.
4328
4329 * config/default/ctype.cc (ctype): Fixup.
4330
43312000-03-07 Benjamin Kosnik <bkoz@blues.cygnus.com>
4332
4333 * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
4334 * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
4335 non-wchar_t case.
4336
43372000-03-07 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4338
4339 * bits/cpp_type_traits.h: Expand on this file purpose.
4340
43412000-03-06 Benjamin Kosnik <bkoz@gnu.org>
4342
4343 * bits/locale_facets.h (ctype<char>): Remove static members, and
4344 re-work initialization code.
4345 (ctype<wchar_t>): Same.
4346 Move _S_touppper to _M_toupper and initialize in ctor.
4347 Move _S_tolower to _M_tolower and initialize in ctor.
4348 Move _S_table to _M_ctable and intialize in ctor.
4349 * bits/locale_facets.h (std): And here.
4350 * src/locale.cc (std): Tweak.
4351 * config/gnu-linux/ctype.cc: Change initialization here.
4352 * config/newlib/ctype.cc: And here.
4353 * config/solaris/solaris2.7/ctype.cc: And here.
4354 * config/solaris/solaris2.6/ctype.cc: And here.
4355
4356 * bits/localefwd.h: Tweak.
4357 * bits/std_streambuf.h: Tweak formatting.
4358
4359 * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
4360
43612000-03-05 Chip Salzenberg <chip@valinux.com>
4362
4363 * src/misc-inst.cc (basic_iostream<>): Instantiate.
4364
43652000-03-02 Phil Edwards <pme@sourceware.cygnus.com>
4366 Kevin Atkinson <kevinatk@home.com>
4367
4368 Initial grab of SGI's strstream implementation with minor
4369 modifications.
4370 * src/strstream.cc: New file.
4371 * std/strstream: New file.
4372 * stl/bits/std_strstream.h: New file.
4373 * bits/std_streambuf.h: Add public access.
4374 * src/Makefile.am: Add strstream sources to list of dependancies.
4375 * src/Makefile.in: Regenerate.
4376
43772000-03-03 2000 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4378
4379 * bits/valarray_meta.h: Fix typo.
4380
43812000-03-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4382 Chip Salzenberg <chip@valinux.com>
4383 Petter Urkedal <petter@matfys.lth.se>
4384
4385 * src/Makefile.am (myinstallheaders): Hack to avoid
4386 `for i in ; do'.
4387 * src/Makefile.in: Regenerate.
4388
43892000-03-02 Chip Salzenberg <chip@valinux.com>
4390
4391 * libio/Makefile.an, math/Makefile.an, src/Makefile.am
4392 (LINK): Put quotes around "$(CC)" for libtool link mode,
4393 so libtool will use "-B" options during GCC bootstrap.
4394 * */Makefile.in: Regenerate.
4395
43962000-03-02 Petter Urkedal <petter@matfys.lth.se>
4397
4398 * config/c_io_libio.h: Enclose it all in ::std.
4399 * bits/basic_string.h (basic_string<>): Make types and
4400 `npos' public.
4401 * mkc++config: Truncate output file before writing.
4402
44032000-03-01 Benjamin Kosnik <bkoz@gnu.org>
4404
4405 * math/cabsf.c (__mycabsf): Rename to cabsf.
4406 * math/cabs.c (__mycabs): Rename to cabs.
4407
44082000-02-29 LLeweLLyn Reese <llewelly@198.dsl.xmission.com>
4409
4410 * bits/basic_string.h: Move declarations of __out_of_range(),
4411 __length_error() and accompanying macros ...
4412 * bits/exception_support.h: here. (Newly created file).
4413 * bits/basic_string.h: #include <bits/exception_support.h>
4414 * stl/bits/stl_vector.h: #include <bits/exception_support.h>
4415 * src/Makefile.am (headers): Add.
4416 * src/Makefile.in: Regenerate.
4417
44182000-02-29 Benjamin Kosnik <bkoz@cygnus.com>
4419
4420 * bits/cpp_type_traits.h: Rename structs so they don't clash with
4421 type_traits.h.
4422 * bits/valarray_array.h: Synch. Fix typos.
4423
4424 * libio/Makefile.am: Change to only compile source files that
4425 config/c_io_libio.cc actually needs.
4426 * libio/Makefile.in: Regnerate.
4427 * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
4428 floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
4429 ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
4430 iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
4431 iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
4432 iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
4433 ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
4434 iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
4435 ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
4436 istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
4437 pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
4438 strops.c strstream.h: Delete.
4439
4440 * bits/basic_file.h: Stub out or delete unused bits in this
4441 interface.
4442 (filepos_beg): Remove.
4443 (filepos_cur): Remove.
4444 (filepos_valid): Remove.
4445 * config/c_io_libio.cc: Resynch with the changes to basic_file.
4446
44472000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4448
4449 * bits/cpp_type_traits.h: Correct typo.
4450
44512000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4452
4453 * bits/cpp_type_traits.h: New file.
4454
4455 * bits/valarray_array.h: Tweak. #include <bits/cpp_type_traits.h>
4456 Improve array construction.
4457 (_Array_default_ctor): New dispatcher class.
4458 (__valarray_default_construct): New function.
4459 (_Array_copy_ctor): New dispatcher class.
4460 (__valarray_copy_construct): New function.
4461 (_Array<>::free_data): Remove.
4462
4463 * src/Makefile.am (headers): Add cpp_type_traits.h
4464 * src/Makefile.in: Regenerate.
4465
44662000-02-28 Benjamin Kosnik <bkoz@cygnus.com>
4467
4468 Prune libio directory to match files in libio/Makefile.
4469 * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
4470 stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
4471 streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
4472 strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
4473 stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
4474 stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
4475 stdstreams.cc: Remove.
4476 * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
4477 * libio/iofflush_u.c: Remove.
4478
4479 * libio/dbz: Remove.
4480 * libio/include: Remove.
4481 * libio/stdio: Remove.
4482 * libio/tests: Remove.
4483 * libio/testsuite: Remove.
4484
4485 * config/c_io_libio.cc: Add fcntl.h include for Solaris.
4486
4487 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
4488 * configure.in: Replace 'grep -e' with 'grep' for Solaris.
4489 * configure: Regenerate.
4490
44912000-02-25 Benjamin Kosnik <bkoz@gnu.org>
4492
4493 Abstract out the underlying "C" io bits.
4494 * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
4495 * stl/bits/stl_string_fwd.h: Remove <stddef> include.
4496 * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
4497 include <cstddef>.
4498 * stl/bits/stl_config.h: Don't include _G_config.h.
4499
4500 * bits/basic_file.h: Allow for non-inheritance based __basic_files.
4501 * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
4502 * config/c_io_libio.cc: Tweak.
4503
4504 * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
4505 * src/Makefile.in: Regenerate.
4506 * Makefile.am (AM_MAKEFLAGS): Define includedir so that
4507 prefix/include files will be picked up.
4508 * Makefile.in: Regenerate.
4509 * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
4510 * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
4511
4512 * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
4513 * bits/fpos.h: And here.
4514 * bits/basic_file.h (get_fileno): Move definition from ...
4515 * src/basic_file.cc (std): To here.
4516 * bits/fpos.h: Move types for streamoff, streampos to..
4517 * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
4518 * config/c_io_libio.h: ...here.
4519 (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
4520 SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
4521 UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
4522 FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
4523 abstract out bits in ios_base.
4524 * bits/ios_base.h: Re-macrofy.
4525 * src/basic_file.cc : Rename, move to
4526 * config/c_io_libio.cc: Here.
4527 * config/c_io_libio.h: New file. Include libio.
4528 * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
4529 * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
4530 * configure: Regenerate.
4531 * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
4532 (generated_headers): Add c++io.h
4533 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
4534 underlying "C" io library.
4535 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
4536 GLIBCPP_ENABLE_CSTDIO.
4537
4538 * configure.in: Add configure bits for cross compiling non-newlib
4539 targets. .
4540 GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
4541 target, as we assume g++ support is not the limiting factor.
4542 GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
4543 * configure: Regenerate.
4544
45452000-02-22 Benjamin Kosnik <bkoz@cygnus.com>
4546
4547 * Makefile.am (INTERFACE): Define.
4548 * Makefile.in: Regenerate.
4549 * libio/ChangeLog: Add entry.
4550
45512000-02-21 Benjamin Kosnik <bkoz@cygnus.com>
4552
4553 * docs/install.html: Update install directions.
4554
4555 * docs/status.html: Fix sidebar to be consistent.
4556 * docs/thanks.html: Same.
4557 * docs/links.html: Same.
4558 * docs/mail.html: Same.
4559 * docs/download.html: Same.
4560
4561 * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
4562 kill the macro BUFSIZ. I think the solaris fails lie elsewhere
4563 however, in the ctype_char_members.cc fail (for instance.)
4564 * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
4565 that do not have wchar_t enabled.
4566 * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
4567 Same here.
4568 * testsuite/27_io/iostream_objects.cc: And here.
4569
4570 * libio/gen-params (CONFIG_NM): Specifically add in nm as the
4571 default CONFIG_NM.
4572
45732000-02-18 Benjamin Kosnik <bkoz@haight.constant.com>
4574 Tom Tromey <tromey@cygnus.com>
4575
4576 * configure.in: Manually add MULTISUBDIR.
4577 * configure: Regenerate.
4578 * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
4579 "Eww" hacks to get multilib installs working correctly.
4580 ($(headers): Test for MULTISUBDIR before installing.
4581 * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
4582 have configure hack it in.
4583 * Makefile.in: Regenerate.
4584 * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
4585 Add enabling bits for native Cygwin ctypes, and other newlib-based
4586 Oses.
4587
45882000-02-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4589
4590 * mkc++config (OUT_H): Remove EOF in cygwin.
4591 * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
4592
4593 Tom Tromey <tromey@cygnus.com>
4594 * src/Makefile.am: Tweaks for installing multilibs.
4595
45962000-02-17 Benjamin Kosnik <bkoz@cygnus.com>
4597
4598 * src/Makefile.am:
4599 (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
4600 Add USE_LIBDIR bits here, not...
4601 * src/Makefile.in: Regenerate.
4602 * Makefile.am: ...here.
4603 * Makefile.in: Regenerate.
4604
46052000-02-17 Benjamin Kosnik <bkoz@gnu.org>
4606
4607 * acinclude.m4 (LIBS): Fix typos.
4608 * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
4609 _GLIBCPP_BUGGY_COMPLEX for crosses.
4610 * src/Makefile.am (std_headers): Add libio.h as install include,
4611 as with _G_config.h
4612 * src/Makefile.in: Regenerate.
4613
4614 * mkcheck.in: Add bits to set CXX to cross compiler.
4615
4616 * src/complex_io.cc: Tweak.
4617 * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
4618 * configure: Regenerate.
4619
4620 * config/newlib/ctype.cc: Tweaks.
4621 * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
4622 not const char.
4623 * src/complex_io.cc (operator>>(istream, complex): Define out if
4624 BUGGY_COMPLEX.
4625
46262000-02-16 Benjamin Kosnik <bkoz@cygnus.com>
4627
4628 * config/newlib/bits/ctype_base.h: Correct _S_table.
4629
4630 Reconfigure ctype support for "C" libraries that don't use arrays.
4631 * testsuite/22_locale/ctype_char_members.cc: New file. Test for
4632 basic ctype<char> functionality.
4633 * src/locale.cc: Move host-specific ctype functions that are not
4634 inlines to config/*/ctype.cc files.
4635 (ctype<char>::do_tolower): For instance.
4636 (ctype<char>::do_toupper): For instance.
4637 (ctype<wchar_t>::do_tolower): For instance.
4638 (ctype<wchar_t>::do_toupper): For instance.
4639 * config/gnu-linux/ctype.cc: Modify.
4640 * config/default/ctype.cc: Modify.
4641 * config/newlib/ctype.cc: Modify.
4642 * config/solaris/solaris2.6/ctype.cc: Modify.
4643 * config/solaris/solaris2.7/ctype.cc: Modify.
4644
4645 * bits/locale_facets.h (ctype<char>::is): Mark inline, move
4646 out-of-line.
4647 (ctype<char>::scan_is): Here too.
4648 (ctype<char>::scan_not): Here too.
4649 Move out of line defs to config/*/bits/ctype_specializations.h.
4650 * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
4651 * config/default/bits/ctype_specializations.h: ...here. New file.
4652 * config/newlib/bits/ctype_specializations.h: ...here. New file.
4653 * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
4654 * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
4655 * src/Makefile.am (headers): Add ctype_specializations.h.
4656 * src/Makefile.in: Regenerate.
4657
4658 Aaron Weiss <weiss@clearway.com>
4659 * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
4660 CONFIG_NM for Solaris builds.
4661 * Makefile.in: Regenerate.
4662
4663 * src/locale.cc: Tweak formatting.
4664
46652000-02-15 Benjamin Kosnik <bkoz@cygnus.com>
4666
4667 Jim Parsons <parsons@clearway.com>
4668 * testsuite/27_io/istream_unformatted.cc (test06): Add test.
4669 * bits/istream.tcc (read): Set failbit if !good(). Don't increment
4670 gcount if eof.
4671 (readsome): Same.
4672
4673 Michel Decima <michel.decima@cnet.francetelecom.fr>
4674 * testsuite/27_io/streambuf.cc: Add test.
4675 * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
4676 (xsputn): Same.
4677
4678 * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
4679 OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
4680 will work correctly, for instance.
4681 * src/Makefile.in: Regenerate.
4682
4683 * bits/locale_facets.h: Fix merge error.
4684 (num_put::put(unsigned long long): And here.
4685 * mknumeric_limits (trait_name): Same.
4686
46872000-02-15 Chip Salzenberg <chip@valinux.com>
4688
4689 Support 'configure --enable-long-long'.
4690 * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
4691 * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
4692 * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add. Default to undef.
4693 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
4694 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
4695
4696 * aclocal.m4: Regenerate.
4697 * config.h.in: Regenerate.
4698 * configure: Regenerate.
4699
47002000-02-15 Chip Salzenberg <chip@valinux.com>
4701
4702 Improve (complete?) 'long long' support.
4703 * mknumeric_limits: Call $CXX with $CPPFLAGS. Define statics
4704 for {,unsigned} long long if the limits header declares them.
4705 * src/gen-num-limits.cc: Include <bits/c++config.h> early.
4706 (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
4707 (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
4708 * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
4709 (num_put<>::put(..., long long)): Likewise.
4710 (num_put<>::put(..., unsigned long long)): Likewise.
4711 * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
4712 Templatize last parameter to support 'long long'.
4713 (num_put<>::put(...)): Call _S_format with new name.
4714 (num_put<>::put(..., long long)): Define.
4715 (num_put<>::put(..., unsigned long long)): Likewise.
4716 * src/locale-inst.cc (_S_format): Instantiate under new name.
4717
47182000-02-15 Petter Urkedal <petter@matfys.lth.se>
4719
4720 * src/complex.cc (operator<<, operator>>): Moved from here...
4721 * src/complex_io.cc: ...to new file.
4722 (operator>>): Stub replaced by the real thing.
4723 * src/Makefile.am (sources): Inserted complex_io.cc.
4724 * src/Makefile.in: Regenerate.
4725 * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
4726
47272000-02-14 Benjamin Kosnik <bkoz@gnu.org>
4728
4729 Add in ctype information for newlib "C" libraries.
4730 * config/newlib: New directory
4731 * config/newlib/bits/ctype_base.h: New file.
4732 * config/newlib/ctype.cc: New file.
4733
4734 * ctype/config/linux/*: Rename, move to...
4735 * ctype/config/gnu-linux/*: Here.
4736
4737 Finish off multilib work.
4738 * configure.in: Don't set CXX if not Canadian cross.
4739 * configure: Regenerate.
4740 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
4741 * aclocal.m4: Regenerate.
4742 * config.h.in: Regenerate.
4743
4744 * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
4745 the top-level gcc directory now.
4746 * mkinstalldirs: Remove.
4747 * missing: Remove
4748 * ltconfig: Remove.
4749 * ltmain.sh: Remove.
4750 * config.guess: Remove.
4751 * config.sub: Remove.
4752
47532000-02-13 Benjamin Kosnik <bkoz@cygnus.com>
4754
4755 * configure.in (glibcpp_basedir): Add glibcpp_basedir.
4756 * Makefile.am: Move mutlilib stuff to src/Makefile.am.
4757 * Makefile.in: Regenerate.
4758 * src/Makefile.am: Add multilib bits.
4759 * src/Makefile.in: Regenerate.
4760
47612000-02-12 Benjamin Kosnik <bkoz@cygnus.com>
4762
4763 * configure.in: Clean, add some multilib support.
4764 * configure: Regenerate.
4765 * configure.host: New file.
4766
4767 * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
4768 roll a new function, checks for presence of libio.
4769 GLIBCPP_CHECK_COMPILER_VERSION: Same.
4770 GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
4771 GLIBCPP_CHECK_MATH_SUPPORT: Same.
4772 GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
4773 GLIBCPP_CHECK_LIBIO: Same.
4774 GLIBCPP_CHECK_CTYPE: Same.
4775 * aclocal.m4: Regenerate.
4776 * config.h.in: Regenerate.
4777
4778 * Makefile.am: Tweaks.
4779 * Makefile.in: Regenerate.
4780
47812000-02-11 Benjamin Kosnik <bkoz@cygnus.com>
4782
4783 * configure.in: Make outputing the libio/Makefile
4784 conditional. Haha, yeah right. Anyway, we instead do this thing
4785 where if libio is found, then we build a null library, as there is
4786 no point in duplicating the found libio.
4787 * Makefile.am: Tweak.
4788 * Makefile: Regenerate.
4789 * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
4790 are happy happy happy.
4791 * libio/Makefile.am: Regenerate.
4792 * libio/gen-params: New file.
4793 * src/Makefile.am: Make libio.la non-conditional, as it is now a
4794 null library if it's not needed. At least we are being consistent,
4795 if not as elegant as we could be.
4796 * src/Makefile: Regenerate.
4797
47982000-02-10 Benjamin Kosnik <bkoz@gnu.org>
4799
4800 * Makefile.am (SUBDIRS): Add libio again.
4801 * Makefile.in: Regenerate.
4802 * configure.in (BUILD_LIBIO_INCLUDE): And here.
4803 (AC_OUTPUT): Generate libio/Makefile again.
4804 * configure: Regnerate.
4805 * src/Makefile.am (libstdc___la_LIBADD): Change path so that
4806 libio.la is referring back to the libio subdir again.
4807 (LIBIO_INCLUDES): And here.
4808 * src/Makefile.in: Regenerate.
4809
48102000-02-09 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4811
4812 * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
4813
48142000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4815
4816 * bits/valarray_array.h (<bits/std_new.h>): #include.
4817 (__valarray_get_memory): New function.
4818 (__valarray_release_memory): Likewise.
4819 (__valarray_default_construct): New functions.
4820 (__valarray_fill_construct): New function.
4821 (__valarray_copy_construct): New funstions.
4822 (__valarray_destroy_elements): New function.
4823
4824 * bits/valarray_array.tcc (__valarray_copy_construct): New
4825 functions.
4826
4827 * bits/std_valarray.h (valarray<>::valarray): Use
4828 __valarray_get_memory and __valarray_fill_construct,
4829 __valarray_copy_construct, __valarray_default_construct to
4830 properly construct valarrays.
4831 (valarray<>::~valarray): Use __valarray_destroy_elements to
4832 destroy elements and __valarray_release_memory to return memory.
4833 (valarray<>::shift): Tweak.
4834 (valarray<>::cshift): Likewise.
4835 (valarray<>::resize): Robustify.
4836
48372000-02-09 Benjamin Kosnik <bkoz@cygnus.com>
4838
4839 * mknumeric_limits (XCOMPILE): Add support for cross compiling.
4840 * bits/limits_generic.h: New file, defaults.
4841 * src/limits_generic.cc: New file, defaults.
4842 * configure.in (LIBS): Run mknumeric_limits at configure time.
4843 * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
4844 HAVE_LC_MESSAGES, tidy, clean, etc.
4845 * src/Makefile.am (geberated_sources): Remove.
4846
4847 * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
4848 (_IO_off_t, _IO_ssize_t)
4849
4850 * src/complex.cc: Use glibc's <complex.h> if
4851 possible. . . apparently this was not being done before. Include
4852 tweaks.
4853 (abs): Enable cabs if it's around, instead of mycabs.
4854 * src/complexf.cc (FCT): Add global scope to match complex.cc.
4855 * src/complexl.cc (FCT): Same.
4856 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
4857 (libmath_la_SOURCES): And here.
4858 * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
4859 * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
4860 * math/complex-stub.h: Move c_log declarations into. . .
4861 * math/mathconf.h: Here. This is because glibc's <complex.h>
4862 declares cclog, not c_log. The case of the dueling standards. . .
4863 * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
4864 * math/Makefile.am: Change.
4865 * math/nan.c (nan): Change signature.
4866 * math/mathconf.h (NAN): Same.
4867 * math/complex-stub.h (nan): And here.
4868
4869 * Makefile.am (rebuild-stamp): Remove libio and libio
4870 dependancies. Plan to take out libio subdir and just merge with
4871 libio in top level gcc directory. Of course, this assumes there is
4872 a libio in the top level directory (ie ../src_dir). This will
4873 probably change the way this library is configured by default.
4874 * libio/*: Remove.
4875
48762000-02-09 Chip Salzenberg <chip@valinux.com>
4877
4878 * localefwd.h (locale): Make public: facet, id, category.
4879
48802000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4881
4882 * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
4883
4884 * acinclude.m4: Patch only once!
4885
48862000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4887
4888 * testsuite/26_numerics/buggy_complex.cc: New file.
4889
48902000-02-05 Petter Urkedal <petter@matfys.lth.se>
4891
4892 * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
4893 on the 1999-11-21 entries by Mumit Khan.
4894 * configure.in: Use.
4895 * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
4896 * bits/std_complex.h: Use.
4897
48982000-02-04 Philip Martin <pm@corris.dircon.co.uk>
4899
4900 * stl/bits/stl_algobase.h: Add traits based dispatch for
4901 __normal_iterator in the copy_backward()algorithm
4902 * stl/bits/stl_vector.h: Reduce use of __normal_iterator
4903 base() function.
4904
49052000-02-04 Mumit Khan <khan@xraylith.wisc.edu>
4906
4907 * src/gen-num-limits.cc (signal_handler): Work around signal
4908 handling problem on Cygwin.
4909 Thanks to Chris Faylor <cgf@cygnus.com>.
4910
49112000-02-03 Benjamin Kosnik <bkoz@cygnus.com>
4912
4913 * configure.in: Add (preliminary) support for cross compiles and
4914 multilibs.
4915 Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
4916 compilation freaks on this.
4917 * configure: Regenerate.
4918 * src/Makefile.am: Add support for cross compiles.
4919 * src/Makefile: Regenerate.
4920 * Makefile.am: Add support for cross compiles.
4921 * Makefile.in: Regenerate.
4922
49232000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4924
4925 * configure.in (LIBS): Remove unused subdirs.
4926 * configure: Regenerate.
4927 * Makefile.am (SUBDIRS): And here.
4928 * Makefile.in: Regenerate.
4929 * src/Makefile.am (sources): And here.
4930 * src/Makefile.in: Regenerate.
4931 * string/*: Remove.
4932 * amm1/*: Remove.
4933 * generic/*: Remove.
4934 * glibc/*: Remove.
4935 * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
4936
4937 * libtool: Update to libtool-1.3.4.
4938 * ltconfig: Same
4939 * ltmain.sh: Same
4940 * config.sub: Same.
4941 * config.guess: Same.
4942
49432000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4944 Alexandre Petit-Bianco <apbianco@cygnus.com>
4945
4946 * mkc++config: New file. Put autoconf macros into _GLIBCPP_
4947 namespace instead of polluting global namespace with duplicate
4948 autoconf output.
4949 * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
4950 here anymore. . .
4951 (AC_OUTPUT_COMMANDS): Make it here.
4952 * configure: Regenerate.
4953 * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
4954 endif, as now we will add it manually.
4955 Move to this file. . .
4956 * bits/c++config.h: New file. Same as old c++config.h.in except
4957 the ending macro guard is now appended manually.
4958
4959 * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
4960 * bits/std_cmath.h: Same here.
4961 * bits/std_cwchar.h: And here.
4962 * src/locale.cc: And here.
4963 * src/complexl.cc: And here.
4964 * math/mathconf.h: Change to include "config.h" instead of
4965 bits/c++config.h.
4966
49672000-02-01 Benjamin Kosnik <bkoz@gnu.org>
4968
4969 * configure.in: Add support for threads. Try a model closer to
4970 libjava, as hopefully if the thread bits are added carefully
4971 enough, the source code will not have gross hacks. Besides, the
4972 libstdc++-v2 model could be easily emulated without the necessity
4973 of linking files in (as currently done)--all that needs to be done
4974 is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
4975 new. . . and see if we arrive at a more elegant solution.
4976 * configure: Regenerated.
4977 * config/threads-no.h: New file.
4978 * config/threads-posix.h: New file.
4979 * src/Makefile.am (myinstallheaders): Install c++threads.h.
4980 * src/Makefile.in: Regenerated.
4981
49822000-01-31 Benjamin Kosnik <bkoz@gnu.org>
4983
4984 META-QUESTION: Can we just make a "header.html" file and a
4985 "footer.html" and just include them in all the doc sub-pages. The
4986 duplication of the header info is kind of gross, and weak
4987 considering that if you change order or layout then all this stuff
4988 has to be changed in all the sub-files.
4989
4990 * docs/17_intro/contribute.html: Take out duplicate file info.
4991 * README: Should just contain a link to the docs/index.html
4992 page. Duplicate information removed.
4993 * docs/faq/index.html: Remove indexes into HOWTOS.
4994 * docs/17_intro/howto.html: Make intro and docs part more
4995 centralized. Move intro stuff to documentation.html.
4996 * docs/how.html: Tweak. Does this file need to exist? What calls it?
4997 * docs/README.html: Move documentation files to
4998 documentation.html. Should this file be renamed
4999 "config_and_install.html" as that is what is apparently covered
5000 here. . .
5001 * docs/install.html: Yes. New file, moved and renamed README.html.
5002 * docs/documentation.html: New file. This is the index file for
5003 the documentation.
5004 * docs/index.html: Edit sidebar order. Insert new link to new
5005 documentation spine, documentation.html.
5006
50072000-01-31 Scott Snyder <snyder@fnal.gov>
5008
5009 * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
5010 we don't extract any characters.
5011 * testsuite/21_strings/inserters_extractors.cc (main): New tests.
5012
50132000-01-31 Anders Widell <awl@hem.passagen.se>
5014
5015 * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
5016 step is a multiple of the word size.
5017 (_M_do_right_shift): Same.
5018 * testsuite/23_containers/bitset_shift.cc: New file.
5019
50202000-01-31 Nathan Myers <ncm@zembu.com>
5021
5022 * README (Documentation): Add path info, fix typos.
5023
50242000-01-26 Benjamin Kosnik <bkoz@redhat.com>
5025
5026 * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
5027 crazy group checking for numpunct, for real this time. At some
5028 point, the local variable __grp should probably get replaced a
5029 char array, or something a bit more lightweight.
5030 (num_get::do_get(bool)): Simplify. Don't set bool reference to
5031 parsed value unless err isn't failbit.
5032 (num_get::do_get(*)): Same, make consistent.
5033
5034 Nathan Myers <ncm@zembu.com>
5035 Jim Parsons <parsons@clearway.com>
5036 * testsuite/27_io/istream_extractor_arith.cc (test08): Add
5037 more grouping tests, tweak, scold, wine.
5038
50392000-01-24 Benjamin Kosnik <bkoz@gnu.org>
5040
5041 * testsuite/27_io/istream_extractor_arith.cc (test07): Add
5042 grouping tests.
5043 * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
5044 grouping bugs. Only allow thousands_sep if _M_use_groupings is
5045 true.
5046
5047 via <llewelly@198.dsl.xmission.com>
5048 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
5049 out_of_range instead of range_error.
5050
50512000-01-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5052
5053 * bits/std_iomanip.h (setw): Fix typo.
5054
50552000-01-14 Benjamin Kosnik <bkoz@gnu.org>
5056
5057 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5058 * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
5059 * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
5060
50612000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
5062
5063 * docs/README.html: Reformat, more installation instructions.
5064 * docs/gccrebuild.html: New file.
5065 * docs/faq/index.html: Update for new testsuite output filenames.
5066 * docs/faq/index.txt: Regenerate.
5067
50682000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
5069
5070 * Makefile.am (rebuild-stamp, all-local): New targets.
5071 * Makefile.in: Regenerated.
5072 * acinclude.m4: New macro, GLIBCPP_ENABLE_RELIBGCC.
5073 * aclocal.m4: Regenerated.
5074 * configure.in: Call new macro. Also do some sanity checks
5075 for combinations of --enable's that may not make sense.
5076 * configure: Regenerated.
5077
50782000-01-13 Benjamin Kosnik <bkoz@cygnus.com>
5079
5080 * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
5081 * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
5082 correctly for hex-formatted input.
5083
5084 * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
5085 eofbit instead of eofbit | failbit.
5086 * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
5087 ifstreams now are opened or'd with ios_base::in (as is correct).
5088 * bits/fstream.tcc (filebuf::seekoff): Simplify.
5089 * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
5090
50912000-01-12 Benjamin Kosnik <bkoz@gnu.org>
5092
5093 * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
5094 * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
5095 (misleading) code.
5096 (__basic_file::filepos_valid): Same.
5097 (__basic_file::filepos_beg): Same.
5098 (__baseic_file::get_fileno): New function.
5099 * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
5100 feedback from LWG 49.
5101 * src/ios.cc: Move definition here.
5102 * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
5103
5104 * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
5105 output part of internal buffer based on string size, so that
5106 _M_out_end is set consistently with filebufs. Correct comments.
5107 * bits/sstream.tcc (stringbuf::overflow): Update here too.
5108 * testsuite/27_io/stringbuf.cc: Changes.
5109
51102000-01-11 Benjamin Kosnik <bkoz@gnu.org>
5111
5112 * bits/sstream.tcc (seekoff): Set based on end of written buffer,
5113 not buffer size.
5114 * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
5115
5116 * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
5117 (ofstream::open): Add ios_base::out to openmode.
5118
5119 * bits/locale_facets.tcc (_M_extract): Have consistency between
5120 istream::sentry and extractors, where failbit | eofbit is
5121 set. Don't change this, but instead change. . (do some formatting
5122 tweaks.)
5123 * bits/istream.tcc (istream::sentry): Only set eofbit.
5124
51252000-01-10 Benjamin Kosnik <bkoz@gnu.org>
5126
5127 * testsuite/27_io/istringstream_members.cc: New file.
5128
51292000-01-09 Benjamin Kosnik <bkoz@gnu.org>
5130
5131 * bits/istream.tcc (istream::sentry): Flush.
5132
5133 * configure.in (AC_OUTPUT_COMMANDS): Simplify.
5134 * configure: Regenerate.
5135 * src/Makefile.am (generated_headers): Remove bits/c++config.h so
5136 that make clean will not delete it.
5137 * src/Makefile: Regenerate.
5138
51392000-01-07 Phil Edwards <pme@sourceware.cygnus.com>
5140
5141 * mkcheck.in: Use host-specific invocation of size(1);
5142 GNU binutils isn't necessarily there (more's the pity).
5143
51442000-01-06 Benjamin Kosnik <bkoz@cygnus.com>
5145
5146 * configure.in (LIBS): Better tests for solaris2.6.
5147 * configure: Regenerate.
5148
5149 <vakatov@ncbi.nlm.nih.gov>
5150 * bits/std_sstream.h: As per libstdc++20.
5151
51522000-01-06 Benjamin Kosnik <bkoz@gnu.org>
5153
5154 Break out configuration on solaris.
5155 * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
5156 * config/solaris/ctype.cc: Delete and move to proper version.
5157 * config/solaris/bits: Same.
5158 * config/solaris/solaris2.5: Add this directory, with subdir bits
5159 and file ctype.cc. Probably doesn't work.
5160 * config/solaris/solaris2.6: Same.
5161 * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
5162
5163 * Makefile.am: Change paths to mkcheck.
5164 * Makefile: Regenerate.
5165 * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
5166 * configure: Regenerate.
5167 * src/Makefile.am (generated_headers): Add bits/c++config.h.
5168
5169 * mkcheck: Now autogenerated by configure and renamed. . .
5170 * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
5171 Have longer-style dates.
5172 Raja R Harinath <harinath@cs.umn.edu>
5173 * mkcheck: Change path to #!/usr/clocal/bin/bash.
5174
5175 * docs/README.html: Correct links, maybe. FAQ, install notes, and
5176 general documentation need to be organized around each other, not
5177 fight against each other. . .
5178
51792000-01-04 Phil Edwards <pme@sourceware.cygnus.com>
5180 Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
5181
5182 * README: Add a note referring to README.html.
5183 * docs/README.html: New file from Nicolai.
5184 * docs/faq/index.html: Move "how to get a copy" to here.
5185 * docs/gentop/footchunk.html: Update.
5186 * docs/gentop/headchunk.html: New links according to
5187 bkoz's idea for "How to..." stuff.
5188 * docs/gentop/thanks: Actually put people here.
5189 * docs/download.html: Regenerated.
5190 * docs/index.html, docs/links.html, docs/mail.html,
5191 docs/status.html, docs/thanks.html, docs/faq/index.txt: Ditto.
5192 * docs/how.html: Ditto. (This file should go away soon.)
5193
51941999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
5195
5196 * docs/gentop/status: Add snapshot version column, update
5197 for Solaris 7.
5198 * docs/status.html: Regenerated.
5199
52001999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
5201
5202 * docs/faq/index.html: Turn README and RELEASE-NOTES into links
5203 from installation FAQ, and specify location of text files.
5204 * docs/faq/index.txt: Regenerated.
5205
52061999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
5207
5208 * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
5209 * docs/download.html: Regenerated.
5210
52111999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
5212
5213 * docs/faq/index.html: Update 'what works' for .7 snapshot,
5214 clean up various links.
5215 * docs/faq/index.txt: Regenerated.
5216 * docs/gentop/gentop: Smarter regeneration script.
5217 * docs/gentop/{head,foot}chunk.html: Updated with new
5218 contributors link and mod date.
5219 * docs/gentop/index: Snapshot relase date.
5220 * docs/gentop/thanks: New contributors page added.
5221 * docs/{download,how,index,links,mail,status,thanks}.html:
5222 Regenerated from gentop; thanks.html created.
5223
52241999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5225
5226 * bits/c++config.h.in (__GLIBCPP__): 19991221.
5227 * docs/index.html: Add correct information.
5228
5229 * config/irix: New directory.
5230 * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
5231 * config/irix/bits/ctype_base.h: And here.
5232
5233 * config/aix: New directory.
5234 * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
5235 * config/aix/bits/ctype_base.h: And here.
5236
52371999-12-21 Philip Martin <pm@corris.dircon.co.uk>
5238
5239 * bits/basic_string.h: Add special case handling for integral
5240 "iterators".
5241 * bits/std_string.h: include type_traits.h
5242 * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
5243
52441999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5245
5246 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
5247 _M_*_end now.
5248 * bits/std_fstream.h (sync): And here.
5249 * testsuite/27_io/filebuf.cc: Revisions.
5250 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
5251 at the end of the file.
5252 * testsuite/27_io/filebuf-3.tst: Correct.
5253
52541999-12-21 Phil Edwards <pedwards@jaj.com>
5255
5256 * docs/gentop/index: Hold off on .7 announcement date.
5257 * docs/index.html: Regenerate.
5258
52591999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
5260
5261 * bits/std_fstream.h (sync): Move _M_file->sync() to
5262 _M_really_overflow().
5263 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
5264 as to get the _M_file->sync action, which forces the external
5265 buffer to update itself.
5266 (underflow): Same here.
5267
52681999-12-21 Phil Edwards <pedwards@jaj.com>
5269
5270 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
5271 * acconfig.h: ...to here.
5272 * config.h.in: Regenerate from aclocal.
5273 * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
5274 * aclocal.m4: Regenerate from acinclude.
5275 * configure.in: Use ENABLE macros here.
5276 * configure: Regenerate.
5277 * src/Makefile.am: Use results from ENABLE macros.
5278 * src/Makefile.in: Regenerate.
5279
52801999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
5281
5282 * mkcheck (SRC_DIR): Now have to include config/* dir if "make
5283 check" and not "make check-install." Temporarily hack in linux
5284 support.
5285
5286 * bits/std_streambuf.h: Tweaks.
5287 * bits/streambuf.tcc (xsgetn): Tweaks.
5288 * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
5289 * bits/fstream.tcc (filebuf::underflow): Simplify.
5290 * bits/std_sstream.h (streambuf::underflow): Minor change to make
5291 checks for read position precisely implement the standard.
5292 * bits/basic_file.h (filepos_cur): Base this on _offset.
5293 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
5294 * testsuite/27_io/filebuf.cc: Tweak.
5295
52961999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
5297
5298 * docs/17_intro/RELEASE-NOTES: Fix typos.
5299
5300 * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
5301 out platform-specific bits.
5302 * config/default/ctype.cc: And here.
5303 * config/defaults/bits/ctype_base.h: And here.
5304 * config/linux/ctype.cc: And here.
5305 * config/linux/bits/ctype_base.h (ctype_base): And here.
5306 * config/solaris/bits/ctype_base.h (ctype_base): Add
5307 __to_type. Comment, as it looks like this is for solaris2.6 and
5308 above: solaris2.5.1 doesn't seem to have the same definitions.
5309 * config/solaris/ctype.cc: And here.
5310
53111999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
5312 Ulrich Drepper <drepper@cygnus.com>
5313
5314 * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
5315
5316 * src/locale.cc: Take out platform-specific hacks.
5317 * config/linux/ctype.cc: Put here.
5318 * config/solaris/ctype.cc: Put here.
5319 * config/default/ctype.cc: Put here.
5320
5321 * bits/locale_facets.h: Take out platform-specific hacks.
5322 * config/linux/bits/ctype_base.h: Put here.
5323 * config/solaris/bits/ctype_base.h: Put here.
5324 * config/default/bits/ctype_base.h: Put here.
5325
5326 * configure.in: Bump version.
5327 Add tests for top-level config directory.
5328 * configure: Regenerated.
5329 * src/Makefile.am (INCLUDES): Add platform-specific dir.
5330 * src/Makefile: Regenerate.
5331
53321999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
5333 Ulrich Drepper <drepper@cygnus.com>
5334
5335 * bits/locale_facets.h: Hack in solaris support.
5336 * src/locale.cc: Here too.
5337
53381999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5339
5340 * docs/17_intro/TODO: Update
5341 * docs/17_intro/RELEASE-NOTES (New): Update.
5342
53431999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
5344
5345 * bits/c++config.h.in (__GLIBCPP__): Bump.
5346 * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
5347 * docs/17_intro/TODO: Update.
5348
5349 * bits/locale_facets.h: Touch this too.
5350 * bits/localefwd.h: Add typedefs for loooooong vector names.
5351 * bits/locale_facets.tcc (locale::operator()): Need parens.
5352 (has_facet): Simplify.
5353 * src/locale-inst.cc: Add instantiations.
5354 * src/locale.cc: Tweaks.
5355
5356 * bits/std_streambuf.h: Move indeterminates into. .
5357 * bits/std_fstream.h: Here.
5358 * bits/fstream.tcc (underflow): Rewind just for ios_base::out
5359 streams.
5360 * bits/sstream.tcc: Very minor formatting tweaks.
5361 * bits/std_streambuf.h (_M_set_determinate): If exclusively an
5362 input buffer, set _M_buf to offset.
5363 * bits/istream.tcc (std): Tweaks.
5364 * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
5365 include fstream.
5366 * testsuite/27_io/filebuf.cc: Tweaks.
5367
53681999-12-17 Phil Edwards <pedwards@jaj.com>
5369
5370 * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
5371 * configure: Regenerate.
5372 * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
5373 * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
5374 to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
5375
53761999-12-17 Phil Edwards <pedwards@jaj.com>
5377
5378 * docs/21_strings/stringtok_std_h.txt: New algorithm
5379 suggested by Chris King.
5380 * docs/21_strings/howto.html: Link to new version.
5381
53821999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5383
5384 * bits/valarray_array.h (__valarray_sum): Use operator+=, not
5385 operator+.
5386 * docs/17_intro/TODO: Update.
5387
53881999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
5389
5390 * docs/gentop/footchunk.html: Updated, fixed CRLFs.
5391 * docs/gentop/gentop: Ditto.
5392 * docs/gentop/headchunk.html: Ditto.
5393 * docs/*.html: Regenerated from gentop.
5394 * docs/*/howto.html: Updated as test.
5395 * docs/faq/index.html: Updated, fixed CRLFs.
5396 * docs/faq/index.txt: Regenerated.
5397
53981999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5399
5400 * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
5401
5402 * bits/std_complex.h
5403 (complex<float>::complex(const complex<double>&),
5404 complex<float>::complex(const complex<long double>&)): Define.
5405
5406 * docs/17_intro/TODO: Update.
5407
54081999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
5409
5410 * bits/istream.tcc (seekg): Don't set _M_gcount.
5411 (tellg): Same.
5412 * bits/fstream.tcc (filebuf::underflow): Re-sync
5413 external byte sequence's input buffer only. . .
5414 * testsuite/27_io/istream_unformatted.cc (test04): New tests for
5415 tellg, seekg and filebufs.
5416 (test05): Same for stringbufs.
5417 * testsuite/27_io/istream_unformatted-2.tst: New file.
5418 * testsuite/27_io/istream_unformatted-1.tst: New file.
5419 * testsuite/27_io/istream_unformatted-1.txt: New file.
5420 * testsuite/21_strings/inserters_extractors.cc (test05): Change
5421 output file.
5422
54231999-12-13 Phil Edwards <pedwards@jaj.com>
5424
5425 * docs/gentop/*: New directory, containing bits for the homepages.
5426 * docs/*.html: Regenerated from gentop.
5427 * docs/*/*.html: Entries added and regenerated.
5428
54291999-12-13 Benjamin Kosnik <bkoz@gnu.org>
5430
5431 Efforts to get -O2 to work with -Winline -Werrors.
5432 * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
5433 _Tp&): Remove inline declaration, as cannot be inlined and
5434 -Winline -Werror complains. An interesting question is why this
5435 cannot be inlined, as I can see no real reason to disqualify it.
5436 (__valarray_product(const _Tp*, const _Tp*)): Same here.
5437 * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
5438
5439 * docs/17_intro/TODO: Update.
5440
54411999-12-12 Benjamin Kosnik <bkoz@gnu.org>
5442
5443 * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
5444 fstream.tcc.
5445 * bits/basic_file.h (filepos_cur()): Make pointers themselves be
5446 the resultant position.
5447 * bits/fstream.tcc (seekoff): Explicitly set return value to
5448 resultant external byte sequence position, not value returned from
5449 _M_file->seekoff. Need to make
5450 (seekpos): New definition.
5451
5452 * bits/istream.tcc (seekg): As per Library Issues List 136, set to
5453 just istream. Necessary, or else tellg will give an invalid stream
5454 position, but seekg will return a valid stream position, which is
5455 not groovy: see testcase addition.
5456 * bits/ostream.tcc (seekp): Same.
5457
5458 * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
5459 * bits/sstream.tcc: Tweaks.
5460 * bits/locale_facets.tcc: Tweaks.
5461 (num_put::do_put(iter_type, ios_base, char_type, const void*)):
5462 Re-write in a way that is easier for the inliner to work with.
5463 * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
5464
54651999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
5466
5467 * bits/locale_facets.tcc: Tweaks.
5468 * bits/locale_facets.h (use_facet): Can't inline, remove inline
5469 from declaration.
5470 * bits/localefwd.h: And here.
5471 * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
5472 * bits/ostream.tcc: Put here.
5473
5474 Frank Ch. Eigler <fche@cygnus.com>
5475 * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
5476
54771999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
5478
5479 * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
5480 in and out buffers update independantly.
5481
5482 * bits/basic_ios.h: Minor formatting.
5483 * bits/fstream.tcc (std): Fix indentation.
5484
54851999-12-08 Chip Salzenberg <chip@valinux.com>
5486
5487 * bits/char_traits.h (char_traits<>): Move not_eof() functions
5488 after corresponding eof() functions, so they're easier for the
5489 compiler to inline.
5490 * bits/locale_facets.h (money_base::__default_pattern): Move
5491 static variable out of inline functions.
5492 (_Moneypunct<>::do_{pos,neg}_format): Use it.
5493 * src/locale-inst.cc (money_base::__default_pattern): Define it.
5494
54951999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
5496
5497 * bits/std_fstream.h (filebuf::open): Tweak.
5498 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
5499 * bits/std_ios.h: Minor tweaks for headers.
5500
55011999-12-06 Benjamin Kosnik <bkoz@gnu.org>
5502
5503 * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
5504 * src/string-inst.cc: Add guards . . .
5505 * src/misc-inst.cc: And here.
5506 * bits/std_sstream.h: And here.
5507 * bits/std_fstream.h: And here.
5508 * bits/std_streambuf.h: And here.
5509 * bits/std_istream.h: And here.
5510 * bits/std_ostream.h: And here.
5511
55121999-12-06 Scott Snyder <snyder@fnal.gov>
5513
5514 * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
5515 case.
5516 (basic_istream::readsome): And here as well.
5517 * testsuite/27_io/istream_unformatted.cc: Test a zero-length
5518 read().
5519
55201999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
5521
5522 * bits/istream.tcc (basic_istream::ignore): streamsize is not
5523 necessarily an `int'.
5524
55251999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5526
5527 * mknumeric_limits: Don't use $CXXFLAGS when building
5528 gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
5529 generally instructs the compiler not to emit template
5530 instantiations and we end up with undefined symbols. Sigh.
5531
55321999-12-05 Benjamin Kosnik <bkoz@gnu.org>
5533
5534 * bits/locale_facets.tcc: Tweak.
5535 (_S_format_long): Adjust showpos formatting for hex and oct.
5536 * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
5537 and oct by formatting as unsigned.
5538 (operator<<(int)): Same here.
5539 * bits/ostream.tcc (operator<<(long)): Same.
5540 (operator<<(long long)): Same.
5541 (_S_pad_char): Actually treat ios_base::internal as something
5542 worth doing correctly. Remove const designation on ios argument.
5543 * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
5544 * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
5545
55461999-12-04 Benjamin Kosnik <bkoz@gnu.org>
5547
5548 * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
5549
55501999-12-03 Benjamin Kosnik <bkoz@gnu.org>
5551
5552 * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
5553
5554 * bits/sstream.tcc (streambuf::seekoff): Add parens.
5555 * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
5556 (operator>>(istream, _CharT*)): Change streamsize to int_type.
5557 (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
5558 * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
5559 unused argument.
5560 (ostream::operator<<(_CharT)): Fix.
5561
5562 * bits/std_sstream.h: Temporarily disable including sstream.tcc to
5563 see if this will increase compile speed.
5564 * bits/std_ostream.h: Likewise. . .
5565 * bits/std_istream.h: And here.
5566 * bits/std_fstream.h: And here.
5567 * src/misc-inst.cc: Add relevant header file includes for
5568 instantiation purposes.
5569 * src/string-inst.cc: And here.
5570 * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
5571
55721999-12-02 Benjamin Kosnik <bkoz@gnu.org>
5573
5574 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5575 * bits/istream.tcc (get(streambuf)): More fixes.
5576 (istream::ignore): Get specific about numeric_limits<int>::max()
5577 requirements.
5578
5579 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
5580 (filebuf::close): Same.
5581 * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
5582
55831999-12-01 Phil Edwards <pedwards@jaj.com>
5584
5585 * mkcheck: Support for compilation/execution timing.
5586 * testsuite/printnow.c: New file.
5587
55881999-12-01 Phil Edwards <pedwards@jaj.com>
5589
5590 * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
5591 * configure.in: Test for presence of wchar.h before testing
5592 for any of its features.
5593 * configure: Regenerate.
5594
55951999-11-30 Benjamin Kosnik <bkoz@gnu.org>
5596
5597 Preliminary istream validations complete.
5598 * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
5599 formatting more consistent. Removal of if-statements inside of for
5600 loops.
5601 (ignore): Fix.
5602 (get): Same.
5603 (putback): Same.
5604 * bits/std_istream.h: Same.
5605 * bits/sstream.tcc (stringbuf::pbackfail): Fix.
5606 * testsuite/27_io/stringbuf.cc: Tweak.
5607 * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
5608
5609 * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
5610 failbit on failure, as per 27.6.2.5.2.
5611
5612 * stl/bits/std_vector.h: Allow bool specializations. Should move
5613 ext/std_bvector to bits, not ext, maybe.
5614
56151999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
5616
5617 * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
5618 * configure: Regenerate.
5619
5620999-11-29 Benjamin Kosnik <bkoz@gnu.org>
5621
5622 * bits/istream.tcc (get(streambuf, char)): Fix.
5623 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5624
56251999-11-29 Scott Snyder <snyder@fnal.gov>
5626
5627 * bits/basic_string.h (append(const _Char*, size_type)): The
5628 length of the appended string is given exactly by the second arg,
5629 regardless of the data in the character array.
5630 * bits/string.tcc (basic_string(const _CharT*, size_type, const
5631 _Alloc&)): Likewise.
5632 * testsuite/21_strings/append.cc (test01): Remove erroneous test
5633 of basic_string::append.
5634
56351999-11-29 Chip Salzenberg <chip@valinux.com>
5636
5637 * Makefile.in: Tweaks for CXXFLAGS.
5638 * */Makefile.in: Same.
5639
56401999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5641
5642 * conficd bgure.in: Check for wide character support.
5643 * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
5644 * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
5645 * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
5646
56471999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5648
5649 * acinclude.m4: Fix typo.
5650 * src/complex.cc: Fix macro line continuation.
5651
56521999-11-29 Petter Urkedal <petter@matfys.lth.se>
5653
5654 * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
5655 string literals in format, as used in locale-facets.tcc.
5656
56571999-11-28 Benjamin Kosnik <bkoz@gnu.org>
5658
5659 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5660 * bits/istream.tcc (istream::get): Extract to argument minus one.
5661 Various tweaks and fixes.
5662
56631999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
5664
5665 * bits/locale_facets.tcc: Workaround for compiler crash on
5666 ix86-*-mingw32.
5667
56681999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
5669
5670 * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
5671 * configure.in: Use.
5672 * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
5673 * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
5674 * bits/std_complex.h: Use.
5675 * src/complex.cc: Use.
5676
56771999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
5678
5679 * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
5680 * testsuite/21_strings/inserters_extractors.cc: Likewise.
5681 * testsuite/22_locale/ctype.cc: Likewise.
5682 * testsuite/23_containers/multiset.cc: Likewise.
5683 * testsuite/23_containers/vector_ctor.cc: Likewise.
5684 * testsuite/26_numerics/binary_closure.cc: Likewise.
5685 * testsuite/27_io/fpos.cc: Likewise.
5686 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
5687 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
5688 * testsuite/27_io/istream_extractor_char.cc: Likewise.
5689 * testsuite/27_io/istream_extractor_other.cc: Likewise.
5690 * testsuite/27_io/istream_sentry.cc: Likewise.
5691 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
5692 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
5693 * testsuite/27_io/streambuf.cc: Likewise.
5694 * testsuite/27_io/stringstream.cc: Likewise.
5695
56961999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5697
5698 * bits/valarray_meta.h: Don't forget to define tanh
5699
57001999-11-18 Philip Martin <pm@corris.dircon.co.uk>
5701
5702 * src/stl-inst.cc: Use typedef to refer to iterator
5703 * stl/bits/stl_algobase.h: Add traits based dispatch for
5704 __normal_iterator in the copy()algorithm
5705 * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
5706
57071999-11-18 Kevin Ediger <kediger@licor.com>
5708
5709 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
5710 constructors for locale::_Impl exception safe.
5711
57121999-11-18 Scott Snyder <snyder@fnal.gov>
5713
5714 * stl/bits/stl_queue.h: The C++ standard gives the default for the
5715 _Sequence template argument of priority_queue<> as vector<>, not
5716 deque<>.
5717
57181999-11-18 Benjamin Kosnik <bkoz@gnu.org>
5719
5720 * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
5721 parameter.
5722 * bits/sstream.tcc: Adjust here too.
5723
57241999-11-17 Benjamin Kosnik <bkoz@gnu.org>
5725
5726 * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
5727 * bits/istream.tcc (operator>>): Replace iostate(0) with
5728 iostate(ios_base::goodbit), which is the same thing, but hopefully
5729 a bit clearer.
5730 * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
5731 libraries issue list 17.
5732 (do_gets): Don't set goodbit explicitly, instead only set on
5733 failures as good bit is the default setting.
5734 * bits/ios_base.h (setf): Set correctly.
5735 * bits/fstream.tcc: Tweak.
5736 * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
5737 in|out bufs that are empty. . .
5738 * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
5739
57401999-11-16 Benjamin Kosnik <bkoz@gnu.org>
5741
5742 * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
5743 * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
5744 Add comments "all about _M_buf."
5745 (setg): Set _M_mode.
5746
57471999-11-16 Kevin Ediger <kediger@licor.com>
5748
5749 * bits/locale_facets.tcc (_S_build_float_format): New function.
5750 (_S_output_float): New function.
5751 (num_put::do_put(double)): Use 'em.
5752 (num_put::do_put(long double)): Use 'em.
5753 * testsuite/27_io/ostream_inserter_arith.cc: New file.
5754
57551999-11-15 Scott Snyder <snyder@fnal.gov>
5756
5757 * bits/basic_file.h: Type of __off parm should be __c_streampos, to
5758 match how libio is calling us.
5759 * src/basic_file.cc (sys_seek): Likewise.
5760 * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
5761
57621999-11-15 Benjamin Kosnik <bkoz@gnu.org>
5763
5764 * docs/17_intro/contribute.html: Add link to assignment form.
5765 * docs/17_intro/libstdc++-assign.txt: New file.
5766
5767 * mkcheck (TESTS_FILE): Move a copy of test files as well as
5768 output files.
5769
5770 * bits/std_streambuf.h (_M_buf_bump): New function.
5771 * bits/streambuf.tcc: Mods to support _M_buf_bump.
5772 (xsputn): Here. Also add checks for output valid.
5773 (xsgetn): Add checks for input valid.
5774 (sputc): Here.
5775 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
5776 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
5777 Set _M_out_end to variable-length-end.
5778 * bits/sstream.tcc (overflow): Use _M_buf_bump.
5779 (seekpos): Same.
5780 (seekoff): Same.
5781 * bits/fstream.tcc (std): Tweak formatting.
5782 (filebuf::overflow): Simplify.
5783 (filebuf::showmanyc): Same.
5784 (filebuf::underflow): Same.
5785 * testsuite/27_io/filebuf.cc: Fix.
5786 * testsuite/27_io/ostream_inserter_other.cc: Fix.
5787 * testsuite/27_io/ostream_inserter_other-2.tst: New file.
5788 * testsuite/27_io/stringbuf.cc: Tweak.
5789 * testsuite/27_io/streambuf.cc: Tweak.
5790 * testsuite/27_io/istream_extractor_other.cc: Fix.
5791
57921999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
5793
5794 * stl_deque.h: Use static_casts<size_type>(signed_type).
5795
57961999-11-11 Benjamin Kosnik <bkoz@gnu.org>
5797
5798 Cleanups for callbacks, more regression hunting. Remaining
5799 failures (1) due to last unresolved stringstream issues, not
5800 regressions per se.
5801 * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
5802 killing 27_io/filebuf.cc tests. . . need another solution.
5803
5804 * bits/streambuf.tcc (_S_copy_streambufs): Fix.
5805 * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
5806
5807 * bits/basic_ios.h: Add cached facets here. UGH. The standard
5808 foils all attempts at a graceful, minimal implementation.
5809 * bits/basic_ios.tcc: Tweaks.
5810 * bits/istream.tcc: Fix.
5811 * bits/ostream.tcc: Fix.
5812 * bits/std_istream.h: Fix.
5813 * bits/std_ostream.h: Fix.
5814 * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
5815 callbacks.
5816 * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
5817 (_S_pad_numeric): Make comprehensible.
5818
58191999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5820
5821 * bits/std_ostream.h: Add callbacks for _M_fnumput.
5822 (_S_ostream_fcache): New function.
5823 Move functions out-of-line.
5824 * bits/ostream.tcc: Put here.
5825
5826 * bits/std_istream.h: Add callbacks for _M_fnumget.
5827 (_S_istream_fcache): New function.
5828 Move functions out-of-line.
5829 * bits/istream.tcc: Put here.
5830
5831 * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
5832 _M_call_callbacks(), as ios_base::imbue does this already.
5833 * src/ios.cc (register_callback): Clean.
5834 (_M_call_callbacks): Same.
5835 * bits/ios_base.h: Callback work.
5836 * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
5837
58381999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5839 Matthias Klose <doko@cs.tu-berlin.de>
5840
5841 * stl/ext/stl_rope.h: Fix initialization order.
5842
58431999-11-09 Scott Snyder <snyder@fnal.gov>
5844
5845 * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
5846 _M_file->sync() so that redirection works correctly.
5847
58481999-11-09 Benjamin Kosnik <bkoz@gnu.org>
5849
5850 * bits/istream.tcc: Re-order.
5851 * bits/std_istream.h: Fix getline problems.
5852 * testsuite/27_io/istream_unformatted.cc: New tests.
5853
5854 Clean up regressions.
5855 * bits/std_sstream.h: Set initial stringbufs correctly.
5856
58571999-11-09 Scott Snyder <snyder@fnal.gov>
5858
5859 * stl_vector.h (_M_range_insert): Fix mixing pointers and
5860 vector::iterator.
5861 * testsuite/23_containers/vector_modifiers.cc (test01): New file,
5862 tests.
5863
58641999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
5865
5866 * src/Makefile.am (CXXFLAGS): Add -Winline.
5867 * src/Makefile.in: Regenerate.
5868
58691999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5870
5871 * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
5872 building meta-expressions don't forget to take the contained
5873 closures.
5874
58751999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
5876
5877 * configure: Regenerate.
5878
58791999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5880
5881 * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
5882 syntax.
5883 * bits/valarray_meta.h (min): Likewise.
5884 * bits/valarray_meta.h (max): Likewise.
5885
58861999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
5887
5888 * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
5889 * bits/std_streambuf.h (_S_copy_streambufs): New function.
5890 * bits/streambuf.tcc: Define.
5891 * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
5892 * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
5893 * testsuite/27_io/ostream_inserter_other.cc: Add tests.
5894 * testsuite/27_io/ostream_inserter_other-1.tst: New file.
5895
5896 * bits/basic_string.h: Explicitly cast npos to unsigned type,
5897 reported by Richard Atterer.
5898 * bits/char_traits.h: For consistency's sake, here too.
5899
5900 * configure.in: Bump version to 2.90.7.
5901
59021999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
5903
5904 * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
5905 * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
5906 * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
5907 (xsgetn): Same.
5908 * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
5909 writing into buffer.
5910 (seekoff): Same.
5911
59121999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5913
5914 * bits/valarray_array.h (__valarray_sum): New function.
5915 * bits/valarray_array.h (__valarray_product): Same.
5916
5917 * bits/std_valarray.h (valarray<T>::product): Comment out.
5918 * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
5919 instead of accumulate.
5920
5921 * src/valarray-inst.cc: Remove explicit intantiation of
5922 class multiplies<size_t>, accumulate, valarray<size_t>::product.
5923 * src/valarray-inst.cc (__valarray_product): Instantiate
5924 explicitly.
5925 * src/valarray-inst.cc (__valarray_product(const
5926 valarray<size_t>&)): New function.
5927 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
5928 valarray<size_t>::product. Use __valarray_product instead.
5929
5930
59311999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
5932
5933 * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
5934 (_S_pad_char): New function. Not done: ios_base::internal.
5935 * bits/ostream.tcc: Clean for above.
5936 * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
5937 specialization that was commented out, as ostreams now have to
5938 correctly deal with padding.
5939 * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
5940
5941 * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
5942 from mailing list. This is a bug, and should be fixed.
5943 * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
5944
59451999-10-22 Petter Urkedal <petter@matfys.lth.se>
5946
5947 * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
5948 to avoid conflict with gcc name mangling.
5949 * stl/bits/stl_algo.h (__transform): Same.
5950
59511999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
5952
5953 * bits/ios_base.h: Change argument names.
5954 * docs/17_intro/BADNAMES: Add __opr.
5955
59561999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5957
5958 Work on compilation slowdowns from 10-5 to 10-12, which are
5959 related to the _Callback_list inlining/merge-ifcation, which is
5960 still a pending issue, but this stuff is necessary cleanup anyway.
5961
5962 * src/ios.cc: Re-arrange.
5963 * bits/ios_base.h: Tweak.
5964 * bits/basic_ios.tcc: Move out of line definitions here, move
5965 small out-of-line definitions inline.
5966 * bits/basic_ios.h: From here.
5967
5968 * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
5969 * bits/std_streambuf.h: From here.
5970
59711999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
5972
5973 * testsuite/27_io/istream_extractor_char.cc: Add tests.
5974 * bits/std_istream.h: Tweaks--set eofbit on eof condition.
5975 * bits/istream.tcc (operator>>(istream&, string&): Remove
5976 vestigial issspace hacks and use ctype::is instead.
5977 (getline): Remove unnecessary loops, fortify and pasteurize.
5978 (ws): Same.
5979
59801999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
5981
5982 * bits/istream.tcc (operator>>): Tweak.
5983 * bits/std_istream.h: Fix according to library issues list 68.
5984 Add typedefs.
5985
5986 * bits/locale_facets.h: Fix table_size to be non-zero.
5987
59881999-10-18 Vadim Egorov <egorovv@HotPOP.com>
5989
5990 * src/basic_file.cc: ifdef instead of comment for binary mode
5991
59921999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
5993
5994 * bits/std_sstream.h: Stringbuf initialization based on actual,
5995 not allocated, size.
5996 * testsuite/21_strings/inserters_extractors.cc (test06): Add test
5997 case.
5998
59991999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
6000
6001 * testsuite/26_numerics/c_math.cc (test03): Tweak.
6002 * testsuite/27_io/istream_manip.cc (test01): Corrections due to
6003 sentry change.
6004 * testsuite/21_strings/inserters_extractors.cc (test01): Same.
6005
60061999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
6007
6008 * bits/std_istream.h: Tweaks.
6009 * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
6010 as per issues list addition--set failbit, eof on empty buffers.
6011 * testsuite/27_io/istream_sentry.cc: New file.
6012
60131999-10-12 Chris Prince <prince@wcug.wwu.edu>
6014
6015 * bits/std_cstdio.h: Remove Solaris hacks.
6016
60171999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
6018
6019 * docs/index.html: Fix minor typos and tweaks.
6020 * docs/17_intro/contribute.html: Ditto.
6021 * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
6022 thread safety and binary I/O, links to external sites.
6023 * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
6024 and MT.
6025
60261999-10-12 Petter Urkedal <petter@matfys.lth.se>
6027
6028 * bits/std_cmath.h (abs(float)): When ::absf is not present, call
6029 ::fabs(double) rather than ::abs(int).
6030
60311999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
6032
6033 * bits/std_streambuf.h: Fix minor blip--should explicitly return
6034 *gptr(), not the result of underflow.
6035 (pbackfail): Conform to default behavior.
6036 (overflow): Same.
6037 * bits/streambuf.tcc: Add out-of-line streambuf members.
6038 (xsputn): Tweak.
6039 (xsgetn): Tweak.
6040 * testsuite/27_io/streambuf.cc: New file.
6041 * testsuite/27_io/filebuf.cc: Correct test.
6042
60431999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
6044
6045 * bits/std_cmath.h: Correctly cast int to double.
6046 * testsuite/26_numerics/c_math.cc: Add test.
6047
6048 * mknumeric_limits (OUT_C): Tweaks.
6049 * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
6050 trying to instantiate type_traits<wchar_t>.
6051 * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
6052 * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
6053 * configure: Regenerate.
6054
60551999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
6056
6057 * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
6058 (streambuf::xsputn): Put in break.
6059 Aiming for parity between these two (mostly) similar functions.
6060 Need to re-write tests.
6061
6062 * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
6063 Make data members protected, not private.
6064 * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
6065 ios_base.h. As called only once, collapse into . . .
6066 * bits/basic_ios.h (basic_ios::copyfmt): Fix.
6067 (basic_ios::clear): Throw ios_base::failure on occasion.
6068 (basic_ios::exceptions): Fix.
6069 * testsuite/27_io/ios_members.cc (test02): Add tests.
6070
6071 * bits/fpos.h: Default initialize.
6072 * testsuite/27_io/fpos.cc (test03): Add test.
6073
60741999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
6075
6076 * src/basic_file.cc: Fix open modes.
6077
60781999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6079
6080 * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
6081
60821999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
6083
6084 * bits/streambuf.tcc: Yea. Fix this for real.
6085 * testsuite/27_io/ostream_inserter_other.cc: Add file.
6086 * src/Makefile.*: Regenerate.
6087
60881999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
6089
6090 * bits/std_cstdlib.h: Add more linux-specif hacks to the header
6091 files so that stdtof and strtold will be declared. Some hacks
6092 already exits in bits/std_cctype.h -- these should all be removed
6093 at a later date.
6094 * bits/locale_facets.tcc: Add cstring.h include.
6095 _S_format_long: Use long, not int.
6096 Add std_limits.h include, for numeric_limits.
6097 * testsuite/27_io/istream.cc: Make instantiations work when using
6098 -fhonor-std.
6099 * testsuite/27_io/ostream.cc: Same.
6100
61011999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
6102
6103 * bits/fpos.h (fpos::operator streamoff): Make const, don't return
6104 a reference. Same for operators == and !=.
6105 * testsuite/27_io/fpos.cc: Add tests.
6106
61071999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6108
6109 * bits/valarray_array.h: Fix typo.
6110
6111 * mknumeric_limits: Make sure we are regenerating things from
6112 scratch. Otherwise things get redefined. Not good.
6113
61141999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
6115
6116 * bits/std_ostream.h: Fix typo.
6117 * bits/std_istream.h: Same.
6118 * bits/std_iomanip.h: Same.
6119
6120 * bits/istream.tcc (sentry::sentry()): Remove optional tie with
6121 ostream, as happens with underflow anyway.
6122 * testsuite/27_io/istream.cc (main): New file.
6123 * testsuite/27_io/ostream.cc (main): New file.
6124 * testsuite/27_io/istream_unformatted.cc: Add tests.
6125
6126 * src/Makefile.am (headers): Add new file.
6127 * src/Makefile.in (headers): Regenerated.
6128
6129 * bits/basic_ios.h: Remove local-related files.
6130 * bits/basic_ios.tcc: New file, add locale-related items.
6131 * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
6132 * testsuite/27_io/ios_members_static.cc: Change to
6133 * testsuite/27_io/ios_base_members_static.cc: This.
6134 * testsuite/27_io/ios_members.cc: New file.
6135 * testsuite/27_io/stdios_basefield_manip: Change to
6136 * testsuite/27_io/ios_manip_basefield.cc: This.
6137 * testsuite/27_io/stdios_fmtflags_manip: Change to
6138 * testsuite/27_io/ios_manip_fmtflags.cc: This.
6139
6140 * bits/fpos.h: Fix discarding qualifiers on this when
6141 using _M_position with a const fpos.
6142 * bits/std_iosfwd.h: Tweak.
6143 * testsuite/27_io/fpos.cc: New file.
6144
61451999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
6146
6147 * bits/streambuf.tcc (streambuf::xsputn): Tweak.
6148 * bits/ostream.tcc: Tweak.
6149 * testsuite/21_strings/inserters_extractors.cc (test04, test05):
6150 Add new regressions.
6151
61521999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
6153
6154 * bits/basic_ios.h: Inline, tweak.
6155 * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
6156 pass back accurate return value to basic_filebuf::overflow.
6157 * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
6158 This fixes sstream problems reported in libstdc++/9, but screws up
6159 filebufs. That solution is pending.
6160
61611999-09-15 Vadim Egorov <egorovv@1c.ru>
6162
6163 * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
6164 zero count puts.
6165 * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
6166
61671999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
6168
6169 * bits/c++config.h.in: Add emacs hints.
6170
6171 * stl/bits/stl_range_errors.h: Don't define here, for now define
6172 in stdexcept.cc along with string inlines __length_error, etc.
6173 * src/stdexcept.cc: Define here.
6174 * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
6175 at(size_t) will be declared/defined.
6176 (__STL_THREADS): Fix mess surrounding use of this, enable.
6177
61781999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
6179
6180 * testsuite/27_io/istream_extractor_arith.cc: Fix.
6181 * src/localename.cc: Tweak formatting, fix assignment to
6182 const compiler errors.
6183
61841999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
6185
6186 * acconfig.h: Add absf, cosf.
6187 * configure.in (use_builtin_sinf): Same.
6188 * configure: Regenerate.
6189 * bits/std_cmath.h: Add mess of defines.
6190 * testsuite/26_numerics/modf_float.cc: Change to
6191 * testsuite/26_numerics/c_math.cc: This.
6192
6193 * src/locale.cc: Change.
6194 * bits/locale_facets.h: Fix.
6195 * testsuite/22_locale/ctype.cc: Add temporary tests.
6196
61971999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
6198
6199 * bits/fpos.h: Test.
6200
6201 * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
6202 Fix database name for "libstdc++".
6203
62041999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
6205
6206 * mknumeric_limits (numeric_limits): Add default definitions to
6207 member functions.
6208 * testsuite/18_support/numeric_limits.cc: New file.
6209
62101999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
6211
6212 * bits/std_istream.h: Correct initialization.
6213 * bits/std_ostream.h: Likewise.
6214 * bits/std_sstream.h: Likewise.
6215 * bits/std_fstream.h: Likewise.
6216 * testsuite/27_io/stringstream.cc: Add test case.
6217
6218 * bits/std_sstream.h: Replace ____string_type with __string_type.
6219 * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
6220 * bits/std_ostream.h: Tweak dtor.
6221
62221999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6223
6224 * src/Makefile.am (CXXFLAGS): Add -O2.
6225 * src/Makefile.in: Likewise.
6226
6227 * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
6228 this breaks. . .
6229 * mknumeric_limits (numeric_limits): Uglify.
6230
6231 * bits/std_istream.h: Fix warnings.
6232 * bits/locale_facets.tcc: Collateral damage from
6233 char_traits<char>::int_type change.
6234
6235 * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
6236
62371999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6238
6239 * docs/index.html: Add mailing list form.
6240 * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
6241
62421999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
6243
6244 * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
6245 if overflow successfully allocates more space.
6246 * bits/std_sstream.h: Adjust comments.
6247 * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
6248 before overflow forces a resize.
6249 * testsuite/27_io/ostream_inserter_char.cc: New file.
6250
6251 * bits/std_fstream.h: Remove declaration.
6252 * bits/fstream.tcc: Move uflow.
6253 * bits/std_streambuf.h: To here.
6254 * bits/streambuf.tcc: Make consistent.
6255
6256 * src/Makefile.am (WERROR): Enable.
6257 * src/Makefile.in: Regenerate.
6258 * bits/sbuf_iter.h: Tweak.
6259 * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
6260 Use unsigned int as char_traits<char>::int_type.
6261
6262 * bits/ostream.tcc (ostream::putc(char)): Tweak.
6263 * testsuite/27_io/iostream_objects.cc: Terminate string.
6264 Move cin::operator>>(char*) test to extractor_char.cc.
6265 * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
6266 * bits/std_istream.h (basic_iostream): Make explicit definition
6267 for default ctor.
6268 * bits/std_sstream.h: Fix typos.
6269 * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
6270 basic_filebuf ctor with fileno open arguments. Thus, filebufs are
6271 initialized in a consistent manner, no matter if the underlying
6272 FILE/bit bucket is a tty or a text file or some other imaginary
6273 construct. This and setting _M_buf_size to 1 for cin allows
6274 istream::get(char) to work in a manner consistent with what others
6275 expect.
6276
6277 * docs/index.html: Link Stroustrup's C++ page.
6278
62791999-08-12 Michael Cook <cook@sightpath.com>
6280
6281 * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
6282 * bits/istream.tcc: ditto.
6283 * bits/sbuf_iter.h: ditto.
6284 * bits/std_istream.h: ditto.
6285 * src/Makefile.am: Add -Wall to CXXFLAGS.
6286 * src/Makefile.in: ditto.
6287
62881999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6289 Russell Davidson <russell@ehess.cnrs-mrs.fr>
6290
6291 * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
6292 * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
6293
62941999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6295
6296 * testsuite/27_io/istream_unformatted.cc: New file.
6297
6298 * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
6299 elaborate tests for int types with noskipws.
6300
6301 * testsuite/27_io/istream_extractor_other-1.txt: New file.
6302 * testsuite/27_io/istream_extractor_other-1.tst: New file.
6303 * testsuite/27_io/istream_extractor_other-2.tst: New file.
6304 * testsuite/27_io/istream_extractor_other.cc: Add tests.
6305 * bits/istream.tcc: Fix operator>>(streambuf*).
6306
6307 * testsuite/23_containers/vector_ctor.cc (test01): Add.
6308
6309 * docs/index.html: Remove references to egcs.
6310 * docs/17_intro/DESIGN: Same.
6311 * docs/17_intro/contribute.html: Same.
6312 * docs/17_intro/RELEASE-NOTES: Ditto.
6313 * docs/17_intro/howto.html: Same here.
6314
6315 Russell Davidson <russell@ehess.cnrs-mrs.fr>
6316 * stl/bits/stl_vector.h (_M_insert_aux):
6317 * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
6318 decimal/floating point support.
6319 * bits/locale_facets.h: Change _M_extract prototype.
6320 * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
6321 * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
6322
63231999-08-10 Michael Cook <cook@sightpath.com>
6324
6325 * bits/fstream.tcc: Fix for unused variable warning (-Wall).
6326 * bits/ios_base.h: ditto.
6327 * bits/istream.tcc: ditto.
6328 * bits/locale_facets.h: ditto.
6329 * bits/locale_facets.tcc: ditto.
6330 * bits/std_streambuf.h: ditto.
6331 * src/basic_file.cc: ditto.
6332 * src/locale.cc: ditto.
6333 * src/localename.cc: ditto.
6334
63351999-08-10 Kirat Singh <singhki@jany.gs.com>
6336
6337 * bits/std_iomanip.h: Inline.
6338
63391999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
6340
6341 * bits/std_streambuf.h: Correct member initialization order.
6342 * src/ios.cc: Add definitions for ios_base data members.
6343
63441999-08-06 Phil Edwards <pedwards@ball.com>
6345
6346 * docs/index.html: Seventh snapshot updates. Minor tweaks.
6347 * docs/faq/index.html: Ditto. Removed bugs sections that have
6348 been fixed for a long time... Lots of "egcs" references still
6349 exist.
6350 * docs/faq/index.txt: Regenerated.
6351
63521999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6353 Andreas Amann <amann@physik.tu-berlin.de>
6354
6355 * testsuite/26_numerics/binary_closure.cc (main): new test.
6356
63571999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
6358
6359 * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
6360 segmentation fault.
6361
63621999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6363
6364 * docs/index.html (host): Put in testing status.
6365
63661999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6367
6368 * docs/index.html: Update for libstdc++-2.90.6 release.
6369 * docs/17_intro/RELEASE-NOTES (New): Update.
6370 * docs/17_intro/BUGS: Update.
6371 * bits/c++config.h.in (__GLIBCPP__): Bump version number.
6372 * README (file): Update.
6373
63741999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6375
6376 * src/Makefile.am (generated_headers): Remove bits/c++config.h as
6377 a target.
6378 ($(generated_headers)): Same.
6379 * src/gen-c++config.cc: Remove, rename to
6380 * bits/c++config.h.in: New file. Bump version number.
6381 * configure.in: Generate bits/c++config.h at configure time.
6382 * math/mathconf.h: include bits/c++config.h, not config.h.
6383
6384 * bits/std_cmath.h: Fix remaining link error for solaris shared
6385 builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
6386 being, as on Solaris this silently calls sinf, which does not
6387 exist.
6388
6389 * src/complex.cc: More tweaks.
6390
63911999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6392
6393 * src/complex.cc: Same.
6394 * math/complex-stub.h: Change.
6395 * math/c_log10*.c: Change back to clog10*.c.
6396
6397 * configure.in (NEED_C_LOG10): Delete.
6398 * configure: Regenerate.
6399 * math/Makefile.am: Change.
6400
64011999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
6402
6403 * math/Makefile.am: Fix, for real.
6404 * configure.in (use_builtin_sinf): Ok, make autoconf solution.
6405 * math/clog.c: Move to c_log.c.
6406 * math/clog*: Ditto.
6407 * math/c_log10l.c (c_log10l): Change function name.
6408 * math/c_log10f.c (c_log10f): Change function name.
6409 * math/c_log10.c (c_log10): Change function name.
6410
6411 * math/complex-stub.h: Change to c_log* variants.
6412 * src/complex.cc: And here.
6413
64141999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
6415
6416 * testsuite/27_io/istream_extractor_other.cc: Correct last test.
6417 * bits/sstream.tcc (stringbuf::overflow): Don't update the input
6418 sequence, just the output sequence.
6419 * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
6420 the original string, all others use complicated heuristic.
6421
6422 * src/complex.cc: Assume c_log10.
6423 * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
6424 symbols in shared libraries by making c_log/c_log10 part of the
6425 "must cmpile" sources. This may not work on solaris, must check.
6426
64271999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
6428
6429 * bits/istream.tcc (operator>>(streambuf*)): Re-do.
6430 * bits/std_istream.h: Fix char extractors.
6431 * testsuite/27_io/istream_extractor_char.cc: Change.
6432 * testsuite/27_io/istream_extractor_other.cc: Add tests.
6433
64341999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
6435
6436 * bits/std_cctype.h: Fix for solaris2.6 builds.
6437
6438 * bits/istream.tcc: Fix, thanks Alfred.
6439 * bits/std_istream.h: Formatting changes.
6440
6441 * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
6442 _IO_cleanup will not be undefined.
6443 * libio/*: Regenerate.
6444
6445 * bits/basic_string.h: More namespace-safety stuff.
6446 * testsuite/27_io/istream_extractor_char.cc: Fix.
6447 * testsuite/27_io/istream_extractor_arith.cc: Fix.
6448 * testsuite/27_io/iostream_objects.cc: Fix.
6449 * testsuite/27_io/ios_ctor.cc: Fix.
6450 * testsuite/27_io/istream_manip.cc: Make namespace safe.
6451 * testsuite/27_io/istream_extractor_other.cc: New file.
6452
6453 * mkcheck (TESTS_FILE): Tweaks.
6454
64551999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
6456
6457 * src/gen-c++config.cc: Note here, change version.
6458 * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
6459 * src/locale.cc: Used here.
6460 * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
6461
6462 * aclocal.m4: Regenerate by running `aclocal -I m4.`
6463
6464 * bits/istream.tcc: Fix.
6465 * bits/std_istream.h: More changes to extractors.
6466
6467 * testsuite/27_io/istream_extractor_char.cc: More.
6468 * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
6469 error in testsuite construction.
6470
6471 * bits/std_istream.h: Partially revert.
6472 * bits/std_ostream.h: Same.
6473 * bits/std_sstream.h: Revert.
6474
64751999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
6476
6477 * bits/std_sstream.h: Change initialization.
6478 * bits/std_ostream.h: Make default ctor/assign/operator= private.
6479 * bits/std_istream.h: Same, also correct sentry args.
6480 * bits/istream.tcc: Add correct sentry args.
6481
6482 * testsuite/27_io/istream_extractor_char.cc: New file.
6483 * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
6484 name changes making me dizzy.
6485
64861999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
6487 Benjamin Kosnik <bkoz@cygnus.com>
6488
6489 * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
6490 to libtool 1.3.3.
6491
64921999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6493
6494 * bits/std_complex.h: Tweak. Make the primary template class
6495 complex work with user-defined numerical types. Provide member
6496 definitions. Restructure.
6497 (class complex<float>): Uglify. Remove __value(). Rename __val
6498 to _M_value. Rename __complex_value_type to _ComplexT. Make it
6499 private. Remove dependency on __value(). Fix various explicit
6500 specialization syntax. Declare a some functions friend. Now the
6501 implementation is nearly comforming.
6502 (class complex<double>): Likewise.
6503 (class complex<long double>): Likewise.
6504
6505 * src/complex.cc: Tweak. Remove dependency on complex::__value().
6506 (sin, sinh, tan, than): Fix call to corresponding C9x function
6507 syntax.
6508
65091999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6510
6511 * bits/istream.tcc (ws): Fix error with failbit being set.
6512
6513 Disabled due to egcs/gcc-2_95 internal compiler errors.
6514 * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
6515 -fnew-exceptions. Compiling with namespaces enabled will now be
6516 the default.
6517 * mkcheck (CXX_FLAG): Same.
6518 * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
6519 * bits/std_cctype.h: Not enough to just define in namespace std if
6520 ctype-isms are macros. Need to also define in namespace std:: if
6521 the C functions are just plain functions.
6522
6523 * src/gen-num-limits.cc: Fix spelling inconsistencies.
6524
65251999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6526
6527 * docs/18_support/howto.html: Start documentation. Need to keep
6528 track of the ongoing discussion in th LWG reflector.
6529
6530 * src/gen-num-limits.cc: Tweak.
6531 (class predicate): New class.
6532 (class value): Likewise.
6533 Make the whole machinery more flexible. Add comments.
6534
65351999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6536
6537 * bits/ios_base.h: Move state/exception functions into basic_ios.
6538 * bits/basic_ios.h: Same.
6539 * src/ios.cc: And here. Callbacks don't attempt to reset
6540 state now.
6541
6542 * bits/std_streambuf.h: Separate ios and streambuf locale data
6543 members and cached facets. Using this convention: _M_locale_buf for
6544 the streambuf-related classes, and _M_locale_ios for the ios
6545 hierarchy.
6546 * bits/fstream.tcc: And here.
6547 * bits/basic_ios.h: And here. Also, add cached ctype.
6548 * src/ios.cc: Ditto.
6549 * bits/ios_base.h: Ditto.
6550 * bits/std_istream.h: Use cached ctype facet.
6551 * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
6552 arraignment.
6553
6554 * testsuite/27_io/ios_ctor.cc: New file.
6555 * src/ios.cc: Move _M_state init to basic_ios::init().
6556 * bits/basic_ios.h: To here.
6557
6558 Attempt for some consistency in naming for testsuite/27_io/*.cc.
6559 * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
6560 * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
6561 * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
6562 * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
6563
65641999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6565
6566 * src/ios.cc: Tweak initializations of standard iostream
6567 objects to closely match the standard. Tie cin/wcin, set flags on
6568 cerr/wcerr
6569 * bits/char_traits.h: Change from size_t to int_type, as per
6570 standard. As per wide streams.
6571 * bits/basic_ios.h: Infect with __ctype_type, as a preparation
6572 for caching a bunch of ctype info. For instance, ctype_base::space
6573 info needs to be stored somewhere, somehow.
6574 * bits/std_istream.h: Also here.
6575 * bits/std_ostream.h: Ditto.
6576 * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
6577 * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
6578 stream states.
6579
6580 * bits/istream.tcc (ws): Fix.
6581 * testsuite/27_io/istream_manip.cc: New file, test ws.
6582 * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
6583
6584 * bits/basic_string.h: Provide a specialized member function for
6585 _S_find<char> using strchr.
6586 * src/string-inst.cc: Put specializations here.
6587 * bits/string.tcc: Small fix for find, remove typo.
6588 * testsuite/21_strings/find.cc (test01): Add tests to catch this
6589 find bug. . .
6590
65911999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6592
6593 * bits/basic_ios.h: Put into basic_ios namespace.
6594 Tweak widen/narrow.
6595
65961999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6597
6598 * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
6599 adjust _M_*_cur pointers inside the function, so callee doesn't
6600 have to adjust.
6601 * bits/sstream.tcc (stringbuf::overflow): Tweak.
6602
6603 * mkcheck: Tweak. Add execution time field, even though it is not
6604 implemented yet. Simplify pass/fail status notation.
6605
66061999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
6607
6608 * configure.in: Check for float.h and underscored version of
6609 math functions.
6610 * acconfig.h: Add @BOTTOM@ section for handling underscored
6611 math functions.
6612 * configure: Regenerate.
6613 * config.h.in: Regenerate.
6614 * math/mathconf.h (float.h): Include conditionally.
6615 (M_PI): Define conditionally.
6616 (INFINITE_P): Define for Mingw.
6617 * bits/locale_facets.tcc: Workaround for compiler crash on
6618 ix86-*-mingw32.
6619 * bits/std_cwchar.h (bits/std_cstddef.h): Include.
6620 * src/locale.cc (bits/std_istream.h): Include.
6621 (bits/std_ostream.h): Likewise.
6622
66231999-07-18 Phil Edwards <pedwards@ball.com>
6624
6625 * docs/faq/index.html: Updated __black_count notes, fixed typos.
6626 * docs/faq/index.txt: Regenerated.
6627
66281999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6629
6630 * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
6631
6632 * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
6633 newly-allocated buffer.
6634 * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
6635 overflow condition bits.
6636
66371999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
6638
6639 * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
6640 _M_buf_size to initial _M_string.size(), even though for
6641 ostringstreams it is pretty pointless. It's necessary for
6642 istringstreams.
6643 (stringbuf::str()): Adjust.
6644 (stringbuf::str()): Adjust, call _M_init_stringbuf.
6645 * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
6646 overflow's possible success.
6647 (streambuf::xsputn): Adjust.
6648
6649 * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
6650 yesterday.
6651 * testsuite/27_io/stringbuf.cc: Tweak.
6652 * testsuite/21_strings/inserters_extractors.cc (test01): Remove
6653 notes to myself.
6654 * testsuite/23_containers/vector_cons.cc: Rename to be consistent
6655 with other constructor tests to. . .
6656 * testsuite/23_containers/vector_ctor.cc: New file.
6657
66581999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
6659
6660 * testsuite/*: Changes to make the testsuit compilable with
6661 -fhonor-std. Contains direct qualification of library names with
6662 std::.
6663
66641999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6665
6666 * bits/streambuf.tcc: Tweaks.
6667 (streambuf::xsputn): Optimize, fix for sstreams.
6668 (streambuf::xsgetn): Same.
6669 * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
6670 correctly, handle overflow/reallocate conditions correctly.
6671 * bits/std_sstream.h: Fix typo.
6672 _M_init_stringbuf(): Fix _M_buf_size initialization.
6673 (stringbuf::str()): Construct return string if output has occurred.
6674
6675 * bits/basic_string.h: Fix typo from yesterday's patch.
6676
66771999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6678
6679 * bits/string.tcc: _M_mutate - clear _M_state again.
6680 * bits/basic_string.h: In the three functions that return
6681 an iterator set _M_state to -1 before return.
6682 Also optimized two cases of operator+.
6683
66841999-07-12 Phil Edwards <pedwards@ball.com>
6685
6686 * docs/index.html: Expand egcs-1.1.2 notes/links.
6687 * docs/faq/index.html: And here. Add links to LWG issues-list.
6688 * docs/faq/index.txt: Regenerate. (lynx rocks)
6689 * docs/21_strings/howto.html: Fix notes on case conversion.
6690 * docs/21_strings/stringtok_h.txt: Goodly spelling...
6691 * docs/23_containers/howto.html: Stub for bitmasks.
6692 * docs/27_io/howto.html: Add section on buffering, stub binary.
6693
66941999-07-12 Nathan Myers <ncm@cantrip.org>
6695
6696 * stl/bits/stl_tree.h (__black_count): Optimize.
6697
66981999-07-09 Vadim Egorov <egorovv@1c.ru>
6699
6700 * src/basic_file.cc: Cleanup in __basic_file destructor.
6701
67021999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
6703
6704 * bits/std_streambuf.h: Changes. . .
6705 * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
6706 basic_streambuf, to be used for both filebufs and streambufs.
6707 * bits/std_fstream.h (_M_init_filebuf): New function.
6708 Take out specialized xsputn, put into basic_streambuf.
6709 * bits/fstream.tcc: Define, call from both ctors.
6710 * bits/std_sstream.h (_M_init_stringbuf): New function.
6711 * bits/sstream.tcc: Tweak.
6712
6713 * docs/27_io/iostreams_heirarchy.pdf: New file.
6714
6715 * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
6716 acceptance. Wooo-hoo!
6717
6718 * bits/char_traits.h: Change int_type for char_traits general
6719 template, so that 21_strings/capacity.cc will compile.
6720 * testsuite/21_strings/capacity.cc: Add operators.
6721
6722 * bits/string.tcc (string::compare): Clean up, re-implement.
6723 * testsuite/21_strings/compare.cc: Tweak.
6724
6725 * bits/string.tcc (string:_M_mutate): Keep leaked value in
6726 _M_state, which means that whenever begin() or end() has been
6727 called, the string is unshareable, period. By doing this, insert
6728 and erase member functions that return iterators can remain
6729 footloose and fancy free.
6730 * testsuite/21_strings/invariants.cc: Update.
6731
6732 * bits/basic_string.h (string::append): Fix self-referential
6733 problems, ie when "this" is also an argument to a member function.
6734 * bits/string.tcc: Tweak, same.
6735 * testsuite/21_strings/append.cc: New file.
6736
67371999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
6738
6739 * bits/char_traits.h: Tweaks.
6740 * bits/basic_string.h: Tweak.
6741 * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
6742
67431999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
6744
6745 * bits/std_streambuf.h: Absorb/acquire data members previously
6746 working in basic_filebuf.
6747 * bits/streambuf.tcc: Tweaks.
6748 * bits/fstream.tcc: Adjust.
6749 * bits/std_fstream.h: Move and rename the following functions:
6750 _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
6751 now declared and defined in the base class, basic_streambuf. Oh
6752 fuck it, move data members _M_buf, and _M_buf_size into
6753 basic_streambuf as well.
6754
6755 * bits/ostream.tcc: Tweak.
6756 * bits/locale_facets.tcc: Fix typo in comments.
6757
6758 * testsuite/21_strings/inserters_extractors.cc (test01): Change
6759 state from good to not good, as eof() is set.
6760
67611999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
6762
6763 * bits/char_traits.h (char_traits::compare). Fix.
6764
6765 * config.guess, config.sub: Update.
6766
67671999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6768
6769 * bits/string.tcc: Check the __res_arg for a length error.
6770
67711999-07-01 Benjamin Kosnik <bkoz@nabi.net>
6772
6773 * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
6774 and related functions into basic_streambuf, from basic_filebuf to
6775 take care of ostringstreams and empty strings. So that's groovy,
6776 or will be groovy.
6777 * bits/std_istream.h: Tweaks.
6778 * bits/istream.tcc: Implement ws, getline, operator>> for string.
6779 * bits/std_ostream.h: And here.
6780 * bits/ostream.tcc: Same.
6781 * src/misc-inst.cc: Add instantiations for ws.
6782
6783 * src/string-inst.cc: Add instantiations for inserters and
6784 extractors (operators << and >>, getline).
6785
6786 * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
6787 a testcase for getline and operators << and >>. Ostream tests are
6788 failing right now, but istream tests should work. . .
6789
6790 * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
6791 * bits/std_sstream.h: Revert.
6792
6793 * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
6794 istream, ostream, streambuf, fstream, sstream].cc: New files.
6795
67961999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6797
6798 * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
6799 and string::end().
6800
6801 * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
6802 specializations for _CharT*, iterator and const_iterator.
6803 * src/string-inst.cc: Remove explicit instantiation, as
6804 now explicitly specialized.
6805
6806 * bits/basic_string.h: Add a size_type parameter to _M_clone with
6807 a default value set to 0.
6808 * bits/string.tcc: In _M_clone by the call of _S_create add the
6809 value of the new parameter to _M_length. In reserve check
6810 _M_state and use _M_clone instead of _M_mutate.
6811
68121999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
6813
6814 * bits/basic_string.h: Fix _S_max_size.
6815 * bits/string.tcc: Add def here.
6816 * testsuite/21_strings/insert.cc: Fix.
6817
6818 * bits/sbuf_iter.h: Remove detritus.
6819 * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
6820
6821 * src/locale-inst.cc: Elaborate iterator/locale instantiations
6822 to resolve alpha-osf4 build problems.
6823
68241999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6825
6826 * bits/string.tcc: Fix signed/unsigned issues in compares.
6827 * stl/bits/stl_deque.h: And here.
6828 * stl/bits/stl_string_fwd.h: Remove __get_c_string.
6829
68301999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6831
6832 * bits/string.tcc: New implementation and interface of _M_mutate.
6833 Adapt the change in all functions that call _M_mutate.
6834 * bits/basic_string.h: And here.
6835
68361999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6837
6838 * testsuite/21_strings/capacity.cc (test01): Fix.
6839
68401999-06-29 Phil Edwards <pedwards@ball.com>
6841
6842 * mknumeric_limits: Exit script if gen-num-limits isn't built.
6843
68441999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
6845
6846 * stl/bits/stl_vector.h: Fix.
6847 * testsuite/23_containers/vector_cons.cc: Add.
6848
68491999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6850
6851 * mknumeric_limits (LDFLAGS): fix.
6852
68531999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6854
6855 * mknumeric_limits (LDFLAGS): set it according to the system.
6856
6857 * math/mathconf.h (NAN): Check whether host is running under
6858 Cygwin and make the appropriate definition.
6859 * math/complex-stub.h (nan): protect declaration.
6860
68611999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
6862
6863 * bits/sbuf_iter.h: Rename internal data structure to prevent
6864 confusion between basic_ios and istreambuf_iterators internal
6865 basic_streambuf data member.
6866 * testsuite/24_iterators/istreambuf_iterator.cc: New file.
6867
6868 * bits/basic_string.h: Remove conditionals, add input_iterator
6869 version of S_construct again.
6870 * bits/string.tcc: Same.
6871 * src/string-inst.cc: And add explicit instantiation here.
6872
6873 * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
6874 and __USE_GNU macro defines, as single __USE_GNU use leading to
6875 confusion on glibc2.1 systems (ie, RedHat 6.0).
6876
6877 * src/Makefile.am (headers): Add std_utility to installed headers.
6878
68791999-06-25 John Potter <jpotter@eagle.lhup.edu>
6880
6881 * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
6882
68831999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
6884
6885 * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
6886
68871999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6888
6889 * src/gen-c++config.cc (_GLIBCPP_*): Change all
6890 macros to include _GLIBCPP as a distinct namespace.
6891 * bits/*: And here.
6892 * src/*: And here.
6893
6894 * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
6895 * bits/basic_string.h: Remove __get_c_string.
6896 * src/stdexcept.cc: Define ctor here.
6897 * bits/ios_base.h: And fix ios_base::failure as well.
6898 * src/ios.cc: Define here.
6899
6900 * bits/std_streambuf.h: Add a private copy ctor and assignment
6901 operator wrapped in _G_RESOLVE_LIB_DEFECTS.
6902 * bits/ios_base.h: And here too.
6903
6904 * bits/basic_string.h: Tweak.
6905 * testsuite/21_strings/nonmember.cc: Add operator+ tests.
6906
6907 * src/valarray.cc: Rename to. . .
6908 * src/valarray-inst.cc: This.
6909 * src/Makefile.am (sources): Change here.
6910 * src/Makefile.in: Regenerated.
6911
69121999-06-24 Vadim Egorov <egorovv@1c.ru>
6913
6914 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
6915 allocated size
6916
69171999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6918 Tom Tromey <tromey@cygnus.com>
6919
6920 * configure.in (use_glibc2): Eek, correct for non-glibc systems.
6921 Use AM_CONDITIONAL to get us out of this jam. .
6922 * libio/Makefile.am: Same.
6923 * */Makefile: Regenerated.
6924
69251999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6926 John Potter <jpotter@eagle.lhup.edu>
6927
6928 * stl/bits/stl_tree.h (insert_equal): Fix.
6929 * testsuite/23_containers/multiset.cc: New file.
6930
69311999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
6932
6933 * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
6934 this works correctly on glibc-2 systems. This should allow
6935 simplified linking on these systems, and successful linking on Red
6936 Hat 6.0 systems.
6937 * configure, Makefile: Regenerate.
6938
6939 * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
6940
6941 * testsuite/ext: New directory.
6942 * testsuite/ext/headers.cc: New file.
6943
69441999-06-23 Vadim Egorov <egorovv@1c.ru>
6945
6946 * stl/ext/hash_set: include missing headers
6947 * stl/ext/hash_map: Same
6948 * stl/ext/slist: Same
6949
69501999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6951
6952 * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
6953
69541999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
6955
6956 * src/Makefile.am (sources): Regenerate.
6957 * mkcheck: Add TESTS_FILE as a way of controlling what testcases
6958 are run.
6959
69601999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
6961
6962 * src/string-inst.cc: Change _S_construct signature, to
6963 track requested allocation size versus valid input iterator range.
6964 * bits/basic_string.h: Here too.
6965 * bits/string.tcc: And here.
6966
69671999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
6968
6969 * mkcheck (LOG_FILE): Correctly append errors.
6970
6971 * stl/bits/stl_iterator.h: Revert previous, delirious, change.
6972
6973 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
6974 to clarify differences between basic_string::_M_data() calls and
6975 _Rep::_M_data() calls.
6976 * bits/std_string.h: Fix.
6977 Put in check for out_of_range in substr.
6978 * bits/string.tcc: Fix for _S_find.
6979
6980 * testsuite/21_strings/compare.cc: Add tests.
6981 * testsuite/21_strings/find.cc: New file.
6982 * testsuite/21_strings/substr: New file.
6983 * testsuite/21_strings/replace.cc: New file.
6984
69851999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6986
6987 * bits/valarray_array.h: __restrict__ify pointers.
6988
6989 * bits/std_valarray.h: Tweak.
6990 (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
6991
6992 * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
6993
6994 * bits/gslice.h: Tweak.
6995 (class gslice::_Indexer): new class.
6996 (gslice::gslice(const gslice&)): implement copy-ctor to support
6997 ref-counted index.
6998 (gslice::operator=(const gslice&)): support ref-counted index.
6999 (gslice::_M_convert_to_index): delete.
7000
7001 * src/valarray.cc: New file.
7002 (__gslice_to_index): turn a gslice into a valarray<size_t>
7003 (ctor gslice::_Indexer::_Indexer): implement.
7004
7005 * src/Makefile.am (sources): add valarray.cc
7006 * src/Makefile.in: regenerate.
7007
70081999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
7009
7010 * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
7011 ctor): Put in a const_cast.
7012
7013 * testsuite/21_strings/invariants.cc: New file.
7014
7015 * testsuite/21_strings/insert.cc: Add exception handling bits.
7016 * testsuite/21_strings/ctor_copy_dtor.cc: Same.
7017
7018 * src/wstring-inst.cc: Add c++config.h include.
7019
7020 * bits/basic_string.h: Fix const operator[] for size == pos.
7021 Add _M_leak for rbegin, non-const.
7022 Add _M_leak for rend, non-const.
7023 Make member function at standards conformant.
7024 Add _S_terminal to _Rep for operator[] const, add this into
7025 c_str() as well.
7026 * bits/string.tcc: Add static member definition here,
7027 temporarily.
7028
7029 * testsuite/21_strings/element_access.cc: Add tests.
7030
70311999-06-08 Vadim Egorov <egorovv@1c.ru>
7032
7033 * bits/fstream.tcc (_M_really_overflow): Fixed size of
7034 conversion buffer.
7035
70361999-06-08 Phil Edwards <pedwards@ball.com>
7037
7038 * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
7039 caused when __testinit is true.
7040 * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
7041 using rdbuf()->sputn rather than _M_fnumput->put.
7042
70431999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7044
7045 * testsuite/23_containers/bitset_ctor.cc: New file.
7046 * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
7047
70481999-06-08 Phil Edwards <pedwards@ball.com>
7049
7050 * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
7051
70521999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7053
7054 * testsuite/21_strings/element_access.cc: Finish off these tests.
7055 * testsuite/21_strings/insert.cc (test01): Uncomment.
7056 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
7057 * bits/basic_string.h: Tweak, okay, fix for real this time.
7058 * bits/string.tcc: Same.
7059 * bits/char_traits.h: Tweak.
7060
70611999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7062
7063 * bits/std_cmath.h: Example of how to use the generated macro.
7064 * acconfig.h: Add macro for sinf here.
7065 * configure.in (LIBS): Add test for builtin math function sinf.
7066 * configure: Regenerated.
7067
7068 * bits/basic_string.h: Fix _S_max_size.
7069
70701999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7071
7072 * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
7073 Remove _S_construct signature for forward_iterator_tag and
7074 input_iterator_tag.
7075 Clean _M_fold.
7076 * src/string-inst.cc: Same, tweaks.
7077 * bits/string.tcc: Same, tweaks.
7078
7079 * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
7080 * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
7081 * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
7082 Gaby.
7083
7084 * src/locale.cc: Final separation for char/wchar_t bits.
7085
70861999-06-05 Phil Edwards <pedwards@ball.com>
7087
7088 * docs/index.html: Added link to book upon request'n'agreement.
7089 * docs/23_containers/wrappers_h.txt: Added.
7090 * docs/{23_containers,27_io}/howto.html: Added sections.
7091
7092 * bits/std_fstream.h: Tweak.
7093
70941999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7095
7096 * src/ios.cc: Same here.
7097 * bits/std_iosfwd.h: More wchar_t defines.
7098
7099 * bits/basic_string.h: Tweaks.
7100 * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
7101 when doing error checking, as per LWG defect #83.
7102
7103 * src/gen-c++config.cc: Fix comment.
7104
7105 * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
7106 assignments, dtors.
7107 * testsuite/21_strings/element_access.cc: New file, checks for
7108 operator[], at(...).
7109 * testsuite/21_strings/insert.cc: New file, tests string::insert.
7110 * testsuite/21_strings/char_traits.cc: New file, tests
7111 for char_traits<char>.
7112
7113 * bits/utility.h: Remove, again.
7114 * src/Makefile.am (std_headers): Remove utility.h.
7115 * src/Makefile.in (std_headers): Regenerate.
7116
7117 Alfred Minarik <a8601248@unet.univie.ac.at>
7118 * bits/basic_string.h: Move __out_of_range and __length_error into
7119 namespace std.
7120
71211999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7122
7123 * testsuite/26_numerics/modf_float.cc: New file.
7124
7125 * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
7126 typo: use ::modff, not ::modf.
7127
71281999-06-03 Vadim Egorov <egorovv@1c.ru>
7129
7130 * bits/string.tcc (basic_string::_M_mutate): Fixed memory
7131 allocation error
7132 * testsuite/21_strings/capacity.cc (test01): Test.
7133
71341999-06-03 Phil Edwards <pedwards@ball.com>
7135
7136 * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
7137 unused variables to within #if 0 blocks to do the same.
7138 * bits/std_fstream.h: Fix typos (one prevents compilation).
7139
71401999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
7141
7142 * src/wstring-inst.cc: Fix.
7143
71441999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
7145
7146 * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
7147 * stl/bits/stl_string_fwd.h: Same.
7148 * bits/locale_facets.h: Same.
7149 * bits/locale_facets.tcc: Same.
7150 * src/wstring-inst.cc: And here.
7151
7152 * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
7153 problems on HPUX 10.20.
7154 * your-build-directory-here/bits/c++config.h: Just kidding, do it
7155 here as a temporary hack till the compiler/host problems get
7156 worked out.
7157
7158 * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
7159 HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
7160 converting "long double" to struct long_double. Probably should be
7161 done with one macro (HAVE_STRTOLD) at configure time.
7162
7163 * bits/std_cmath.h: Comment out pow(double, int) defintion as
7164 gives re-declaration under hpux10.20. Revert previous change, as
7165 kills linux/x86, solaris 2.7, hpux builds. These should be done
7166 using autoconf, see std_cctype.h and the solutions started in
7167 configure.in (see config.h for the generated file.)
7168
7169 * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
7170 -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
7171 defined.
7172
7173 * docs/index.html: Add some useful links.
7174 * docs/17_intro/contribute.html: Fix broken links.
7175
71761999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7177
7178 * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
7179 paths. The rest of the world should be able to run this script
7180 now.
7181
7182 * src/Makefile.am ($(generated_headers)): Remove comment.
7183 * Makefile*: Regenerate.
7184
7185 * bits/std_locale.h: Remove detritus.
7186 * bits/localefwd.h: Add <cctype> include to undefine the isspace
7187 macro.
7188
71891999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7190
7191 * src/gen-c++config.cc: New file. Making c++config.h at configure
7192 time by catting this file (nee bits/config.h) with the build
7193 directories config.h. This is not a complete or perfect solution
7194 but is better than what was in place previously.
7195 * bits/c++config.h: Rename/move to above.
7196 * src/Makefile.am (headers): Remove c++config.h.
7197 (myinstallheaders). Add.
7198 * Makefile*: Regenerated.
7199
7200 * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
7201 definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
7202 declared only if not present in the host's wchar.h.
7203
7204 * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
7205
7206 * bits/std_cmath.h: Define out, for the moment. Linux has no
7207 __buitin_fsqrtl? Probably need some kind of configure trickery
7208 here as well.
7209
7210 * src/Makefile.*: Regenerate.
7211 * bits/c++config.h: Add config.h include.
7212
7213 * bits/std_cwchar.h: Remove remaining #error guard.
7214
7215 * acconfig.h: Add bits for HAVE_LC_MESSAGES.
7216
7217 * configure.in (LIBS): Replace previous effort for mbstate_t and
7218 strtold/strtof with this implementation.
7219
72201999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7221
7222 * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
7223 whenever possible.
7224
72251999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
7226
7227 * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
7228 for determining mbstate_t differences across various hosts not
7229 finished.
7230
72311999-05-26 Benjamin Kosnik <bkoz@nabi.net>
7232
7233 * bits/locale_facets.tcc: Change to ifdef.
7234
7235 * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
7236 * bits/std_fstream.h (filebuf::setbuf): Same.
7237
7238 * bits/std_istream.h: Add ws declaration.
7239 * bits/istream.tcc: Stub out definition.
7240
7241 * docs/index.html: Fix broken link for design.txt.
7242
7243 * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
7244 then set _G_NEED_MBSTATE_T.
7245 * configure: Regenerate.
7246 * bits/c++config.h: Move mbstate_t define.
7247 * bits/std_cwchar.h: To here.
7248
72491999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7250
7251 * bits/std_sstream.h:
7252 basic_stringbuf<>::basic_stringbuf: fix.
7253 basic_stringbuf<>::setbuf:
7254 remove the temporary __string_type object,
7255 remove the unnecessary dynymic_cast in the return value,
7256 change the type of the returned value from __streambuf_type*
7257 to basic_stringbuf<_CharT, _Traits, _Alloc>*.
7258
72591999-05-25 Phil Edwards <pedwards@ball.com>
7260
7261 * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
7262
72631999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7264
7265 * bits/std_cmath.h: Tweak. Add float versions of the math functions
7266 in <math.h>. <cmath> still incomplete and incorrekt.
7267
72681999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7269
7270 * mknumeric_limits (LDFLAGS): set appropriate link flags.
7271
72721999-05-23 Phil Edwards <pedwards@ball.com>
7273
7274 * docs/17_intro/howto.html: Added links to text docs,
7275 e.g., BUGS.
7276 * docs/21_strings/howto.html: Updated sections and links.
7277 * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
7278 * docs/faq/index.html: Updated what-works for sixth
7279 snapshot. Also a number of "internal" links have been
7280 fixed, now that the web pages are the docs directory...
7281 * docs/faq/index.txt: Regenerated.
7282
72831999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7284
7285 * bits/basic_string.h: Add Nathan's documentation on the string class.
7286
7287 * testsuite/27_io/ios_members_static.cc: New file, for testing
7288 ios_base::sync_with_stdio.
7289
72901999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7291
7292 * bits/std_locale.h: Simplify includes.
7293 * bits/loccore.h: Delete.
7294 * bits/localefwd.h: Renamed, trimmed.
7295 * bits/locfacets.h: Delete.
7296 * bits/locale_facets.h: Rename, expanded.
7297 * bits/loccore.tcc: Deleted.
7298 * bits/locfacets.tcc: Deleted.
7299 * bits/locale_facets.tcc: Resultant merge.
7300 * bits/std_fstream.h: Modify include.
7301 * bits/ostream.tcc: Same.
7302 * bits/istream.tcc: Same.
7303
7304 * src/locale-inst.cc: And here.
7305 * src/locale.cc: Ditto.
7306 * src/Makefile.am: Updated.
7307 * src/Makefile.in: Rengenerated.
7308
7309 * bits/std_istream.h: Move istream::sentry ctor definition.
7310 * bits/istream.tcc: Move istream::sentry ctor here.
7311 Add more detailed locale include here for ctype member functions.
7312 * bits/ostream.tcc (std): And here.
7313
7314 * bits/sbuf_iter.h: Include std_streambuf.h
7315
7316 * bits/locfacets.h: Start separating this into a localeimp.h file.
7317 * bits/loccore.h: Start separating this into a localefwd.h file.
7318 Add std_climits for CHAR_BIT.
7319
7320 * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
7321
7322 * bits/char_traits.h: Tweak.
7323
7324 * bits/ios_base.h: Remove INT_MAX, use 1<<16.
7325
7326 * bits/std_ostream.h: Remove c++config.h include.
7327 * bits/std_istream.h: Same.
7328 * bits/std_streambuf.h: Same.
7329 * bits/std_fstream.h: Same.
7330 * bits/std_sstream.h: And here.
7331
7332 * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
7333 * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
7334 * bits/fpos.h: Tweak, format.
7335
7336 * std/ciso646: New file.
7337 * bits/std_ciso646.h: New file.
7338 * src/Makefile.am (std_headers): Add ciso646.
7339 (headers): Add bits/std_ciso646.h.
7340 * src/Makefile.in: Regenerate.
7341 * testsuite/17_intro/header_ciso646.cc: New file, disable
7342 equivalance tests.
7343
7344 * bits/fpos.h: Remove libio.h include.
7345 * bits/basic_file.h: And here.
7346 * bits/std_ios.h: Put here.
7347
7348 * src/ios.cc: Simplify includes, tweak.
7349 * bits/std_ios.h: Simplify include order.
7350 * bits/ios_base.h: Modify ios_base::failure.
7351
7352 * stl/bits/std_numeric.h: Change include from stl_iterator to
7353 std_iterator.
7354
73551999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7356
7357 * std/iostream: Remove static member __ioint.
7358 * bits/std_iostream.h: Put here.
7359
7360 * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
7361 * stl/bits/stl_algobase.h: Same.
7362 * testsuite/27_io/iostream_objects.cc: Regression tests.
7363 * testsuite/27_io/hello.cc: Remove, subset of above.
7364
73651999-05-19 Phil Edwards <pedwards@ball.com>
7366
7367 * docs/index.html: Tweak, update.
7368
73691999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7370
7371 * docs/17_intro/RELEASE-NOTES: remove outdated
7372 documentation about numeric_limits. Correct CXXINCLUDE setting
7373 documentation.
7374
73751999-05-18 Phil Edwards <pedwards@ball.com>
7376
7377 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
7378 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
7379 27_io}/howto.html: Created, with some initial entries.
7380 * docs/faq/index.html: Fixed some links.
7381 * docs/faq/index.txt: Regenerated.
7382
73831999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7384
7385 * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
7386
7387 * docs/17_intro/RELEASE-NOTES: Update.
7388 * docs/index.html: Correct link to mailing list help page, update News.
7389 * docs/faq/index.html: Change fifth to sixth for snapshot.
7390
7391 * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
7392 install $(top_builddir)/bits/std_limits.h into
7393 $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
7394 Makefile.am changes.
7395 * *Makefile*: Regenerate using automake.
7396
7397 * mkcheck (LOG_FILE): Fix filebuf directory oddness.
7398 * testsuite/27_io/filebuf.cc: Same.
7399
74001999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7401
7402 * docs/17_intro/CHECKLIST: update.
7403 * docs/17_intro/TODO: update.
7404
74051999-05-17 Phil Edwards <pedwards@ball.com>
7406
7407 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
7408 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
7409 27_io}/howto.html: Created, with some initial entries.
7410 * docs/faq/index.html: Fixed some links.
7411 * docs/faq/index.txt: Regenerated.
7412
74131999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
7414
7415 * src/Makefile.am (myinstallheaders): Missed removing missing.h.
7416 * Makefile.in*: Regenerate.
7417
74181999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
7419
7420 * bits/std_streambuf.h: Same.
7421
7422 * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
7423 * bits/locfacets.h (std): Same.
7424 * bits/sstream.tcc: Same.
7425 * testsuite/27_io/stringstream.cc: Tweak.
7426
7427 * testsuite/27_io/filebuf.cc: Adjust.
7428 * testsuite/21_strings/capacity.cc (test01): Add more
7429 string::reserve tests.
7430
7431 * bits/c++config.h: Remove broken CCTYPE.
7432 * bits/std_cctype.h: Tweak, remove de-macroization, enable
7433 sequestered topper implementation.
7434 * bits/std_cwctype.h: Same.
7435
7436 * bits/missing.h: Remove.
7437 * bits/std_locale.h: Remove missing.h include.
7438
7439 * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
7440
7441 * src/Makefile.am (headers): Add bits/std_cwctype.h.
7442 INCLUDES: Add top_builddir.
7443 * src/Makefile.in: Regenerate.
7444
7445 * Makefile.am: Add check and check-install as new targets.
7446 * testsuite/make_check_libfree++: Move to. . .
7447 * mkcheck: Here.
7448 * configure.in: Tweak versions.
7449 * mknumeric_limits: Set paths correctly.
7450
74511999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7452
7453 * src/Makefile.in (myinstallheaders): add rule to install
7454 std_limits.h.
7455
7456 * bits/slice.h (class slice): don't const-qualify data members
7457 since the copy and assignment operator is implicitly used. The
7458 valarray specification is definitively a bad one.
7459
7460 * Makefile.in (generate-limits-sources): fix typo.
7461
7462 * docs/text/TODO: update.
7463 * docs/text/CHECKLIST: update.
7464
7465 * bits/gslice.h (gslice): fix bugglet.
7466 (gslice::gslice): set _M_index_size to 0 whenever given lengths
7467 (lj) of size zero.
7468
7469 * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
7470 * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
7471 [Note: **/Makefile.in should be generated from the corresponding
7472 Makefile.am. The current situation is a litte chaotic. ]
7473
74741999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7475
7476 * mknumeric_limits: tweak.
7477
7478 * Makefile.in (all): add target generate-limits-sources.
7479 (generate-limits-sources): make a directory bits/ in top_builddir
7480 where the generated std_limits.h is put; generate limitsMEMBERs.cc
7481 directly under $(top_builddir)/src. Remains to put the appropriate
7482 rule for installing std_limits.h.
7483
7484 * src/Makefile.in (headers): remove bits/std_limits.h to this list.
7485 (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
7486 now generated at build-time in the build directory
7487 (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
7488 * src/Makefile.am: reflect changes in src/Makefile.in
7489
74901999-05-12 Phil Edwards <pedwards@ball.com>
7491
7492 * docs/faq/index.html: Add more entries (5.4,5.5), finish
7493 all but one empty entry. Add links for HOWTOs, but no files yet.
7494 (Corrected HOWTO links are for bkoz's new scheme.)
7495 * docs/faq/index.txt: Regenerated.
7496
74971999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
7498
7499 * testsuite/17_intro/headers.cc: New file.
7500 * stl/bits/std_queue.h: Change stl_bvector.h include path.
7501 * bits/std_cwctype.h: New file.
7502
7503 * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
7504
75051999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
7506
7507 * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
7508 Check __USE_MALLOC before defining specializations containing
7509 __default_alloc_template.
7510 * src/stl-inst.cc: Here too.
7511
7512 * bits/basic_string.h: Change.
7513
7514 * testsuite/make_check_libfree++: More tweaks.
7515 * testsuite/21/capacity.cc: New file.
7516
7517 * src/string.cc: Rename to be consistent with other inst files.
7518 Rename to string-inst.cc.
7519 * src/string*.cc: Change include.
7520 * src/wstring.cc: Rename to wstring-inst.cc.
7521 * src/wstring*.cc: Ditto.
7522 * src/Makefile.in: Also here.
7523 * src/Makefile.am: Ditto.
7524
7525 * src/traits.cc: Remove.
7526 * src/wtraits.cc: Same.
7527
7528 Try a new way of organizing documentation, one with synchronicity
7529 between testsuites and docs subdirectories, and see who yelps.
7530 * docs/html: Remove, use chapter and subject specific directories
7531 instead of forcing things immediately into format of
7532 documentation.
7533 * docs/text: Same.
7534 * docs/image: Same.
7535 * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
7536 directory and sort by filename and extension.
7537 * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
7538 22_locale, 23_containers, 24_iterators, 25_algorithms,
7539 26_numerics, 27_io: Add.
7540 * docs/17_intro/*: Populate with all the text files. . .
7541 * docs/index.html: Construct.
7542
7543 * testsuite/*: Update with same names as the docs subdir.
7544 * testsuite/results: Where to stash conformance results for the
7545 different snapshots, so that progress/size/speed issues can be
7546 tracked over time.
7547
75481999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
7549
7550 * src/string.cc: Add _S_copy_chars instantiation, as well as
7551 string::binary operators !=, ==, etc.
7552
7553 * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
7554 * src/Makefile.in (CXXFLAGS): Same here.
7555 * testsuite/make_check_libfree++ (CXX_FLAG): And here.
7556
75571999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
7558
7559 * src/string.cc: Add missing member functions to instantiation list.
7560
75611999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
7562
7563 * src/misc-inst.cc: Remove unused string instantiations.
7564
7565 * bits/string.tcc: Tweak, fix.
7566 * bits/basic_string.h: Format. Fix reported error with c_str().
7567
7568 * testsuite/make_check_libfree++: Tweak for shared builds.
7569 * testsuite/21/operations.cc: New file for testing c_str() etc.
7570
75711999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
7572 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7573
7574 * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
7575 an iterator class. Delineate pointer versus iterator differences
7576 in implementation.
7577 * 23/vector_capacity.cc: New file, tests for above.
7578
75791999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7580
7581 * mknumeric_limits: Fix typo. 'unsigned lont' should read
7582 'unsigned long'.
7583 * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
7584 generated by mknumeric_limits to the list. Now std_limits.h is
7585 basically working.
7586 * src/Makefile.in (generate-numeric-limits): new target to handle
7587 automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
7588 (all): add target generate-numeric-limits.
7589 (libstdc___la_OBJECTS): add limitsMEMBERS.lo
7590 (libstdc___la_SOURCES): add limitsMEMBERS.cc
7591
75921999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7593
7594 Irix build issues.
7595 * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
7596 mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
7597 * bits/locfacts.h: Here.
7598
75991999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7600 Ulrich Drepper <drepper@cygnus.com>
7601
7602 Solaris build issues.
7603 * bits/c++config.h: Define new macros, _G_USE_STRTOF and
7604 _G_USE_STRTOLD.
7605
7606 * bits/locfacets.tcc (num_get::do_get): Tweak long double and
7607 float overloads to use the above macros. Account for the lack of
7608 strtold on some systems, and revert back to using sscanf.
7609
76101999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7611
7612 * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
7613 Use strtoul/strtoull for unsigned types. Check the ranges for
7614 short/unsigned short and if necessary for int/unsigned int.
7615
76161999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
7617
7618 * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
7619 to generate bits/std_limits.h now, as the SGI std_limits.h is
7620 being depricated. Not done, but should be done immediately: need
7621 to make sure this script is run as part of the configuration
7622 process, because without it "make" in a configured build directory
7623 will fail. Also tweaked: added a space for float_round_style, and
7624 used static_cast of zero to default-initialize, which should be ok
7625 according to the standard. (see 8.5 p5 and 20.1.3).
7626 * mknumeric_limits (OUT_C): Need this for x86 long
7627 double extensions.
7628
7629 * bits/basic_file.h: Include libio.h, not libioP.h.
7630 * src/basic_file.cc: And add libioP.h include here, so that
7631 _IO_init, et. al are well-declared.
7632
7633 * testsuite/make_check_libfree++ (LIB_PATH): Test installed
7634 headers, not source directory headers.
7635
7636 * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
7637 for ext/*. Also add basic_file.h.
7638 * src/Makefile.in (headers): Same.
7639
7640 * bits/std_string.h: Reduce dependencies for faster
7641 pre-processing. Move istream and ostream specific defines into
7642 istream.tcc and ostream.tcc respectively.
7643 * bits/string.tcc: And here.
7644 * bits/basic_string.h: Move getline inline out-of-line, and to
7645 istream.tcc.
7646 * bits/istream.tcc: Move string::getline and operator>> here.
7647 * bits/ostream.tcc: And here too.
7648
7649 * bits/utility.h: Remove, as clashes with a standard header. Put
7650 __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
7651 being, until this can be combined with SGI's approach.
7652 * bits/string.tcc: Add macros, as above.
7653 * bits/loccore.h: Add _Count_ones defines.
7654 * bits/std_string.h: And here too.
7655 * bits/std_locale.h: And here.
7656 * bits/std_ios.h: Take out include here.
7657 * src/Makefile.am (headers): Remove utility.h
7658 * src/Makefile.in (headers): Remove utility.h
7659
7660 * stl/bits/*: Update to SGI STL 3.20.
7661 * stl/ext/pthread_alloc: Delete this file.
7662
76631999-05-04 Phil Edwards <pedwards@ball.com>
7664
7665 * docs/faq/html/index.html: Add more entries
7666 * docs/faq/html/index.txt: regenerated.
7667
76681999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7669
7670 * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
7671
76721999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
7673
7674 * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
7675 from Ulrich and Nathan. Remove extraneous string class usage,
7676 tweak, clean, simplify and consolidate with a eye towards removing
7677 duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
7678 Not done: dealing with leading zeros, wchar_t work.
7679 * bits/locfacets.h: And here too.
7680
7681 * doc: Remove.
7682
76831999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7684
7685 * docs/: add a FAQ.
7686 * docs/faq/: New directory.
7687 * docs/faq/html/: Likewise.
7688 * docs/faq/text/: Likewise.
7689 * docs/faq/html/index.html: New file.
7690 * docs/faq/html/index.txt: Likewise. Generated from
7691 docs/faq/html/index.html by lynx.
7692
76931999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
7694 Ryszard Kabatek and Branko Cibej
7695
7696 * bits/locfacets.tcc: Modify.
7697
76981999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
7699
7700 * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
7701 conformant to 14882, wrap non-standard extensions with
7702 _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
7703 * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
7704
7705 * testsuite/27/istringstream_formatted.cc: Add tests.
7706
7707 * bits/locfacets.h: Remove cruft from _Format_cache, continue
7708 commenting, simplify.
7709 * bits/locfacets.tcc: Same.
7710
7711 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7712 * bits/locfacets.tcc (num_get::do_get):
7713 Fix the sscanf format parameter
7714 for long long 'll' (as in C9X) instead of 'l'.
7715 Fix the order of sscanf format parameters: "%dl" --> "%ld".
7716 Change the type of the local variable '__conv' from 'string'
7717 to 'const char*' and adapt the change.
7718
77191999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7720
7721 * bits/locfacets.h: Document _Format_cache, and name data members
7722 after the corresponding functions in numpunct. For instance:
7723 _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
7724 Break apart _M_boolnames{2] into _M_truename and _M_falsename.
7725 * bits/locfacets.tcc: Same.
7726
7727 * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
7728 stop parsing--store for later analysis.
7729 * testsuite/27/istringstream_formatted.cc: Add cases.
7730
77311999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7732
7733 * bits/valarray_meta.h: tweak.
7734 (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
7735 _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
7736 happy -- boggus warning.
7737 * bits/std_valarray.h: Fix.
7738 (valarray<T>::shift): Fix. Update comment.
7739 (valarray<T>::cshift): Fix.
7740
77411999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
7742
7743 * testsuite/27filebuf-2.txt: Delete.
7744 * testsuite/27/filebuf.cc: Put output files directly into the
7745 correct subdirectory (27).
7746
7747 Alexandre Petit-Bianco <apbianco@cygnus.com>
7748 * testsuite/make_check_libfree++: Check generated (*.txt) file
7749 against stored results file (*.tst).
7750
77511999-04-22 Benjamin Kosnik <bkoz@nabi.net>
7752
7753 * bits/locfacets.tcc: Fix.
7754
7755 * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
7756 (filebuf::overflow): Simplify.
7757 (filebuf::xsputn): Correctly handle indeterminate state.
7758
7759 * testsuite/27/istringstream_formatted.cc: Tweak.
7760 * testsuite/27/filebuf.cc: Tweak.
7761 * testsuite/27/filebuf-3.tst: Correct: this is the canonical
7762 results file, please use this in the future to guarantee filebuf
7763 positioning accuracy.
7764 * testsuite/27/filebuf-2.tst: Same.
7765
77661999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
7767
7768 * bits/fstream.tcc (filebuf::xsputn): Add.
7769 * bits/std_fstream.h: Declare.
7770
7771 * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
7772 calls using ios_base::trunc.
7773
7774 * bits/sstream.tcc (streambuf::overflow): Fix crasher.
7775
7776 * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
7777 * testsuite/27/27stringstream.cc: Same.
7778 * testsuite/27/27stringbuf.cc: More tweaks.
7779 * testsuite/27/27filebuf-2.txt: Remove.
7780
7781 * testsuite/27/27filebuf-1.tst: Append, to force byte size over
7782 BUFSIZE so that overflows/underflow can be tested with default
7783 buffer setting.
7784 * testsuite/27/27filebuf-1.tst: Add.
7785
7786 * testsuite/*/*: Remove pre-pended chapter names, as they
7787 duplicate the chapter info contained in the enclosing directory
7788 anyway.
7789
77901999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
7791
7792 * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
7793 to sputc conditions.
7794
7795 * bits/ios_base.h: Define here.
7796 * src/ios.cc (ios_base::_M_clear): Remove hack.
7797 * bits/basic_ios.h: Fix rdstate().
7798
7799 * bits/sstream.tcc (streambuf::seekoff): Fix.
7800 * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
7801
7802 * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
7803 * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
7804 * testsuite/27/27stringstream.cc: Same.
7805 * testsuite/27/27stringbuf.cc: Same.
7806 * testsuite/27/27istringstream_formatted.cc: Same.
7807 * testsuite/27/27filebuf.cc: Same.
7808
7809 * bits/locfacets.h: Remove specializations for messages<char> and
7810 messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
7811 * src/locale.cc: Remove definitions for above.
7812 * src/misc-inst.cc: Revert, take out iomanip.h include.
7813 * bits/std_iomanip.h: Tweak, format.
7814
78151999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
7816
7817 * bits/loccore.h: Format, move inline.
7818 * bits/locfacets.tcc: Same.
7819 * bits/locfacets.h: Same.
7820
7821 Ulrich Drepper <drepper@cygnus.com>
7822 * aclocal.m4: Re-generate.
7823 * configure, configure.in: Same.
7824 * m4/lc_messages.m4: New file.
7825
78261999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
7827
7828 * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
7829 * bits/sstream.tcc: Tweak.
7830
7831 * std/iostream: Put __ioinit inside macro guards.
7832
7833 * src/stlinst.cc: Delete and move to . . .
7834 * src/stl-inst.cc: New file, plus wrapping in namespace std.
7835 * src/Makefile.in: Change.
7836 * src/Makefile.am: Same.
7837 * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
7838
7839 * testsuite/make_check_libfree++: Efficiently format for minimal
7840 space. Enforce stricter execution tests by enabling
7841 -DDEBUG_ASSERT.
7842
78431999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7844
7845 * docs/text/RELEASE-NOTES: Fix include typo.
7846
7847 * src/Makefile.am (headers): Add istream.tcc.
7848 * src/Makefile.in (headers): Add istream.tcc.
7849
7850 * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
7851
78521999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7853
7854 * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
7855 * bits/locfacets.h (num_get::_M_extract): New functin:
7856 consolidate logic for do_get(...) members.
7857
7858 * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
7859 * testsuite/27/27istringstream_formatted.cc: Add.
7860
78611999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
7862
7863 * src/basic_file.cc (__basic_file::open): Fix thinko in
7864 _G_HAVE_IO_FILE_OPEN bits.
7865 * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
7866 * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
7867 * src/complex.cc (FCT): Qualify all functions with global namespace.
7868 * src/locale.cc: Don't qualify memcpy and setlocale.
7869 * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
7870 (__length_error): Likewise, for length_error.
7871 * src/stlinst.cc: Qualify instantiations with std::.
7872
78731999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
7874
7875 * C++STYLE: Add ChangeLog guidelines for member functions.
7876
7877 * doc/* : Delete.
7878 * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
7879 DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
7880 docs/text and made less strident.
7881
7882 * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
7883 * bits/std_fstream.h: Same.
7884 * src/ios.cc: Same.
7885
7886 * bits/locfacets.h: Touch.
7887
78881999-04-15 Ulrich Drepper <drepper@cygnus.com>
7889
7890 * math/cexp.c (cexp): Use NAN instead of nan("").
7891 Reported by joel reed <joelreed@yahoo.com>.
7892
7893 * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
7894 _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
7895 * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
7896 instead of #if cascades.
7897 * libio/genops.c: Likewise.
7898 * libio/ioseekoff.c: Likewise.
7899 * libio/ioseekpos.c: Likewise.
7900 * libio/strops.c: Likewise.
7901 Patch by Chip Salzenberg <chip@perlsupport.com>.
7902
79031999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7904
7905 * docs: New directory.
7906 * docs/html: Likewise.
7907 * docs/text: Likewise.
7908 * docs/image: Likewise.
7909
7910 * bits/std_cmath.h: Add new functions.
7911 (abs): overload for long and double.
7912 (div): overload for long.
7913
7914 * bits/valarray_array.h: Fix.
7915 * bits/gslice.h: Adjust friend.
7916 * bits/slice_array.h: likewise.
7917 * bits/valarray_meta.h: likewise.
7918
79191999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7920
7921 * bits/locfacets.h: More changes, for num_get for insertion
7922 operators for integral types. Comment fields in _Format_cache.
7923 * bits/locfacets.tcc: And here too: add preliminary long version.
7924 * testsuite/27/27istringstream_formatted.cc: Add cases.
7925
79261999-04-13 Mark Elbrecht <snowball3@usa.net>
7927
7928 * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
7929 AC_LC_MESSAGES macro.
7930 * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
7931 supports LC_MESSAGES.
7932 * config.h.in: Add entry for HAVE_LC_MESSAGES.
7933 * src/locale.cc (locale::_S_normalize_category): Use the
7934 HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
7935 _G_NO_CLOCALE_HAS_MESSAGES.
7936 * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
7937 '?:' from '?:\\' so any path beginning with a drive name matches.
7938
79391999-04-12 Mark Elbrecht <snowball3@usa.net>
7940
7941 * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
7942
79431999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7944
7945 * bits/locfacets.h: Tweak.
7946 * bits/locfacets.tcc(do_get): Clean/fix bool method.
7947
7948 * testsuite/21/21nonmember.cc: Same.
7949 * testsuite/21/21compare.cc: Fix license.
7950 * testsuite/27/27istringstream_formatted.cc: New file.
7951
79521999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7953
7954 * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
7955 _BinBase2: new template classes; put in there to work around a
7956 compiler limitation. The whole valarray architecture is now
7957 working.
7958
79591999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
7960
7961 * bits/locfacets.tcc: Fix, format.
7962 * bits/locfacets.h: Fix.
7963 * src/locale.cc: Same, plus format.
7964
7965 * bits/basic_string.h: Re-add definition here.
7966 * src/string.cc: Take out.
7967
79681999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7969
7970 * bits/std_valarray.h: tweak.
7971 * bits/valarray_array.h tweak. use _Expr.
7972 * bits/slice_array.h: likewise.
7973 * bits/gslice_array.h: likewise.
7974 * bits/mask_array.h: likewise.
7975 * bits/indirect_array.h: likewise.
7976 * bits/valarray_meta.h: tweak.
7977 _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
7978 _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
7979 _IClos: new template classes.
7980 _Meta: renamed to _Expr. Made template with args.
7981 _Constant: made template with two args.
7982
79831999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7984
7985 * bits/valarray_array.h: tweak.
7986
79871999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7988
7989 * bits/basic_string.h: Whoops--fix blip.
7990
79911999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7992
7993 Update to SGI STL 3.13
7994 * bits/basic_string.h: Add __get_c_string definition.
7995 * stl/bits/stl_range_errors.h: New file.
7996 * stl/bits/std_bvector.h: Same.
7997 * stl/bits/*: Update.
7998
79991999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8000
8001 * bits/slice_array.h: tweak.
8002 * bits/gslice_array.h: tweak.
8003 * bits/mask_array.h: tweak.
8004 * bits/indirect_array.h: tweak.
8005 * bits/valarray_array.h: tweak.
8006 (__valarray_copy): replace copy with memcpy.
8007 * bits/std_valarray.h: use __valarray_copy whenever possible.
8008 use __valarray_fill instead of fill.
8009
80101999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8011
8012 * src/gen-num-limits.cc: new file
8013 * mknumeric_limits: Ditto.
8014
80151999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
8016
8017 * bits/locfacets.tcc: Do a stub version of num_get for short, int,
8018 and long types.
8019 * bits/locfacets.h: Add num_get::get methods overloaded for int
8020 and short, to resolve ambiguous overloads in istream insertion
8021 operators.
8022
80231999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
8024
8025 * bits/std_istream.h: Fix.
8026 * bits/istream.tcc: Fix.
8027
80281999-03-30 Philip Martin <pm@corris.dircon.co.uk>
8029
8030 * testsuite/24/24iterator.cc: fix ++/-- tests
8031
80321999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
8033
8034 * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
8035 * bits/ostream.tcc: Same.
8036
8037 * bits/std_istream.h: Bring over ostream changes, implement member
8038 functions. Baseline.
8039 * bits/istream.tcc: New file.
8040
80411999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8042
8043 * bits/gslice.h (class gslice): fix friends template.
8044
80451999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
8046
8047 * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
8048 delete cruft, etc.
8049 * bits/ostream.tcc: Same.
8050
8051 * bits/std_istream.h: Minor tweaks.
8052
80531999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
8054
8055 * src/locale-inst.cc: Remove duplicate instantiations.
8056 * bits/locfacets.tcc: Tweak definitions of static member.
8057
80581999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
8059
8060 * bits/std_fstream.h: Format: prepend "__" in front of
8061 non-standard typedefs.
8062 * bits/fstream.tcc: Match.
8063 * bits/std_streambuf.h: Format: prepend "__" in front of
8064 non-standard typedefs.
8065
8066 * bits/sstream.tcc: Match.
8067 * bits/std_istream.h: Format.
8068 * src/locale-inst.cc: Add num_get instantiations.
8069
8070 * bits/std_sstream.h: Fix crash in stringstreams. Remove member
8071 _M_sb, a basic_stringbuf object, and use the basic_ios pointer
8072 _M_streambuf instead. Make initializations sane. Fix
8073 allocation/deallocation of _M_streambuf.
8074 * bits/std_ostream.h: Fix initialization code.
8075 (ctor): Eliminate redundant this->init(), let base class initialize.
8076 (default ctor): New. Assume base classes already initialzed.
8077 * bits/std_istream.h: Parallel work to ostream.
8078 (ctor): Eliminate redundant this->init(), let base class initialize.
8079 (default ctor): New. Assume base classes already initialzed.
8080 Fix initialization of basic_iostream.
8081
8082 * bits/std_fstream.h: While we're at it, make initializations sane
8083 here too. Now matches sstream.h.
8084
8085 * bits/string.tcc: Fix crash in basic_string::compare.
8086 * bits/basic_string.h: And here.
8087 * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
8088
8089 * testsuite/make_check_libfree++: Check shared as well.
8090 * testsuite/27/27stringstream.cc: Add bits.
8091 * testsuite/27/27boolfmt.cc: Add bits.
8092 * testsuite/27/27octfmt.cc: Add bits.
8093
80941999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
8095
8096 * configure.in (USE_LONG_DOUBLE): signbitl link error.
8097
8098 * bits/locfacets.h: Fix errors that cause build problems
8099 with current egcs (template parameters have class scope).
8100 * bits/locfacets.tcc: Same.
8101 * src/locale-inst.cc: Same, clean.
8102 * src/misc-inst.cc: Same, clean.
8103
81041999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8105
8106 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
8107 standard. Re-apply this previous patch.
8108
81091999-03-17 Philip Martin <pm@corris.dircon.co.uk>
8110
8111 * bits/basic_string.h: Use __normal_iterator<> for iterators.
8112 * bits/std_sstream.h: Support __normal_iterator<> iterators.
8113 * bits/string.tcc: Ditto.
8114 * src/misc-inst.cc: Ditto.
8115 * src/locale-inst.cc: Ditto.
8116 * stl/bits/stl_iterator.h: Add __normal_iterator<>.
8117 * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
8118 * testsuite/24/24iterator.cc: Add test cases for basic_string and
8119 vector iterators.
8120
81211999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
8122
8123 * bits/locfacets.tcc: Remove macro hack.
8124 * bits/locfacets.h: Tweaks.
8125 * src/misc-inst.cc: Weed out locale-related instantiations.
8126 * src/locale-inst.cc: Same.
8127
8128 * RELEASE-NOTES: Make more changes.
8129 * bits/c++config.h: Bump version number.
8130
8131 * testsuite/make_check_libfree++: Collect diagnostics.
8132
8133 * bits/std_ostream.h: Fix ostream initialization/destruction
8134 problem, related to dtor cleanup and new cached facets, agggggggh.
8135 * bits/ostream.tcc: Tweak.
8136 * bits/locfacets.h: Remove all friends of iostream classes.
8137 * bits/ios_base.h: Same.
8138 * bits/streambuf.tcc: Tweak.
8139 * bits/std_streambuf.h: Tweak.
8140 * bits/std_fstream.h: Tweak.
8141 * bits/fstream.tcc: Tweak.
8142 * src/stdstreams.cc: Tweak.
8143 * src/ios.cc: Close streams.
8144
8145 * math/Makefile.in: Add missing files for shared link errors.
8146 * math/Makefile.am: Same.
8147
81481999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
8149
8150 * src/locale-inst.cc: More wchar_t instantiations.
8151 * src/misc-inst.cc: Missed a few bits.
8152 * testsuite/make_check_libfree++: Add static and shared runs.
8153 * src/ios.cc: Add clarity to ios_base::Init::~Init().
8154
81551999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
8156
8157 * bits/std_ostream.h: Format, expunge, simplify. Add cached
8158 facets. Resolve link errors.
8159 * bits/ostream.tcc: Same.
8160 * src/misc-inst.cc: Add ostream, wostream instantiations.
8161 * src/Makefile.am: Add missing bits for stdstreams.cc.
8162 * src/Makefile.in: Same.
8163 * bits/std_iosfwd.h: Format.
8164 * bits/locfacets.h (num_put): Add basic_ostream as a friend to
8165 num_put so that cached _M_fnumput pointer can be deleted in
8166 basic_ostream's dtor. Now everybody plays nice.
8167
81681999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
8169
8170 * bits/gslice.h (class gslice): Make friends valarray,
8171 gslice_array and _GliceExpression.
8172
81731999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
8174
8175 * RELEASE-NOTES: Update.
8176 * src/ios.cc: Use do proper init.
8177 * bits/std_streambuf.h: Tweak.
8178 * bits/std_iostream.h: Take out static member.
8179 * std/iostream: Put here.
8180 * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
8181 * bits/std_istream.h: Ditto.
8182 * bits/basic_ios.h: Format.
8183 * bits/ostream.tcc(write): Fix.
8184 * bits/fstream.tcc: Fix stdstreams ctor to do a proper
8185 initialization of the fstream class.
8186 * src/stdstreams.cc: I'm baaaaaaaack.
8187
81881999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8189
8190 * bits/ios_base.h: Correct comments. Add ios_base::init()
8191 functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
8192 * src/misc-inst.cc: Add instantiations here.
8193 * src/ios.cc: Clean.
8194 * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
8195 * src/stdstreams.cc: Delete this file, as now unnecessary.
8196 * bits/fstream.tcc: Add missing initialization bits for ctor.
8197 * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
8198 * src/Makefile.in (libstdc___la_OBJECTS): And here.
8199
8200 * bits/streambuf.tcc: Tweak.
8201 * bits/sstream.tcc: Here too.
8202
8203 * bits/fstream.tcc: And change definition as well.
8204 * bits/std_fstream.h: Change ctor.
8205 * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
8206 * bits/basic_file.h: Add declarations.
8207
8208 * testsuite/27/27hello.cc: New file.
8209
8210 * bits/std_ostream.h: Move flush() inline.
8211 * bits/ostream.tcc: From here.
8212
8213 * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
8214 * bits/std_ios.h: Change include libio to only when necessary.
8215 * bits/fpos.h: Like here.
8216 * ios_base.h: And here.
8217
8218 * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
8219 * bits/locfacets.tcc: Same.
8220 * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
8221 * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
8222
82231999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8224
8225 * bits/basic_ios.h: Change _M_ctype to _M_fctype.
8226
8227 * bits/std_streambuf.h: Clean, tweak.
8228 * bits/std_fstream.h: Same.
8229 * bits/std_sstream.h: Same.
8230 * bits/streambuf.tcc: Move most member functions out-of-line.
8231 * bits/fstream.tcc: Same.
8232 * bits/streambuf.tcc: Same.
8233
8234 * bits/basic_file.h(filepos_cur): Set correctly.
8235 (filepos_beg): Same.
8236 (seekpos): Change to __c_streampos.
8237 * src/basic_file.cc (std): Change to __c_streampos.
8238
8239 * testsuite/27/27filebuf.cc: Round one is finished.
8240 * testsuite/27/27filebuf-2.tst: New file, final output should match.
8241 * testsuite/27/27filebuf-3.tst: Same.
8242
82431999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
8244
8245 * bits/basic_file.h: Fix typo, add comments about what to expect
8246 from the various member functions in __basic_file.
8247
8248 * bits/std_fstream.h: Re-do sync/underflow to work
8249 together. Change from sys_read to xsgetn and from sys_write to
8250 xsputn. As it should have been from the beginning. . .
8251
82521999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
8253
8254 * bits/c++config.h (__GLIBCPP__): Add versioning macro.
8255
8256 * bits/basic_file.h(file_beg): New function.
8257 (file_cur): Ditto.
8258
8259 * testsuite/27/27filebuf.cc: Test in, out, in | out.
8260 * bits/std_fstream.h: More _M_mode refinements.
8261 (synch): Add bits for out mode only.
8262 * bits/std_streambuf.h(xsputn): Correct for filebufs.
8263 * bits/std_sstream.h: Ditto.
8264
82651999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
8266
8267 * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
8268 * testsuite/27/27filebuf.cc: Modify.
8269 * bits/c++config.h: Fix.
8270
82711999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8272
8273 * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
8274 code in place that diverges from the final standard, but has been
8275 brought up on the library mailing list.
8276
8277 * bits/std_fstream.h(underflow): Position all three internal
8278 buffer pointers at the same initial position. Re-implement with
8279 basic_filebuf abstraction.
8280 (overflow): Ditto.
8281 (seekoff): Ditto.
8282 (seekpos): Ditto.
8283 * bits/std_sstream.h: Move _M_mode down into base class
8284 basic_streambuf.
8285 * bits/sstream.tcc: Ditto.
8286 * bits/std_streambuf.h: Ditto.
8287
8288 * testsuite/27/27filebuf.cc: Tweak.
8289
82901999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
8291
8292 * bits/std_sstream.h: Ditto.
8293 * bits/std_fstream.h: Fix blip.
8294
82951999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
8296
8297 * C++STYLE: Add cases.
8298 * bits/std_fstream.h: Format.
8299 * bits/std_streambuf.h: Ditto.
8300 * bits/std_sstream.h: Ditto.
8301
8302 * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
8303 return type for _IO_file_seek and __basic_file::seek the same size.
8304 * bits/basic_file.h: Ditto.
8305
83061999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
8307
8308 * bits/fstream.tcc: Add include guards.
8309 * src/misc-inst.cc: Add instantiations for shared libes.
8310 * src/locale-inst.cc: Add instantiaions for use_facet.
8311 * bits/loccore.h: Remove specialization foward decls for
8312 use_facet<ctype>: perhaps add the whole lot of them later on.
8313 * bits/std_fstream.h: Fix.
8314 * bits/locfacets.h: Ditto.
8315 * src/stdstreams.cc: Disable wide streams for now.
8316
8317 * src/Makefile.am (CXXFLAGS): Change up.
8318 * src/Makefile.in (CXXFLAGS): Ditto.
8319
83201999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
8321
8322 * src/basic_file.cc: Change to ios_base::seekdir from int.
8323 * bits/basic_file.h: Ditto.
8324 * bits/locfacets.h : Fix blip with new guard macros.
8325
83261999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
8327
8328 * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
8329 * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
8330 _G_USE_NAMESPACE.
8331 * amm1/locale: Remove unused defines.
8332 * generic/locale: Ditto.
8333 * src/ios.cc: Ditto.
8334 * src/locale.cc: Ditto.
8335 * src/locale-inst.cc: Ditto.
8336 * src/localename.cc: Ditto.
8337 * src/stdstreams.cc: And here.
8338
8339 * bits/c++config.h (_G_USE_WCHAR_T): Fix.
8340 * bits/loccore.h: Simplify, clean, add wchar_t guards.
8341 * bits/loccore.tcc: Ditto.
8342 * bits/locfacets.h: Ditto.
8343 * src/locale-inst.cc: Ditto.
8344 * bits/locfacets.tcc: Add do_put long long here.
8345
83461999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
8347
8348 * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
8349 * bits/basic_ios.h: Clean. Replace _M_strbuf with
8350 _M_streambuf. Use cached _M_cvt in basic_streambuf.
8351 * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
8352 * bits/std_fstream.h: Tweak.
8353
8354 * bits/char_traits.h: Remove fpos definitions from here. . .
8355 * bits/fpos.h: New file, put them here. Eventually, this may allow
8356 the severing of char_traits and fpos dependancies.
8357 * src/Makefile.in: Add fpos.h.
8358 * src/Makefile.am: Ditto.
8359 * bits/std_string.h: Add fpos.h include here.
8360 * bits/std_ios.h: And here.
8361
8362 * bits/std_streambuf.h: Change _M_init to _M_initialized.
8363 * bits/ios_base.h: Remove cstdio include.
8364 * bits/std_ios.h: ... Place here.
8365
83661999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
8367
8368 * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
8369 * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
8370
8371 * bits/basic_file.h: Comment, adjust arguments.
8372 * src/basic_file.cc: Ditto.
8373
8374 * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
8375 type: check and convert accordingly. Re-interpet "resultant stream
8376 position" to indicate external byte sequence location, not internal
8377 buffer info.
8378
83791999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
8380
8381 * mkcshadow: And change copyright here.
8382 * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
8383 dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
8384 stl_thread.h, and stl_iterator_base.h.
8385 * src/Makefile.in (CXXFLAGS): Ditto.
8386 * stl/backward/pthread_alloc.h: Remove.
8387
83881999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
8389
8390 * bits/std_streambuf.h (sungetc): Use standard defs for putback
8391 position.
8392 * bits/std_fstream.h (pbackfail): Correct.
8393 (sungetc): Test.
8394 (seekoff): Implement.
8395 (seekpos): Re-do.
8396 * testsuite/27/27filebuf.cc: Add test cases.
8397
83981999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
8399
8400 * bits/std_fstream.h: Go with basic_file's interfaces for dealing
8401 with the external buffers, and stop mucking around with setting
8402 and re-setting the external buf's pointers. Aka, clarity and
8403 simplicity rule the day.
8404 * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
8405 Remove partial result and support code.
8406
84071999-02-18 Ulrich Drepper <drepper@cygnus.com>
8408
8409 * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
8410 list of function which have to be replaced.
8411 Remove expf from list of functions to test for.
8412 Define USE_LONG_DOUBLE in case the libm has partial support for long
8413 doubles.
8414 * Makefile.in: Regenerated.
8415 * config.h.in: Likewise.
8416 * configure: Likewise.
8417 * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
8418 * libio/Makefile.in: Regenerated.
8419 * src/Makefile.in: Regenerated.
8420 * string/Makefile.in: Regenerated.
8421 * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
8422 atan2f.c, expf.c, and $(EXTRA_yes).
8423 (EXTRA_yes): Add signbitl.c mycabsl.c.
8424 (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
8425 (libmath_la_SOURCES): remove long double versions.
8426 * math/Makefile.in: Regnerated.
8427 * math/atan2f.c: New file.
8428 * math/copysignf.c: New file.
8429 * math/expf.c: New file.
8430 * math/hypot.c: New file.
8431 * math/hypotf.c: New file.
8432 * math/hypotl.c: New file.
8433 * math/cargf.c: Use correct function and macro names.
8434 * math/ccos.c: Likewise.
8435 * math/ccosh.c: Likewise.
8436 * math/ccoshf.c: Likewise.
8437 * math/ccoshl.c: Likewise.
8438 * math/cexp.c: Likewise.
8439 * math/cexpf.c: Likewise.
8440 * math/cexpl.c: Likewise.
8441 * math/clog.c: Likewise.
8442 * math/clog10.c: Likewise.
8443 * math/clog10f.c: Likewise.
8444 * math/clog10l.c: Likewise.
8445 * math/clogf.c: Likewise.
8446 * math/clogl.c: Likewise.
8447 * math/copysignf.c: Likewise.
8448 * math/csin.c: Likewise.
8449 * math/csinf.c: Likewise.
8450 * math/csinh.c: Likewise.
8451 * math/csinhf.c: Likewise.
8452 * math/csinhl.c: Likewise.
8453 * math/csinl.c: Likewise.
8454 * math/csqrt.c: Likewise.
8455 * math/csqrtf.c: Likewise.
8456 * math/csqrtl.c: Likewise.
8457 * math/ctan.c: Likewise.
8458 * math/ctanf.c: Likewise.
8459 * math/ctanh.c: Likewise.
8460 * math/ctanhf.c: Likewise.
8461 * math/ctanhl.c: Likewise.
8462 * math/ctanl.c: Likewise.
8463
84641999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
8465
8466 * testsuite/27/27filebuf.cc: Add cases.
8467 * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
8468 * bits/std_streambuf.h: Simplify, always have one return statement.
8469 * bits/std_fstream.h: Tweak comments in underflow.
8470
84711999-02-17 Ulrich Drepper <drepper@cygnus.com>
8472
8473 * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
8474 * ltconfig: Likewise.
8475
84761999-02-16 Christophe Pierret <cpierret@businessobjects.com>
8477
8478 * src/locale.cc: Fix assert.
8479
84801999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
8481
8482 FIXME: Still need some kind of solution for undefined math symbols.
8483 * src/Makefile.in (locale-inst.lo): Compile with
8484 -fimplicit-templates to fix Solaris link problem.
8485 * src/Makefile.am: Ditto.
8486 * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
8487 * libio/Makefile.am: Ditto.
8488 * src/locale.cc: Provide some kind of def for _S_tolower.
8489 * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
8490 match ctype<char> for _S_tolower, _S_toupper, _S_table.
8491
84921999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
8493
8494 * bits/loccore.tcc: Move member-template ctor inline...
8495 * bits/loccore.h: ...here.
8496 * src/locale-inst.cc: Add instantiation here.
8497
8498 * testsuite/27/27stringstream.cc: Tweak.
8499
8500 * bits/ostream.tcc: Include sbuf_iter.h.
8501
8502 * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
8503 passing to num_put, as num_put's first argument is an interator,
8504 not basic_ostream.
8505
8506 * testsuite/make_check_libfree++: New file, runs through the
8507 existing test files in the testsuite directory and makes sure
8508 they link.
8509
85101999-02-10 Brendan Kehoe <brendan@cygnus.com>
8511
8512 * testsuite/21/21compare.cc: Fix typo.
8513 * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
8514 Don't try to provide non-linux versions, since it's impossible to
8515 initialize their const references with the integer 0, no matter
8516 how we try to cast it.
8517
85181999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
8519
8520 * bits/std_locale.h: Move std_vector.h dependency.
8521 * bits/std_ios.h: ...from here.
8522 * bits/std_string.h: ...and here.
8523 * src/locale.cc: ..to here.
8524 * bits/loccore.h: Ditto, add vector forward declaration,
8525 make locale::_Impl data members pointers not containers.
8526 * bits/loccore.tcc: Move out-of-line for now.
8527 * bits/locfacets.h: Move vector dependency from here...
8528 * bits/locfacets.tcc: ...to here.
8529 * src/localename.cc: ..and here.
8530 * src/locale-inst.cc: Add include of locfacets.tcc here.
8531
8532 * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
8533 * bits/basic_string.h: Can't use sizeof on an incomplete type.
8534 * bits/string.tcc: Tweak.
8535 * src/string.cc: And add __get_c_string def here.
8536
8537 * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
8538
8539 * src/stlinst.cc: Add include of stl_config.h.
8540
85411999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
8542
8543 * stl/bits/std_bitset.h: Update to SGI STL 3.12.
8544 * stl/bits/stl_config.h: Tweak, update.
8545 * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
8546 std_exception.
8547 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
8548 * stl/bits/std_functional.h: Ditto.
8549
8550 * stl/bits/stl_string.h: New file, SGI's string
8551 implementation. For reference only, corresponding to string in
8552 3.12 source.
8553 * stl/bits/stl_char_traits.h: As above.
8554
8555 * stl/bits/pthread_allocimpl.h: New file corresponding to
8556 pthread_alloc.
8557 * stl/bits/stl_pthread_alloc.h: New file corresponding to
8558 pthread_alloc.h
8559 * stl/bits/stl_threads.h: New file.
8560
8561 Note that SGI STL 3.12's file iterator.h is not used.
8562 * stl/bits/std_iterator.h: Ditto.
8563 * stl/bits/stl_iterator.h: Drop in replace.
8564 * stl/bits/stl_iterator_base.h: New file, drop in replace.
8565
8566 * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
8567 stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
8568 stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
8569 stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
8570 stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
8571 Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
8572 preprocessor guards, but fixup include paths and names according
8573 to new directory layout).
8574
85751999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
8576
8577 * bits/std_fstream.h: Remove _M_open data member.
8578 * bits/fstream.tcc: Ditto.
8579
8580 * src/locale.cc: Tweak.
8581
8582 * bits/std_sstream.h: Simplify.
8583
8584 * bits/std_streambuf.h: Simplify.
8585 (sputc): Use correct definition of "write area."
8586
8587 * bits/std_fstream.h: Fix uflow.
8588 * src/basic_file.cc: Tweak.
8589 * testsuite/27/27filebuf.cc: Add tests.
8590 * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
8591
85921999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8593
8594 * bits/ios_base.h: Make protected.
8595
85961999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8597
8598 * bits/ios_base.h: Changes in the class ios_base:
8599 Rename _M_exceptions member to _M_exceptions_data.
8600 Make the member functions rdstate(), clear(), exceptions()
8601 and exceptions(iostate) protected and add the "_M_" prefix.
8602 * src/ios.cc: Ditto.
8603 * bits/basic_ios.h: Adapt the changes from ios_base.
8604
86051999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
8606
8607 * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
8608 * bits/fstream.tcc: Ditto.
8609
8610 * bits/std_fstream.h (underflow): Resize deallocates memory and
8611 resets pointers in the internal cache according to new _M_buf. . dooh!
8612 * src/locale.cc: Mas changes with codecvt::do_in, do_out.
8613
86141999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8615
8616 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
8617 standard.
8618
86191999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
8620
8621 * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
8622 into account partial returns.
8623 (codecvt::do_out): Likewise.
8624
8625 * bits/char_traits.h: Change streamsize to be a signed type, as
8626 required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
8627 * bits/std_streambuf.h: Make
8628 in_avail() and showmanyc() have streamsize as return types, so
8629 that showmanyc()'s return of eof won't underflow in_avail's return
8630 value and give a bogus result.
8631 * src/misc-inst.cc: And more changes. . .
8632
8633 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
8634 track of joint in/out pointers into the internal buffer.
8635 (sbumpc): Add check for _M_buf_unified.
8636 (sputbackc): Ditto.
8637 (sungetc): Ditto.
8638
8639 * testsuite/27/27filebuf.cc: Add cases.
8640 * testsuite/27/27stringbuf.cc: Add showmanyc case.
8641
8642 * bits/std_fstream.h (close): Fix logic error.
8643 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
8644 (showmanyc): Add underflow component, to match the standard.
8645
8646 * bits/fstream.tcc: Ditto.
8647
86481999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8649
8650 * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
8651 * src/basic_file.cc: Ditto.
8652 * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
8653 format for dealing with _IO_file in libio.
8654
86551999-01-27 Ulrich Drepper <drepper@cygnus.com>
8656
8657 * src/basic_file.cc: Include fcntl.h.
8658
86591999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8660
8661 * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
8662 libio calls.
8663 * bits/std_streambuf.h: Redefine read posion.
8664
8665 * bits/std_fstream.h: Temporary hack to get vtables working again.
8666 * bits/basic_file.h: Revert.
8667 * src/basic_file.cc: Ditto.
8668 * testsuite/27/27filebuf.cc: Tweak.
8669
86701999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
8671
8672 * bits/basic_file.h: Add showmanyc, underflow. .
8673 * src/basic_file.cc: Ditto.
8674
8675 * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
8676 chars can be read.
8677
8678 * testsuite/27/27filebuf.cc: Add testcases.
8679 * src/basic_file.cc: Add O_CREAT to open calls with
8680 ios_base::trunc as part of the open mode.
8681
86821999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8683
8684 * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
8685
86861999-01-25 Benjamin Kosnik <bkoz@nabi.net>
8687
8688 * src/ios.cc (clear): Correct typo.
8689 * bits/ios_base.h: Tweak spacing.
8690
86911999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8692
8693 * bits/basic_ios.h: fix basic_ios::fail()
8694
86951999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
8696
8697 * bits/basic_file.h: Include libioP.h from libio instead of here.
8698 * bits/iolibio.h: Remove.
8699 * bits/libio.h: Remove.
8700
87011999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8702
8703 * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
8704
87051999-01-22 Ulrich Drepper <drepper@cygnus.com>
8706
8707 * Makefile.am (SUBDIRS): Add libio.
8708 * configure.in: Add rule to test for glibc2.
8709
8710 * src/Makefile.am (INCLUDES): Add -I to libio subdir.
8711 (libstdc___la_LIBADD): Add libio.la.
8712
87131999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
8714
8715 * bits/basic_file.h: Make new abstraction for underlying C library
8716 FILE, named __basic_file.
8717 * src/basic_file.cc: New file.
8718 * bits/os_raw.h: Delete.
8719 * src/os_raw.cc: Delete.
8720 * src/Makefile.in: Tweak.
8721 * src/Makefile.am: Tweak.
8722 * bits/iolibio.h: Add this here, for the time being.
8723 * bits/libioP.h: Ditto.
8724
8725 * bits/ios_base.h: Delete unused defines.
8726 * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
8727 strcpy to copy between the two buffers.
8728
8729 * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
8730 * testsuite/27/27filebuf.cc: New file.
8731 * testsuite/27/27filebuf-1.txt: Data file for above test.
8732 * testsuite/27/27filebuf-2.txt: Ditto.
8733
8734 * bits/std_streambuf.h (uflow): Re-implement default.
8735 * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
8736 Re-implement virtual functions.
8737 * bits/fstream.tcc: Delete unused mf's.
8738
87391998-12-31 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8740
8741 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
8742 * bits/std_fstream.h: Ditto.
8743 * src/stdstreams.cc: Ditto.
8744
8745 * math/cpowl.c: Fix header typo with last change.
8746
87471998-12-31 Benjamin Kosnik <bkoz@loony.cygnus.com>
8748
8749 * COPYING: New file (GPL v 2).
8750 * LICENSE.STD: Remove.
8751 * ./*: Change license.
8752
87531998-12-30 Benjamin Kosnik <bkoz@haight.constant.com>
8754
8755 * bits/std_streambuf.h (std): Remove static on _M_init.
8756 * bits/streambuf.tcc (std): Ditto.
8757
8758 * bits/std_fstream.h: Add changes as discussed with Nathan, including
8759 state_type and codecvt_type members, the allocation of an internal
8760 buffer, the streamlined codecvt calls, etc.
8761
87621998-12-21 Benjamin Kosnik <bkoz@haight.constant.com>
8763
8764 * bits/std_sstream.h: Tweak.
8765 * bits/fstream.tcc: Remove unused stubs.
8766 * bits/std_fstream.h: Tweak.
8767
87681998-12-17 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8769
8770 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
8771 Remove unused _IO_* members, possibly put into filebuf, which may
8772 need them.
8773 * bits/std_fstream.h: Add _M_flag.
8774 * bits/sbuf_iter.h: Tweak.
8775
8776 * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
8777 * bits/ios_base.h: Use.
8778
8779 * src/stdstreams.cc: Modify to reflect standard ctors for
8780 filebuf.
8781 * src/misc-inst.cc: Ditto.
8782
8783 * bits/os_raw.h: Wrap in std namespace. Model parameters on
8784 underlying C library calls instead of the underlying unix
8785 filesystem.
8786 * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
8787 string as per p.659.
8788 (_S_os_close): Model on fopen.
8789 (_S_os_read): Model on fread.
8790 (_S_os_write): Model on fwrite.
8791 (_S_os_seek): Model on fseek.
8792
8793 * bits/ios_base.h: Tweak.
8794 * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
8795 * bits/std_sstream.h: Tweak.
8796 * bits/sstream.tcc: Remove old, uncalled code.
8797 * bits/std_fstream.h: Major reconstruction.
8798 * bits/fstream.tcc: Disable for the time being.
8799
88001998-12-11 Benjamin Kosnik <bkoz@haight.constant.com>
8801
8802 * bits/basic_string.h: Fix insert method.
8803 * stl/bits/stl_iterator.h: Remove previous hack.
8804 * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
8805 * bits/std_sstream.h: Fix more regressions.
8806 * testsuite/27/27stringbuf.C: Add (almost) complete tests.
8807
88081998-12-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8809
8810 * bits/basic_string.h: Tweak.
8811
8812 * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
8813 that string::append can be instantiated. HACK--checkin
8814 basic_string::iterator class.
8815
88161998-12-07 Benjamin Kosnik <bkoz@haight.constant.com>
8817
8818 * bits/std_sstream.h: Tweak.
8819 * bits/sstream.tcc: Tweak ctors.
8820
8821 FIXME invalid friend defs. . WHERE ARE THEY??
8822
8823 * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
8824 names for basic_streambuf data members.
8825
8826 * bits/std_streambuf.h: Add getloc() initialization bits.
8827 basic_streambuf(): Initialize with global locale data.
8828 imbue(): Set _M_init.
8829
8830 * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
8831 stream pos == pos_type(off_type(-1)).
8832 in_avail(): Complete default implementation.
8833 snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
8834 underflow, uflow, xsgetn, showmany, sync: Ditto.
8835
8836 * bits/std_streambuf.h: _M_snextc_helper(): Remove.
8837
8838 * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
8839 re-populate with in-line member functions that are too big. Add
8840 initialization for _M_init.
8841
88421998-12-03 Benjamin Kosnik <bkoz@cygnus.com>
8843
8844 * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs
8845 for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
8846 streambuf_type.
8847
8848 * src/stdstreams.cc (std): Disable wchar_t instantiations.
8849
8850 * bits/c++config.h (_G_DEPRICATED): Add.
8851 (_G_USE_WCHAR_T): Add.
8852 * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
8853 Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
8854 * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
8855 * bits/std_fstream.h: Add comment for implementation.
8856 * src/streambuf.cc: Remove.
8857 * src/Makefile.in: Remove streambuf.lo.
8858 * src/misc-inst.cc: Tweak.
8859
88601998-12-02 Benjamin Kosnik <bkoz@cygnus.com>
8861
8862 * bits/std_sstream.h: Add const_cast to rdbuf returns.
8863 * testsuite/27stringstream.C: Modify.
8864
88651998-11-25 Benjamin Kosnik <bkoz@haight.constant.com>
8866
8867 * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
8868 (libstdc___la_SOURCES): Ditto.
8869
8870 * bits/streambuf.tcc: Tweak.
8871
8872 * src/streambuf.cc: New file, add out-of-line definitions for
8873 _Streambuf_base.
8874
8875 * src/misc-inst.cc: Remove _Streambuf_base instantiations.
8876 Comment out wchar_t versions of the buffer instantiations, for now.
8877
8878 * bits/std_streambuf.h: Wrap libio.h include with extern "C".
8879 Remove template wrapper around _Streambuf_base.
8880 Move IO_* data members into _Streambuf_base.
8881 Move _Streambuf_base members into streambuf.tcc.
8882
8883 * bits/c++config.h (_G_USE_LIBIO): Enable.
8884
88851998-11-02 Nathan Myers <ncm@cantrip.org>
8886
8887 * CHECKLIST: downgrade iterator implementations
8888 * DESIGN: fill out notes about unimplemented features
8889
88901998-10-31 Nathan Myers <ncm@cantrip.org>
8891
8892 * CHECKLIST: itemized list of all interfaces, and status of each.
8893
88941998-10-30 Nathan Myers <ncm@cantrip.org>
8895
8896 * RELEASE-NOTES: add notes about optional includes, linking, running
8897 * src/Makefile.am: handle header installs properly
8898 * src/Makefile.in: regenerate from new src/Makefile.am
8899
89001998-10-30 Benjamin Kosnik <bkoz@loony.cygnus.com>
8901
8902 * bits/basic_string.h: Revert npos pending ciso646.
8903 * src/Makefile.am: Revert CXX flags for now.
8904 * src/Makefile.in: Ditto.
8905
89061998-10-30 Brendan Kehoe <brendan@cygnus.com>
8907
8908 * bits/std_sstream.h: Re-order ctors to put base before member
8909 inits.
8910
89111998-10-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8912
8913 * stl/bits/std_memory.h: Fix typo.
8914
89151998-10-30 Nathan Myers <ncm@cantrip.org>
8916
8917 * src/string[A-Z]+.cc: change back to include "string.cc".
8918 * src/Makefile.am: revert filename changes. We need a different
8919 way to keep filenames in std/ from confusing Make.
8920 * bits/basic_string.h: define _S_max_size right, return it from
8921 string::max_size(); churn definition of npos again.
8922 * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
8923 * bits/ios.cc: remove #ifdef on ios_base locale member initialization
8924 * BUGS: clear cruft.
8925 * C++STYLE: Touchup for release.
8926 * CHECKLIST: Touchup for release.
8927 * DESIGN: New file.
8928 * LICENSE.STD: Add requirement to retain copyrights and to provide
8929 the license with any copies.
8930 * README: Update for release.
8931 * TODO: Minor touchup for release.
8932 * RELEASE-NOTES: prepare for release
8933
89341998-10-29 Ulrich Drepper <drepper@cygnus.com>
8935
8936 * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
8937
8938 * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
8939
8940 * src/Makefile.am (CXXLINK): New variable. Make sure we don't use
8941 CXX to generate the shared object.
8942
8943 * src/Makefile.am (headers): Remove duplicated char_traits.h.
8944
89451998-10-29 Brendan Kehoe <brendan@cygnus.com>
8946
8947 * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
8948 2, from npos, solving infinite loop problems.
8949
89501998-10-29 18:41 Ulrich Drepper <drepper@cygnus.com>
8951
8952 * src/Makefile.am: Add rules to install headers.
8953
89541998-10-29 Nathan Myers <ncm@cantrip.org>
8955
8956 * bits/std_ostream.h: Remove #ifdef on operator<< for long double
8957 * bits/ostream.tcc: Remove #ifdef on operator<< for long double
8958 * shadow/libio.h:
8959 * shadow/unistd.h:
8960 * shadow/bits/wrap_libio.h:
8961 * shadow/bits/wrap_unistd.h: New files.
8962
89631998-10-29 Brendan Kehoe <brendan@cygnus.com>
8964
8965 * bits/ostream.tcc (operator<<): Wrap with #ifdef
8966 _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
8967
89681998-10-29 Ulrich Drepper <drepper@cygnus.com>
8969
8970 * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
8971 is not compiled with -fno-implicit-templates in effect.
8972
8973 * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
8974 (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
8975 * src/stringADDCS.cc: Wrapper around string.cc to define individual
8976 function.
8977 * src/stringADDPS.cc: Likewise.
8978 * src/stringADDSC.cc: Likewise.
8979 * src/stringADDSP.cc: Likewise.
8980 * src/stringADDSS.cc: Likewise.
8981 * src/stringBIST.cc: Likewise.
8982 * src/stringBOST.cc: Likewise.
8983 * src/stringCHTR.cc: Likewise.
8984 * src/stringEQPS.cc: Likewise.
8985 * src/stringEQSP.cc: Likewise.
8986 * src/stringEQSS.cc: Likewise.
8987 * src/stringEXTRA.cc: Likewise.
8988 * src/stringGEPS.cc: Likewise.
8989 * src/stringGESP.cc: Likewise.
8990 * src/stringGESS.cc: Likewise.
8991 * src/stringGETLI.cc: Likewise.
8992 * src/stringGTPS.cc: Likewise.
8993 * src/stringGTSP.cc: Likewise.
8994 * src/stringGTSS.cc: Likewise.
8995 * src/stringINSER.cc: Likewise.
8996 * src/stringLEPS.cc: Likewise.
8997 * src/stringLESP.cc: Likewise.
8998 * src/stringLESS.cc: Likewise.
8999 * src/stringLTPS.cc: Likewise.
9000 * src/stringLTSP.cc: Likewise.
9001 * src/stringLTSS.cc: Likewise.
9002 * src/stringMAIN.cc: Likewise.
9003 * src/stringNEPS.cc: Likewise.
9004 * src/stringNESP.cc: Likewise.
9005 * src/stringNESS.cc: Likewise.
9006 * src/stringSCOPY.cc: Likewise.
9007 * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
9008 functions.
9009 * src/wstringADDPS.cc: Likewise.
9010 * src/wstringADDSC.cc: Likewise.
9011 * src/wstringADDSP.cc: Likewise.
9012 * src/wstringADDSS.cc: Likewise.
9013 * src/wstringBIST.cc: Likewise.
9014 * src/wstringBOST.cc: Likewise.
9015 * src/wstringCHTR.cc: Likewise.
9016 * src/wstringEQPS.cc: Likewise.
9017 * src/wstringEQSP.cc: Likewise.
9018 * src/wstringEQSS.cc: Likewise.
9019 * src/wstringEXTRA.cc: Likewise.
9020 * src/wstringGEPS.cc: Likewise.
9021 * src/wstringGESP.cc: Likewise.
9022 * src/wstringGESS.cc: Likewise.
9023 * src/wstringGETLI.cc: Likewise.
9024 * src/wstringGTPS.cc: Likewise.
9025 * src/wstringGTSP.cc: Likewise.
9026 * src/wstringGTSS.cc: Likewise.
9027 * src/wstringINSER.cc: Likewise.
9028 * src/wstringLEPS.cc: Likewise.
9029 * src/wstringLESP.cc: Likewise.
9030 * src/wstringLESS.cc: Likewise.
9031 * src/wstringLTPS.cc: Likewise.
9032 * src/wstringLTSP.cc: Likewise.
9033 * src/wstringLTSS.cc: Likewise.
9034 * src/wstringMAIN.cc: Likewise.
9035 * src/wstringNEPS.cc: Likewise.
9036 * src/wstringNESP.cc: Likewise.
9037 * src/wstringNESS.cc: Likewise.
9038 * src/wstringSCOPY.cc: Likewise.
9039 * src/string.cc: Remove now unneeded #defines now.
9040
90411998-10-29 Nathan Myers <ncm@cantrip.org>
9042
9043 * bits/locfacets.tcc: Define num_put::put(... const void*), improve
9044 integer formatting.
9045 * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
9046 add definitions for double, long double, const void*.
9047 * bits/std_ostream.h: Move op<<'s back into class ostream,
9048 define some in-line.
9049 * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
9050 string construction from input iterators that Brendan reported.
9051
9052
90531998-10-28 Brendan Kehoe <brendan@cygnus.com>
9054
9055 * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
9056
9057 * bits/valarray_meta.h (class _Constant): Move declaration to the
9058 top, so the rest of the file can grok it.
9059 (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
9060
9061 * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
9062 semicolon.
9063 (basic_stringstream::str, both instances): Likewise.
9064
90651998-10-28 Nathan Myers <ncm@cantrip.org>
9066
9067 * bits/locfacets.h: fix num_put<>::falsename()
9068 * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
9069 * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
9070 * bits/locfacets.tcc: touch up _S_group_digits.
9071 * src/misc-inst.cc: adjust _S_group_digits insts to match.
9072
90731998-10-27 Nathan Myers <ncm@cantrip.org>
9074
9075 * stl/bits/stl_config.h: Turn off long long support, for now.
9076 * src/locale-inst.cc: Instantiate num_put<> only for
9077 ostreambuf_iterator, num_get only for istreambuf_iterator.
9078 * src/misc-inst.cc: Delete duplicate locale-related instantiations,
9079 add lots of new instantiations for num_put support function templates;
9080 remove junk about __match_parallel for ostreambuf_iterator.
9081
90821998-10-27 Nathan Myers <ncm@cantrip.org>
9083
9084 * bits/locfacets.tcc: Make num_put's digit grouping work.
9085 * bits/string.tcc: More uglification.
9086 * src/ios.cc: initialize format cache right
9087
90881998-10-26 Nathan Myers <ncm@cantrip.org>
9089
9090 * bits/basic_string.h: Uglify more names.
9091 * bits/fstream.tcc: Rewrite some filebut output handling.
9092 * bits/ios_base.h: Cosmetic.
9093 * bits/locfacets.h: Changes to _Format_cache for support of num_put.
9094 Also, specialize its default ctor for optimal default case.
9095 #ifdef out "long long" prototypes for now.
9096 * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
9097 implementation for integer types. (Still needs optimized
9098 std::copy() applied to ostreambuf_iterator to be optimal.)
9099 * bits/ostream.tcc: Write operator<< for long, bool types.
9100 Make other operators<< non-members, per spec. (Many still
9101 not implemented.) Identify those that fail to create a sentry.
9102 * bits/sbuf_iter: Cosmetic.
9103 * bits/std_fstream.h: Add some filebuf members.
9104 * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
9105 * bits/std_ostream.h: Make member operators<< global, per spec.
9106 (Should do the same in std_istream.h.)
9107 * bits/std_string.h: Include <limits> for use in bits/locfacets.h
9108 * bits/string.tcc: Uglify names
9109 * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
9110 * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
9111 for optimal default behavior.
9112
91131998-10-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
9114
9115 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
9116
91171998-10-21 Nathan Myers <ncm@cantrip.org>
9118
9119 * src/locale.cc: make ctype operations actually work for glibc
9120 * CHECKLIST: add a comprehensive (i.e. huge) implementation
9121 checklist of stdlib facilities. Not filled in yet.
9122
91231998-10-20 Nathan Myers <ncm@cantrip.org>
9124
9125 * bits/string.tcc: fix patching NULs on string ends.
9126
91271998-10-19 Nathan Myers <ncm@cantrip.org>
9128
9129 * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
9130 iterator forward declarations
9131 * bits/sbuf_iter.h: eliminate default template argument definitions
9132 on streambuf iterators (rely on <iosfwd> decls).
9133 * TODO: add note about lazy facet construction
9134 * bits/basic_ios.h: hit operator void* again. This should be the
9135 last time we need to touch it.
9136 * bits/basic_ios.h: copyfmt now returns *this.
9137 * bits/basic_string.h: fix npos again. npos cannot be defined as zero.
9138 * bits/basic_string.h: put back overloaded constructors; adjust
9139 behavior for default allocator on copy constructor.
9140 * bits/char_traits.h: make not_eof return correct type.
9141 * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
9142 cannot be in non-standard headers or we get include loops (bad)
9143 * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
9144 * bits/loccore.h: add apparatus to support lazy construction of
9145 facets.
9146 * bits/locfacets.tcc: Uglify names in __match_parallel decl.
9147 * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
9148 locale use_facet<> failure.
9149 * bits/std_locale.h: same.
9150 * bits/std_string.h: same.
9151 * bits/std_stdexcept.h: change exception member __msg from a
9152 reference to a regular object.
9153 * bits/string.tcc: add pasting a NUL on the end of strings after
9154 each operation. We had already left room for it, but previously
9155 plugged it only on a call to c_str(), but the WG changed the
9156 requirement when I wasn't looking. (Can't leave them alone for
9157 a second without they break something else.)
9158 * bits/valarray_meta.h: add Gaby's changes from 981018.
9159 * src/locale.cc: add new type _Bad_use_facet to be thrown on
9160 failure of use_facet<>().
9161 * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
9162 comment out leftover member definitions
9163
91641998-10-16 Ulrich Drepper <drepper@cygnus.com>
9165
9166 * string/Makefile.am: Revert last change.
9167 * math/Makefile.am: Likewise.
9168
91691998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
9170
9171 * bits/std_sstream.h: Fix typo.
9172
91731998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
9174
9175 * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
9176
9177 * bits/std_sstream.h: Add typedefs, member definitions. Clean.
9178 * bits/std_stdexcept.h: Remove.
9179
91801998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
9181
9182 * src/misc-inst.cc: Tweak again.
9183
9184 * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
9185 * bits/sstream.tcc: New file.
9186
91871998-10-15 Ulrich Drepper <drepper@cygnus.com>
9188
9189 * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
9190 Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
9191 available.
9192
9193 * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
9194 if available.
9195 (INFINITE_P): Use IS_INF macro if available.
9196
91971998-10-15 Ulrich Drepper <drepper@cygnus.com>
9198
9199 * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
9200 noinst_LTLIBRARIES.
9201 * string/Makefile.am: Likewise.
9202
92031998-10-15 Ulrich Drepper <drepper@cygnus.com>
9204
9205 * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
9206 qfpclass.
9207 (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying
9208 endianess is available run AC_C_BIGENDIAN.
9209
9210 * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
9211 fixincludes is fixed.
9212 * math/clogl.c: Likewise.
9213 * math/csqrtl.c: Likewise.
9214 * math/mycabsl.c: Likewise.
9215
9216 * math/mathconf.h: Include machine/endian.h if possible. If no
9217 header describing endianess is available rely on WORDS_BIGENDIAN
9218 macro.
9219 (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
9220 (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
9221 available.
9222
9223 * src/complex.cc (polar): Don't use sincos on OSF machines.
9224
92251998-10-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
9226
9227 * src/locale-inst.cc: Don't instantiate time_get for
9228 ostreambuf_iterators as time_get::do_get_weekday and
9229 time_get::do_get_monthname use __match_parallel, which is illegal
9230 for ostreambuf_iterators to use, as they don't have operator== or
9231 operator!=.
9232 * bits/std_stdexcept.h: Add dtor definitions.
9233 Use stl/bits/std_stdexcept.h instead of this file?
9234 * bits/sbuf_iter.h : Tweak.
9235 * src/misc-inst.cc: Tweak.
9236
92371998-10-09 Benjamin Kosnik <bkoz@haight.constant.com>
9238
9239 * bits/std_stdexcept.h: New file.
9240 * src/stdexcept.cc: Define the following:
9241 logic_error::what()
9242 runtime_error::what()
9243
9244 * src/misc-inst.cc: New file.
9245 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
9246 (libstdc___la_OBJECTS): Add misc-inst.lo.
9247
9248 * bits/basic_string.h: Disable non-standard ctor declarations.
9249 * bits/string.tcc: Disable definitions as well.
9250 * src/string.cc: Disable <ios> dependancies.
9251 * bits/sbuf_iter.h (std): Add default to template parameter for
9252 ostreambuf_iterator and istreambuf_iterator.
9253 * bits/std_iosfwd.h: Change istreambuf_iterator to
9254 basic_istreambuf_iterator. Likewise for ostreambuf.
9255 * bits/locfacets.tcc (__match_parallel): Fix typo.
9256 * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
9257 ios_base::imbue.
9258 * bits/std_streambuf.h: Define _Streambuf_base::getloc().
9259 * bits/std_istream.h: Define the following:
9260 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
9261 get (char_type* __s, streamsize __n, char_type __delim);
9262 getline (char_type* __s, streamsize __n, char_type __delim)
9263 * bits/loccore.h : FIXME friend template code for use_facet.
9264 Add std_stdexcept.h include so that range_error will be defined.
9265 Add explicit conversion to string for range_error throws. (HACK?)
9266
92671998-10-8 Ulrich Drepper <drepepr@cygnus.com>
9268
9269 * configure.in: Check for sincos, sincosf, and sincosl.
9270 * src/complex.cc (polar): Use sincos if available.
9271
9272 * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
9273 * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!!
9274
9275 * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
9276
9277 * math/cpow.c: Use c_log, not clog.
9278 * math/cpowf.c: Likewise.
9279 * math/cpowl.c: Likewise.
9280
9281 * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead
9282 of isfinite call.
9283
9284 * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
9285 isfinite macro if it is available.
9286 (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
9287
9288 * math/ccosf.c: Use appropriate test macros for this type.
9289 * math/ccoshf.c: Likewise.
9290 * math/ccoshl.c: Likewise.
9291 * math/ccosl.c: Likewise.
9292 * math/cexpf.c: Likewise.
9293 * math/cexpl.c: Likewise.
9294 * math/clog10f.c: Likewise.
9295 * math/clog10l.c: Likewise.
9296 * math/clogf.c: Likewise.
9297 * math/clogl.c: Likewise.
9298 * math/csinf.c: Likewise.
9299 * math/csinhf.c: Likewise.
9300 * math/csinhl.c: Likewise.
9301 * math/csinl.c: Likewise.
9302 * math/csqrtf.c: Likewise.
9303 * math/csqrtl.c: Likewise.
9304 * math/ctanf.c: Likewise.
9305 * math/ctanhf.c: Likewise.
9306 * math/ctanhl.c: Likewise.
9307 * math/ctanl.c: Likewise.
9308
93091998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
9310
9311 * bits/basic_ios.h: Fix previous change.
9312
93131998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
9314
9315 * bits/basic_ios.h: Add const_cast<basic_ios&>
9316 (operator void*): As per 5.2.9 p 2, make sure static_cast is
9317 well-formed.
9318 * bits/char_traits.h: No _CharT for specialization, change to 0.
9319 * bits/basic_string.h: As per 9.4.2 p4, initialize with
9320 constant-initializer.
9321 * bits/locfacets.tcc: Add template parameter to initialization list.
9322
93231998-10-02 Benjamin Kosnik <bkoz@loony.cygnus.com>
9324
9325 * bits/basic_string.h: Should just be <, not <=.
9326
93271998-10-01 Benjamin Kosnik <bkoz@bliss.nabi.net>
9328
9329 * bits/string.tcc (compare): Fix for strings that are similar, but
9330 not the same length.
9331
93321998-09-04 Brendan Kehoe <brendan@cygnus.com>
9333
9334 * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is
9335 required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
9336 We can't check for __GLIBC__ here, since this header can be read
9337 before any system one (that would lead to features.h) being used.
9338
9339 * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
9340
9341 * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
9342 LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
9343
9344 * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
9345 LONGLONG_{MIN,MAX} which I can't find the origin of.
9346
93471998-09-03 Brendan Kehoe <brendan@cygnus.com>
9348
9349 * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
9350 should this come from, if not iostream.h?
9351 (class istream_iterator): Make the new operator!= a friend also.
9352
9353 * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
9354 __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include
9355 _G_config.h like the egcs one does.
9356
93571998-09-01 Brendan Kehoe <brendan@cygnus.com>
9358
9359 * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
9360
9361 * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
9362 _Expr1 (or _Expr_def if it's taken), and change definitions.
9363 Avoids redecl of the template parm.
9364
9365 * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
9366 (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
9367
9368 * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
9369 already done.
9370
9371 * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to
9372 be a better way to do this.
9373
9374 * src/stlinst.cc: New file.
9375
9376 * BUGS: New file, with various discovered bugs that need to be
9377 fixed.
9378
9379 * Makefile.in, math/Makefile.in, string/Makefile.in,
9380 src/Makefile.in: Reran automake.
9381
9382 Workarounds, these may not all be the final fixes:
9383
9384 * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
9385 not private, for basic_istream::get() in std_istream.h to be able
9386 to use it.
9387 (basic_ios::operator void*): Don't use static_cast for the false
9388 case.
9389 (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
9390 This appears to have been in sep94, but didn't get corrected
9391 afterwards.
9392
9393 * bits/basic_string.h (npos): Don't init here.
9394 * bits/string.tcc: Instead, do initialization here, to -1 instead
9395 of the size_type destructor.
9396
9397 * src/traits.cc, src/wtraits.cc: New files.
9398 * bits/char_traits.h: For char_traits<char> and
9399 char_traits<wchar_t>, declare static, but define over in the src
9400 files.
9401
9402 * bits/gslice.h: Comment out forward decls of _Array, valarray,
9403 gslice_array, and _GsliceExpression.
9404
9405 * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
9406 clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
9407 stdout, and stderr. Note we do get unresolved refs to stdin, but
9408 that'll get fixed by the "true" solution.
9409
9410 * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
9411 definition of basic_streambuf.h, which is used in basic_ios.h to
9412 call pubimbue.
9413
9414 * bits/std_streambuf.h: Don't include libio.h for now.
9415 (class basic_streambuf): Define missing methods pubimbue and
9416 getloc.
9417
9418 * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
9419 ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
9420 locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
9421
9422 * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
9423
9424 * src/locale.cc: Come up with munged versions of _S_toupper,
9425 _S_tolower, and _S_table instead of the glibc-specific ones, so
9426 they're at least defined, if not necessarily usable. The glibc
9427 ones on any other system will yield unresolved refs to
9428 __ctype_{b,toupper,tolower}.
9429
9430 * src/string.cc: Define all of ADDCS, ADDPS, et al. Add
9431 basic_ios, basic_istream, basic_ostream. Don't do char_traits
9432 anymore cuz of the explicit specialization in char_traits.h.
9433 Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
9434 file for the details.
9435
9436 * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
9437 * stl/bits/stl_iterator.h (__distance): Likewise.
9438
9439 * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
9440 op>, op<=, and op>= for reverse_iterator. Also add op!= for
9441 istream_iterator.
9442
94431998-08-26 Brendan Kehoe <brendan@cygnus.com>
9444
9445 * bits/string.tcc (basic_string::compare (const char*)): Fix to
9446 return 0, not 1.
9447
94481998-08-25 Brendan Kehoe <brendan@cygnus.com>
9449
9450 This should really be fixed with __asm__ directives renaming the
9451 symbol, but keeping the function.
9452 * math/clogf.c (c_logf): Renamed from `clogf'.
9453 * math/clogl.c (c_logl): Renamed from `clogl'.
9454 * math/complex-stub.h (c_logf, c_logl): Change decls.
9455
9456 * bits/locfacets.h (class _Numeric_get): For friend decls, rename
9457 _CharT and _InIter parms, since they duplicate the enclosing ones.
9458
94591998-08-19 Brendan Kehoe <brendan@cygnus.com>
9460
9461 Deal with conflict of the iostreams `clog' and our internal
9462 complex number `clog'.
9463 * src/complex.cc: Call `c_log' instead of `clog'.
9464 * math/clog.c (c_log):: Renamed from clog.
9465 * math/complex-stub.h (c_log): Renamed from clog decl.
9466
9467 * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
9468 get/put classes.
9469 (num_put::put): #if 0 long long version, since we don't declare or
9470 define the long long version of do_put.
9471
94721998-08-18 Nathan Myers <ncm@cantrip.org>
9473
9474 * bits/basic_string.h: add basic_string<>::push_back(), fix return
9475 type of get_allocator (thanks to Ryszard Kabatek).
9476 * bits/char_traits.h: make init order of fpos<> members
9477 match decl order.
9478 * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
9479 flags _S_fd_in etc. for special filebuf ctor.
9480 * bits/locfacets.h: make _Numeric_get and _Format_cache public
9481 to work around problems in friend declarations.
9482 * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
9483 fix random type errors & typos
9484 * bits/std_fstream.h: major refitting to bypass libio (for now),
9485 instrument to use bits/fstream.tcc template definitions
9486 * bits/std_iosfwd.h: mess with wrappers
9487 * bits/std_istream.h: remove meaningless comment
9488 * bits/std_ostream.h: instrument to work with ostream.tcc.
9489 * bits/std_streambuf.h: instrument to work with streambuf.tcc
9490 * bits/fstream.tcc: template defs for <fstream>
9491 * bits/ostream.tcc: template defs for <ostream>
9492 * bits/streambuf.tcc: template defs for <streambuf>
9493 * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
9494 * Delete .cc files, replace with bits/*.tcc
9495 src/fstream.cc
9496 src/istream.cc
9497 src/ostream.cc
9498 src/streambuf.cc
9499 * Add files:
9500 src/os_raw.cc: thin interface to OS, to bypass libio (for now).
9501 src/stdstreams.cc: cout, cin, etc. definitions
9502 (these still need work: must be init'd before user statics.)
9503
9504
95051998-08-18 Brendan Kehoe <brendan@cygnus.com>
9506
9507 Sent to SGI before checkin:
9508 * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
9509 operator>=): Define.
9510 * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
9511 * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
9512 operator>=): Define.
9513 (operator==, operator<): Add inline.
9514 * stl/bits/stl_map.h (operator!=, operator<, operator<=,
9515 operator>=): Define.
9516 * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
9517 operator>=): Define.
9518 * stl/bits/stl_list.h (operator!=, operator<, operator<=,
9519 operator>=): Define.
9520 * stl/bits/stl_set.h (operator!=, operator<, operator<=,
9521 operator>=): Define.
9522 * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
9523 operator>=): Define.
9524
9525 * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
9526 unary_function.
9527
95281998-08-15 Nathan Myers <ncm@cantrip.org>
9529
9530 * bits/ios_base.h: change nominal bitmask and enum types to real enums
9531 * bits/locfacets.h: make _Format_cache bool names usable by num_get
9532 * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
9533 * bits/std_fstream.h: minor cleanups: ctors delegate to open()
9534 * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
9535 * bits/std_sstream.h: formatting cleanups
9536
95371998-08-14 Nathan Myers <ncm@cantrip.org>
9538
9539 * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
9540 * bits/locfacets.tcc: implement time_get<>::do_get_weekday
9541 * bits/locfacets.tcc: implement time_get<>::do_get_monthname
9542 * bits/locfacets.h: fix missing argument in do_get_monthname
9543 (this is a bug in the standard, ref. 36 in my list.)
9544 * bits/locfacets.h: make month and day name caches mutable
9545 * bits/locfacets.tcc: various typos in get() functions
9546 * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
9547 * bits/std_streambuf.h: fix typo in sgetn (Brendan)
9548
95491998-08-12 Nathan Myers <ncm@cantrip.org>
9550 * move streambuf iterators to bits/sbuf_iter.h
9551 * optimize streambuf iterators
9552 * begin generalizing streambuf
9553 * begin implementing num_get<>::get (starting with bool)
9554 * patch stl/bits/stl_config.h so that relops operators are
9555 contained properly, out of the way.
9556
95571998-07-24 Nathan Myers <ncm@cantrip.org>
9558 * Fold in SGI 3.11 changes (uglified names, some algorithm
9559 improvements, very minor bug fixes.)
9560 * Uglify names elsewhere to match (s/_T/_Tp/).
9561 * Begin work on optimized streambuf
9562 * Put complex.cc in namespace std:: (thanks Martin)
9563
95641998-07-17 Nathan Myers <ncm@cantrip.org>
9565
9566 * bits/char_traits.h: add _Char_traits_match template.
9567 * bits/string.tcc: fix bugs in various find_last* members.
9568 * bits/basic_string.h: redeclare member _S_find.
9569 * stl/bits/stl_iterator.h: change member names in nonstandard
9570 templates bidirectional_reverse_iterator and
9571 random_access_reverse_iterator to match expected changes
9572 in upstream source.
9573 * src/string.cc: fix definitions of stream operators.
9574
95751998-07-14 16:06 Ulrich Drepper <drepper@cygnus.com>
9576
9577 * Makefile.am (SUBDIRS): Add string.
9578
9579 * configure.in: Test for long double functions separately. Test for
9580 ISO C 89 float functions. Test for endian.h and sys/isa_defs.h.
9581 Generate string/Makefile.
9582
9583 * bits/c++config.h: Define mbstate_t for Solaris.
9584
9585 * bits/char_traits.h: Remove unused #if.
9586
9587 * bits/std_cwchar.h: Declare wide char string functions.
9588
9589 * m4/stringfcts.m4: New file.
9590
9591 * math/complex-stub.h: Declare nan.
9592 * math/nan.c: New file.
9593
9594 * math/mathconf.h: Hack around missing endian.h file.
9595 Handle missing NAN definition.
9596 Handle missing float math functions.
9597
9598 * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
9599 (libstdc___la_LDFLAGS): Set version information.
9600
9601 * src/complexl.cc: Don't compile any code if no long double functions
9602 are available.
9603
9604 * string/Makefile.am: New file.
9605 * string/dummy.c: New file.
9606 * string/wmemchr.c: New file.
9607 * string/wmemcmp.c: New file.
9608 * string/wmemcpy.c: New file.
9609 * string/wmemmove.c: New file.
9610 * string/wmemset.c: New file.
9611
96121998-07-14 10:45 Ulrich Drepper <drepper@cygnus.com>
9613
9614 * configure.in: Make it work.
9615 * install-sh: New file.
9616 * missing: New file.
9617 * mkinstalldirs: New file.
9618 * m4/mathfcts.m4: New file.
9619 * math/Makefile.am: New file.
9620
9621 * bits/std_complex.h (conj): Mark specializations as inline.
9622
9623 * math/carg.c: New file.
9624 * math/cargf.c: New file.
9625 * math/cargl.c: New file.
9626 * math/mycabs.c: New file.
9627 * math/mycabsf.c: New file.
9628 * math/mycabsl.c: New file.
9629 * math/signbit.c: New file.
9630 * math/signbitf.c: New file.
9631 * math/signbitl.c: New file.
9632
9633 * math/ccos.c: Avoid ISO C 9x functionality.
9634 * math/ccosf.c: Likewise.
9635 * math/ccosh.c: Likewise.
9636 * math/ccoshf.c: Likewise.
9637 * math/ccoshl.c: Likewise.
9638 * math/ccosl.c: Likewise.
9639 * math/cexp.c: Likewise.
9640 * math/cexpf.c: Likewise.
9641 * math/cexpl.c: Likewise.
9642 * math/clog.c: Likewise.
9643 * math/clog10.c: Likewise.
9644 * math/clog10f.c: Likewise.
9645 * math/clog10l.c: Likewise.
9646 * math/clogf.c: Likewise.
9647 * math/clogl.c: Likewise.
9648 * math/cpow.c: Likewise.
9649 * math/cpowf.c: Likewise.
9650 * math/cpowl.c: Likewise.
9651 * math/csin.c: Likewise.
9652 * math/csinf.c: Likewise.
9653 * math/csinh.c: Likewise.
9654 * math/csinhf.c: Likewise.
9655 * math/csinhl.c: Likewise.
9656 * math/csinl.c: Likewise.
9657 * math/csqrt.c: Likewise.
9658 * math/csqrtf.c: Likewise.
9659 * math/csqrtl.c: Likewise.
9660 * math/ctan.c: Likewise.
9661 * math/ctanf.c: Likewise.
9662 * math/ctanh.c: Likewise.
9663 * math/ctanhf.c: Likewise.
9664 * math/ctanhl.c: Likewise.
9665 * math/ctanl.c: Likewise.
9666
9667 * math/complex-stub.h: New file.
9668
9669 * math/mathconf.h: New file.
9670
9671 * src/Makefile.am: New file.
9672
9673 * src/complex.cc: Use mathconf.h instead of complex.h.
9674 Don't use cabs, always use __mycabs.
9675
96761998-02-13 Brendan Kehoe <brendan@cygnus.com>
9677
9678 * iterator (class reverse_iterator): Do some tweaks to be in sync
9679 w/ the FDIS.
This page took 1.093226 seconds and 5 git commands to generate.