]> gcc.gnu.org Git - gcc.git/blame - libstdc++-v3/ChangeLog
Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove cabsl.c
[gcc.git] / libstdc++-v3 / ChangeLog
CommitLineData
97c66a50
GDR
12000-11-26 Gabriel Dos Reis <gdr@codesourcery.com>
2
3 * libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove cabsl.c
4 * libmath/Makefile.in: Regenerate.
5 * libmath/cabs.c: Remove.
6 * libmath/cabsf.c: Likewise.
7 * libmath/cabsl.c: Likewise.
8 * libmath/complex-stub.h: Remove declarations for cabs*.
9
10 * acinclude.m4: Remove check for cabs*.
11 * aclocal.m4: Regenerate.
12
13 * Makefile.in: Regenerate.
14
b21218ce
GDR
152000-11-26 Gabriel Dos Reis <gdr@codesourcery.com>
16
17 * tests_flags.in: New file. Split out of ...
18 * mkcheck.in: ... this. Move flags computation into
19 tests_flags.in.
20 * configure.in: Add support for tests_flags.
21 * confiigure: Regenerate.
22
7ee9826b
JM
232000-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
24
25 * acinclude.m4: Change C9X references to refer to C99.
26 * aclocal.m4, configure: Regenerate.
27 * config/os/gnu-linux/bits/os_defines.h, src/complex.cc,
28 testsuite/22_locale/codecvt_wchar_t_char.cc,
29 include/bits/stl_config.h, include/c/bits/std_cwchar.h,
30 libmath/mathconf.h: Change C9X references to refer to C99.
31
85fe3810
BK
322000-11-25 Benjamin Kosnik <bkoz@redhat.com>
33 Richard Earnshaw <rearnsha@arm.com>
34
35 * src/Makefile.am (INCLUDES): Remove unconditional use of
36 _GNU_SOURCE and _ISOC99_SOURCE macros.
37 * src/Makefile.in: Regenerate.
38
35a63b94
BK
392000-11-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
40
41 * testsuite/22_locale/codecvt_wchar_t_char.cc (main): Add
42 _GLIBCPP_USE_WCHAR_T guards.
43
44 * configure.in (AC_OUTPUT_COMMANDS): Remove, just run scripts as
45 is, so that checks for existence of generated files actually work.
46 * configure: Regenerate.
47
d0c3e4f4
HPN
482000-11-23 Hans-Peter Nilsson <hp@bitrange.com>
49
50 * config/os/gnu-linux/bits/os_defines.h: Include <features.h>.
51 If not glibc 2.1 or higher, include <gnu/types.h> and define
52 __off64_t as __loff_t and #define __THROW as empty.
53
54 * libio/libio.h [__P]: Move __THROW and __PMT into their own
55 ifndef:s.
56
54214152
DE
572000-11-23 David Edelsohn <edelsohn@gnu.org>
58
59 * porting.texi: Expand libtool information.
60
23a5b444
GDR
612000-11-23 Gabriel Dos Reis <gdr@codesourcery.com>
62
63 * include/bits/ios_base.h (ios_base::failure::~failure,
64 ios_base::failure::what): Move defintion to ...
65
66 * src/ios.cc (ios_base::failure::~failure): ... here.
67 src/ios.cc (ios::failure::what): Likewise.
68
4ce69c7f
BK
692000-11-22 Benjamin Kosnik <bkoz@redhat.com>
70
71 Make deprecated strstream header consistent with new and new.h.
72 * include/backward/strstream.h: Add. Use using declarations to
73 scope strstreambuf, istrstream, ostrstream, strstream to global
74 scope.
75 * include/backward/strstream: Remove using declarations.
76 * src/Makefile.am (base_headers): Add strstream.
77 * src/Makefile.in: Regenerate.
78
79 * include/backward/new.h (_CPP_BACKWARD_NEW_H): Change macro guard
80 to be consistent with other headers.
81
ea88c0f7
RH
822000-11-22 Richard Henderson <rth@redhat.com>
83
84 * config/os/bsd/bits/ctype_inline.h (is): Fix order of expressions.
85
c361fee0
PE
862000-11-22 Phil Edwards <pme@sources.redhat.com>
87
88 * porting.texi: Minor tweaks to vocabulary.
89
5789a524
LR
902000-11-22 Loren J. Rittle <ljrittle@acm.org>
91
92 * include/backward/strstream.h: Reinstate the `using'
93 statements.
94
eed86de8
LR
952000-11-22 Loren J. Rittle <ljrittle@acm.org>
96
97 * src/Makefile.am (base_headers): Add missing backwards headers.
98 * src/Makefile.in: Regenerate.
99
88628656
SS
1002000-11-21 scott snyder <snyder@fnal.gov>
101
102 * config/c_io_stdio.cc (seekoff): Fix return value.
103 (seekpos): Likewise.
104 (sys_seek): Likewise.
105
5388a89a
LR
1062000-11-21 Loren J. Rittle <ljrittle@acm.org>
107
108 * mkcheck.in (explanation): Retain output of all failing
109 compiles. Don't add gratuitous space to the log file.
110
63e749a8
BK
1112000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
112
5feb272b
BK
113 * src/strstream.cc: Adjust includes.
114 * src/Makefile.am (base_headers): Remove std_strstream.h, add
115 backwards/strstream.h.
116 (std_headers): Remove strstream.
117 * src/Makefile.in: Regenerate.
118 * libsupc++/Makefile.am (headers): Remove new.h
119 * libsupc++/Makefile.in: Regenerate.
120 * include/std/strstream: Remove.
63e749a8
BK
121 * include/backward/strstream.h: Replace with...
122 * include/bits/std_strstream.h: ...this. Move.
123 * include/backward/complex.h: Remove SGIisms.
124 * include/backward/streambuf.h: Same.
125 * include/backward/stream.h: Same.
126 * include/backward/ostream.h: Same.
127 * include/backward/istream.h: Same.
128 * include/backward/iostream.h: Same.
129 * include/backward/iomanip.h: Same.
130 * include/backward/fstream.h: Same.
131 * libsupc++/new.h: Add using declarations for bad_alloc,
132 nothrow_t, and nothrow, move to ...
133 * include/backward/new.h: ...here.
134
f45d2330
MM
1352000-11-21 Mark Mitchell <mark@codesourcery.com>
136
137 * porting.texi: New file.
138
b6bcb20e
BC
1392000-11-21 Branko Cibej <brankoe@xbc.nu>
140
141 * config/os/solaris/solaris2.6/bits/os_defines.h: Define
142 _XOPEN_SOURCE, _LARGEFILE64_SOURCE, __EXTENSIONS__, __off_t,
143 __off64_t and __ssize_t.
144 * config/os/solaris/solaris2.5/bits/os_defines.h: For now, use the
145 same configuration as above.
146
819004bb
BK
1472000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
148
149 * acinclude.m4 (AC_LC_MESSAGES): Check for locale.h.
150 * aclocal.m4: Regenerate.
151 * configure: Renerate.
152
66bc5940
BK
1532000-11-20 Benjamin Kosnik <bkoz@redhat.com>
154
155 * mkcheck.in (explanation): Don't paste output of passing compiles
156 into log file. Use -static. Get version info.
157
158 * testsuite/23_containers/vector_ctor.cc (test02): Fix thinko.
159
1602000-11-20 Gabriel Dos Reis <gdr@codesourcery.com>
b555ebaa
GDR
161
162 * include/bits/std_complex.h (complex<double>): Constructor
163 complex<double>::complex(const complex<float>&) is not explicit;
164 since it is a promotion.
165 (complex<long double>): Constructors taking complex<float> and
166 complex<double> are not explicit.
167
5e90dd71
BK
1682000-11-20 Benjamin Kosnik <bkoz@redhat.com>
169
170 * include/bits/std_complex.h: Tweaks, include cmath for abs overloads.
171 * src/complex.cc: Remove cmath include, formatting tweaks, remove
172 dead code.
173 * include/c/bits/std_cmath.h: Formatting tweaks.
174 * testsuite/26_numerics/complex_value.cc: New file, for catching
175 bits gleaned from libstdc++/106.
176
177 * testsuite/23_containers/vector_ctor.cc (test02): Add test from
178 libstdc++/102.
5e90dd71 179
78d58962
JM
1802000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
181
182 * include/bits/c++config, include/bits/ios_base.h,
183 include/bits/std_streambuf.h: Correct spelling of "deprecated".
184
2650255a
MM
1852000-11-19 Mark Mitchell <mark@codesourcery.com>
186
187 * libsupc++/exception_support.cc (__throw_bad_cast): Name it
188 __cxa_bad_cast under the new ABI.
189 (__throw_bad_typeid): Name it __cxa_bad_typeid under the new ABI.
190 * libsupc++/pure.cc (__pure_virtual): Name it __cxa_pure_virtual
191 under the new ABI.
192
f1f0c5a2
MM
1932000-11-18 Mark Mitchell <mark@codesourcery.com>
194
195 * libsupc++/exception_support.h: New header file.
196 * libsupc++/vec.cc: Include it.
197 (__cxa_vec_new2): Recatch exceptions before rethrows.
198 (__cxa_vec_new3): Likewise.
199 (__cxa_vec_ctor): Likewise.
200 (__cxa_vec_cctor): Likewise.
201 (__cxa_vec_dtor): Likewise.
202 (__cxa_vec_delete2): Likewise.
203 (__cxa_vec_delete3): Likewise.
204
c9b6c282
BK
2052000-11-17 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
206
207 * include/bits/stl_tree.h: Overload operators == and != to be able
208 to handle the case (const_iterator,iterator) and
209 (iterator,const_iterator), thus fixing libstdc++/737 and the like.
c55d2670
TP
210 * testsuite/23_containers/map_operators.cc (test02): New tests.
211
8e2d9424
LR
2122000-11-17 Loren J. Rittle <ljrittle@acm.org>
213
214 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Correct last patch
215 to ``make --enable-cstdio=stdio the default''.
216 * libstdc++-v3/aclocal.m4: Rebuilt.
217 * libstdc++-v3/configure: Rebuilt.
218
6414587c
PE
2192000-11-17 Phil Edwards <pme@sources.redhat.com>
220
221 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Move switch statement
222 contents to...
223 * configure.target: ...here. Enable generic atomic ops, and warn.
224 * aclocal.m4: Regenerated.
225 * configure: Ditto.
226 * Makefile.in: Ditto.
227 * libio/Makefile.in: Ditto.
228 * libmath/Makefile.in: Ditto.
229 * libsupc++/Makefile.in: Ditto.
230 * src/Makefile.in: Ditto.
231
5af655cc
LR
2322000-11-16 Loren J. Rittle <ljrittle@acm.org>
233
234 * include/bits/locale_facets.tcc (num_get<_CharT,
235 _InIter>::do_get(...)): Add missing typename keyword.
236
e26cb7ab
MM
2372000-11-16 Mark Mitchell <mark@codesourcery.com>
238
239 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make
240 --enable-cstdio=stdio the default. Disable wide character support
241 in that event.
242 * configure.in: Move GLIBCPP_ENABLE_C_MBCHAR after
243 (GLIBCPP_ENABLE_CSTDIO).
244 * config/c_io_stdio.h: Don't include <libio.h>, don't define
245 __c_wfile_type.
246 * aclocal.m4: Regenerated.
247 * configure: Likewise.
248 * Makefile.in: Likewise.
249 * libio/Makefile.in: Likewise.
250 * libmath/Makefile.in: Likewise.
251 * libsupc++/Makefile.in: Likewise.
252 * src/Makefile.in: Likewise.
253
cdb3cf85
GP
2542000-11-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
255
256 * config/c_io_stdio.h: Include stddef.h.
257
c135a22c
MM
2582000-11-16 Mark Mitchell <mark@codesourcery.com>
259
35ef21d2
MM
260 * config/c_io_stdio.h (streamsize): Make it a typedef for
261 ptrdiff_t.
262 (wstreamsize): Likewise.
263
c135a22c
MM
264 * config/c_io_stdio.h: Include libio.h.
265
c9b6c282 2662000-11-15 Mark P Mitchell <mark@codesourcery.com>
c4d3f801
MM
267
268 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.
269 * src/Makefile.am (libstdc___la_LIBADD): Use it.
270 * aclocal.m4: Regenerated.
271 * configure: Likewise.
272 * Makefile.in: Likewise.
273 * libio/Makefile.in: Likewise.
274 * libmath/Makefile.in: Likewise.
275 * libsupc++/Makefile.in: Likewise.
276 * src/Makfile.in: Likewise.
277
4f12dd3c
MM
2782000-11-15 Mark Mitchell <mark@codesourcery.com>
279
280 * mkcheckin.in: Move check for bash version 2 later in the file.
281
282 * include/bits/basic_string.h (basic_string::_Rep::_S_max_size):
283 Make it const.
284 (basic_string::_Rep::_S_terminal): Likewise.
285 * include/bits/string.tcc (basic_string::_Rep::_S_max_size):
286 Likewise.
287 (basic_string::_Rep::_S_terminal): Likewise.
288
74e1cd25
DB
2892000-11-15 David Billinghurst <David.Billinghurst@riotinto.com>
290
291 * mkcheck.in: Add function size_command() for irix.
292
5b20f7a0
BK
2932000-11-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
294
295 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to
296 initial value.
9f935979
BK
297 (GLIBCPP_EXPORT_INCLUDES): Only export TOPLEVEL_INCLUDES if
298 building a canadian cross. This should fix the remaining java
299 build issues.
5b20f7a0 300 * aclocal.m4: Regenerate.
9f935979 301 * configure: Regenerate.
5b20f7a0
BK
302
303 * include/bits/c++config (__GLIBCPP__): Set release version for 2.91.
304
acfb0fc5
PE
3052000-11-14 Phil Edwards <pme@sources.redhat.com>
306
5b20f7a0
BK
307 * mkcheck.in: On a platform where we don't know how to extract
308 section sizes, just set them to zero. Use old method of reading
309 file contents.
acfb0fc5 310
daa54c4b 3112000-11-13 Loren J. Rittle <ljrittle@acm.org>
5b20f7a0 312
daa54c4b
LR
313 * config/c_io_stdio.h: Don't define __c_wfile_type
314 when _GLIBCPP_USE_WCHAR_T is not defined.
315
d0941a31
PE
3162000-11-13 Phil Edwards <pme@sources.redhat.com>
317
318 * acinclude.m4 (GLIBCPP_CHECK_TARGET): New macro, replacing
5b20f7a0
BK
319 GLIBCPP_CHECK_CPU and GLIBCPP_CHECK_OS, sourcing configure.target.
320 (GLIBCPP_CONFIGURE): Call new macro here.
d0941a31
PE
321 * configure.host: Cleanup.
322 * configure.in: Remove those two macros.
323 * configure.target: New file.
324 * aclocal.m4: Regenerated.
325 * configure: Ditto.
326 * Makefile.in: Ditto.
327 * libio/Makefile.in: Ditto.
328 * libmath/Makefile.in: Ditto.
329 * libsupc++/Makefile.in: Ditto.
330 * src/Makefile.in: Ditto.
331
332 * mkcheck.in: Use libtool. Split things out into functions.
333
b72554f1
APB
3342000-11-12 Alexandre Petit-Bianco <apbianco@cygnus.com>
335
336 * Makefile.am (tmp-libstdsc++.INC:): Do not use -I$(top_builddir).
337 * Makefile.in: Regenerate.
338
fef53cdc
DE
3392000-11-12 David Edelsohn <edelsohn@gnu.org>
340
341 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add test for
342 libiconv.a providing wchar_t support functions.
343 * aclocal.m4: Regenerate.
344
66dfa143
LR
3452000-11-12 Loren J. Rittle <ljrittle@acm.org>
346
347 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle FreeBSD.
348 * aclocal.m4, configure: Rebuilt.
349
84e0b551
BK
3502000-11-12 Brent Verner <brent@rcfile.org>
351
352 * include/c_std/bits/wrap_langinfo.h: New file.
353 * include/c_std/langinfo.h: New file.
354 * include/bits/codecvt.h (__enc_trants::__enc_traits()): Bring in
355 CODESET from _C_legacy::CODESET if using shadow headers.
51d61f86
BV
356 * src/Makefile.am: Add new files.
357 * src/Makefile.in: Regenerate.
358
b5430af6
MM
3592000-11-12 Mark Mitchell <mark@codesourcery.com>
360
81dfdc48
MM
361 * include/c/bits/std_cmath.h (abs): Change extern "C" declaration
362 of `abs (double)' to ...
363 (fabs): this.
364
b5430af6
MM
365 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
366 __EXTENSIONS__.
367
84e0b551 3682000-11-11 Mark P Mitchell <mark@codesourcery.com>
8d8523fe
MM
369
370 * include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
371 when _GLIBCPP_USE_WCHAR_T is not defined.
372
585ddf9c
PE
3732000-11-10 Phil Edwards <pme@sources.redhat.com>
374
375 * include/bits/codecvt.h (__iconv_adaptor): New adaptor function,
376 courtesy of Alexandre Oliva, to handle const/non-const signatures.
377 (codecvt::do_out): Use.
378 (codecvt::do_in): And here.
379
ca6c4418
GDR
3802000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
381
382 * include/bits/cpp_type_traits.h: Fix typos. Adjust formatting.
383
982b8443
GDR
3842000-11-10 Gabriel Dos Reis <gdr@codesourcery.com>
385
386 * include/bits/localefwd.h (_Count_ones<>::_S_halfcount,
387 _Count_ones<>::_S_count): Turn into enumerators.
388
11977a42
MM
3892000-11-08 Mark Mitchell <mark@codesourcery.com>
390
391 * include/bits/codecvt.h (codecvt::do_out): Make it const-correct.
392 (codecvt::do_in): Likewise.
393
02a480f1
DE
3942000-11-08 David Edelsohn <edelsohn@gnu.org>
395
396 * src/locale-inst.cc: Add explicit instantiations of
397 _M_fill_insert and fill_n<..., unsigned long,...> .
398
6e124e38
GDR
3992000-11-06 Gabriel Dos Reis <gdr@codesourcery.com>
400
401 * include/bits/std_complex.h (conj): Undo double removal.
402
aa17a5f3
AO
4032000-11-06 Alexandre Oliva <aoliva@redhat.com>
404
405 * acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
406 alternatives for CXX_libstdcxx, now that it is useless.
407 * aclocal.m4, configure: Rebuilt.
408
f73bbdca
MM
4092000-11-04 Mark Mitchell <mark@codesourcery.com>
410
bb4127f8
MM
411 * acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
412 * aclocal.m4: Regenerated.
413 * configure: Likewise.
414
f73bbdca
MM
415 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix punctuation in
416 use of `test'.
417 * aclocal.m4: Regenerated.
418 * configure: Likewise.
419
de9aefe0
AO
4202000-11-04 Alexandre Oliva <aoliva@redhat.com>
421
422 * acinclude.m4 (CXX): Prevent it from being cached.
423 * aclocal.m4, configure, */Makefile.in: Rebuilt.
424
626d8f0a
PE
4252000-11-03 David Edelsohn <dje@watson.ibm.com>
426
427 * acinclude.m4 (GLIBCPP_CHECK_OS): Add AIX target selecting threads
428 flag based on multilib definition of $CXX.
429 * mknumeric_limits (LDFLAGS): Add AIX target linking with pthreads
430 based on multilib definition of $CXX.
431 * config/os/aix/bits/os_defines.h (_G_USING_THUNKS): Define as 0.
432
4332000-11-03 Phil Edwards <pme@sources.redhat.com>
434
435 * acinclude.m4: Cleanups.
436 * aclocal.m4: Regenerated.
437 * configure: Ditto.
438 * Makefile.in: Ditto.
439 * libio/Makefile.in: Ditto.
440 * libmath/Makefile.in: Ditto.
441 * libsupc++/Makefile.in: Ditto.
442 * src/Makefile.in: Ditto.
443
444 * docs/install.html: Removal of EGCS.
445 * docs/23_containers/wrappers_h.txt: Likewise.
446 * docs/faq/index.html: Likewise.
447 * docs/faq/index.txt: Regenerated.
448 * docs/thanks.html: More people.
449
50149aa9
DE
4502000-11-03 David Edelsohn <edelsohn@gnu.org>
451
452 * include/c/bits/std_cwchar.h: Undefine macro that conflicts
453 with function name defined in this file.
454
11d6fb54
MM
455Thu Nov 2 23:19:20 2000 Mark P Mitchell <mark@codesourcery.com>
456
457 * include/c/bits/std_cctype.h: Undefine macros that conflict
458 with function names defined in this file.
459 * include/c/bits/std_cstdio.h: Likewise.
460
5a0b0c7a
MM
4612000-11-02 Mark Mitchell <mark@codesourcery.com>
462
463 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.
464
7d3b1e8d
MM
465Thu Nov 2 10:11:45 2000 Mark P Mitchell <mark@codesourcery.com>
466
dbf5ba31
MM
467 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Add support for IRIX.
468 * aclocal.m4: Regenerated.
469 * Makefile.in: Regenerated.
470 * libio/Makefile.in: Likewise.
471 * libmath/Makefile.in: Likewise.
472 * libsupc++/Makefile.in: Likewise.
473 * src/Makefile.in: Likewise.
474 * configure: Likewise.
475 * config/os/irix/bits/ctype_base.h: Revise.
476 * config/os/irix/bits/ctype_inline.h: Likewise.
477 * config/os/irix/bits/ctype_noninline.h: Likewise.
478
479 * testsuite/22_locale/codecvt_unicode_char.cc: Don't run it
480 if not _GLIBCPP_USE_WCHAR_T.
481 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
482 * testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
483 * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
484
485 * mkcheck.in: Fix echoing of -rpath option.
486
7d3b1e8d
MM
487 * config/os/irix/bits/atomicity.h (_Atomic_word): Make it a
488 signed type.
489 (__exchange_aand_add): Adjust accordingly.
490 (__atomic_add): Likewise.
491
d83c7eb4
BK
4922000-11-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
493
494 * src/locale.cc: Match orderings for static members.
495 * include/bits/fstream.tcc: Fixes for cin.
496
c9871410
GDR
4972000-11-02 Gabriel Dos Reis <gdr@codesourcery.com>
498
499 * include/bits/std_complex.h (complex<>): Remove (cos<>, cosh<>,
500 exp<>, log<>, log<>, sin, sinh<>) friend declarations.
501 (cos, cosh, sin, sinh): Define primary templates.
502
503 * src/complex.cc (cos<>, cosh<>, sin<>, sinh<>): Comment out
504 definitions.
505
9717c75c
BK
5062000-11-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
507
508 * bits/basic_file.h (_M_open_mode): Change signature, move
509 specializations to..
510 * config/c_io_libio.cc: ...here.
511 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add sdtio option, remove wince.
512 * aclocal.m4: Regenerate.
513 * configure: Regenerate.
514 * config/c_io_stdio.h: New file.
515 * config/c_io_stdio.cc: New file.
516 * docs/configopts.html: Modify documentation.
517
49ba75d2
BK
5182000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
519
520 * include/c/bits/std_cwctype.h: Add more undefs.
521
99fa3f5e
GDR
5222000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
523
524 * include/bits/std_complex.h (norm): Forward declare.
525 (complex<>): Comment out friend declaration of conj<>.
526 (conj<>): Comment out specialization.
527 (exp, log, log10): Define primary templates.
528
529 * src/complex.cc (exp<>, log<>, log10<>): Comment out
530 specializations.
531
bc359d3a
BK
5322000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
533
534 * include/bits/std_complex.h: Remove duplicate definition of conj.
535 * include/c/bits/std_cwctype.h: Consistent placement of undefs.
536
e541461a
GDR
5372000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
538
539 * src/complex.cc (arg, polar): Comment out specializations.
540
541 * include/bits/std_complex.h (complex<>): Remove arg<> friend
542 declaration.
543 (arg): Define primary template.
544 (polar): Likewise.
545 (conj): Likewise.
546
89b78169
GDR
5472000-10-31 Gabriel Dos Reis <gdr@codesourcery.com>
548
549 * include/c/bits/std_cwctype.h: #undef possible function-like
550 macro definitions of iswxxx functions, which might be brought in
551 by <wctype.h>. Those macro definitions prevent build on some
552 linux-based systems.
553
554 * include/bits/std_complex.h (complex<>): Comment out friend
555 declarations of abs<> specializations.
556 (abs): Define primary template.
557
558 * src/complex.cc (abs): Comment out specialization definition.
559
34791641
PE
5602000-10-30 Phil Edwards <pme@sources.redhat.com>
561
562 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Raise debugging level from
563 the default of 2 to 3.
564 * configure.in: Fix minor typos. SUBST the values of enable_shared
565 and enable_static so that mkcheck will be aware of them. Put the
566 test for gconv.h in with all the other header tests.
567 * aclocal.m4: Regenerate.
568 * configure: Ditto.
569 * Makefile.in: Ditto.
570 * libio/Makefile.in: Ditto.
571 * libmath/Makefile.in: Ditto.
572 * libsupc++/Makefile.in: Ditto.
573 * src/Makefile.in: Ditto.
574
575 * config/os/solaris/solaris2.7/bits/os_defines.h: Define
576 _G_USING_THUNKS to 0.
577
4bc95009
BK
5782000-10-30 Benjamin Kosnik <bkoz@redhat.com>
579
580 * src/complex_io.cc : Remove ancient defines.
581 * config/os/gnu-linux/bits/os_defines.h: Add defines.
582 * libsupc++/tinfo2.cc: Change to cstddef.
583
584 * include/bits/codecvt.h: Add include of c++config.h, so that
585 __USE_GNU gets defined. (Important for alpha.)
586
587 * include/c/bits/std_cwctype.h: Same.
588 * include/c/bits/std_ctime.h: And here.
589 * include/c/bits/std_cstdarg.h: Same.
590 * include/c/bits/std_csignal.h: Same.
591 * include/c/bits/std_csetjmp.h: Same.
592 * include/c/bits/std_clocale.h: Same.
593 * include/c/bits/std_climits.h: Touch.
594 * include/c/bits/std_cfloat.h: Same.
595 * include/c/bits/std_cerrno.h: Same.
596 * include/c/bits/std_cwchar.h: Same.
597 * include/c/bits/std_cassert.h: Same.
598 * include/c/bits/std_cctype.h: Same.
599 * include/c/bits/std_cstddef.h: And here.
600 * include/c/bits/std_cstdlib.h: And here.
601 * include/c/bits/std_cstdio.h: Same.
602 * include/c/bits/std_cstring.h: Add names to namespace std::.
603
604 * include/bits/c++config (_GNU_SOURCE): Move linux-specific macros
605 from here...
606 (_ISOC99_SOURCE): And this one....
607 * config/os/gnu-linux/bits/os_defines.h: ...to here.
608
609 * include/bits/codecvt.h (codecvt<_InternT, _ExternT,
610 __enc_traits>::do_in): Don't cast to const, this is a bug in glibc
611 prior to 2.2.
612 (codecvt<_InternT, _ExternT, __enc_traits>::do_out): Same.
613 * include/c/bits/std_cwchar.h: Add using declarations for mbstate_t.
614
6152000-10-30 Steven King <sxking@uswest.net>
616
617 * include/bits/codecvt.h: Add cast.
618 * include/c_std/stdio.h: Re-add printf using declaration.
619 * include/c_std/bits/std_cstdio.h: Same
620 * testsuite/22_locale/codecvt_wchar_t_char.cc: Fixup testsuite.
621 * testsuite/22_locale/ctor_copy_dtor.cc: Same.
622 * testsuite/22_locale/facet.cc: Same.
623 * testsuite/22_locale/global_templates.cc: Same.
624 * testsuite/22_locale/operators.cc: Same.
625 * testsuite/22_locale/static_members.cc: Same.
626 * testsuite/26_numerics/c_math.cc: Same.
627 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
628 * testsuite/27_io/fpos.cc: Same.
629 * testsuite/27_io/istream_extractor_arith.cc: Same.
630 * testsuite/27_io/istream_unformatted.cc: Same.
631 * testsuite/27_io/ostream_inserter_arith.cc: Same.
632 * testsuite/27_io/streambuf.cc: Same.
633
b4b2a487
MM
6342000-10-30 Mark Mitchell <mark@codesourcery.com>
635
636 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Check
637 for cabs, cabsf, and cabsl, too.
638 * aclocal.m4: Regenerated.
639 * config.h.in: Likewise.
640 * configure: Likewise.
641 * libmath/Makefile.am (libmath_la_SOURCES): Remove cabs.c and
642 cabsf.c.
643 * libmath/Makefile.in: Regenerated.
644 * libmath/complex-stub.h (cabs): Don't declare if the system
645 already provides this function.
646 (cabsf): Likewise.
647 (cabsl): Likewise.
648 * src/complex.cc (abs): Directly use `hypot' since we can't call
649 cabs on IRIX.
650
747dcaf1
JM
6512000-10-30 Joseph S. Myers <jsm28@cam.ac.uk>
652
653 * acinclude.m4: Update URL on egcs.cygnus.com to point to
654 gcc.gnu.org.
655 * aclocal.m4, configure: Regenerate.
656 * src/gen-num-limits.cc, include/bits/c++config,
657 include/bits/stl_config.h: Remove EGCS references.
658
23d3495f
MM
6592000-10-29 Mark Mitchell <mark@codesourcery.com>
660
661 * mkcheck.in (test_file): Use -rpath, rather than --rpath, when
662 building shared executables.
663
5e53dba6
BK
6642000-10-29 Mark Harig <mharig@landmark.com>
665
666 * src/Makefile.am: Change logic for include dir options.
667 * src/Makefile.in: Regenerate.
668 * libsupc++/Makefile.am: Ditto.
669 * libsupc++/Makefile.in: Regenerate.
670
6712000-10-29 Benjamin Kosnik <bkoz@redhat.com>
672
673 * configure.in: Simplify use of AC_CACHE_SAVE. Put linked files
674 in $(top_builddir)/include/bits, not $(top_builddir)/bits, to help
675 with libgcj build issues and improve consistency with the source
676 directory's include directory setup.
677 * configure: Regenerate.
678 * acinclude.m4: Same here.
679 * aclocal.m4: Regenerate.
680 * mknumeric_limits (OUT_H): Also change paths here.
681 * mkcheck.in (C_DIR): And here.
682 * mkc++config (OUT_H): And here.
683 * libmath/Makefile.am (INCLUDES): And here.
684 * src/Makefile.am (INCLUDES): Change to $(top_builddir)/include.
685 * libio/Makefile.am: Ditto.
686 * libsupc++/Makefile.am (INCLUDES): Ditto.
687
2f974bd2
MM
6882000-10-29 Mark Mitchell <mark@codesourcery.com>
689
3c97056f
MM
690 * config/c_io_libio.cc (basic_file<char>::__basic_file):
691 Don't pass a NULL _IO_wide_data to _IO_no_init when
692 _GLIBCPP_USE_WCHAR_T is not defined.
693 * config/c_io_libio.h (_IO_codecvt): Don't declare when
694 _GLIBCPP_USE_WCHAR_T is not defined.
695 * config/c_io_libio_codecvt.c: Don't compile it
696 when _GLIBCPP_USE_WCHAR_T is not defined.
697 * include/bits/codecvt.h (codecvt<_InternT, _ExternT, __enc_traits):
698 Don't define this specialization when _GLIBCPP_USE_WCHAR_T
699 is not defined.
700 * include/bits/locale_facets.h (<bits/std_cwctype.h>): Don't
701 include it when _GLIBCPP_USE_WCHAR_T is not defined.
702 * src/codecvt.cc (__enc_traits::_S_max_size): Don't define
703 when _GLIBCPP_USE_WCHAR_T is not defined.
704 * src/localename.cc (locale::_Impl::_M_construct_collate):
705 Don't call wide-character functions when _GLIBCPP_USE_WCHAR_T is
706 not defined.
707 (locale::_Impl::_M_construct_ctype): Likewise.
708 (locale::_Impl::_M_construct_monetary): Likewise.
709 (locale::_Impl::_M_construct_numeric): Likewise.
710 (locale::_Impl::_M_construct_time): Likewise.
711 (locale::_Impl::_M_construct_messages): Likewise.
712
713 * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle IRIX.
9ece5af6
MM
714 * aclocal.m4: Regenerated.
715 * configure: Likewise.
2f974bd2
MM
716 * config/os/irix/bits/atomicity.h: New file.
717 * config/os/irix/bits/os_defines.h (_POSIX_SOURCE): Undefine.
718 (__off_t): Define.
719 (__off64_t): Likewise.
720 (__ssize_t): Likewise.
721 (_G_USING_THUNKS): Define to zero.
722
cea1f697
MM
7232000-10-28 Mark Mitchell <mark@codesourcery.com>
724
725 * src/string-inst.cc (basic_string<C>::npos): Explicitly
726 instantiate it.
727
e7140677
BK
7282000-10-26 Benjamin Kosnik <bkoz@redhat.com>
729
730 * include/c/bits/std_cmath.h: Fix double declarations in namespace std.
731
732 Clean up naming, consistency in "C" library autoconf testing.
733 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): For consistency, change to
734 GLIBCPP_CHECK_CTYPE_SUPPORT.
735 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add.
736 * aclocal.m4: Regenerate.
737 * configure.in: And here.
738 Add call to GLIBCPP_CHECK_STDLIB_SUPPORT.
739 * configure: Regenerate.
740
7412000-10-26 David Edelsohn <edelsohn@gnu.org>
742
743 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_2): New macro.
744 (GLIBCPP_CHECK_MATH_SUPPORT): Use it to test for strtold.
745
7462000-10-26 Phil Edwards <pme@sources.redhat.com>
747 David Edelsohn <dje@watson.ibm.com>
748
749 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
750 --gc-sections stuff entirely to avoid misleading people.
751 (GLIBCPP_ENABLE_CSTDIO): Merge need_libio and need_xtra_libio.
752 * libio/Makefile.am (LIBIO_SRCS,LIBIO_WSRCS,LIBIO_XTRA_SRCS):
753 Rearrange and merge.
754 * libio/libio.h: Simplify, make fewer assumptions. Define those
755 macros which must be defined.
756 * config/os/solaris/solaris2.7/bits/os_defines.h: Simplify as a
757 result.
758
140c3b7e
MM
7592000-10-26 Mark Mitchell <mark@codesourcery.com>
760
761 * include/backward/streambuf.h: New file.
762
a69135b8
DE
7632000-10-26 David Edelsohn <dje@watson.ibm.com>
764
765 * config/os/aix/bits/ctype_inline.h (is): Use __OBJ_DATA directly.
766 * config/os/aix/bits/ctype_noninline.h (do_tolower): Fix typo.
767 * config/os/aix/bits/os_defines.h: Add AIX defines.
768
eae7a9fa
BK
7692000-10-26 Benjamin Kosnik <bkoz@redhat.com>
770
771 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Remove.
772 * aclocal.m4: Regenerate.
773 * configure.in: Remove GLIBCPP_ENABLE_LONG_DOUBLE.
774 * configure: Regenerate.
775 * docs/configopts.html: Remove.
776 * src/complexl.cc: Revert.
777 * config.h.in: Remove.
778 * include/c_std/bits/std_cmath.h: Remove guards based on
779 _GLIBCPP_USE_LONG_DOUBLE.
780 * include/c/bits/std_cmath.h: Same. Format. Match c_std behavior
781 with respect to long double signatures.
782
783 * config/os/aix/bits/ctype_noninline.h (ctype): Remove throw
784 specification.
785 * config/os/newlib/bits/ctype_noninline.h (ctype): And here.
786 * config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
787 * config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
788 * config/os/generic/bits/ctype_noninline.h (ctype): Same.
789 * config/os/bsd/bits/ctype_noninline.h (ctype): Same.
790
95faa9a1
GDR
7912000-10-26 Gabriel Dos Reis <gdr@codesourcery.com>
792
793 * include/bits/std_valarray.h (valarray::valarray): Fix thinko.
794 Use __valarray_copy_construct only where appropriate.
795
be5aeb60
MM
7962000-10-25 Mark Mitchell <mark@codesourcery.com>
797
798 * Makefile.in (check): Don't make mkcheck executable.
799 (check-install): Likewise.
800 * configure.in (AC_OUTPUT): Make mkcheck executable.
801 * mkcheck.in (top_srcdir): New variable.
802 (INC_PATH): Set the path to the backward and ext directories
803 correctly.
804
dfb1d76f
PE
8052000-10-25 Phil Edwards <pme@sources.redhat.com>
806
807 * configure.in: Check for gconv.h.
808 * libio/wfileops.c: Wrap gconv.h in HAVE_GCONV_H.
809
810 * config/c_io_libio_codecvt.c: Change __mbstate_t to __c_mbstate_t.
811 * libio/_G_config.h: And here.
812 * libio/iofwide.c: And here.
813 * libio/libio.h: And here.
814
815 * config/os/solaris/solaris2.7/bits/ctype_noninline.h: Remove
816 exception specification to match declaration.
817 * include/bits/locale_facets.tcc: Include bits/std_clocale.h.
818
1ac41449
MH
8192000-10-24 Mark Harig <mharig@landmark.com>
820
821 * docs/configopts.html: Added documentation for the
822 "--enable-version-specific-runtime-libs" and
823 "--with-gxx-include-dir" configuration switches.
824
8b8ab21c
BK
8252000-10-24 Benjamin Kosnik <bkoz@redhat.com>
826
827 * include/bits/stl_pair.h (make_pair): Add LWG solution.
828
829 * testsuite/21_strings/compare.cc (test01): Inject namespace std
830 into the mix.
831
832 * mkcheck.in (MAX_MEM_USAGE): Bump up to 3072. Strangely enough,
833 this works.
834
8352000-10-24 Levente Farkas <lfarkas@mindmaker.hu>
836
837 * include/bits/std_bitset.h (_M_do_find_next): Fix typo.
838
8392000-10-24 Phil Edwards <pme@sources.redhat.com>
840
841 * acconfig.h: List _GLIBCPP_USE_THREADS.
842 * acinclude.m4: General formatting cleanup (tabs/spaces), typo
843 correction, etc. Add comments about following *real* changes
844 where they are used.
845 (GLIBCPP_ENABLE_C_MBCHAR): New test...
846 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): ...results used here.
847 (GLIBCPP_ENABLE_CSTDIO): Define need_wlibio iff wide characters
848 are requested.
849 (GLIBCPP_ENABLE_THREADS): If threads are used, define new
850 macro _GLIBCPP_USE_THREADS in c++config.h.
851 (GLIBCPP_ENABLE_SHADOW): For C_INCLUDE_DIR, change () to {} as
852 this is used in both makefiles and shell scripts (mkcheck).
853 * configure.in: Call GLIBCPP_ENABLE_C_MBCHAR.
854
855 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USE_THREADS.
856 * config/c_io_libio.h: In nonthreaded case, typedef __c_lock to
857 something harmless, like int.
858
859 * config/os/aix/bits/os_defines.h: Guard with _GLIBCPP_OS_DEFINES,
860 add comment/instructions.
861 * config/os/bsd/bits/os_defines.h: Ditto.
862 * config/os/generic/bits/os_defines.h: Ditto.
863 * config/os/gnu-linux/bits/os_defines.h: Ditto.
864 * config/os/irix/bits/os_defines.h: Ditto.
865 * config/os/newlib/bits/os_defines.h: Ditto.
866 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
867 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
868
869 * mkcheck.in: Limit the available heap size for testsuite
870 binaries, initially at 2MB.
871
23d3495f
MM
8722000-10-23 Benjamin Kosnik <bkoz@redhat.com>
873
874 * testsuite/21_strings/compare.cc (test01): Add using declarations.
875
876 * include/c_std/bits/std_cerrno.h: And here.
877 * include/c_std/bits/std_cassert.h: Tweaks.
878
879 * mkcheck.in: Simplify.
880
881 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
882 (GLIBCPP_ENABLE_LONG_LONG): Same.
883 * aclocal.m4: Regenerate.
884
885 * src/Makefile.am (c_shadow_headers): Add features.h,
886 bits/wrap_features.h.
887 * src/Makefile.in: Regenerate.
888 * include/c_std/features.h: New file.
889 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
890 file. Need to have c++config.h included before this file so
891 _ISOC99_SOURCE around.
892
893 * include/c_std/sys/cdefs.h: Hack.
894 * include/c_std/stdlib.h: Same, use c++config.h.
895 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
896
897 * include/c_std/bits/std_cassert.h: Fix.
898 * include/c_std/bits/std_cerrno.h: Make consistent.
899
900 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
901 declaration from ::_C_legacy to _C_legacy.
902
903 * include/c_std/bits/std_cstdio.h: same with printf.
904 * include/c_std/stdio.h: And here.
905
906 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
907 * include/c_std/stdlib.h: Same here.
908
dcc41852
BK
9092000-10-23 Benjamin Kosnik <bkoz@redhat.com>
910
911 * testsuite/21_strings/compare.cc (test01): Add using declarations.
912
913 * include/c_std/bits/std_cerrno.h: And here.
914 * include/c_std/bits/std_cassert.h: Tweaks.
915
916 * mkcheck.in: Simplify.
917
918 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
919 (GLIBCPP_ENABLE_LONG_LONG): Same.
920 * aclocal.m4: Regenerate.
921
922 * src/Makefile.am (c_shadow_headers): Add features.h,
923 bits/wrap_features.h.
924 * src/Makefile.in: Regenerate.
925 * include/c_std/features.h: New file.
926 * include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
927 file. Need to have c++config.h included before this file so
928 _ISOC99_SOURCE around.
929
930 * include/c_std/sys/cdefs.h: Hack.
931 * include/c_std/stdlib.h: Same, use c++config.h.
932 * include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.
933
934 * include/c_std/bits/std_cassert.h: Fix.
935 * include/c_std/bits/std_cerrno.h: Make consistent.
936
937 * include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
938 declaration from ::_C_legacy to _C_legacy.
939
940 * include/c_std/bits/std_cstdio.h: same with printf.
941 * include/c_std/stdio.h: And here.
942
943 * include/c_std/bits/std_cstdlib.h: abort, exit comment.
944 * include/c_std/stdlib.h: Same here.
945
6b76f569
BK
9462000-10-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
947
9fedcfd5
BK
948 * acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): New macro.
949 * aclocal.m4: Regenerate.
950 * configure.in: Use it.
951 * configure: Regenerate.
952 * src/complexl.cc: Fixup.
953 * include/c_std/bits/std_cmath.h: Fixup.
954 * include/c/bits/std_cmath.h: Fixup.
fac04553 955 * docs/configopts.html: Add docs.
9fedcfd5 956
6b76f569
BK
957 * docs/links.html: Add links to defects list, standards FAQ.
958
959 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Disable tests
960 with string creation that allocate huge ammounts of memory.
961
962 * include/c/bits/std_cstddef.h: Put size_t, ptrdiff_t in
963 namepace std.
964
9652000-10-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
966
967 * libsupc++/exception.cc: Use namespace std.
968 * libsupc++/new: DITTO.
969 * libsupc++/new_op.cc: DITTO.
970 * libsupc++/new_opnt.cc: DITTO.
971 * libsupc++/new_opv.cc: DITTO.
972 * libsupc++/new_opvnt.cc: DITTO.
973 * libsupc++/tinfo.cc: DITTO.
974 * libsupc++/tinfo.h: DITTO.
975 * libsupc++/vec.cc: DITTO.
976 * libsupc++/Makefile.am: Blank lines removal.
977
d73b0bcf
JM
9782000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
979
980 * docs/configopts.html, docs/install.html, docs/17_intro/BADNAMES,
981 docs/17_intro/howto.html, docs/18_support/howto.html,
982 docs/19_diagnostics/howto.html, docs/20_util/howto.html,
983 docs/21_strings/howto.html, docs/22_locale/howto.html,
984 docs/23_containers/howto.html, docs/24_iterators/howto.html,
985 docs/25_algorithms/howto.html, docs/26_numerics/howto.html,
986 docs/27_io/howto.html, docs/ext/howto.html, docs/faq/index.html:
987 Remove many EGCS references; use current absolute URLs on
988 gcc.gnu.org or sources.redhat.com for messages in list archives.
989 * docs/faq/index.txt: Regenerate.
990
7dc08a20
BK
9912000-10-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
992
993 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Adjust
994 creation of state_type for unicode_codecvt to take into account
995 the byte order markings. Add distinct tests for UCS-2BE and UCS-2LE.
996 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Same.
997 * include/bits/codecvt.h (__enc_traits): Add support for encodings
998 that need a byte order marker. Needed for correct unicode support.
999
1000 * src/locale.cc: Remove explicit qualification std::.
1001 (locale::locale(const char* __name)): Revert, as named locale
1002 support not finished.
1003 * src/localename.cc (locale::_Impl:: _Impl(size_t __numfacets,
1004 size_t __refs, bool __has_name = false, string __name): Move
1005 default argument...
1006 * include/bits/localefwd.h: Here.
1007
b0166fda
CS
10082000-10-18 Chip Salzenberg <chip@valinux.com>
1009
1010 * libio/libio.h (_IO_USER_LOCK): Define.
1011
7dc08a20 10122000-10-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
697649ea
BK
1013
1014 * libsupc++/Makefile.am (exception): Change exception.cc to
1015 exception_support.cc.
1016 (CXXLINK): Remove bogus --tag CC.
1017 * libsupc++/Makefile.in: Regenerate.
1018 * libsupc++/exception.cc: Move to...
1019 * libsupc++/exception_support.cc: ...here.
1020
1021 * src/Makefile.am: Remove bogus --tag CC.
1022 * src/Makefile.in: Regenerate.
1023
1024 * include/bits/locale_facets.tcc (use_facet): Simplify.
1025 * include/bits/locale_facets.h (use_facet<ctype<char> >): Correct
1026 use_facet declaration. Replace 'const ctype<T>' with ctype<T>.
1027 (use_facet<ctype<wchar_t> >): Same.
1028 * src/locale-inst.cc: Remove explicit instantiation.
1029 * src/locale.cc: Correct signature here too.
1030 (_Bad_use_facet::what()): Correct error string.
1031 * include/bits/localefwd.h: Correct comment.
1032
1033 * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
1034
10352000-10-17 Martin Buchholz <martin@xemacs.org>
189244a4
MB
1036
1037 * testsuite/27_io/istream_seeks.cc: Fix spelling typo.
1038 * testsuite/27_io/ostream_seeks.cc: Similarly.
1039
a9117427
BK
10402000-10-17 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1041
1042 via Alexandre Oliva <aoliva@redhat.com>
1043 * libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
1044 * libsupc++/Makefile.in: Regenerate.
1045 * src/Makefile.am: Duplicate code.
1046 * src/Makefile.in: Regenerate.
1047
1048 * acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
1049 * aclocal.m4: Regenerate.
1050 * configure.in: And here.
1051 * configure: Regenerate.
1052
1053 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
1054 test for SECTION_LDFLAGS.
1055
9ece379a
BK
10562000-10-16 Benjamin Kosnik <bkoz@gnu.org>
1057
1058 Shadow headers would work if libsupc++ was strict about namespaces.
1059 This only possible if g++ maps std::size_t -> size_t. (Hint hint.)
1060 * include/c_std/assert.h: Add guards.
1061 * include/c_std/bits/std_climits.h: Correct typo.
1062 * include/c_std/ctype.h: Remove #error.
1063
1064 * libio/libioP.h: Break up extern "C" bits around includes.
1065 * libio/libio.h: Only include C headers, or else _C_legacy namespaces
1066 will be nested.
1067 * libio/libioP.h: Same here.
1068
10692000-10-15 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1070
1071 * include/c_std/unistd.h: Define some types only when defined in
1072 the original unistd.h.
1073 * include/c_std/bits/std_cstddef.h: Explicitly ask for the
1074 definition of size_t, ptrdiff_t and NULL.
1075 * include/c_std/bits/wrap_unistd.h: Blank lines removal.
1076
60ade935
PE
10772000-10-15 Phil Edwards <pme@sources.redhat.com>
1078
1079 * docs/configopts.html: Remove libgcc-rebuild; HTML formatting.
1080
1fd2f510
BK
10812000-10-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1082 Mark Harig <markh@landmark.com>
1083
1084 * src/Makefile.am (toolexeclibdir): Add support fo
1085 VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
1086 * src/Makefile.in: Regenerate.
1087 * libsupc++/Makefile.am: Same.
1088 (glibcppinstalldir): Adjust.
1089 * libsupc++/Makefile.in: Regenerate.
1090 * Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
1091 * Makefile.in: Regenerate.
1092 * docs/configopts.html: Add descriptions of flags.
1093
e466dc8a
BK
10942000-10-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1095
1096 * libsupc++/Makefile.am: Use it.
1097 * libio/Makefile.am: Use it.
1098 * libmath/Makefile.am: Use it.
1099 * src/Makefile.am: Use it.
1100 * Makefile.am (AM_MAKEFLAGS): Remove includes.
1101
1102 * acinclude.m4 (GLIBCPP_EXPORT_INCLUES): Move include macros here.
1103 (GLIBCPP_EXPORT_FLAGS): Move CXX flag setting here.
1104 * configure.in: Use it.
1105
1106 * mkcheck.in (SRC_DIR): Use C_INCLUDE_DIR.
b1e53318
BK
1107
1108 * src/Makefile.am (CXXCOMPILE): Remove.
1109 * src/Makefile.in: Regenerate.
1110 * libsupc++/Makefile.am (CXXCOMPILE): Same here.
1111 * libsupc++/Makefile.in: Regenerate.
1112
82271b8c
BK
1113 * include/c_std/*: Merge with shadow.
1114 * include/c_std/bits/*: Same.
1115
1116 * shadow: Remove directory.
1117 * shadow/*: De-populate.
1118
a3cfd96a
PE
11192000-10-11 Phil Edwards <pme@sources.redhat.com>
1120
1121 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
1122 exception-throwing code for linker test.
1123 * aclocal.m4: Regenerate.
1124 * configure: Regenerate.
1125
a6863e25
BK
11262000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1127
1128 * Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
1129 * libsupc++/include: Remove
1130 * libsupc++/include/*: Move to ...
1131 * libsupc++: Here.
1132 * libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
1133 (glibcppinstalldir): New.
1134
1135 * src/Makefile.am (c_base_headers): New.
1136 (c_shadow_headers): New
1137 (c_headers): New.
1138 (myinstallheaders): Correct install issues.
1139 * src/Makefile.in: Regenerate.
1140
1141 * Makefile.am (CSHADOW_INCLUDES): Simplify.
1142 * Makefile.in: Regenerate.
1143 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
1144 * aclocal.m4: Regenerate.
1145 * mkcheck.in (SRC_DIR): Use it.
1146
1147 * include/bits/std_stdexcept.h: And here.
1148 * include/bits/std_ios.h: Change std_exception.h to exception.
1149 * src/locale.cc: And here.
1150 * src/locale-inst.cc: And here.
1151
1152 * include/bits/valarray_array.h: And here.
1153 * include/bits/stl_alloc.h: And here.
1154 * include/bits/stl_algobase.h: And here.
1155 * include/bits/pthread_allocimpl.h: And here.
1156 * include/bits/stl_construct.h: Change to std_new.h to new.
1157
1158 * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.
1159
1160 * src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
1161 (headers): Remove duplicated headers.
1162 (std_headers): And here.
1163 * src/Makefile.in: Regenerate.
1164 * libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
1165 * libsupc++/Makefile.in: Regenerate.
1166 * Makefile.am (LIBSUPCXX_INCLUDES): Add here.
1167 (AM_MAKEFLAGS): And here.
1168 * Makefile.in: Regenerate.
1169 * include/bits/std_typeinfo.h: Remove.
1170 * include/bits/std_new.h: Remove
1171 * include/bits/std_exception.h: Remove.
1172 * std/new: Remove.
1173 * std/typeinfo: Remove.
1174 * std/exception: Remove.
1175
1176 * libio/_G_config.h (__need_ptrdiff_t): Add.
1177
1178 * libsupc++/include/new: Change stddef.h to cstddef.
1179 * libsupc++/tinfo.h: Change limits.h to climits.
1180 * libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
1181 renders the file uncompilable. Add copyright.
1182
1183 * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
1184 namespace, as it is a fundamental type.
1185
3734420f
RH
11862000-10-09 Richard Henderson <rth@cygnus.com>
1187
1188 * libsupc++/pure.cc: New file.
1189 * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
1190 (sources): Add pure.cc.
1191 * libsupc++/Makefile.in: Regenerate.
1192
3ec840ea 11932000-10-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
0b8e0cf3
BK
1194
1195 * docs/configopts.html: Edit.
1196
1197 * libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
1198 * libio/Makefile.in: Regenerate.
1199 * libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
1200 * libmath/Makefile.in: Regenerate.
1201 * libsupc++/Makefile.am (INCLUDES): Remove duplicate.
1202 * libsupc++/Makefile.in: Regenerate.
1203
1204 * Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
1205 TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
1206 CSHADOW_INCLUDES up here.
1207 * Makefile.in: Regenerate.
1208 * src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
1209 for shadow headers.
1210 (myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
1211 Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
1212 LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
1213 * src/Makefile.in: Regenerate.
1214
1215 * include/c: New directory.
1216 * include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
1217 std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
1218 std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
1219 std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
1220 std_cwchar.h, std_cwctype.h): Add, moving from...
1221 * include/bits: ...here.
1222 * include/c_std: New directory.
1223 * include/c_std/bits/*: Populate from...
1224 * shadow: ...here. Remove directory.
1225
1364053c
BK
12262000-10-08 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1227
1228 * libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
1229 (INCLUDES): Add glibcpp_includedir.
1230 * libsupc++/Makefile.in: Regenerate.
1231
1232 * acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
1233 * aclocal.m4: Regenerate.
1234 * config/os/*/bits/os_defintes: Adjust copyright dates.
1235
79b425c6
PE
12362000-10-08 Phil Edwards <pme@sources.redhat.com>
1237
1238 * include/bits/c++config: Include <bits/os_defines.h>
1239 * config/os/aix/bits/os_defines.h: New file.
1240 * config/os/bsd/bits/os_defines.h: Ditto.
1241 * config/os/generic/bits/os_defines.h: Ditto.
1242 * config/os/gnu-linux/bits/os_defines.h: Ditto.
1243 * config/os/irix/bits/os_defines.h: Ditto.
1244 * config/os/newlib/bits/os_defines.h: Ditto.
1245 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
1246 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
1247 * config/os/solaris/solaris2.7/bits/os_defines.h: Ditto.
1248
e974e9cc
BK
12492000-10-07 David Edelsohn <dje@watson.ibm.com>
1250
1251 * config/os/aix/bits/atomicity.h: New file.
1252
58ad9ee0
BK
12532000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1254
1255 * acinclude.m4: Remove CPU_FLAGS
1256 * libio/Makefile.am: Here too.
1257 * Makefile.am: Here too.
1258
1259 * src/Makefile.am (CONFIG_INCLUDES): Remove.
1260 (INCLUDES): Remove CONFIG_INCLUDES.
1261 (cpu_headers): Remove.
1262 (myinstallheaders): Remove cpu_headers.
1263 (generated_headers): Rename to build_headers.
1264 (build_headers): Add atomicity.h, ctype_base.h,
1265 ctype_specializations.h.
1266
1267 * config/os: New directory.
1268 * config/aix: Move to...
1269 * config/bsd: Move to...
1270 * config/generic: Move to...
1271 * config/gnu-linux: Move to...
1272 * config/irix: Move to...
1273 * config/newlib: Move to...
1274 * config/solaris: Move to...
1275 * config/os/*: Here.
1276
e974e9cc
BK
12772000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1278
1279 * acinclude.m4: Remove CPU_FLAGS
1280 * libio/Makefile.am: Here too.
1281 * Makefile.am: Here too.
1282
1283 * src/Makefile.am (CONFIG_INCLUDES): Remove.
1284 (INCLUDES): Remove CONFIG_INCLUDES.
1285 (cpu_headers): Remove.
1286 (myinstallheaders): Remove cpu_headers.
1287 (generated_headers): Rename to build_headers.
1288 (build_headers): Add atomicity.h, ctype_base.h,
1289 ctype_specializations.h.
1290
1291 * config/os: New directory.
1292 * config/aix: Move to...
1293 * config/bsd: Move to...
1294 * config/generic: Move to...
1295 * config/gnu-linux: Move to...
1296 * config/irix: Move to...
1297 * config/newlib: Move to...
1298 * config/solaris: Move to...
1299 * config/os/*: Here.
1300
c7053b70
BK
13012000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1302
1303 * src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
1304 CONFIG_CXXFLAGS from here, and move to...
1305 * src/Makefile.in: Regenerate.
1306 * Makefile.am: ... here. Clean.
1307 (OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
1308 (WARN_CXXFLAGS): Same.
1309 (CONFIG_CXXFLAGS): Same.
1310 * Makefile.in: Regenerate.
1311 * libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
1312 WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
1313 * libsupc++/Makefile.in: Regenerate.
1314
1315 Change math to libmath.
1316 * math: Move to libmath, delete.
1317 * libmath: New directory.
1318 * libmath/*: Populate.
1319 * src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
1320 (libstdc___la_LIBADD): Same.
1321 * src/Makefile.in: Regenerate.
1322 * configure.in: Add AC_OUTPUT for libmath/Makefile.
1323 * configure: Regenerate.
1324 * Makefile.am (SUBDIRS): Add libmath.
1325 * Makefile.in: Regenerate.
1326 * README (file): Change name.
1327
06bd10fb
BK
13282000-10-06 Benjamin Kosnik <bkoz@cygnus.com>
1329 Richard Henderson <rth@cygnus.com>
1330 Alexandre Oliva <aoliva@redhat.com>
1331
1332 * libsupc++: New directory.
1333 * libsupc++/*: Populate.
1334 * libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
1335 eh-common.h, gansidecl.h.
1336 * configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
1337 * configure: Regenerate.
1338 * Makefile.am (SUBDIRS): Add libsupc++.
1339 * Makefile.in: Regenerate.
1340 * src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
1341 * src/Makefile.in: Regenerate.
1342 * libio/Makefile.am: Remove extraneous, confusing bits.
c7053b70 1343 * libio/Makefile.in: Regenerate.
06bd10fb 1344
89e37ad7
BK
13452000-10-05 Brent Verner <brent@rcfile.org>
1346
1347 * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
1348 test for _M_gcount < in_avail(), as in_avail() only reports info
1349 for current buffer, causing method to return at end of buffer.
1350 * testsuite/27_io/istream_unformatted.cc [test07()]: New test.
1351 * testsuite/27_io/istream_unformatted-3.txt: New file.
1352 * testsuite/27_io/istream_unformatted-3.tst: New file.
1353
13542000-10-05 Benjamin Kosnik <bkoz@fillmore.constant.com>
1355
1356 * README (file): Adjust directory structures.
1357 * mkcheck.in (INC_PATH): Adjust for header changes.
1358
9a200b0a
PE
13592000-10-05 Phil Edwards <pme@sources.redhat.com>
1360
1361 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts
1362 for public relations purposes.
1363 * aclocal.m4: Regenerated.
1364 * configure: Regenerated.
1365
1366 * docs/ext/howto.html: Additional explanation about hashing.
1367
35ba1733
BK
13682000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
1369
1370 * include: New directory.
1371 * include/backward: New directory.
1372 * include/bits: New directory.
1373 * include/ext: New directory.
1374 * include/std: New directory.
1375 * include/*/*: Populate.
1376
1377 * backwards: Move to include/backwards, delete.
1378 * bits: Move to include/bits, delete.
1379 * ext: Move to include/ext, delete.
1380 * std: Move to include/std, delete.
1381
1382 * src/complex.cc: Adjust include of mathconf.
1383
1384 * mkc++config (BASE_H): Add include.
1385
1386 * src/Makefile.am: Support for topleve sources include directory.
1387 (INCLUDES): Add LIBMATH_INCLUDE.
1388 * src/Makefile.in: Regenerate.
1389 * math/Makefile.am (INCLUDES): Append /include.
1390 * math/Makefile.in: Regenerate.
1391 * libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
1392 * libio/Makefile.in: Regenerate.
1393
e23062d5
BK
13942000-10-04 Benjamin Kosnik <bkoz@gnu.org>
1395
1396 * libio/_G_config.h : Re-guard the __mbstate_t declaration.
1397
2ef49c56
BK
13982000-10-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1399
1400 * docs/22_locale/howto.html: Add link to proto-documentation on
1401 locales.
1402 * docs/documentation.html: Rename links for clarity.
1403
1404 * src/Makefile.am (headers): Remove unistd.h, wrap_unistd.h. Add
1405 fcntl.h, iolibio.h, libioP.h, pthread.h, iconv.h.
1406 * src/Makefile.in: Regenerate.
1407
0517cb99
BK
14082000-10-02 Steven King <sxking@uswest.net>
1409
1410 * mkcshadow: Fixed script to output proper include guard.
1411 * bits/char_traits.h: Cleaned up types in char_traits<char> functions.
1412 * libio/_G_config.h: Hacked to make work with shadow heraders.
1413 * shadow/*: Hacked to make shadow headers work.
1414
14152000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1416
1417 Self-compile with shadow headers.
1418 * acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
1419 like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
1420 it becomes the default way the library is built.
1421 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
1422 * config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
1423 * config/gnu-linux/ctype.cc (ctype): Use it.
1424
1425 * src/localename.cc (locale::_Impl::_M_replace_categories): Remove
1426 call to assert.
1427 * src/locale.cc: Explicitly cast mbstate_t to void* in calls to
1428 memset. This should not be necessary, but an ambiguous overload
1429 with it in.
1430
1431 * shadow/bits/std_cwchar.h: Fix.
1432 * shadow/wchar.h: Fix.
1433
1434 * config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
1435 enums into namespace std:: for ctype_base enum. Other OS types
1436 will have to do this as well.
1437 * config/gnu-linux/ctype.cc (ctype): Inject ctype data into
1438 namespace std, in particular __ctype_toupper, __ctype_tolower,
1439 __ctype_b.
1440
1441 * shadow/iolibio.h: New file.
1442 * shadow/bits/wrap_iolibio.h: New file.
1443 * shadow/libioP.h: New file.
1444 * shadow/bits/wrap_libioP.h: New file.
1445 * shadow/bits/wrap_fcntl.h: New file.
1446 * shadow/fcntl.h: New file.
1447 * shadow/iconv.h: New file. Inject iconv names into the global
1448 namespace, unmangled for the moment.
1449 * shadow/bits/wrap_iconv.h: New file.
1450 * shadow/unistd.h: Remove. Useless.
1451 * shadow/bits/wrap_unistd.h: Remove.
1452
1453 * src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
1454 * src/Makefile.in: Regenerate.
1455
1456 * config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
1457
1458 * shadow/libio.h: Fix.
1459 * shadow/bits/wrap_libio.h: Fix.
1460
1461 * shadow/bits/std_clocale.h: Remove typedef struct construct,
1462 which will not compile.
1463 * shadow/bits/std_ctime.h: Same.
1464
1465 * shadow/pthread.h: New file. Put pthreads types and functions
1466 into global scope, which is probably not the correct long-term
1467 solution but has to be done at the moment before libio wrappers
1468 can even be started.
1469 * shadow/bits/wrap_pthread.h: New file.
1470
1471 * bits/std_ios.h: Formatting tweak.
1472 * shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
1473
1474 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
1475 tests for compiler features.
1476 * aclocal.m4: Regenerate.
1477 * configure: Regenerate.
1478
1479 * config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
1480 redefined.
1481 * libio/libioP.h: Comment out fcntl.h include.
1482
1483 * shadow/math.h: Add in float and long declarations, as per ISO C9X.
1484
1485 * bits/c++config: Define _ISOC99_SOURCE.
1486
1487 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
1488 CSHADOWFLAGS, as well as _ISOC99_SOURCE.
1489 * aclocal.m4: Regenerate.
1490 * configure: Regenerate.
1491 * src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
1492 (CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
1493 (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
1494 std or shadow directories.
1495 (LTCXXCOMPILE): Same.
1496 (INCLUDES): Add $(top_builddir) before $(top_srcdir).
1497 (AC_CXXFLAGS): Add CSHADOWFLAGS.
1498 * src/Makefile.in: Regenerate.
1499
1500 * src/complex.cc (FCT): Change ::name to name.
1501 * src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
1502 * src/complexf.cc (FCT): Same.
1503
1504 * src/complexf.cc: Remove FCT define, as things are properly
1505 overloaded in the std namespace with the shadow headers.
1506 * src/complexl.cc: Same.
1507 * src/complex.cc: Same.
1508
a5e3fe86
PE
15092000-09-25 Phil Edwards <pme@sources.redhat.com>
1510
1511 * docs/documentation.html: Add link to...
1512 * docs/ext/howto.html: ...this. New dir/file, describing library
1513 extensions (both ours and SGI's).
1514 * docs/faq/index.html: Small updates.
1515 * docs/faq/index.txt: Regenerate.
1516
fbf191fe
TP
15172000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1518
1519 * bits/basic_file.h (_M_open_mode): Remove extra qualifier.
1520
be544957
LF
15212000-09-25 Levente Farkas <lfarkas@mindmaker.hu>
1522
1523 * ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
1524
22b9554c
BK
15252000-09-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1526
1527 * src/localename.cc (locale::_Imp) : Remove typedefs.
1528 * bits/localefwd.h (locale::locale(const locale& __other, _Facet*
be544957 1529 __f): Consistency check, call _Imp ctor with reference argument
22b9554c
BK
1530 of 1.
1531 * bits/localefwd.h: Change _S_num_categories to
1532 _S_categories_num. Add new data member, _S_facets_num, which is
1533 the number of standard facets.
1534
df8bbc66
PE
15352000-09-19 Phil Edwards <pme@sources.redhat.com>
1536
1537 * docs/21_strings/howto.html: Fix editor lossage from last commit.
1538
3c1fd79b
PE
15392000-09-19 Phil Edwards <pme@sources.redhat.com>
1540
1541 * docs/thanks.html: More thanks.
1542 * docs/18_support/howto.html: Fix thinko.
1543 * docs/21_strings/howto.html: Minor tweaks and updates to URLs.
1544 Redo the string transformation notes and link to...
1545 * docs/22_locale/howto.html: ...here.
1546
8bc603ee
BK
15472000-09-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1548
1549 * src/locale-inst.cc: Add time_put_byname and
1550 time_get_byname instantiations.
1551 * bits/locale_facets.h: Correct default, private derivation to
1552 public derivation in _byname declarations.
1553 * src/locale.cc (locale::classic()): Simplify.
1554 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1555 const string& __name, category __cat, size_t __refs): Re-work for
1556 named locales.
1557 (_M_normalize_category_names): Remove.
1558
1559 * testsuite/22_locale/global_templates.cc (test01): Tweaks.
1560 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1561
b4927ead
YB
15622000-09-18 Yuri V. Baskakov <yuribsk@lab.sun.mcst.ru>
1563
1564 * bits/std_bitset.h (operator>>): Change to char_type.
1565
d9fbca26
BK
15662000-09-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1567
1568 * src/locale.cc (locale::locale(const char* __name)): Consolidate
1569 name setting. Add checks for NULL __name pointers. Remove calls to
1570 _S_initialize() as initial locale initialization can either be
1571 assumed, or needs to be made consistent throughout locale
1572 constructors.
1573 (locale::locale(const locale& __other, const char* __name,
1574 category __cat): Add checks for NULL name. Add checks for
1575 assignment to self.
1576 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
1577 const string& __name, category __cat, size_t __refs)): Set correct
1578 name, has_name values.
1579 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
1580 * docs/22_locale/locale.html: New file, more unfinished docs...
1581
e4cc8659
BK
15822000-09-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1583
1584 * src/locale.cc (locale::name()): Implement.
1585 (_Impl(size_t __numfacets, size_t __refs, bool __namep = false,
1586 string __name = "*")): Change signature.
1587 (locale::classic): Initialize the "C" locale as a named locale.
1588 * bits/localefwd.h (locale): Change _M_num_references to
1589 _M_references. Eliminate _M_cached_name_ok. Rename _M_cached_name
1590 to _M_name.
1591 * bits/localefwd.h: Tweaks.
1592 * src/localename.cc: Tweaks.
1593 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Add tests.
1594 (test01): Fix.
1595
1596 * bits/basic_string.h: Consistency check, change _M_state ->
1597 _M_references.
1598
b75bedeb
BK
15992000-09-14 Brendan Kehoe <brendan@zen.org>
1600
1601 * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
1602 return type.
1603
1604 * src/Makefile.an (headers): Also install backward/fstream.h.
1605 * src/Makefile.in: Regenerate.
1606
1607 * bits/char_traits.h (char_traits<_CharT>::get_state,
1608 char_traits<char>::get_state, char_traits<wchar_t>::get_state): Pass
1609 argument in by reference, not by value. Uglify to _S_get_state.
1610 (char_traits<*>::__eos): Uglify to _S_eos.
1611 * bits/std_ostream.h (ends(basic_ostream<_CharT, _Traits>& __os)):
1612 Change __eos to _S_eos.
1613
e4cc8659 16142000-09-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
b75bedeb
BK
1615
1616 * testsuite/22_locale/static_members.cc: New file.
1617 * testsuite/22_locale/ctor_copy_dtor.cc: New file.
1618 * src/locale.cc: Minor formatting tweaks.
1619
3e80ddc7
BK
16202000-09-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1621
1622 * testsuite/22_locale/global_templates.cc (test01): Add negative
1623 tests for use_facet.
1624
1625 * bits/localefwd.h (locale::operator()): Minor tweaks.
1626 * bits/locale_facets.tcc (locale::operator()): Same.
1627 * testsuite/22_locale/operators.cc: New file.
1628
1629 * testsuite/22_locale/facet.cc (output_iterator): Remove
1630 gnu_input_iterator, gnu_output_iterator.
1631
5219f162
BK
16322000-09-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1633
1634 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0".
1635 * aclocal.m4: Regenerate.
1636 * configure: Regenerate.
1637
1638 * bits/c++config (__GLIBCPP__): Update, in the hopes of making a
1639 snapshot release soon.
1640 (_GNU_SOURCE): Define this in the header files, as ISO C99 support
1641 is pretty much assumed.
1642
1643 * testsuite/22_locale/global_templates.cc: New file. Add tests for
1644 use_facet and has_facet.
1645
1646 * bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
1647 Modify/correct iconv signatures for glibc2.2.
1648
79f5e38e
BC
16492000-09-10 Branko Cibej <branko.cibej@hermes.si>
1650
1651 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Replace "grep -q" with
1652 "grep -c".
1653
8a019bcf
BK
16542000-09-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1655
1656 * bits/localefwd.h (locale::_Impl): Scope out types to public.
1657 (locale): Make _Impl declaration public.
1658
e0b7ed05
FN
16592000-09-08 Felix Natter <fnatter@gmx.net>
1660
1661 * docs/17_intro/porting-howto.html: New version.
1662
f1158db3
BK
16632000-09-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1664
1665 * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
1666 to __unused__.
1667 * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
1668 * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.
1669
7f586614
BK
16702000-09-07 Phil Edwards <pme@sources.redhat.com>
1671
1672 Add bits for --enable-maintainer-mode:
1673 - turns on enable_debug
1674 (doing "--enable-maint --disable-debug" will DTRT)
1675 - turns on -Werror, now off by default
1676 * acinclude.m4: Add bits.
1677 * aclocal.m4: Regenerate.
1678 * configure.in: Add defaults for GLIBCPP_ENABLE_DEBUG.
1679 * configure: Regenerate.
1680
16812000-09-07 Benjamin Kosnik <bkoz@cygnus.com>
1682
1683 * bits/std_cwctype.h: Remove yesterday's hacks.
1684
3a664f16
BG
16852000-09-07 Brad Garcia <bgarcia@laurelnetworks.com>
1686
1687 * bits/stl_tree.h: Make operators !=, == type safe for map, set.
1688 * testsuite/23_containers/set_operators.cc: New file. Should not
1689 compile.
1690 * testsuite/23_containers/map_operators.cc: New file. Ditto.
1691
735bce7e
RH
16922000-09-06 Richard Henderson <rth@cygnus.com>
1693 Benjamin Kosnik <bkoz@cygnus.com>
1694
1695 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add ia64 support.
1696 * aclocal.m4: Regenerate.
1697 * configure: Regenerate.
1698 * config/cpu/ia64: New directory.
1699 * config/cpu/ia64/bits: New directory.
1700 * config/cpu/ia64/bits/atomicity.h: New file.
1701
f133a43e
BK
17022000-09-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1703
1704 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory
1705 to no, so that libstdc++-v3's libio will be built on glibc-2.2
1706 systems.
1707 * aclocal.m4: Regenerate.
1708 * configure: Regenerate.
1709 * */Makefile.in: Regenerate.
1710
1711 * bits/std_cwctype.h: Put in temporary hack to work around -O2 +
1712 glibc 2.1.x unsigned errors. Or disable -Werror by default...
1713
1714 * testsuite/23_containers/vector_element_access.cc: New file.
1715 * bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
1716
dbb4d33a
LF
17172000-09-06 Levente Farkas <lfarkas@mindmaker.hu>
1718
1719 * bits/string.tcc: Fix up more parameter names.
1720
6d93bca4
AO
17212000-09-06 Alexandre Oliva <aoliva@redhat.com>
1722
1723 * configure: Rebuilt with new libtool.m4.
1724
0435a3f8
BK
17252000-09-01 Benjamin Kosnik <bkoz@cygnus.com>
1726
1727 * src/locale-inst.cc: Remove pre-instantiation of unicode
1728 codecvt types. Now unnecessary, as locale header now correct.
1729
0479a462
BK
17302000-08-31 Benjamin Kosnik <bkoz@cygnus.com>
1731
1732 * bits/locale_facets.tcc (_S_build_float_format): Move ...
1733 * src/locale.cc: Here.
1734 * bits/locale_facets.tcc (num_get::_M_extract): Clean up generic
1735 definition. Move specialization to ...
1736 * src/locale.cc: Here.
1737 * bits/locale_facets.tcc: Move _Format_cache specializations to ...
1738 * src/locale.cc: Here.
1739 * bits/locale_facets.tcc: Move use_facet<ctype> specializations to ...
1740 * src/locale.cc: Here.
1741
1742 * bits/std_locale.h: Note that locale_facets.tcc should be
1743 included here, for standards conformance. It may increase
1744 compile times though. For the time being, enable.
1745 * testsuite/22_locale/facet.cc: New file, some parts commented out
1746 for the time being.
1747
1748 * mkcheck.in: Append total time to test summary file.
1749
1750 * bits/sbuf_iter.h : Formatting tweaks.
1751
1752 Clean up static const data member definitions.
1753 * src/locale.cc: Add definitions for all missing locale,
1754 locale::_Imp, and locale::id static data members.
1755 (ctype<char>): Add table_size define.
1756 (money_base): Add _S_default_pattern, uglify.
1757 * bits/localefwd.h: Add definitions for static members of _Count_ones.
1758 * bits/locale_facets.h: Tweaks.
1759 * bits/locale_facets.tcc: Tweaks.
1760 * bits/string.tcc: Add definition for npos.
1761 * bits/ios_base.h: Tweaks.
1762 * bits/ios_base.h (ios_base::Init::_M_ios_base_init): Change to
1763 _S_ios_base_init.
1764 * src/ios.cc: And here. Add _S_local_words definition.
1765 Add definitions for __ios_flags const static data.
1766 * src/codecvt.cc: Same for __enc_traits.
1767 * src/locale-inst.cc: Remove money_base data member definition
1768 here.
1769
bf6a6113
BK
17702000-08-30 Benjamin Kosnik <bkoz@redhat.com>
1771
e203a988
BK
1772 * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file.
1773
1774 * docs/22_locale/codecvt.html: Re-number.
1775 * docs/22_locale/howto.html: Add entry for ctype
1776 documentation. Add entry for Nathan's introduction to locales
1777 paper.
1778 * docs/22_locale/ctype.html: New file. In progress...
1779
bf6a6113
BK
1780 * docs/22_locale/codecvt.html: Formatting cleanups.
1781 * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko.
1782
e203a988
BK
17832000-08-30 Phil Edwards <pme@sources.redhat.com>
1784
1785 * docs/22_locale/codecvt.html: Behind-the-scenes ASCII->HTML
1786 tweaks for certain browsers.
1787
17882000-08-29 Benjamin Kosnik <bkoz@redhat.com>
8c81504d
BK
1789
1790 * bits/locale_facets.h (ctype<char>): Remove __table_type.
1791 Add include for bits/std_cwctype.h, for wctype_t.
1792 * src/locale.cc (ctype<wchar_t>): Implement.
1793 * config/gnu-linux/bits/ctype_base.h (ctype_base): Remove mask
1794 typedef, instead name enum.
1795 * config/gnu-linux/bits/ctype_specializations.h: Tweak.
1796 * config/gnu-linux/ctype.cc: Tweak.
1797 * testsuite/22_locale/ctype.cc: Tweak.
1798
e203a988 1799 * bits/codecvt.h (__enc_traits): Uglify names.
8c81504d 1800
a811708d
BK
18012000-08-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1802
1803 * docs/22_locale/codecvt.html: Add more bits, format.
ffe9f785
BK
1804 * bits/codecvt.h: Add copy ctor, rename types.
1805 * testsuite/22_locale/codecvt_unicode_char.cc: Tweak.
1806
1807 * libio/iofwide.c: Tweak.
1808
58fdec72
PE
18092000-08-28 Phil Edwards <pme@sources.redhat.com>
1810
1811 * docs/configopts.html: Mention new options.
1812 * docs/install.html: Formatting changes for platform-specific
1813 pre-reqs, previously only Cygwin.
1814 * docs/mail.html: Fix new link.
1815 * docs/thanks.html: A couple more people.
1816 * docs/26_numerics/howto.html: Fix typo.
1817
e403cf29
BK
18182000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1819
1820 * docs/22_locale/howto.html: Add notes on codecvt implementation.
1821 * docs/22_locale/codecvt.html: New file. In progress.
1822
4d0e4296
BK
18232000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1824
1825 * acconfig.h: Revert.
1826 * acinclude.m4: Revert.
1827 * libio/_G_config.h: Revert.
1828 * libio/libio.h: Revert.
1829
18302000-08-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
985287b8
BK
1831
1832 * bits/codecvt.h: Tweaks.
1833 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up
1834 initial string literals for UCS4.
1835
697c2a39
PE
18362000-08-23 Phil Edwards <pme@sourceware.cygnus.com>
1837
1838 * acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added.
1839 * acinclude.m4: New macro, GLIBCPP_ENABLE_WCHAR. Set the threads
1840 definition as well, and some minor spelling/spacing fixes. If
1841 building libio, check for certain typedefs.
1842 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS.
1843 Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types
1844 will never be there.
1845 * libio/libio.h: In the null case, _IO_lock_t can't just be void.
1846 * src/string-inst.cc: Use _GLIBCPP_USE_WCHAR_T.
1847
1848 * configure.in: Update the cache a bit more often.
1849
1850 * mkcheck.in: For check-install, also need to -I the testsuite dir.
1851
ae658d47
BK
18522000-08-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1853
1854 * src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
1855 __enc_traits> instantiations for has_facet and use_facet.
1856 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
1857 testing two-byte unicode encodings converted to four-byte UCS4
1858 encodings.
1859
1860 * bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
1861 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
1862 correct state/encoding information.
1863
1864 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
1865 mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
1866 now.
1867 Add checks for langinfo.h, nl_langinfo function call.
1868 * libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.
1869
7e0ec38b
BK
18702000-08-22 Richard B. Kreckel <Richard.Kreckel@Uni-Mainz.DE>
1871
1872 * config/cpu/alpha/bits/atomicity.h: Change __attribute__
1873 ((unused)) to __attribute__ ((__unused__)).
1874 * config/cpu/arm/bits/atomicity.h: Same.
1875 * config/cpu/generic/bits/atomicity.h: Same.
1876 * config/cpu/i386/bits/atomicity.h: Same.
1877 * config/cpu/i486/bits/atomicity.h: Same.
1878 * config/cpu/powerpc/bits/atomicity.h: Same.
1879 * config/cpu/sparc/sparc32/bits/atomicity.h: Same.
1880 * config/cpu/sparc/sparc64/bits/atomicity.h: Same.
1881
18822000-08-22 Levente Farkas <lfarkas@mindmaker.hu>
bbcec4ef
LF
1883
1884 * bits/basic_string.h: Fix up parameter names.
1885
f3342f73
BV
18862000-08-22 Brent Verner <brent@rcfile.org>
1887
1888 * src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
1889 $(top_srcdir)
1890 * src/Makefile.in: Regenerate.
1891
a5834d1b
BK
18922000-08-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1893
1894 * bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
1895 up __enc_traits template so as to be marginally useful.
1896 * src/codecvt.cc: And here.
1897 * bits/char_traits: Tweak.
1898 * bits/locale_facets.h: Tweak.
1899 * bits/locale_facets.tcc: Tweak.
1900 * bits/localefwd.h: Tweak.
1901 * src/locale-inst.cc: Add use_facet/has_facet instantiations here.
1902 * testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
1903 * testsuite/22_locale/codecvt_char_char.cc: New file.
1904 * testsuite/22_locale/codecvt_unicode_char.cc: New file.
1905
4b6243ef
GDR
19062000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1907
1908 * bits/std_cmath.h (std::abs): Overload for int and long.
1909
1efef503
BK
19102000-08-20 Benjamin Kosnik <bkoz@gnu.org>
1911
1912 * src/string-inst.cc: Tweak instantiations for new-gxx-abi.
1913
b426bedd
GDR
19142000-08-19 Gabriel Dos Reis <gdr@codesourcery.com>
1915
1916 * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
1917 thinko. Diagnostic messages really need to be improved for
1918 template argument deduction.
1919
9744ff7d
BK
19202000-08-18 Benjamin Kosnik <bkoz@gnu.org>
1921
1922 * bits/valarray_meta.h: Fix typos...
1923
e825bf4a
GDR
19242000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
1925
1926 * bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
1927 _Expr<>::apply): Implement.
1928
e3b4d2e9
GDR
19292000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
1930
1931 * bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.
1932
1933 * bits/valarray_array.h (__valarray_min, __valarray_max): New
1934 function.
1935
1492cacb
MM
19362000-08-17 Mark Mitchell <mark@codesourcery.com>
1937
1938 * bits/localefwd.h (std::locale): Use explicit `class' specified
1939 when declaring friends.
1940 * bits/std_fstream.h (std::basic_filebuf): Likewise.
1941
7d7aced2
AO
19422000-08-16 Alexandre Oliva <aoliva@redhat.com>
1943
1944 * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
1945 * src/Makefile.in: Regenerate.
1946
63511623
BK
19472000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1948
1949 * bits/codecvt.h: New file.
1950 * src/codecvt.cc: New file.
1951 * bits/std_locale.h: Add include here.
1952 * src/Makefile.am (headers): Add codecvt.h
1953 (sources): Add codecvt.cc.
1954 * src/Makefile.in: Regenerate.
1955 * bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
1956 __codecvt_abstract_base in an attempt to point some light this way...
1957 Move __enc_traits and codecvt bits to codecvt.h.
1958 * src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
1959 explicit instantiation. Separate out codecvt instantations, simplify.
1960 * src/locale.cc: Move codecvt bits to codecvt.cc
1961
2f1cb8c2
AO
19622000-08-15 Alexandre Oliva <aoliva@redhat.com>
1963
1964 * src/Makefile.am (INCLUDES): New target file, with all -I flags.
1965 * src/Makefile.in: Regenerate.
1966
f60ded13
BK
19672000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1968
d04703d6
BK
1969 C/C++ io merge/sync.
1970 * libio/fileops.c
1971 * libio/genops.c
1972 * libio/iofclose.c
1973 * libio/iofopen.c
1974 * libio/iofwide.c
1975 * libio/libio.h
1976 * libio/libioP.h
1977 * libio/stdio.c
1978 * libio/wfileops.c
1979 * libio/wgenops.c
1980 * config/c_io_libio.cc (__basic_file): Add hacky casts to
1981 ((struct _IO_FILE_plus *) in ctors.
1982 (__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt.
1983 * libio/Makefile.am: Fix copyright. Remove cleanup.c.
1984 * libio/cleanup.c: Remove.
1985 * libio/filedoalloc.c (_IO_file_doallocate): Don't call
1986 _IO_cleanup_registration_needed, even if not libc.
1987
f60ded13
BK
1988 * testsuite/27_io/stringstream.cc (test02): Fix.
1989
aa1b2f7d
BV
19902000-08-14 Brent Verner <brent@rcfile.org>
1991
1992 * testsuite/debug_assert.h: new file
1993 * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
1994 changed conditional #include <c?assert.?h?> to
1995 unconditional #include <debug_assert.h>
1996 * mkcheck.in: added $SRC_DIR/testsuite to include search path
1997 for testsuite compile command.
1998
5312a1d9
LF
19992000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
2000
2001 * bits/std_fstream.h: Remove duplicate typdefs for ofstream and
2002 wofstream, filebuf, wfilebuf, fstream, wfstream.
2003 * bits/std_streambuf.h: Same for streambuf, wstreambuf.
2004 * bits/std_sstream.h: Same for stringstream and wstringstream.
2005 Same for stringbuf, wstringbuf, istringstream, wistringstream,
2006 ostringstream, wostringstream.
2007
2008 * testsuite/26_numerics/valarray.cc: Add test.
2009
57119aa9
ZW
20102000-08-14 Zack Weinberg <zack@wolery.cumb.org>
2011
2012 * configure: Regenerate after change to ../libtool.m4.
2013
9c683c2a
BK
20142000-08-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2015
2016 * bits/locale_facets.tcc: Formatting tweaks.
2017 * bits/locale_facets.h (__enc_traits): Start integrating this
2018 into codecvt, ctype. Formatting tweaks.
2019
8901ac21
BK
20202000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2021
2022 Preliminary wchar_t implementation, with trivial encodings.
2023 * docs/configopts.html: Add bits about canonical configure option
2024 checking.
2025
2026 * testsuite/27_io/iostream_objects.cc: Replace this file (which
2027 has newly-declared-illegal mixing of wide/narrow stdstreams) with...
2028 * testsuite/27_io/narrow_stream_objects.cc: New file.
2029 * testsuite/27_io/wide_stream_objects.cc: New file.
2030
2031 * bits/fstream.tcc (underflow): Temporarily hack a solution
2032 together that writes from the external file to the internal
2033 buffers. This removes codecvt from the loop, and is incorrect.
2034 (_M_really_overflow): Same here.
2035
2036 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
2037
20382000-08-08 Benjamin Kosnik <bkoz@cygnus.com>
2039 Ulrich Drepper <drepper@cygnus.com>
2040
2041 * config/c_io_libio.h: Tweak.
2042 * config/c_io_libio_codecvt.c: New file.
2043 * libio/Makefile.am: Add c_codecvt.c.
2044 * libio/Makefile.in: Regenerate.
2045 * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
2046 stream is not orientated.
2047
2048 * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
2049 encoding gets fleshed out.
2050
2051 * bits/basic_file.h: Add specialization declarations.
2052 * config/c_io_libio.cc: Add specializations for pbackfail, uflow.
2053
2054 * config/c_io_libio.h: Add __c_wfile_type.
2055 * bits/basic_file.h: Add _M_wfile.
2056
2057 * config/c_io_libio.cc (__basic_file<char>): Initialize the
2058 streams without setting the orientation of the underlying FILE to
2059 either wide or narrow.
2060 (__basic_file<wchar_t>)): Enable tricky wchar_t io bits.
2061
320f9548
FN
20622000-08-07 Felix Natter <fnatter@gmx.net>
2063
2064 * docs/17_intro/porting-howto.html: New version.
2065
6e185caa
MM
20662000-08-03 Mark Mitchell <mark@codesourcery.com>
2067
2068 * bits/locale_facets.h (ctype::ctype): Don't name unused
2069 parameters.
2070
967add51
BK
20712000-08-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2072
2073 * docs/install.html: Edit bits about requiring a special version
2074 of the autotools.
2075
18acf3ba
BK
20762000-07-31 Benjamin Kosnik <bkoz@cygnus.com>
2077
2078 * libio/fileops.cc: Update to current glibc sources.
2079 * libio/genops.c: Same.
2080 * libio/iofwide.c: Same.
2081 * libio/libio.h: Same.
2082 * libio/libioP.h: Same.
2083 * libio/wfiledoalloc.c: Same.
2084 * libio/wgenops.c: Same.
2085
3df64633
AO
20862000-07-28 Alexandre Oliva <aoliva@redhat.com>
2087
2088 * acinclude.m4: Include ../libtool.m4.
2089 * aclocal.m4, configure: Rebuilt.
2090
421173e6
PE
20912000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
2092
2093 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
2094 before trying to use any of its options.
2095 (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
2096 * aclocal.m4: Regenerate.
2097 * configure.in: Having found GNU make, name it.
2098 * configure: Regenerate.
2099 * docs/install.html: Mention possible problems with caching.
2100 * src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
2101 * src/Makefile.in: Regenerate.
2102 * libio/Makefile.in: Regenerate.
2103 * math/Makefile.in: Regenerate.
2104 * Makefile.in: Regenerate.
2105
28861379
BK
21062000-07-26 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2107
2108 * src/misc-inst.cc (std): Remove instantiations.
2109
2110 * acinclude.m4: Add forward-looking bits for autoconf.
2111 * aclocal.m4: Regenerate.
2112
2113 * bits/ostream.tcc (ostream::operator<<): Fix const char* case.
2114
5780a46b
BK
21152000-07-25 Benjamin Kosnik <bkoz@gnu.org>
2116
2117 * configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
2118 it back for current versions of maintainer-tools...
2119 * acinclude.m4: Some cleanups...
2120 * aclocal: Regenerated.
2121 * configure: Regenerated.
2122
2123 * src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
2124 optimizing/adapting the hash table using GNU ld.
2125 * src/Makefile.in: Regenerate.
2126
21272000-07-24 H.J. Lu <hjl@gnu.org>
2128
2129 * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
2130 even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
2131 files don't include private libio header files needed by
2132 libstdc++ v3.
2133 * src/Makefile.in: Rebuild.
2134
020226e5
BK
21352000-07-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2136
5780a46b
BK
2137 * bits/std_fstream.h: Parameterize __basic_file.
2138 * config/c_io_libio.cc: Add wchar_t methods for parameterization.
2139 * bits/basic_file.h: Same here.
2140
020226e5
BK
2141 * bits/istream.tcc (getline): Tweaks.
2142
5780a46b
BK
2143 * bits/fstream.tcc: Shorten __retval to __ret.
2144 * bits/ostream.tcc: Same.
2145 * bits/sbuf_iter.h: Same.
2146 * bits/sstream.tcc: Same.
2147 * bits/streambuf.tcc: Same.
2148 * bits/std_fstream.h: Same.
2149 * src/string-inst.cc: Same.
2150 * src/ios.cc: Same.
2151 * config/c_io_libio.cc: Same.
2152 * bits/string.tcc: Same.
2153 * bits/std_streambuf.h: Same.
2154
99b51359
BK
21552000-07-23 Brent Verner <brent@rcfile.org>
2156
2157 * bits/istream.tcc: istream::getline(char_type*, streamsize,
2158 char_type) make compliant
2159 * testsuite/27_io/istream_unformatted.cc: test for compliant behavior
2160
020226e5 21612000-07-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
99b51359
BK
2162
2163 * acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
2164 and srcdir used to define CSHADOW_INCLUDES..
2165
2166 * configure.in: For consistency, change .sanity_warned to
2167 stamp-sanity-warned.
2168
2169 * acinclude.m4: Tweak formatting.
2170 * Makefile.am (check): Call mkcheck with full pathname for build
2171 directory...
2172 (check-install): And here.
2173 * Makefile.in: Regenerate.
2174
4a0d2ea6
GDR
21752000-07-22 Gabriel Dos Reis <gdr@codesourcery.com>
2176
2177 Line up with libstdc++-v2 version of valarray.
2178 * bits/valarray_array.h (__valarray_product): Make inline.
2179 * src/valarray-inst.cc (__valarray_product): Remove explicit
2180 instantiation.
2181
11489a95
BK
21822000-07-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2183
2184 * src/stl-inst.cc: Change __sink_unused_warning to unsigned int
2185 for alpha.
2186
2187 * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
2188 Change return type to void.
2189 * testsuite/25_algorithms/lower_bound.cc: Add return values.
2190 * testsuite/17_intro/header_ciso646.cc: Modify.
2191 * bits/locale_facets.h: Add return values for the generic cases.
2192
47f634cb
L
21932000-07-21 H.J. Lu (hjl@gnu.org)
2194
11489a95
BK
2195 * acinclude.m4: Include <features.h> for glibc testing.
2196 * aclocal.m4: Likewise.
2197
2198 * configure: Rebuild.
47f634cb 2199
c4cdd4a6
BK
22002000-07-20 H.J. Lu (hjl@gnu.org)
2201
2202 * acinclude.m4: Change "#pragma system_header" to
2203 "#pragma GCC system_header".
2204 * aclocal.m4: Likewise.
2205 * bits/std_cmath.h: Likewise.
2206 * bits/std_cassert.h: Likewise.
2207 * bits/std_cctype.h: Likewise.
2208 * bits/std_cerrno.h: Likewise.
2209 * bits/std_cfloat.h: Likewise.
2210 * bits/std_climits.h: Likewise.
2211 * bits/std_clocale.h: Likewise.
2212 * bits/std_cwchar.h: Likewise.
2213 * bits/std_csetjmp.h: Likewise.
2214 * bits/std_csignal.h: Likewise.
2215 * bits/std_cstdarg.h: Likewise.
2216 * bits/std_cstddef.h: Likewise.
2217 * bits/std_cstdio.h: Likewise.
2218 * bits/std_cstdlib.h: Likewise.
2219 * bits/std_cstring.h: Likewise.
2220 * bits/std_ctime.h: Likewise.
2221 * bits/std_cwctype.h: Likewise.
2222 * bits/std_exception.h: Likewise.
2223 * bits/std_new.h: Likewise.
2224 * bits/std_typeinfo.h: Likewise.
2225 * shadow/bits/std_cassert.h: Likewise.
2226 * shadow/bits/std_cctype.h: Likewise.
2227 * shadow/bits/std_cerrno.h: Likewise.
2228 * shadow/bits/std_cfloat.h: Likewise.
2229 * shadow/bits/std_climits.h: Likewise.
2230 * shadow/bits/std_clocale.h: Likewise.
2231 * shadow/bits/std_cmath.h: Likewise.
2232 * shadow/bits/std_csetjmp.h: Likewise.
2233 * shadow/bits/std_csignal.h: Likewise.
2234 * shadow/bits/std_cstdarg.h: Likewise.
2235 * shadow/bits/std_cstddef.h: Likewise.
2236 * shadow/bits/std_cstdio.h: Likewise.
2237 * shadow/bits/std_cstdlib.h: Likewise.
2238 * shadow/bits/std_cstring.h: Likewise.
2239 * shadow/bits/std_ctime.h: Likewise.
2240 * shadow/bits/std_cwchar.h: Likewise.
2241 * shadow/bits/std_cwctype.h: Likewise.
2242 * shadow/bits/wrap_libio.h: Likewise.
2243 * shadow/bits/wrap_unistd.h: Likewise.
2244 * shadow/sys/cdefs.h: Likewise.
2245
2246 * configure: Rebuild.
2247
22482000-07-20 Jakub Jelinek <jakub@redhat.com>
2249
2250 * config/cpu/sparc/sparc64/bits/atomicity.h (__exchange_and_add):
2251 Use extended word instructions to match 64bit _Atomic_word.
2252 (__atomic_add): Likewise.
2253 * math/clog10l.c (clog10l): Use M_PIl if defined.
2254 * math/c_logl.c (c_logl): Likewise.
2255 * math/signbitl.c (__signbitl): Adapt for IEEE quad long doubles.
2256 * math/mathconf.h (ieee_quad_double_shape_type): New type.
2257 (GET_LDOUBLE_MSW64): New define.
2258
7be50fd3
BK
22592000-07-20 Benjamin Kosnik <bkoz@cygnus.com>
2260
2261 * bits/std_streambuf.h: Add bits for pback buffers here, so that
2262 in_avail, etc can use them.
2263 * bits/std_fstream.h: Ditto.
2264 * bits/fstream.tcc: Ditto.
2265 * testsuite/27_io/filebuf.cc: Tweaks.
2266 * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
2267
22682000-07-19 Benjamin Kosnik <bkoz@cygnus.com>
2269
2270 * src/localename.cc: Same.
2271 * src/locale.cc: Same.
2272 * bits/localefwd.h: _M_init_facet to _M_facet_init.
2273
2274 * bits/locale_facets.h: _M_init_boolnames to _M_boolnames_init.
2275
2276 * bits/std_sstream.h: Change _M_init_stringbuf to _M_stringbuf_init.
2277
2278 * bits/fstream.tcc: Change _M_init_filebuf to _M_filebuf_init.
2279 * bits/std_fstream.h: Same.
2280
2281 * bits/basic_string.h: Tweaks.
2282
0fab9d0a
PE
22832000-07-19 Phil Edwards <pme@sourceware.cygnus.com>
2284
2285 * docs/18_support/howto.html: Update.
2286
456183bb
BK
22872000-07-19 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
2288
2289 Internal consistency checks.....
2290 * bits/ios_base.h: Change _M_locale_ios to _M_ios_locale.
2291 * src/ios.cc: Same.
2292
2293 * bits/basic_ios.h: Change _M_fctype_ios to _M_ios_fctype.
2294 * bits/basic_ios.tcc: Same.
2295
2296 * bits/std_streambuf.h: Change _M_locale_buf to _M_buf_locale.
2297 Change _M_fctype_buf to _M_buf_fctype.
2298 * bits/fstream.tcc: Same.
2299
2300 * bits/std_streambuf.h: Change _M_buf_bump to _M_out_cur_move.
2301 Change _M_locale_set to _M_buf_locale_init.
2302 * bits/streambuf.tcc: Same.
2303 * bits/sstream.tcc: Same.
2304 * bits/fstream.tcc: Same.
2305
2306 * bits/std_streambuf.h: Make typedefs consistent.
2307 (_M_buf_bump): Be more careful with input sequence.
2308
2309 * bits/std_sstream.h: Same.
2310 * bits/std_fstream.h: Same.
2311
23122000-07-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
dd75251f
BK
2313
2314 * acinclude.m4: Tweaks.
2315 * config/c_io_libio.cc: Tweaks.
2316 * bits/sstream.tcc (stringbuf::pbackfail): Simplify.
2317 * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
2318 * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
2319 * libio/iofclose.c iofopen.c, stdio.c: New files.
2320 * libio/Makefile.am: Add files, add flags, etc.
2321 * src/Makefile.am (sources): Add filebuf.cc.
2322 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
2323 (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
2324
29bd52c8
PE
23252000-07-17 Phil Edwards <pme@sourceware.cygnus.com>
2326
2327 * acinclude.m4: Import CHECK_GNU_MAKE from autoconf macro archive.
2328 * configure.in: Use it. Also print reminders one time.
2329 * aclocal.m4: Regenerate.
2330 * configure: Regenerate.
2331
d4c4ae6f
GDR
23322000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
2333
2334 * bits/valarray_array.h (__valarray_get_storage): New function.
2335 (_Array<>::Array): Use it.
2336 * bits/std_valarray.h (valarray<>::valarray): Likewise.
2337 (valarray<>::resize): Likewise. Tweak.
2338 * src/valarray-inst.cc (__valarray_product): Tweak.
2339
c0ed1dea
PE
23402000-07-11 Phil Edwards <pme@sourceware.cygnus.com>
2341
2342 * docs: Update sourceware->sources in every HTML file. Minor updates.
2343
c4561450
BK
23442000-07-07 Benjamin Kosnik <bkoz@soma.redhat.com>
2345
2346 Clean up configure/build longstanding issues.
2347 * src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
2348 (CXXLINK): Add here, instead.
2349
2350 * Makefile.am (check-install): Make sure mkcheck has execute privs.
2351 (check): Same here.
2352 * configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
2353
2354 * configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
2355 c_io_libio.cc instead of copying.
2356 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
2357
2358 * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
2359 c++threads.h instead of copying.
2360 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
0828a0bd
BK
2361 Tweaks.
2362
6eaa6abd
BK
2363 * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
2364 * bits/basic_file.h: Declare.
2365
2366 * mkcheck.in (TESTS_FILE): Use -v instead of --version.
2367
75555da7
BK
23682000-07-07 brent verner <brent@rcfile.org>
2369
2370 * testsuite/27_io/istream_unformatted.cc (test05): New test.
2371
23722000-07-07 Benjamin Kosnik <bkoz@gnu.org>
2373
2374 * bits/istream.tcc (istream::getline): Minor tweaks.
2375
dd1ee41e
PE
23762000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
2377
2378 * docs/download.html: Mention gcc_update.
2379 * docs/configopts.html: Minor updates.
2380 * docs/gccrebuild.html: Ditto.
2381 * docs/18_support/howto.html: More tips, explanations, and reminders.
2382 * docs/19_diagnostics/howto.html: Ditto.
2383 * docs/21_strings/howto.html: Ditto.
2384 * docs/24_iterators/howto.html: Ditto.
2385 * docs/25_algorithms/howto.html: Ditto.
2386 * docs/26_numerics/howto.html: Ditto.
2387
42d18a47
BK
23882000-07-05 brent verner <brent@rcfile.org>
2389
2390 * testsuite/27_io/ifstream_members.cc (test01): Add tests.
2391 * testsuite/27_io/ofstream_members.cc (test01): Add tests.
2392 * config/c_io_libio.cc (__basic_file::open): Unset
2393 ~_IO_DELETE_DONT_CLOSE.
2394
23952000-07-05 Zack Weinberg <zack@wolery.cumb.org>
2396
2397 * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h,
2398 bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h:
2399 Do not paste anything after 'operator' keyword.
2400
c14286b0
BK
24012000-07-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2402
2403 * bits/std_memory.h: Revert.
2404
24052000-07-03 Brendan Kehoe <brendan@zen.org>
2406
2407 * bits/std_complex.h: Fix parens. Format.
2408
f22ad9d0
BK
24092000-07-03 scott snyder <snyder@fnal.gov>
2410
2411 * bits/locale_facets.tcc (_M_extract): Only figure out the base
2412 from the input if base == 0.
2413 * testsuite/27_io/istream_extractor_arith.cc: Test reading a
2414 number with a leading `0' in hex mode.
2415
2416 * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
2417
2418 * mkinclosure: Change `==' to `=' in test.
2419
24202000-07-03 Chip Salzenberg <chip@valinux.com>
2421
2422 * src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
2423 not builddir.
2424 * src/Makefile.in: Regenerate.
2425
20427c6b
BK
24262000-07-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2427 Ulrich Drepper <drepper@purist.soma.redhat.com>
2428
2429 Sync libio to glibc-2.2 current CVS.
2430 * libio/_G_config.h: New file.
2431 * libio/wfileops.c: New file.
2432 * libio/wfiledoalloc.c: New file.
2433 * libio/wgenops.c: New file.
2434 * libio/iofwide.c: New file.
2435 * libio/Makefile.am: Tweaks.
2436 * libio/Makefile.in: Regenerate.
2437 * libio/gen-params: Remove. Generic replacement for this yet undone.
2438 * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h,
2439 libioP.h, stdfiles.c]: Update.
2440 * config/c_io_libio.cc: Tweaks.
2441 * acinclude.m4: Complete hacks to test wide io.
2442 * aclocal.m4: Regenerate.
2443 * configure: Regenerate.
2444 * src/Makefile.am: Update.
2445 * src/Makefile.in: Regenerate.
2446
2447 * math/cargl.c: Remove underscores.
2448
2449 * bits/locale_facets.h: Tweaks. Start adding iconv details
2450 and notes.
2451 * bits/locale_facets.tcc: Tweaks.
2452 * bits/std_cwchar.h: Tweaks.
2453
b6a89402
SS
24542000-06-29 scott snyder <snyder@fnal.gov>
2455
2456 * bits/concept_checks.h
2457 (__less_then_comparable_requirement_violation): Only check for <.
2458 * testsuite/25_algorithms/lower_bound.cc: New file.
2459
4a2f4b12 24602000-06-29 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
c011e2ad 2461
4a2f4b12
BK
2462 * testsuite/27_io/ostream_manip.cc (test02): Add tests.
2463 * bits/ostream.tcc: Tweak.
2464 * bits/std_fstream.h (basic_filebuf::setbuf): Reset
2465 _M_buf_size_opt too.
2466 * bits/std_streambuf.h (basic_streambuf::~basic_streambuf): Zero
2467 out _M_buf_size_opt.
b6a89402 2468 * bits/std_sstream.h (basic_stringbuf::_M_init_stringbuf): Set
4a2f4b12 2469 _M_buf_size_opt out here.
c011e2ad
BC
2470 * bits/char_traits.h (char_traits::eos): Non standard member
2471 function, uglify to __eos. Return char_type().
2472 * bits/std_ostream.h: Change.
fbd5f73b 2473
20427c6b 2474 * testsuite/27_io/ostream_seeks.cc: New file.
fbd5f73b
BK
2475 * testsuite/27_io/ostream_seeks-1.tst: New file.
2476 * testsuite/27_io/istream_unformatted.cc (main): Move test04 and
2477 test05 to...
2478 * testsuite/27_io/istream_seeks.cc: New file.
2479
c011e2ad
BC
24802000-06-29 Branko Cibej <branko.cibej@hermes.si>
2481
2482 * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
2483 _GLIBCPP_RESOLVE_LIB_DEFECTS.
2484 (auto_ptr): _M_ptr changed to void*.
2485 (suto_ptr::get): Cast _M_ptr to element type.
2486 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
2487 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
2488 (auto_ptr::operator*): Likewise.
2489 (auto_ptr::operator->): Likewise.
2490 (auto_ptr::release): Likewise.
2491 (auto_ptr::reset): Likewise.
2492 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
2493 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
2494 Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
2495 Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
2496
ab30ba5c
BK
24972000-06-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2498
2499 * testsuite/27_io/filebuf.cc: Tweak.
2500 * testsuite/27_io/filebuf_members.cc (test_01): Fix.
2501 * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
2502 filebuf dtor.
2503 (__basic_file::basic_file): Clean, add calls similar to
2504 _IO_file_attach.
2505 (__basic_file::open): Clean.
2506 (__basic_file::sys_open): Clean.
2507
2508 * bits/std_fstream.h: Revert.
2509 * bits/fstream.tcc (filebuf::close()): Revert.
2510 (filebuf::basic_filebuf()): Revert.
2511
54a3a087 25122000-06-27 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
4afdac6d
BK
2513
2514 Update to SGI STL 3.3
54a3a087
BK
2515 * ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
2516 ext/stl_rope.h, ext/ropeimpl.h: Update.
2517 * bits/std_bitset.h, bits/std_map, bits/std_memory.h,
2518 bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
2519 bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
2520 bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
2521 bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
2522 bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
2523 bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
2524 bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
2525 bits/stl_uninitialized.h, bits/stl_vectory.h: Update.
4afdac6d
BK
2526
2527 * src/Makefile.am (headers): Add new files.
2528 * src/Makefile.in: Regenerate.
54a3a087 2529 * src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
4afdac6d
BK
2530 * bits/concept_checks.h: New file.
2531 * bits/container_concepts.h: New file.
2532 * bits/sequence_concepts.h: New file.
4afdac6d
BK
2533
25342000-06-27 H.J. Lu <hjl@gnu.org>
2535 Loren J. Rittle <ljrittle@acm.org>
2536
2537 * mkcheck.in: Add support to print standard flags needed to
2538 test g++ in build tree. Enhance command line error checking.
2539
d4826ded
PE
25402000-06-27 Phil Edwards <pme@sourceware.cygnus.com>
2541
2542 * docs/install.html: Fix minor typo as reported.
2543
ab30ba5c 25442000-06-26 Brent Verner <brent@rcfile.org>
644638bc
BK
2545
2546 * bits/string.tcc (string::rfind): Fix.
2547 * testsuite/21_strings/rfind.cc: New file.
2548
25492000-06-26 Anthony Williams <anthony@anthonyw.cjb.net>
2550
2551 * testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.
2552
44b1b18c
BC
25532000-06-26 Branko Cibej <branko.cibej@hermes.si>
2554
644638bc
BK
2555 * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
2556
2557 * mkcheck.in: Make the *.txt and *.tst files writable after
2558 copying them to $TEST_DIR.
44b1b18c 2559
644638bc 2560 * testsuite/27_io/ostream_inserter_arith.cc: Renamed
4afdac6d
BK
2561 __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE. Define
2562 TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.
644638bc 2563
b16810bf
BK
25642000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2565
81ef1479
BK
2566 * bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
2567 (basic_filebuf::close): Use it.
2568 * bits/std_fstream.h (basic_filebuf): Remove default arguments for
2569 filebuf ctor.
2570 (basic_filebuf): Add _M_fileno_based data member.
2571 As reported by brent verner <brent@rcfile.org>
2572 * testsuite/27_io/filebuf_members.cc: New file.
2573 * testsuite/27_io/filebuf_members-1.tst: New file.
2574
b16810bf
BK
2575 * bits/std_fstream.h: Formatting tweaks.
2576 * testsuite/27_io/ofstream_members.cc: New file.
2577 * testsuite/27_io/ofstream_members-1.tst: New file.
2578 * testsuite/27_io/ifstream_members.cc: New file.
2579 * testsuite/27_io/ifstream_members-1.tst: New file.
2580
4f76382d
BK
25812000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2582 Ulrich Drepper <drepper@cygnus.com>
2583
2584 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
2585 that all the freaky stuff like sincos will be around...
2586
f5e79dda
BC
25872000-06-22 Branko Cibej <branko.cibej@hermes.si>
2588
2589 * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
2590
11fc1858
BK
25912000-06-22 Steven King <sxking@uswest.net>
2592
2593 * acinclude.m4: Check for sinl, _sinl using 1 parameter.
2594
25952000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2596
2597 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
2598 same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
2599 link against libm and don't use -fno-builtins...
2600 * math/mathconf.h: Change up builtin macros to new schema.
2601 * bits/std_cmath.h: And here. Wheee!
2602 * shadow/bits/std_cmath.h: And here.
2603 * acconfig.h: Change up builtin macros here.
2604 * math/cosf.c: Remove.
2605 * math/fabsf.c: Likewise.
2606 * math/sinf.c: Likewise.
2607 * math/sqrtf.c: Likewise.
2608 * math/Makefile.am (EXTRA_DIST): Remove those four files.
2609 * math/Makefile.in: Regenerate.
2610
5f349042
BK
26112000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
2612
2613 * testsuite/21_strings/find.cc: Patch.
2614
26152000-06-22 Benjamin Kosnik <bkoz@soma.redhat.com>
2616
2617 * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
2618 an easy way to get at g++ without having to link in libstdc++.
2619
38bd7296
BK
26202000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
2621
2622 Fix alpha, powerpc build failures.
2623 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
2624 re-write. Need to check for both proper declaration when using a
2625 c++ compiler, and "C" linkage when linking. Do both, and if both
2626 exist, then define the HAVE_* bits in config.h.
2627 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE): New, uber-macro. Does all.
2628 (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
2629 program, doh.
2630
60df8b81
BK
26312000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
2632
2633 * bits/string.tcc: Fix find.
2634 * testsuite/21_strings/find.cc: Patch.
2635
26362000-06-20 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2637
2638 * docs/install.html: Update where to get automake, where to get
2639 binutils.
2640 * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
2641 builtins.
2642
93c63813
BK
26432000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2644
83fb52d8
BK
2645 * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
2646 Add -Werror-implicit-function-declaration instead.
2647
93c63813
BK
2648 Regenerate with fixed maintainer-tools.
2649 * aclocal.m4: Regenerate.
2650 * configure: Regenerate.
2651 * libio/Makefile.in: Regenerate.
2652 * src/Makefile.in: Regenerate.
2653
7f1063f8
RD
26542000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2655
2656 * testsuite/27_io/istream_extractor_arith.cc: Patch.
2657 * bits/locale_factets.tcc: Tweak.
2658
aac350aa
BK
26592000-06-19 Raja R Harinath <harinath@cs.umn.edu>
2660
2661 * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
2662 be overridden on the command line for individual files.
2663
2f103494
BK
26642000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
2665
aac350aa 2666 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
93c63813 2667 AC_LANG_CPLUSPLUS as this tries to link in libstdc++, which we are
aac350aa
BK
2668 building. Use -x c++ instead, which does not attempt to link
2669 libstdc++.
2670
2671 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Actually check for
2672 not coring when we hit a try/throw block, which was the problem
2673 with the linker support...
2674
2f103494
BK
2675 * docs/17_intro/contribute.html: Add bits about getting to the LWG
2676 issues pages.
2677 * docs/documentation.html: Rename link to make more accurate and scary.
2678 * docs/gccrebuild.html: Edit for clarity as these are no longer
2679 separate projects.
2680 * docs/install.html: Add bits about binutils for
2681 -ffunction-sections, -fdata-sections, -Wl,--gc-sections
2682
2683 * configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2684 * math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
2685 USE_COMPLEX_LONG_DOUBLE.
2686 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
2687 GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
2688 Works around irregularies in powerpc "C" compiler, but a good idea
2689 anyway.
2690
2691 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
2692 New. Merge both old compiler bug checks for complex into this.
2693
7626c237
BK
26942000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
2695
2696 * testsuite/21_strings/find.cc: Empty strings can be found at all
2697 positions. Modified.
2698
26992000-06-19 Branko Cibej <branko.cibej@hermes.si>
2700
2701 * testsuite/20_utilities: New directory.
2702 * testsuite/20_utilities/auto_ptr.cc: New file.
2703
c470c17d
BK
27042000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2705
2706 * src/Makefile.am (string_sources): Simplify, assuming that with
2707 -ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
2708 hacking is not necessary.
2709 (wstring_sources): Same.
2710 (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
2711 -Wl,--gc-sections.
2712 * src/string-inst.cc: Remove macro blocks.
2713 * mkcheck.in (CXX_FLAG): Add bits here.
2714
2715 * src/string-inst.cc: Remove iostream-related string instantiations.
2716 * src/misc-inst.cc: Add here.
2717
2718 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
2719 to WFMT_FLAGS.
2720 * aclocal.m4: Regenerate.
2721 * configure.in: Change up.
2722 * configure: Regenerate.
2723
cc12edec
BK
27242000-06-13 Steven King <sxking@uswest.net>
2725
2726 * acinclude.m4: Fixup some of the builtin math tests and add tests for
2727 __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
2728 * acconfig.h: Add entries for fmod*.
2729
5ae55a2e
BK
27302000-06-13 Branko Cibej <branko.cibej@hermes.si>
2731
2732 * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
2733 Test *_MODFF not *_MODF for modf(float, float*).
2734 (modf(float, float*)): Remove reference to _C_legacy.
2735
cc12edec
BK
27362000-06-13 Benjamin Kosnik <bkoz@redhat.com>
2737
2738 * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
2739 _GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
2740 superset, and already defined at top level.
2741 * aclocal.m4: Regenerate.
2742 * configure: Regenerate.
2743
2744 * docs/17_intro/contribute.html: Plead with people to use -cp.
2745
8173b2d7
BK
27462000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
2747
2748 * testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
2749
2750 * testsuite/27_io/filebuf.cc: Changed calls to
2751 fpos<>._M_position() to implicit calls to operator streamoff().
2752 * testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
2753 as not needed. Revert, as part of standard.
2754 * testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
2755 call to numpunct<>._M_init() with overrides of the appropriate
2756 virtual functions.
2757
2758 * testsuite/27_io/stringstream.cc: Removed unnecessary char *
2759 pointers from test01, so no need to call base(), which isn't
2760 guaranteed to be implemented as iterators may themselves be pointers
2761 * testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
2762 _M_position() - use implicit conversion to streamoff instead
2763
27642000-06-13 Thomas Holenstein <thomas@hex.ch>
2765
2766 * bits/stl_iterator.h: Added inline to operators == to >=.
2767
96cbf48b
BV
27682000-06-13 Brent Verner <brent@rcfile.org>
2769
2770 * bits/streambuf.tcc: repaired _S_copy_streambufs()
2771 * testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
2772
088eb5a2
BK
27732000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2774
2775 * bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
2776 members.
2777 * src/locale.cc: Add cwchar include here. Remove incorrect
2778 definitions, and stub them out.
2779 * config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
2780 * config/solaris/solaris2.7/ctype.cc (ctype): Same.
2781 * config/solaris/solaris2.5/ctype.cc (ctype): Same.
2782 * config/newlib/ctype.cc: Same.
2783 * config/gnu-linux/ctype.cc: Same.
2784 * config/bsd/ctype.cc: Same.
2785 * config/aix/ctype.cc: Same.
2786
27872000-06-12 Branko Cibej <branko.cibej@hermes.si>
2788
2789 * config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
2790 towupper and towlower to convert wide characters.
2791
d54a528a
BK
27922000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2793
2794 * mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
2795
6c820cf2
BC
27962000-06-08 Branko Cibej <branko.cibej@hermes.si>
2797
2798 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
2799 sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
2800 * aclocal.m4: Regenerate.
2801 * configure: Regenerate.
2802 * math/cosf.c: New file.
2803 * math/fabsf.c: Likewise.
2804 * math/sinf.c: Likewise.
2805 * math/sqrtf.c: Likewise.
2806 * math/Makefile.am (EXTRA_DIST): Add those four files.
2807 * math/Makefile.in: Regenerate.
2808
5c61f0f2
PE
28092000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
2810
2811 * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
2812
54fa7415
SK
28132000-06-06 Steven King <sxking@uswest.net>
2814
2815 * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
2816 double and long double. Added defines for HAVE libm math functs for
2817 float and long double.
2818 * aclocal.m4: Added configure checks for builtin math funcs and libm
2819 support for float and long double versions of the math functions.
2820 * config.h.in: Added undefs for math functs.
2821 * configure: Regenerate.
2822 * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
2823 _GLIBCPP_HAVE_BUILTIN_*.
2824 * bits/std_cmath.h: Added long double support. Use builtins for
2825 float, double and long if available, otherwise, use libm versions if
2826 availible, otherwise, punt.
2827 * shadow/bits/std_cmath.h: ditto
2828
c9b39473
BK
28292000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2830
cc4316b5
BK
2831 * bits/locale_facets.h: Tweak.
2832 * src/locale.cc (codecvt<wchar_t>): Tweak.
2833
c9b39473
BK
2834 * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
2835 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
2836
cc4316b5
BK
2837 * bits/basic_string.h: Move data member up.
2838 * src/string-inst.cc: Fix instantiations.
2839 * bits/string.tcc: Fix types.
2840
3ce74580
AW
28412000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
2842
2843 * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
2844
3840fa2a
BK
28452000-06-01 Benjamin Kosnik <bkoz@gnu.org>
2846
2847 * bits/std_cwctype.h: Clean.
2848 * bits/std_cwchar.h: Clean, remove cruft.
2849
2850 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
2851 for beginning iconv support.
2852 Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
2853 macro.
2854 * acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
2855 * bits/limits_generic.h: Remove.
2856 * src/gen-num-limits.cc: Same.
2857
2858 * src/locale.cc: Tweaks.
2859
2860 * bits/char_traits.h: Tweaks.
2861
64cdd351
BK
28622000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2863
2864 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
2865 exponent, scientific formatting issues.
2866 * testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
2867
b2c62b3c
BC
28682000-05-31 Branko Cibej <branko.cibej@hermes.si>
2869
2870 * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
2871 and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
2872
149a0abf
NM
28732000-05-31 Nathan Myers <ncm@cantrip.org>
2874
2875 * docs/thanks.html: edit own credits
2876
30ff6342
BK
28772000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2878
83bcda1e
BK
2879 * bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
2880
30ff6342
BK
2881 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
2882
64cdd351
BK
2883 * mkcheck.in (SH_FLAG): Add in -Wl,--rpath -Wl,$LIB_PATH. Tweaks.
2884
30ff6342
BK
28852000-05-31 Steven King <sxking@uswest.net>
2886
2887 * shadow/time.h: fix typo
2888 * shadow/wchar.h: ifdef __USE_GNU for wcsdup
2889 * shadow/bits/std_cwchar.h: ditto
2890 * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
2891 and long long.
2892
0137be2d
PE
28932000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
2894
2895 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't
2896 available, force --disable. Need to flesh this out; make smarter.
2897 * aclocal.m4: Regenerate.
2898 * configure: Regenerate.
2899
2900 * mkcheck.in: Minor tweaks.
2901 * docs/download.html: Fix typo.
2902
5b80666b
BK
29032000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
2904
2905 * inclosure: Change to...
2906 * mkinclosure: This.
2907 Fix paths to bash.
2908 * mkcshadow: Fix paths to bash.
2909
2910 * src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
2911 * src/Makefile.in: Regnerate.
2912 * acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
2913 (GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
2914 * aclocal.m4: Regenerate.
39e09fba 2915 * mkcheck.in (INC_PATH): Tweak.
5b80666b
BK
2916
2917 * configure.in: Enable long long by default.
2918 * configure: Regenerate.
2919
2920 * mkcheck.in (LIB_PATH): Revert.
2921
bf93f43b
BK
29222000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
2923
2924 * config/cpu/i486: New directory.
2925 * config/cpu/i486/bits: New directory.
2926 * config/cpu/i486/bits/atomicity.h: New file.
2927 * config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
2928 'cmpxchgl' asm.
2929 * acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
2930
29312000-05-24 Loren J. Rittle <ljrittle@acm.org>
2932
2933 * backward/alloc.h (__default_alloc_template): Only expose
2934 implementation-specific symbol, if it exists in the
2935 configuration.
2936 * backward/iostream.h (ends): Expose symbol.
2937 * backward/strstream.h: New file.
2938 * backward/stream.h: New file.
2939 * backward/ostream.h: New file.
2940 * backward/istream.h: New file.
2941 * backward/fstream.h: New file.
2942 * backward/complex.h: New file.
2943 * backward/iomanip.h: New file.
2944
2945 * mkcheck.in (LIB_PATH): Add -R bits.
2946
2947 * math/carg.c (carg): Replace __atan2 with atan2.
2948
d3a12960
BK
29492000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2950
d94611f1
BK
2951 * Makefile.am (TAGS): Construct.
2952 * Makefile.in: Rengerate.
2953 * src/Makefile.am: Tweak.
2954 * src/Makefile.in: Tweak.
2955 * configure.in: Tweak.
2956
2957 * bits/c++config.h: Rename to ...
2958 * bits/c++config: This.
2959 * mkc++config: Adjust.
2960
af9fe0d1
BK
2961 * m4: Remove.
2962 * m4/lc_message.m4: Merge into acinclude.m4.
2963 * m4/mathfcts.m4: Same.
2964 * m4/stringfcts.m4: Same.
2965 * acinclude.m4: Add here.
2966 * configure: Regnerate.
2967
d3a12960
BK
2968 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
2969 OPTLEVEL. Add FMTFLAGS.
2970 * aclocal.m4: Regenerate.
af9fe0d1
BK
2971 * src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this has
2972 been disabled due to higher-level Makefiles running amuck over
d3a12960
BK
2973 this bit, and add in FMTFLAGS so that formatting is clear.
2974 * src/Makefile.in: Regenerate.
2975 * configure: Regenerate.
2976
bf93f43b 2977 * src/ios.cc (ios_base::sync_with_stdio): Clean up buffers from
d3a12960
BK
2978 initialization.
2979
2980 * docs/download.html: Remove references to Cygwin-specific bits,
2981 as this can now be built natively.
2982 Update with current information.
2983
a4e99046
PE
29842000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
2985
2986 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
2987 -fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
2988 enclose other tests in this macro, including future ones.
2989 * aclocal.m4: Regenerate.
2990 * configure: Regenerate.
2991
2992 * docs/faq/index.html: Update location of libg++ FAQ.
2993 * docs/faq/index.txt: Regenerate.
2994
d3a12960 29952000-05-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
6f5ed736
BK
2996
2997 * docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
2998
276c771b
PE
29992000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
3000
3001 * mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
3002
11a6e9a7
PE
30032000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
3004
3005 * acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
3006 keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
3007 * aclocal.m4: Regenerate.
3008 * configure: Regenerate.
3009
0d9a68e8
NM
30102000-05-19 Nathan C. Myers <ncm@cantrip.org>
3011
3012 * bits/generic_shadow.h: s/swamp/legacy/
3013
8bd636c5
PE
30142000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
3015
3016 * acinclude.m4: Clean up comments on newer checks.
3017 (GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
3018 pragma support. Remove WERRORSUPPRESS variable, add WERROR.
3019 * aclocal.m4: Regenerate.
3020 * configure: Regenerate.
3021 * Makefile.in: Regenerate.
3022 * libio/Makefile.in: Regenerate.
3023 * math/Makefile.in: Regenerate.
3024 * src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
3025 * src/Makefile.in: Regenerate.
3026 * docs/configopts.html: Document changes to --enable names.
3027
6dad70df
BK
30282000-05-18 Chip Salzenberg <chip@valinux.com>
3029
3030 * bits/ostream.tcc (_S_pad_char): Function template should not be
3031 static.
3032 * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
3033 * src/string-inst.cc (__destroy_aux): Instantiate for string*.
3034
30352000-05-18 Nathan C. Myers <ncm@cantrip.org>
3036
3037 * mkcshadow: Change C_Swamp to C_legacy.
3038 * shadow/*: Same.
3039 * shadow/bits/*: Same.
3040 s/C_Swamp/C_legacy/g
3041 s/SWAMP/LEGACY/g
3042 s/_Shadow/_shadow/g
3043
30442000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
3045
3046 * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
3047 const char*.
3048 * src/string-inst.cc (string::_S_find): Same.
3049
d0d88ce3
BK
30502000-05-18 Benjamin Kosnik <bkoz@gnu.org>
3051
3052 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
3053 --enable-cshadow-headers. Add output messages.
3054 (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
3055 underscores (like the rest of the enable options.) Add output messages.
3056 * aclocal.m4: Regenerate.
3057 * configure: Regenerate.
3058 * configure.in: Touch.
3059
a51ef160
BK
30602000-05-17 Benjamin Kosnik <bkoz@cygnus.com>
3061
3062 * mkcheck.in: Enable shared library testing.
3063
811e551b
BK
30642000-05-17 Nathan C. Myers <ncm@cantrip.org>
3065
3066 * bits/std_cmath.h: fix sqrt(float)
3067
30682000-05-16 Loren J. Rittle <ljrittle@acm.org>
3069
3070 * bits/std_cassert.h: Use system_header pragma.
3071 * bits/std_cctype.h: Likewise.
3072 * bits/std_cerrno.h: Likewise.
3073 * bits/std_cfloat.h: Likewise.
3074 * bits/std_climits.h: Likewise.
3075 * bits/std_clocale.h: Likewise.
3076 * bits/std_cmath.h: Likewise.
3077 * bits/std_csetjmp.h: Likewise.
3078 * bits/std_csignal.h: Likewise.
3079 * bits/std_cstdarg.h: Likewise.
3080 * bits/std_cstddef.h: Likewise.
3081 * bits/std_cstdio.h: Likewise.
3082 * bits/std_cstdlib.h: Likewise.
3083 * bits/std_cstring.h: Likewise.
3084 * bits/std_ctime.h: Likewise.
3085 * bits/std_cwchar.h: Likewise.
3086 * bits/std_cwctype.h: Likewise.
3087 * bits/std_exception.h: Likewise.
3088 * bits/std_new.h: Likewise.
3089 * bits/std_typeinfo.h: Likewise.
3090 * shadow/bits/std_cassert.h: Likewise.
3091 * shadow/bits/std_cctype.h: Likewise.
3092 * shadow/bits/std_cerrno.h: Likewise.
3093 * shadow/bits/std_cfloat.h: Likewise.
3094 * shadow/bits/std_climits.h: Likewise.
3095 * shadow/bits/std_clocale.h: Likewise.
3096 * shadow/bits/std_cmath.h: Likewise.
3097 * shadow/bits/std_csetjmp.h: Likewise.
3098 * shadow/bits/std_csignal.h: Likewise.
3099 * shadow/bits/std_cstdarg.h: Likewise.
3100 * shadow/bits/std_cstddef.h: Likewise.
3101 * shadow/bits/std_cstdio.h: Likewise.
3102 * shadow/bits/std_cstdlib.h: Likewise.
3103 * shadow/bits/std_cstring.h: Likewise.
3104 * shadow/bits/std_ctime.h: Likewise.
3105 * shadow/bits/std_cwchar.h: Likewise.
3106 * shadow/bits/std_cwctype.h: Likewise.
3107 * shadow/bits/wrap_libio.h: Likewise.
3108 * shadow/bits/wrap_unistd.h: Likewise.
3109 * shadow/sys/cdefs.h: Likewise.
3110
31112000-05-16 Nathan C. Myers <ncm@cantrip.org>
3112
3113 It appears that gcc-2.96 supports the keyword "and" now.
3114 * bits/std_ciso646.h: remove.
3115 * std/ciso646: gut.
3116 * testsuite/17_intro/header_ciso646.c: enable testing.
3117 * src/Makefile.am, src/Makefile.in: remove mention of
3118 bits/std_ciso646.h
3119
a5c0553d
NM
31202000-05-16 Nathan C. Myers <ncm@cantrip.org>
3121
3122 * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
3123
032cc955
PE
31242000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
3125
3126 * acinclude.m4: Fix typo, switch to decaf...
3127 * aclocal.m4: Regenerate.
3128 * configure: Regenerate.
3129
99246c90
PE
31302000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
3131
3132 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
3133 * aclocal.m4: Regenerate.
3134 * configure.in: Call.
3135 * configure: Regenerate.
3136 * docs/configopts.html: Stub documentation.
3137
6ad50467
BK
31382000-05-14 Nathan Myers <ncm@cantrip.org>
3139
3140 * mkcshadow: build in more-correct directory, create cshadow/
3141 directory if needed, report progress.
3142
31432000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
3144
3145 * src/Makefile.am: Fix tr commands.
3146 * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
3147 * src/string-inst.cc: Remove extra instantiation of
3148 S::basic_string(S::size_type, C, S::allocator_type const&);
3149 * src/string-inst.cc: Remove extra template keyword.
3150
31512000-05-14 Loren J. Rittle <ljrittle@acm.org>
3152
3153 * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
3154 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
3155 * aclocal.m4: Regenerate.
3156 * configure: Regenerate.
3157 * */Makefile.in: Regenerate.
3158
32a4595e
PE
31592000-05-11 Phil Edwards <pme@sourceware.cygnus.com>
3160
3161 * acinclude.m4: Fix minor typo with ctypes, add more sanity to
3162 enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
3163 * aclocal.m4: Regenerate.
3164 * configure.in: Non-blank arguments break fewer Linuxes.
3165 * configure: Regenerate.
3166 * src/Makefile.am: Re-order AC_CXXFLAGS components.
3167 * src/Makefile.in: Regenerate.
3168
f035fae1
BK
31692000-05-10 Benjamin Kosnik <bkoz@redhat.com>
3170
991a40fc
BK
3171 * bits/std_cmath.h: Tweaks.
3172 * math/mathconf.h: Tweaks and fixes for HP-UX 11.
3173 (sqrtf): Define away iff !builtin and !in <math.h>.
3174 (sinf): Same.
3175 (cosf): Same.
3176 (fabsf): Same.
3177 At some point this directory should be converted to c++, the
3178 autoconf tests should be run by the c++ compiler (not c), and
3179 <cmath> should be used instead of math.h.
3180 Move declaration of nan() here.
3181 * math/complex-stub.h (cabsl): Remove nan() declaration.
3182
f035fae1
BK
3183 Finish up FreeBSD4.0 support.
3184 * config/bsd/ctype.cc: Scope out toupper, tolower calls.
3185 * config/generic/ctype.cc: And here.
3186 * testsuite/21_strings/char_traits.cc (test02): Guard with
3187 _GLIBCPP_USE_WCHAR_T.
3188
991a40fc
BK
3189 via Phil Edwards <pme@sourceware.cygnus.com>
3190 * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
3191 * acconfig.h: And here.
3192 * acinclude.m4: Same.
3193 * testsuite/27_io/istream.cc: And here.
3194 * testsuite/27_io/ostream.cc: And here.
3195
7b267e3e
BK
31962000-05-09 Benjamin Kosnik <bkoz@gnu.org>
3197
3198 * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
3199 -mcpu=powerpc.
9e9ada45
BK
3200 * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
3201
7b267e3e
BK
3202 * config/generic/bits/ctype_specializations.h (ctype<char>::is):
3203 Make more generic.
3204
3205 * config/bsd: New directory.
3206 * config/bsd/ctype.cc: New.
3207 * config/bsd/bits/ctype_base.h (ctype_base): New.
3208 * config/bsd/bits/ctype_specializations.h: New.
3209 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
3210
dcfa0bc8
PE
32112000-05-09 Phil Edwards <pme@sourceware.cygnus.com>
3212
3213 * acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
3214 * configure.in: Call.
3215 * src/Makefile.am: Append results of macro to AC_CXXFLAGS.
3216 * aclocal.m4: Regenerate.
3217 * configure: Ditto.
3218 * src/Makefile.in: Ditto.
3219 * docs/configopts.html: Document.
3220 * docs/download.html: Fix typo (close quote).
3221 * docs/footer.html: Update.
3222
55718a0b
BK
32232000-05-09 Loren J. Rittle <ljrittle@acm.org>
3224
3225 * backward/iostream.h: Expose endl. Guard wide types.
3226 * src/Makefile.am (headers): Update list to match files.
3227 * src/Makefile.in: Regenerate.
3228
32292000-05-09 Vadim Egorov <egorovv@mailandnews.com>
c0b84d79
VE
3230 Benjamin Kosnik <bkoz@gnu.org>
3231 Nathan Myers <ncm@cantrip.org>
3232 Dietmar Kuehl <dietmar_kuehl@yahoo.com>
3233
3234 * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
3235 (basic_streambuf::xsputn): Make consistent.
3236 * testsuite/27_io/filebuf.cc: Add tests.
3237
943ff2a0 32382000-05-08 Steven King <sxking@uswest.net>
8445e42a 3239
55718a0b 3240 * bits/char_traits.h: Use wchar_t utility functions for
8445e42a
SK
3241 char_traits<wchar_t> methods.
3242 * testsuite/21_string/char_traits.cc: New (test02): test
3243 char_traits<wchar_t>
3244
d207c3f7
BK
32452000-05-08 Benjamin Kosnik <bkoz@cygnus.com>
3246
8445e42a
SK
3247 * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
3248
d207c3f7
BK
3249 * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
3250 _M_buf_size based on macro, instead use _M_buf_size_opt.
3251 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
3252 (basic_streambuf()): Set _M_buf_size_opt.
3253 * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
3254 instead of _M_buf_size.
3255
bfe5c121
BC
32562000-05-04 Branko Cibej <branko.cibej@hermes.si>
3257
3258 * src/complex_io.cc: Don't instantiate inserters and extractors
3259 for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
3260
754ac8f7
PE
32612000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
3262 Felix Natter <fnatter@gmx.net>
3263
3264 * docs/footer.html: Update to see if it takes effect.
3265 * docs/thanks.html: More people.
3266 * docs/17_intro/headers_cc.txt: Copy from testsuite, since that can't
3267 be seen from the web pages. Rename for browser-friendliness...
3268 * docs/17_intro/howto.html: ...and update here.
3269 * docs/17_intro/porting-howto.html: Changes from Felix.
3270 * docs/gccrebuild.html: Mention v3->egcs move.
3271 * docs/faq/index.html: Ditto. Also misc tweaks and URL updates.
3272 * docs/faq/index.txt: Regenerate.
3273
e704c6bf
BK
32742000-05-01 Benjamin Kosnik <bkoz@redhat.com>
3275
3276 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
3277 fixes.
3278
8fd05cb0
VE
32792000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
3280
3281 * bits/char_traits.h: Fix parameter types.
3282 * bits/string.tcc: Avoid traits_type::move.
3283
cde28f0d
BK
32842000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
3285
3286 * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
3287 * src/Makefile.in: Regenerate.
3288 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
3289
53a6ca29
SK
32902000-04-30 Steven King <sxking@uswest.net>
3291
3292 * bits/locale_facets.h: Fix syntax error.
3293 * bits/std_fstream.h: ditto
3294
6dd4c3fd
BK
32952000-04-30 Benjamin Kosnik <bkoz@gnu.org>
3296
b7fe530c
BK
3297 * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
3298
6dd4c3fd
BK
3299 * mknumeric_limits (trait_name): Fix copyright notice.
3300 * src/gen-num-limits.cc: Explicitly instantiate epsilon and
3301 round_error data members of struct value. This works around
3302 weak-linking issues on AIX, HPUX.
3303
0bf0f027
PE
33042000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
3305
3306 * docs/download.html: Add link to list of mirror sites.
3307
3f49b842
BK
33082000-04-28 Loren J. Rittle <ljrittle@acm.org>
3309
3310 * mkcheck.in: Rely on exit status instead of the presence of a
3311 core file. Added comments on how/where to save core and exe
3312 files. Move shell wildcards outside quotes and fix core path.
3313
33142000-04-27 scott snyder <snyder@fnal.gov>
3315
3316 * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
3317 classes.
3318
f3b004d8
BK
33192000-04-26 Nathan C. Myers <ncm@cantrip.org>
3320
3321 * bits/basic_string.h: include <bits/atomicity.h> instead
3322 of <atomicity.h>, and use the uglified names.
3323 * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
3324 uglify names, eliminate dependence on <inttypes.h>.
3325 * src/Makefile.in, src/Makefile.am: refer to correct place
3326 for atomicity.h header.
3327
33282000-04-25 Steven King <sxking@uswest.net>
3329
3330 * bits/basic_string.h: Fix syntax error.
3331
33322000-04-25 Benjamin Kosnik <bkoz@redhat.com>
3333
3334 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
3335 USE_LONG_DOUBLE.
3336 (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
3337 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
3338 versions to this as copysignl is needed anyway for these targets.
3339 * math/Makefile.in: Regenerate.
3340
3341 * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
3342 * bits/fstream.tcc (underflow): Cast to libio types.
3343 * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
3344 * config/c_io_libio.cc (seekoff): And here.
3345
f7f8b180
LR
33462000-04-24 Loren J. Rittle <ljrittle@acm.org>
3347
3348 * mkcheck.in: Report compiler version used for test. Find
3349 the built _G_config.h instead of any old installed version.
3350
f4dad842
LR
33512000-04-24 Loren J. Rittle <ljrittle@acm.org>
3352
3353 * config/generic/ctype.cc (do_toupper): Remove dependence on
3354 non-portable/non-existent lookup table.
3355 (do_tolower): Same.
3356
5d89258a
BK
33572000-04-24 Nathan Myers <ncm@cantrip.org>
3358
3359 * src/string-inst.cc: More fixing.
3360
33612000-04-24 Benjamin Kosnik <bkoz@gnu.org>
3362
3363 * bits/stl_iterator.h: Pedantic fixing.
3364 * bits/std_sstream.h: And here.
3365 * bits/string.tcc: And here.
3366
33672000-04-24 Felix Natter <fnatter@gmx.net>
3368
3369 * docs/17_intro/howto.html: Add bits.
3370 * docs/17_intro/porting-howto.html: New file.
3371
33722000-04-24 Branko Cibej <branko.cibej@hermes.si>
3373
3374 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
3375 @libinst_wstring_la@ to libinst-wstring.la when specializing for
3376 wchar_t, to empty string otherwise.
3377 * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
3378 (sources): Remove $(string_sources) and $(wstring_sources).
3379 (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
3380 (libstdc___la_DEPENDENCIES): New.
3381 (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
3382
b2dad0e3
BK
33832000-04-20 Benjamin Kosnik <bkoz@redhat.com>
3384
3385 * bits/std_sstream.h: Tweak formatting.
3386 * bits/std_fstream.h: Make types public.
3387
3388 * testsuite/27_io/streambuf.cc: Fix for alpha.
3389
3390 Brad Garcia <bgarcia@laurelnetworks.com>
3391 * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
3392 initialization.
3393 * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
3394 bool formatting.
3395
33962000-04-19 Nathan Myers <ncm@cantrip.org>
3397
3398 * src/string-inst: consolidate _S_create,
3399 destroy, leak, clone members into stringMAIN and stringMUTATE
3400 object files.
3401 * src/Makefile.am: Above, and eliminate dependence on
3402 wstring-inst.cc.
3403 * src/wstring-inst.cc: Remove.
3404
34052000-04-18 Benjamin Kosnik <bkoz@redhat.com>
3406
3407 * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
3408 Add flags for specialized rules dealing with instantiations.
3409
3410 * src/string-inst.cc: Add instantiations missing from shared
3411 libraries--see stringEQ, stringCONSC.
3412 * src/Makefile.am (wstring_sources): Add.
3413 (string_sources): Same.
3414 * src/Makefile.in: Regenerate.
3415
3416 * stl/*: Integrate contents of this directory into top-level
3417 directories.
3418 * ext/bvector hash_map hash_set rope ropeimpl.h slist
3419 stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
3420 * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
3421 std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
3422 std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
3423 std_stdexcept.h std_strstream.h std_utility.h std_vector.h
3424 stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
3425 stl_deque.h stl_function.h stl_heap.h stl_iterator.h
3426 stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
3427 stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
3428 stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
3429 stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
3430 stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
3431 * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
3432 function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
3433 list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
3434 stack.h tempbuf.h tree.h vector.h: Add.
3435 * README (file): Update.
3436 * docs/documentation.html: README not being found.
3437 * src/Makefile.am (sources): Take out stl directory.
3438 * mkcheck.in (SRC_DIR): And here.
3439 * src/Makefile.in: Regenerate.
3440
34412000-04-18 Levente Farkas <lfarkas@mindmaker.hu>
3442
3443 * stl/bits/stl_function.h: Add bits so that const and non-const
3444 both work.
3445
34462000-04-18 scott snyder <snyder@fnal.gov>
3447
3448 * stl/bits/stl_map.h (class map): Fix default for _Alloc template
3449 parameter. Get rid of use of __STL_DEFAULT_ALLOCATOR and
3450 __STL_LIMITED_DEFAULT_TEMPLATES macros.
3451 * stl/bits/stl_multimap.h (class multimap): Likewise. Get rid of
3452 use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3453
34542000-04-18 scott snyder <snyder@fnal.gov>
3455
3456 * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
3457 this macro.
3458
3459 * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
3460 of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
3461 * stl/ext/hash_set (class hash_set, class hash_multiset):
3462 Likewise.
3463 * stl/bits/stl_function.h (struct constant_unary_fun, struct
3464 constant_binary_fun): Likewise.
3465 * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
3466 * stl/bits/stl_stack.h (class stack): Likewise.
3467 * stl/bits/stl_set.h (class set): Likewise.
3468 * stl/bits/stl_multiset.h (class multiset): Likewise.
3469
3470 * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
3471 class reverse_iterator): Get rid of use of
3472 __STL_LIMITED_DEFAULT_TEMPLATES macro.
3473
3474 * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
3475 macro.
3476
3477 * stl/bits/stl_deque.h (class deque): Get rid of use of
3478 __STL_DEFAULT_ALLOCATOR macro.
3479 * stl/bits/stl_list.h (class list): Likewise.
3480 * stl/bits/stl_multiset.h (class multiset): Likewise.
3481 * stl/bits/stl_set.h (class set): Likewise.
3482 * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
3483 * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
3484 * stl/bits/stl_vector.h (class vector): Likewise.
3485 * stl/ext/ropeimpl.h (rotate): Likewise.
3486 * stl/ext/hash_map (class hash_map, class hash_multimap):
3487 Likewise.
3488 * stl/ext/hash_set (class hash_set, class hash_multiset):
3489 Likewise.
3490 * stl/ext/slist (class slist): Likewise.
3491 * stl/ext/stl_bvector.h (class bit_vector): Likewise.
3492 * stl/ext/stl_rope.h (class rope): Likewise.
3493 * src/locale.cc (_Impl): Likewise.
3494 * src/localename.cc (_Impl): Likewise.
3495 * bits/localefwd.h (_Impl): Likewise.
3496
34972000-04-18 Phil Edwards <pme@sourceware.cygnus.com>
3498
3499 * docs/install.html: Cleanup, minor changes.
3500 * docs/17_intro/howto.html: Ditto.
3501
35022000-04-18 Nathan Myers <ncm@cantrip.org>
3503
3504 * bits/basic_string.h: Remove "inline" from member _S_find.
3505
3506 * src/string-inst.cc: Rewrite to reflect non-inline template
3507 instantiations in string.tcc.
3508
3509 * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
3510 stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
3511 stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
3512 stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
3513 stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
3514 stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
3515 stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
3516 stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
3517 stringNESS.cc, stringSCOPY.cc: Remove.
3518 * src/wstringADDCS.cc, etc: Remove.
3519
3520 Benjamin Kosnik <bkoz@haight.constant.com>
3521 * src/Makefile.am: Modify to reflect above.
3522 * src/Makefile.in: Regenerate.
3523
35242000-04-17 Benjamin Kosnik <bkoz@cygnus.com>
3525
3526 * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
3527
35282000-04-13 Benjamin Kosnik <bkoz@haight.cygnus.com>
3529
3530 * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
3531 io interface here instead of the libio particulars.
3532
3533 * config/threads-posix.h: Consistency with stl_config.h.
3534
3535 * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
3536
35372000-04-13 Loren J. Rittle <ljrittle@acm.org>
3538
3539 * mknumeric_limits: Rename generic type template parameter name
3540 '_T' to '_Tp'.
3541 * stl/bits/type_traits.h: Ditto.
3542
35432000-04-06 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3544
3545 * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
3546 it is more useful for --enable-libstdcxx-v3. Use the built
3547 compilers with v3, instead of compilers in PATH, and don't
3548 re-include include directories for checking the install.
3549
35502000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
3551
3552 * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
3553 by default when using --enable-libstdcxx-v3.
3554 * src/Makefile.in: Regenerate.
3555 * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
3556 GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
3557 * configure: Regenerate.
3558 * mkcheck.in: Deal with NAMESPACES.
3559
35602000-04-05 Petter Urkedal <petter@matfys.lth.se>
3561
3562 * src/cmath.cc: New file...
3563 (pow(*, int)): Define functions...
3564 * src/Makefile.am (sources): ...register file.
3565 * src/Makefile.in: Regenerate.
3566 * bits/std_cmath.h (pow): ...declare functions here, and remove
3567 old definitions.
3568
35692000-04-04 Benjamin Kosnik <bkoz@redhat.com>
3570
3571 * acinclude.m4 (GCC_OBJDIR): Tweaks
3572
35732000-04-03 Benjamin Kosnik <bkoz@redhat.com>
3574
3575 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
3576 * config/cpu/arm: New directory.
3577
3578 Jesper Skov <jskov@redhat.com>
3579 * config/cpu/arm/atomicity.h: New file.
3580
35812000-03-31 Benjamin Kosnik <bkoz@redhat.com>
3582
3583 * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
3584 Remove unused bits. Clean.
3585
35862000-03-29 Benjamin Kosnik <bkoz@cygnus.com>
3587
3588 * testsuite/25_algorithms: New directory.
3589 * testsuite/25_algorithms/min_max.cc: New file.
3590
35912000-03-29 scott snyder <snyder@fnal.gov>
3592
3593 * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
3594 precision beyond that which we get from numeric_limits::digits10.
3595
3596 * stl/bits/stl_algobase.h (max, min): Don't use comparison
3597 operator.
3598
3599 * testsuite/23_containers/bitset_shift.cc: Fix.
3600
3601 * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
3602 temporary to imbue().
3603
3604 * bits/std_fstream.h (sync): Resync libio's idea of the current
3605 file position with the external file.
3606
36072000-03-28 Benjamin Kosnik <bkoz@cygnus.com>
3608
3609 * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
3610 mistake.
3611
3612 * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
3613 attempting calls to it.
3614 * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
3615 ctors. Instead, call _M_init_filebuf ...
3616 (open): Here, as suggested by 27.8.1.3.
3617 * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
3618 properly when initializing cout/cin/cerr.
3619
36202000-03-27 Russell Davidson <russell@ehess.cnrs-mrs.fr>
3621
3622 * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
3623 * testsuite/22_locale/ctype_char_members.cc: And here.
3624 * testsuite/27_io/streambuf.cc (streambuf): And here.
3625 * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
3626 * testsuite/27_io/istream_unformatted.cc (test05): And here.
3627 * testsuite/27_io/istream_extractor_arith.cc: And here.
3628 * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
3629 * testsuite/27_io/ios_base_members_static.cc: And here.
3630 * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
3631
36322000-03-27 Chris Faylor <cgf@cygnus.com>
3633
3634 * configure.in: Remove setting of CXX if canadian cross.
3635 * configure: Regenerate.
3636
36372000-03-27 Nathan Myers <ncm@zembu.com>
3638
3639 * bits/sstream.tcc: Optimize.
3640 * bits/basic_string.h(string::append): Don't inline.
3641 * bits/string.tcc: Move out-of-line.
3642
36432000-03-27 Phil Edwards <pme@sourceware.cygnus.com>
3644
3645 * acinclude.m4: (GLIBCPP_CHECK_COMPILER_VERSION) When using <2.96,
3646 define WERRORSUPPRESS so that the inlining warnings won't kill us.
3647 * aclocal.m4: Regenerate.
3648 * configure: Regenerate.
3649 * src/Makefile.am: Use WERRORSUPPRESS for the files that need it.
3650 * src/Makefile.in: Regenerate.
3651
3652 * docs/install.html: Almost complete rewrite.
3653
36542000-03-25 Phil Edwards <pme@sourceware.cygnus.com>
3655
3656 * docs/install.html: Explain -Werror problem at "#Werror" mark.
3657 * docs/faq/index.html: Testsuite will die horribly if new libgcc.a
3658 not installed.
3659 * docs/faq/index.txt: Regenerate.
3660
36612000-03-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3662
3663 * src/Makefile.am (libio_headers_install): Fix.
3664 * src/Makefile.in: Regenerate.
3665
36662000-03-24 Benjamin Kosnik <bkoz@cygnus.com>
3667
3668 * docs/17_intro/RELEASE-NOTES: Fix typos.
3669 * docs/index.html: Update.
3670 * docs/17_intro/BUGS: Update.
3671 * docs/status.html: Update for 2.90.8 release.
3672
36732000-03-23 Phil Edwards <pme@sourceware.cygnus.com>
3674
3675 * Makefile.am: Better error message when missing libgcc2.ready.
3676 * Makefile.in: Regenerate.
3677 * acinclude.m4: Fastidious nitpicking reformatting.
3678 * aclocal.m4: Regenerate.
3679 * configure: Regenerate.
3680 * mkcheck.in: Must use same namespace settings as the library being
3681 tested. Also log ST_FLAG, since it's being passed.
3682 * docs/install.html: Add brief chunk on configuration.
3683 * docs/17_intro/RELEASE-NOTES: Fix minor Cygwin typo.
3684 * docs/23_containers/howto.html: Mention MT-safe string.
3685 * docs/faq/index.html: Minor updates.
3686 * docs/faq/index.txt: Regerarate.
3687
36882000-03-22 Benjamin Kosnik <bkoz@cygnus.com>
3689
3690 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
3691 Return newoff.
3692 * bits/fstream.tcc (seekoff): Sync.
3693 (seekpos): Sync.
3694 * testsuite/27_io/ostream_unformatted.cc: New file.
3695 * testsuite/27_io/stringbuf.cc: Fix.
3696 * testsuite/27_io/istream_unformatted.cc (test04): Fix.
3697
3698 * config/newlib/bits/ctype_base.h (ctype_base): Fix.
3699 * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
3700
3701 * src/complex_io.cc (operator>>complex): Tweak.
3702
3703 * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
3704 <inttypes.h> does not exist.
3705 * config/cpu/sparc/sparc64/atomicity.h: Same.
3706 * config/cpu/sparc/sparc32/atomicity.h: Same.
3707 * config/cpu/powerpc/atomicity.h: Same.
3708 * config/cpu/i386/atomicity.h: Same.
3709 * config/cpu/generic/atomicity.h: Same.
3710 * configure.in: Check for inttypes.h.
3711 * configure: Regnerate.
3712
37132000-03-21 Benjamin Kosnik <bkoz@cygnus.com>
3714
3715 * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
3716 correctly.
3717 * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
3718
3719 * docs/17_intro/RELEASE-NOTES (New): Add bits.
3720
3721 * configure.in: Move AC_CHECK_HEADERS to a point where we know we
3722 are compiling natively.
3723
3724 * libio/*: Update to CVS libio from egcs.
3725
37262000-03-21 Phil Edwards <pme@sourceware.cygnus.com>
3727
3728 * docs/download.html: Document use of -z9 for CVS.
3729 * docs/index.html: Add target date (no link) for future snapshot.
3730
37312000-03-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3732
3733 * bits/slice_array.h: Rename generic type template parameter name
3734 '_T' to '_Tp'.
3735 * bits/mask_array.h: Ditto
3736
37372000-03-20 Benjamin Kosnik <bkoz@cygnus.com>
3738
3739 * *: Change copyright holder from "Cygnus Solutions" to "Free
3740 Software Foundation, Inc."
3741
3742 * docs/configopts.html: Explain what "hella versions" means.
3743 * docs/install.html: Some tweaks--nice job on this Phil.
3744 * docs/documentation.html: Add a direct link to configuration options.
3745
3746 * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
3747 * docs/17_intro/RELEASE-NOTES (New): Add.
3748 * bits/c++config.h (__GLIBCPP__): Bump version.
3749
3750 * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
3751 type to match prototype.
3752
37532000-03-20 Phil Edwards <pme@sourceware.cygnus.com>
3754
3755 * docs/install.html: Update for new funky build procedure. Move
3756 description of 'configure' options to...
3757 * docs/configopts.html: ...here. New file.
3758 * docs/17_intro/howto.html: Updates for new snapshot.
3759 * docs/20_util/howto.html: Ditto.
3760 * docs/21_strings/howto.html: Ditto.
3761 * docs/21_strings/stringtok_std_h.txt: Fix example typos.
3762 * docs/22_locale/howto.html: Ditto.
3763 * docs/23_containers/howto.html: Ditto.
3764 * docs/faq/index.html: Ditto.
3765
37662000-03-18 Petter Urkedal <petter@matfys.lth.se>
3767 Benjamin Kosnik <bkoz@gnu.org>
3768
3769 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
3770 to the right place.
3771 * aclocal.m4: Regenerate.
3772 * configure: Regenerate.
3773
37742000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
3775 scott snyder <sss@karma.fnal.gov>
3776
3777 * config/c_io_libio.h: Add __c_lock.
3778 * config/threads-no.h: Same here.
3779 * config/threads-posix.h: Add __mutext_type typedef.
3780 * config/c_io_libio.cc: basic_file ctor takes lock arg.
3781 * bits/basic_file.h: Ctor takes lock arg.
3782 * bits/std_fstream.h: Add _M_lock.
3783 * bits/fstream.tcc: Supply it to basic_file ctor.
3784
3785 * mkcheck.in (resultstext): Change [[ to [.
3786
3787 * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
3788
3789 * bits/locale_facets.h: Tweak.
3790
3791 * stl/bits/stl_config.h: Fix defines.
3792
37932000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
3794
3795 * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
3796 atomicity.h
3797 * configure: Regenerate.
3798 * aclocal.m4: Regnerate.
3799
38002000-03-16 Nathan Myers <ncm@zembu.com>
3801
3802 * bits/string.tcc: Add MT support.
3803 * bits/basic_string.h: Same.
3804
38052000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3806
3807 * configure.in: Make --enable-namespaces and -libgcc-rebuild=../..
3808 the defaults.
3809 * configure: Regenerate.
3810
3811 * config/solaris/solaris2.7/ctype.cc: Fix unsigned/signed comparison.
3812
38132000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3814
3815 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): If Sol2.5 ctype is found, keep
3816 checking for 2.[67]. (GLIBCPP_ENABLE_RELIBGCC): No longer ignore
3817 any defaults passed in.
3818 * aclocal.m4: Regenerate.
3819
38202000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
3821
3822 * mkcheck.in: Report total successes and failures.
3823
38242000-03-15 Benjamin Kosnik <bkoz@cygnus.com>
3825
3826 * config/cpu: New directory, intended to be used to provide
3827 cpu-specific configuration files. In particular, assembly language
3828 primitives for thread safety.
3829 * config/cpu/alpha: Populate.
3830 * config/cpu/alpha/atomicity.h: New file.
3831 * config/cpu/arm: Populate.
3832 * config/cpu/generic: Populate.
3833 * config/cpu/generic/atomicity.h: New file.
3834 * config/cpu/hppa: Populate.
3835 * config/cpu/i386: Populate.
3836 * config/cpu/i386/atomicity.h: New file, take from i486.
3837 * config/cpu/m68k: Populate.
3838 * config/cpu/mips: Populate.
3839 * config/cpu/powerpc: Populate.
3840 * config/cpu/powerpc/atomicity.h: New file.
3841 * config/cpu/sparc: Populate.
3842 * config/cpu/sparc/sparc32: Populate.
3843 * config/cpu/sparc/sparc64: Populate.
3844 * config/cpu/sparc/sparc32/atomicity.h: New file.
3845 * config/cpu/sparc/sparc64/atomicity.h: New file.
3846
3847 * src/Makefile.am (myinstallheaders): Add install routines.
3848 * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
3849 cpu dir.
3850 * configure.in: Add.
3851
3852 * config/default: Adopt glibc naming conventions, and so move to
3853 * config/generic: Here.
3854 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
3855
38562000-03-15 Bill Thompson <billt@toast.net>
3857
3858 * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
3859
38602000-03-14 Phil Edwards <pme@sourceware.cygnus.com>
3861
3862 * docs/17_intro/howto.html: Add missing "TOC" entry, and new section.
3863
3864 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
3865 * aclocal.m4: Regenerate.
3866 * configure: Regenerate.
3867
38682000-03-13 scott snyder <snyder@fnal.gov>
3869 Jason Merrill <jason@cygnus.com>
3870
3871 * bits/locale_facets.h (class ctype, class ctype<char>, class
3872 ctype<wchar_t>): More mask fixes.
3873 * testsuite/22_locale/ctype.cc: Test for the problem.
3874
38752000-03-13 Benjamin Kosnik <bkoz@cygnus.com>
3876
3877 * acconfig.h: Add bits.
3878 * configure.in: Move AM_PROG_LIBTOOL up in file.
3879 Tweak cross compiling info.
3880 * configure: Regenerate.
3881
3882 * mknumeric_limits (XCOMPILE): Echo compilation line for
3883 gen-num-limits.cc
3884
3885 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
3886 * aclocal.m4: Regenerate.
3887 * configure: Regenerate.
3888 * config/aix/ctype.cc (ctype): Tweak.
3889 * config/aix/bits/ctype_base.h (ctype_base): Tweak.
3890 * config/aix/bits/ctype_specializations.h: New file.
3891
38922000-03-10 scott snyder <snyder@fnal.gov>
3893
3894 * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
3895 conversions.
3896 * testsuite/23_containers/vector_modifiers.cc (test01): Add a
3897 regression test for the problem.
3898
38992000-03-09 Benjamin Kosnik <bkoz@fidel.cygnus.com>
3900
3901 * testsuite/27_io/streambuf.cc (class testbuf): Same here.
3902 * bits/fpos.h: And here.
3903 * bits/std_ostream.h: Same here.
3904 * bits/std_istream.h: Same here.
3905 * bits/basic_ios.h: Same here.
3906 * bits/std_fstream.h: Same here.
3907 * bits/sbuf_iter.h (std): Here too.
3908 * bits/std_sstream.h: Make types public.
3909
3910 * src/misc-inst.cc: Use size_t instead of unsigned int.
3911 * bits/locale_facets.tcc (_S_format): For now, cast to char. I
3912 suppose this should be ctype::narrow... all the ctype<wchar_t>
3913 stuff needs to be cleaned up.
3914
39152000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
3916
3917 * docs/gentop: Remove entire directory, finally.
3918
39192000-03-09 scott snyder <snyder@fnal.gov>
3920
3921 * bits/std_cmath.h (modf): Fix pointer overrun.
3922 * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
3923 test for the problem.
3924
39252000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
3926
3927 Looks like changes to the #include'd files must be followed by a
3928 change to the #include'ing files to take effect. Caveat emptor.
3929 * docs/header.html: New file, for server-side include.
3930 * docs/footer.html: New file, for server-side include.
3931 * docs/documentation.html: Change to use SSI.
3932 * docs/download.html: Ditto.
3933 * docs/index.html: Ditto.
3934 * docs/mail.html: Ditto.
3935 * docs/status.html: Ditto.
3936 * docs/thanks.html: Ditto, plus minor updates.
3937 * docs/how.html: Remove.
3938
39392000-03-09 Benjamin Kosnik <bkoz@gnu.org>
3940
3941 Preliminary alpha-linux support.
3942 * src/locale.cc (ctype<wchar_t>): Use correct types...
3943 * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
3944 (ctype<wchar_t>): Same.
3945 * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
3946 types match for table_size (size_t).
3947
3948 * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
3949 as per char specialization.
3950 * config/*/ctype.cc: Same.
3951
39522000-03-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3953
3954 * bits/locale_facets.h (_Ctype<>::mask): Import from base class
3955 _Ctype_nois<>. Template base classes are never examinated in
3956 first-phase name-lookup.
3957
39582000-03-08 Benjamin Kosnik <bkoz@gnu.org>
3959
3960 Add Solaris 2.5.1 support.
3961 * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
3962 * config/solaris/solaris2.5/ctype.cc: Fixup.
3963 * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
3964 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
3965 * aclocal.m4: Regenerate.
3966 * configure: Regenerate.
3967
3968 * config/default/ctype.cc (ctype): Fixup.
3969
39702000-03-07 Benjamin Kosnik <bkoz@blues.cygnus.com>
3971
3972 * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
3973 * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
3974 non-wchar_t case.
3975
39762000-03-07 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3977
3978 * bits/cpp_type_traits.h: Expand on this file purpose.
3979
39802000-03-06 Benjamin Kosnik <bkoz@gnu.org>
3981
3982 * bits/locale_facets.h (ctype<char>): Remove static members, and
3983 re-work initialization code.
3984 (ctype<wchar_t>): Same.
3985 Move _S_touppper to _M_toupper and initialize in ctor.
3986 Move _S_tolower to _M_tolower and initialize in ctor.
3987 Move _S_table to _M_ctable and intialize in ctor.
3988 * bits/locale_facets.h (std): And here.
3989 * src/locale.cc (std): Tweak.
3990 * config/gnu-linux/ctype.cc: Change initialization here.
3991 * config/newlib/ctype.cc: And here.
3992 * config/solaris/solaris2.7/ctype.cc: And here.
3993 * config/solaris/solaris2.6/ctype.cc: And here.
3994
3995 * bits/localefwd.h: Tweak.
3996 * bits/std_streambuf.h: Tweak formatting.
3997
3998 * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
3999
40002000-03-05 Chip Salzenberg <chip@valinux.com>
4001
4002 * src/misc-inst.cc (basic_iostream<>): Instantiate.
4003
40042000-03-02 Phil Edwards <pme@sourceware.cygnus.com>
4005 Kevin Atkinson <kevinatk@home.com>
4006
4007 Initial grab of SGI's strstream implementation with minor
4008 modifications.
4009 * src/strstream.cc: New file.
4010 * std/strstream: New file.
4011 * stl/bits/std_strstream.h: New file.
4012 * bits/std_streambuf.h: Add public access.
4013 * src/Makefile.am: Add strstream sources to list of dependancies.
4014 * src/Makefile.in: Regenerate.
4015
40162000-03-03 2000 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4017
4018 * bits/valarray_meta.h: Fix typo.
4019
40202000-03-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4021 Chip Salzenberg <chip@valinux.com>
4022 Petter Urkedal <petter@matfys.lth.se>
4023
4024 * src/Makefile.am (myinstallheaders): Hack to avoid
4025 `for i in ; do'.
4026 * src/Makefile.in: Regenerate.
4027
40282000-03-02 Chip Salzenberg <chip@valinux.com>
4029
4030 * libio/Makefile.an, math/Makefile.an, src/Makefile.am
4031 (LINK): Put quotes around "$(CC)" for libtool link mode,
4032 so libtool will use "-B" options during GCC bootstrap.
4033 * */Makefile.in: Regenerate.
4034
40352000-03-02 Petter Urkedal <petter@matfys.lth.se>
4036
4037 * config/c_io_libio.h: Enclose it all in ::std.
4038 * bits/basic_string.h (basic_string<>): Make types and
4039 `npos' public.
4040 * mkc++config: Truncate output file before writing.
4041
40422000-03-01 Benjamin Kosnik <bkoz@gnu.org>
4043
4044 * math/cabsf.c (__mycabsf): Rename to cabsf.
4045 * math/cabs.c (__mycabs): Rename to cabs.
4046
40472000-02-29 LLeweLLyn Reese <llewelly@198.dsl.xmission.com>
4048
4049 * bits/basic_string.h: Move declarations of __out_of_range(),
4050 __length_error() and accompanying macros ...
4051 * bits/exception_support.h: here. (Newly created file).
4052 * bits/basic_string.h: #include <bits/exception_support.h>
4053 * stl/bits/stl_vector.h: #include <bits/exception_support.h>
4054 * src/Makefile.am (headers): Add.
4055 * src/Makefile.in: Regenerate.
4056
40572000-02-29 Benjamin Kosnik <bkoz@cygnus.com>
4058
4059 * bits/cpp_type_traits.h: Rename structs so they don't clash with
4060 type_traits.h.
4061 * bits/valarray_array.h: Synch. Fix typos.
4062
4063 * libio/Makefile.am: Change to only compile source files that
4064 config/c_io_libio.cc actually needs.
4065 * libio/Makefile.in: Regnerate.
4066 * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
4067 floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
4068 ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
4069 iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
4070 iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
4071 iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
4072 ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
4073 iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
4074 ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
4075 istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
4076 pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
4077 strops.c strstream.h: Delete.
4078
4079 * bits/basic_file.h: Stub out or delete unused bits in this
4080 interface.
4081 (filepos_beg): Remove.
4082 (filepos_cur): Remove.
4083 (filepos_valid): Remove.
4084 * config/c_io_libio.cc: Resynch with the changes to basic_file.
4085
40862000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4087
4088 * bits/cpp_type_traits.h: Correct typo.
4089
40902000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4091
4092 * bits/cpp_type_traits.h: New file.
4093
4094 * bits/valarray_array.h: Tweak. #include <bits/cpp_type_traits.h>
4095 Improve array construction.
4096 (_Array_default_ctor): New dispatcher class.
4097 (__valarray_default_construct): New function.
4098 (_Array_copy_ctor): New dispatcher class.
4099 (__valarray_copy_construct): New function.
4100 (_Array<>::free_data): Remove.
4101
4102 * src/Makefile.am (headers): Add cpp_type_traits.h
4103 * src/Makefile.in: Regenerate.
4104
41052000-02-28 Benjamin Kosnik <bkoz@cygnus.com>
4106
4107 Prune libio directory to match files in libio/Makefile.
4108 * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
4109 stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
4110 streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
4111 strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
4112 stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
4113 stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
4114 stdstreams.cc: Remove.
4115 * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
4116 * libio/iofflush_u.c: Remove.
4117
4118 * libio/dbz: Remove.
4119 * libio/include: Remove.
4120 * libio/stdio: Remove.
4121 * libio/tests: Remove.
4122 * libio/testsuite: Remove.
4123
4124 * config/c_io_libio.cc: Add fcntl.h include for Solaris.
4125
4126 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
4127 * configure.in: Replace 'grep -e' with 'grep' for Solaris.
4128 * configure: Regenerate.
4129
41302000-02-25 Benjamin Kosnik <bkoz@gnu.org>
4131
4132 Abstract out the underlying "C" io bits.
4133 * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
4134 * stl/bits/stl_string_fwd.h: Remove <stddef> include.
4135 * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
4136 include <cstddef>.
4137 * stl/bits/stl_config.h: Don't include _G_config.h.
4138
4139 * bits/basic_file.h: Allow for non-inheritance based __basic_files.
4140 * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
4141 * config/c_io_libio.cc: Tweak.
4142
4143 * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
4144 * src/Makefile.in: Regenerate.
4145 * Makefile.am (AM_MAKEFLAGS): Define includedir so that
4146 prefix/include files will be picked up.
4147 * Makefile.in: Regenerate.
4148 * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
4149 * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
4150
4151 * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
4152 * bits/fpos.h: And here.
4153 * bits/basic_file.h (get_fileno): Move definition from ...
4154 * src/basic_file.cc (std): To here.
4155 * bits/fpos.h: Move types for streamoff, streampos to..
4156 * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
4157 * config/c_io_libio.h: ...here.
4158 (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
4159 SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
4160 UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
4161 FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
4162 abstract out bits in ios_base.
4163 * bits/ios_base.h: Re-macrofy.
4164 * src/basic_file.cc : Rename, move to
4165 * config/c_io_libio.cc: Here.
4166 * config/c_io_libio.h: New file. Include libio.
4167 * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
4168 * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
4169 * configure: Regenerate.
4170 * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
4171 (generated_headers): Add c++io.h
4172 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
4173 underlying "C" io library.
4174 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
4175 GLIBCPP_ENABLE_CSTDIO.
4176
4177 * configure.in: Add configure bits for cross compiling non-newlib
4178 targets. .
4179 GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
4180 target, as we assume g++ support is not the limiting factor.
4181 GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
4182 * configure: Regenerate.
4183
41842000-02-22 Benjamin Kosnik <bkoz@cygnus.com>
4185
4186 * Makefile.am (INTERFACE): Define.
4187 * Makefile.in: Regenerate.
4188 * libio/ChangeLog: Add entry.
4189
41902000-02-21 Benjamin Kosnik <bkoz@cygnus.com>
4191
4192 * docs/install.html: Update install directions.
4193
4194 * docs/status.html: Fix sidebar to be consistent.
4195 * docs/thanks.html: Same.
4196 * docs/links.html: Same.
4197 * docs/mail.html: Same.
4198 * docs/download.html: Same.
4199
4200 * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
4201 kill the macro BUFSIZ. I think the solaris fails lie elsewhere
4202 however, in the ctype_char_members.cc fail (for instance.)
4203 * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
4204 that do not have wchar_t enabled.
4205 * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
4206 Same here.
4207 * testsuite/27_io/iostream_objects.cc: And here.
4208
4209 * libio/gen-params (CONFIG_NM): Specifically add in nm as the
4210 default CONFIG_NM.
4211
42122000-02-18 Benjamin Kosnik <bkoz@haight.constant.com>
4213 Tom Tromey <tromey@cygnus.com>
4214
4215 * configure.in: Manually add MULTISUBDIR.
4216 * configure: Regenerate.
4217 * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
4218 "Eww" hacks to get multilib installs working correctly.
4219 ($(headers): Test for MULTISUBDIR before installing.
4220 * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
4221 have configure hack it in.
4222 * Makefile.in: Regenerate.
4223 * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
4224 Add enabling bits for native Cygwin ctypes, and other newlib-based
4225 Oses.
4226
42272000-02-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4228
4229 * mkc++config (OUT_H): Remove EOF in cygwin.
4230 * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
4231
4232 Tom Tromey <tromey@cygnus.com>
4233 * src/Makefile.am: Tweaks for installing multilibs.
4234
42352000-02-17 Benjamin Kosnik <bkoz@cygnus.com>
4236
4237 * src/Makefile.am:
4238 (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
4239 Add USE_LIBDIR bits here, not...
4240 * src/Makefile.in: Regenerate.
4241 * Makefile.am: ...here.
4242 * Makefile.in: Regenerate.
4243
42442000-02-17 Benjamin Kosnik <bkoz@gnu.org>
4245
4246 * acinclude.m4 (LIBS): Fix typos.
4247 * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
4248 _GLIBCPP_BUGGY_COMPLEX for crosses.
4249 * src/Makefile.am (std_headers): Add libio.h as install include,
4250 as with _G_config.h
4251 * src/Makefile.in: Regenerate.
4252
4253 * mkcheck.in: Add bits to set CXX to cross compiler.
4254
4255 * src/complex_io.cc: Tweak.
4256 * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
4257 * configure: Regenerate.
4258
4259 * config/newlib/ctype.cc: Tweaks.
4260 * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
4261 not const char.
4262 * src/complex_io.cc (operator>>(istream, complex): Define out if
4263 BUGGY_COMPLEX.
4264
42652000-02-16 Benjamin Kosnik <bkoz@cygnus.com>
4266
4267 * config/newlib/bits/ctype_base.h: Correct _S_table.
4268
4269 Reconfigure ctype support for "C" libraries that don't use arrays.
4270 * testsuite/22_locale/ctype_char_members.cc: New file. Test for
4271 basic ctype<char> functionality.
4272 * src/locale.cc: Move host-specific ctype functions that are not
4273 inlines to config/*/ctype.cc files.
4274 (ctype<char>::do_tolower): For instance.
4275 (ctype<char>::do_toupper): For instance.
4276 (ctype<wchar_t>::do_tolower): For instance.
4277 (ctype<wchar_t>::do_toupper): For instance.
4278 * config/gnu-linux/ctype.cc: Modify.
4279 * config/default/ctype.cc: Modify.
4280 * config/newlib/ctype.cc: Modify.
4281 * config/solaris/solaris2.6/ctype.cc: Modify.
4282 * config/solaris/solaris2.7/ctype.cc: Modify.
4283
4284 * bits/locale_facets.h (ctype<char>::is): Mark inline, move
4285 out-of-line.
4286 (ctype<char>::scan_is): Here too.
4287 (ctype<char>::scan_not): Here too.
4288 Move out of line defs to config/*/bits/ctype_specializations.h.
4289 * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
4290 * config/default/bits/ctype_specializations.h: ...here. New file.
4291 * config/newlib/bits/ctype_specializations.h: ...here. New file.
4292 * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
4293 * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
4294 * src/Makefile.am (headers): Add ctype_specializations.h.
4295 * src/Makefile.in: Regenerate.
4296
4297 Aaron Weiss <weiss@clearway.com>
4298 * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
4299 CONFIG_NM for Solaris builds.
4300 * Makefile.in: Regenerate.
4301
4302 * src/locale.cc: Tweak formatting.
4303
43042000-02-15 Benjamin Kosnik <bkoz@cygnus.com>
4305
4306 Jim Parsons <parsons@clearway.com>
4307 * testsuite/27_io/istream_unformatted.cc (test06): Add test.
4308 * bits/istream.tcc (read): Set failbit if !good(). Don't increment
4309 gcount if eof.
4310 (readsome): Same.
4311
4312 Michel Decima <michel.decima@cnet.francetelecom.fr>
4313 * testsuite/27_io/streambuf.cc: Add test.
4314 * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
4315 (xsputn): Same.
4316
4317 * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
4318 OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
4319 will work correctly, for instance.
4320 * src/Makefile.in: Regenerate.
4321
4322 * bits/locale_facets.h: Fix merge error.
4323 (num_put::put(unsigned long long): And here.
4324 * mknumeric_limits (trait_name): Same.
4325
43262000-02-15 Chip Salzenberg <chip@valinux.com>
4327
4328 Support 'configure --enable-long-long'.
4329 * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
4330 * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
4331 * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add. Default to undef.
4332 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
4333 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
4334
4335 * aclocal.m4: Regenerate.
4336 * config.h.in: Regenerate.
4337 * configure: Regenerate.
4338
43392000-02-15 Chip Salzenberg <chip@valinux.com>
4340
4341 Improve (complete?) 'long long' support.
4342 * mknumeric_limits: Call $CXX with $CPPFLAGS. Define statics
4343 for {,unsigned} long long if the limits header declares them.
4344 * src/gen-num-limits.cc: Include <bits/c++config.h> early.
4345 (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
4346 (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
4347 * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
4348 (num_put<>::put(..., long long)): Likewise.
4349 (num_put<>::put(..., unsigned long long)): Likewise.
4350 * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
4351 Templatize last parameter to support 'long long'.
4352 (num_put<>::put(...)): Call _S_format with new name.
4353 (num_put<>::put(..., long long)): Define.
4354 (num_put<>::put(..., unsigned long long)): Likewise.
4355 * src/locale-inst.cc (_S_format): Instantiate under new name.
4356
43572000-02-15 Petter Urkedal <petter@matfys.lth.se>
4358
4359 * src/complex.cc (operator<<, operator>>): Moved from here...
4360 * src/complex_io.cc: ...to new file.
4361 (operator>>): Stub replaced by the real thing.
4362 * src/Makefile.am (sources): Inserted complex_io.cc.
4363 * src/Makefile.in: Regenerate.
4364 * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
4365
43662000-02-14 Benjamin Kosnik <bkoz@gnu.org>
4367
4368 Add in ctype information for newlib "C" libraries.
4369 * config/newlib: New directory
4370 * config/newlib/bits/ctype_base.h: New file.
4371 * config/newlib/ctype.cc: New file.
4372
4373 * ctype/config/linux/*: Rename, move to...
4374 * ctype/config/gnu-linux/*: Here.
4375
4376 Finish off multilib work.
4377 * configure.in: Don't set CXX if not Canadian cross.
4378 * configure: Regenerate.
4379 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
4380 * aclocal.m4: Regenerate.
4381 * config.h.in: Regenerate.
4382
4383 * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
4384 the top-level gcc directory now.
4385 * mkinstalldirs: Remove.
4386 * missing: Remove
4387 * ltconfig: Remove.
4388 * ltmain.sh: Remove.
4389 * config.guess: Remove.
4390 * config.sub: Remove.
4391
43922000-02-13 Benjamin Kosnik <bkoz@cygnus.com>
4393
4394 * configure.in (glibcpp_basedir): Add glibcpp_basedir.
4395 * Makefile.am: Move mutlilib stuff to src/Makefile.am.
4396 * Makefile.in: Regenerate.
4397 * src/Makefile.am: Add multilib bits.
4398 * src/Makefile.in: Regenerate.
4399
44002000-02-12 Benjamin Kosnik <bkoz@cygnus.com>
4401
4402 * configure.in: Clean, add some multilib support.
4403 * configure: Regenerate.
4404 * configure.host: New file.
4405
4406 * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
4407 roll a new function, checks for presence of libio.
4408 GLIBCPP_CHECK_COMPILER_VERSION: Same.
4409 GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
4410 GLIBCPP_CHECK_MATH_SUPPORT: Same.
4411 GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
4412 GLIBCPP_CHECK_LIBIO: Same.
4413 GLIBCPP_CHECK_CTYPE: Same.
4414 * aclocal.m4: Regenerate.
4415 * config.h.in: Regenerate.
4416
4417 * Makefile.am: Tweaks.
4418 * Makefile.in: Regenerate.
4419
44202000-02-11 Benjamin Kosnik <bkoz@cygnus.com>
4421
4422 * configure.in: Make outputing the libio/Makefile
4423 conditional. Haha, yeah right. Anyway, we instead do this thing
4424 where if libio is found, then we build a null library, as there is
4425 no point in duplicating the found libio.
4426 * Makefile.am: Tweak.
4427 * Makefile: Regenerate.
4428 * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
4429 are happy happy happy.
4430 * libio/Makefile.am: Regenerate.
4431 * libio/gen-params: New file.
4432 * src/Makefile.am: Make libio.la non-conditional, as it is now a
4433 null library if it's not needed. At least we are being consistent,
4434 if not as elegant as we could be.
4435 * src/Makefile: Regenerate.
4436
44372000-02-10 Benjamin Kosnik <bkoz@gnu.org>
4438
4439 * Makefile.am (SUBDIRS): Add libio again.
4440 * Makefile.in: Regenerate.
4441 * configure.in (BUILD_LIBIO_INCLUDE): And here.
4442 (AC_OUTPUT): Generate libio/Makefile again.
4443 * configure: Regnerate.
4444 * src/Makefile.am (libstdc___la_LIBADD): Change path so that
4445 libio.la is referring back to the libio subdir again.
4446 (LIBIO_INCLUDES): And here.
4447 * src/Makefile.in: Regenerate.
4448
44492000-02-09 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4450
4451 * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
4452
44532000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4454
4455 * bits/valarray_array.h (<bits/std_new.h>): #include.
4456 (__valarray_get_memory): New function.
4457 (__valarray_release_memory): Likewise.
4458 (__valarray_default_construct): New functions.
4459 (__valarray_fill_construct): New function.
4460 (__valarray_copy_construct): New funstions.
4461 (__valarray_destroy_elements): New function.
4462
4463 * bits/valarray_array.tcc (__valarray_copy_construct): New
4464 functions.
4465
4466 * bits/std_valarray.h (valarray<>::valarray): Use
4467 __valarray_get_memory and __valarray_fill_construct,
4468 __valarray_copy_construct, __valarray_default_construct to
4469 properly construct valarrays.
4470 (valarray<>::~valarray): Use __valarray_destroy_elements to
4471 destroy elements and __valarray_release_memory to return memory.
4472 (valarray<>::shift): Tweak.
4473 (valarray<>::cshift): Likewise.
4474 (valarray<>::resize): Robustify.
4475
44762000-02-09 Benjamin Kosnik <bkoz@cygnus.com>
4477
4478 * mknumeric_limits (XCOMPILE): Add support for cross compiling.
4479 * bits/limits_generic.h: New file, defaults.
4480 * src/limits_generic.cc: New file, defaults.
4481 * configure.in (LIBS): Run mknumeric_limits at configure time.
4482 * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
4483 HAVE_LC_MESSAGES, tidy, clean, etc.
4484 * src/Makefile.am (geberated_sources): Remove.
4485
4486 * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
4487 (_IO_off_t, _IO_ssize_t)
4488
4489 * src/complex.cc: Use glibc's <complex.h> if
4490 possible. . . apparently this was not being done before. Include
4491 tweaks.
4492 (abs): Enable cabs if it's around, instead of mycabs.
4493 * src/complexf.cc (FCT): Add global scope to match complex.cc.
4494 * src/complexl.cc (FCT): Same.
4495 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
4496 (libmath_la_SOURCES): And here.
4497 * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
4498 * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
4499 * math/complex-stub.h: Move c_log declarations into. . .
4500 * math/mathconf.h: Here. This is because glibc's <complex.h>
4501 declares cclog, not c_log. The case of the dueling standards. . .
4502 * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
4503 * math/Makefile.am: Change.
4504 * math/nan.c (nan): Change signature.
4505 * math/mathconf.h (NAN): Same.
4506 * math/complex-stub.h (nan): And here.
4507
4508 * Makefile.am (rebuild-stamp): Remove libio and libio
4509 dependancies. Plan to take out libio subdir and just merge with
4510 libio in top level gcc directory. Of course, this assumes there is
4511 a libio in the top level directory (ie ../src_dir). This will
4512 probably change the way this library is configured by default.
4513 * libio/*: Remove.
4514
45152000-02-09 Chip Salzenberg <chip@valinux.com>
4516
4517 * localefwd.h (locale): Make public: facet, id, category.
4518
45192000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4520
4521 * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
4522
4523 * acinclude.m4: Patch only once!
4524
45252000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4526
4527 * testsuite/26_numerics/buggy_complex.cc: New file.
4528
45292000-02-05 Petter Urkedal <petter@matfys.lth.se>
4530
4531 * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
4532 on the 1999-11-21 entries by Mumit Khan.
4533 * configure.in: Use.
4534 * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
4535 * bits/std_complex.h: Use.
4536
45372000-02-04 Philip Martin <pm@corris.dircon.co.uk>
4538
4539 * stl/bits/stl_algobase.h: Add traits based dispatch for
4540 __normal_iterator in the copy_backward()algorithm
4541 * stl/bits/stl_vector.h: Reduce use of __normal_iterator
4542 base() function.
4543
45442000-02-04 Mumit Khan <khan@xraylith.wisc.edu>
4545
4546 * src/gen-num-limits.cc (signal_handler): Work around signal
4547 handling problem on Cygwin.
4548 Thanks to Chris Faylor <cgf@cygnus.com>.
4549
45502000-02-03 Benjamin Kosnik <bkoz@cygnus.com>
4551
4552 * configure.in: Add (preliminary) support for cross compiles and
4553 multilibs.
4554 Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
4555 compilation freaks on this.
4556 * configure: Regenerate.
4557 * src/Makefile.am: Add support for cross compiles.
4558 * src/Makefile: Regenerate.
4559 * Makefile.am: Add support for cross compiles.
4560 * Makefile.in: Regenerate.
4561
45622000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4563
4564 * configure.in (LIBS): Remove unused subdirs.
4565 * configure: Regenerate.
4566 * Makefile.am (SUBDIRS): And here.
4567 * Makefile.in: Regenerate.
4568 * src/Makefile.am (sources): And here.
4569 * src/Makefile.in: Regenerate.
4570 * string/*: Remove.
4571 * amm1/*: Remove.
4572 * generic/*: Remove.
4573 * glibc/*: Remove.
4574 * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
4575
4576 * libtool: Update to libtool-1.3.4.
4577 * ltconfig: Same
4578 * ltmain.sh: Same
4579 * config.sub: Same.
4580 * config.guess: Same.
4581
45822000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
4583 Alexandre Petit-Bianco <apbianco@cygnus.com>
4584
4585 * mkc++config: New file. Put autoconf macros into _GLIBCPP_
4586 namespace instead of polluting global namespace with duplicate
4587 autoconf output.
4588 * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
4589 here anymore. . .
4590 (AC_OUTPUT_COMMANDS): Make it here.
4591 * configure: Regenerate.
4592 * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
4593 endif, as now we will add it manually.
4594 Move to this file. . .
4595 * bits/c++config.h: New file. Same as old c++config.h.in except
4596 the ending macro guard is now appended manually.
4597
4598 * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
4599 * bits/std_cmath.h: Same here.
4600 * bits/std_cwchar.h: And here.
4601 * src/locale.cc: And here.
4602 * src/complexl.cc: And here.
4603 * math/mathconf.h: Change to include "config.h" instead of
4604 bits/c++config.h.
4605
46062000-02-01 Benjamin Kosnik <bkoz@gnu.org>
4607
4608 * configure.in: Add support for threads. Try a model closer to
4609 libjava, as hopefully if the thread bits are added carefully
4610 enough, the source code will not have gross hacks. Besides, the
4611 libstdc++-v2 model could be easily emulated without the necessity
4612 of linking files in (as currently done)--all that needs to be done
4613 is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
4614 new. . . and see if we arrive at a more elegant solution.
4615 * configure: Regenerated.
4616 * config/threads-no.h: New file.
4617 * config/threads-posix.h: New file.
4618 * src/Makefile.am (myinstallheaders): Install c++threads.h.
4619 * src/Makefile.in: Regenerated.
4620
46212000-01-31 Benjamin Kosnik <bkoz@gnu.org>
4622
4623 META-QUESTION: Can we just make a "header.html" file and a
4624 "footer.html" and just include them in all the doc sub-pages. The
4625 duplication of the header info is kind of gross, and weak
4626 considering that if you change order or layout then all this stuff
4627 has to be changed in all the sub-files.
4628
4629 * docs/17_intro/contribute.html: Take out duplicate file info.
4630 * README: Should just contain a link to the docs/index.html
4631 page. Duplicate information removed.
4632 * docs/faq/index.html: Remove indexes into HOWTOS.
4633 * docs/17_intro/howto.html: Make intro and docs part more
4634 centralized. Move intro stuff to documentation.html.
4635 * docs/how.html: Tweak. Does this file need to exist? What calls it?
4636 * docs/README.html: Move documentation files to
4637 documentation.html. Should this file be renamed
4638 "config_and_install.html" as that is what is apparently covered
4639 here. . .
4640 * docs/install.html: Yes. New file, moved and renamed README.html.
4641 * docs/documentation.html: New file. This is the index file for
4642 the documentation.
4643 * docs/index.html: Edit sidebar order. Insert new link to new
4644 documentation spine, documentation.html.
4645
46462000-01-31 Scott Snyder <snyder@fnal.gov>
4647
4648 * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
4649 we don't extract any characters.
4650 * testsuite/21_strings/inserters_extractors.cc (main): New tests.
4651
46522000-01-31 Anders Widell <awl@hem.passagen.se>
4653
4654 * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
4655 step is a multiple of the word size.
4656 (_M_do_right_shift): Same.
4657 * testsuite/23_containers/bitset_shift.cc: New file.
4658
46592000-01-31 Nathan Myers <ncm@zembu.com>
4660
4661 * README (Documentation): Add path info, fix typos.
4662
46632000-01-26 Benjamin Kosnik <bkoz@redhat.com>
4664
4665 * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
4666 crazy group checking for numpunct, for real this time. At some
4667 point, the local variable __grp should probably get replaced a
4668 char array, or something a bit more lightweight.
4669 (num_get::do_get(bool)): Simplify. Don't set bool reference to
4670 parsed value unless err isn't failbit.
4671 (num_get::do_get(*)): Same, make consistent.
4672
4673 Nathan Myers <ncm@zembu.com>
4674 Jim Parsons <parsons@clearway.com>
4675 * testsuite/27_io/istream_extractor_arith.cc (test08): Add
4676 more grouping tests, tweak, scold, wine.
4677
46782000-01-24 Benjamin Kosnik <bkoz@gnu.org>
4679
4680 * testsuite/27_io/istream_extractor_arith.cc (test07): Add
4681 grouping tests.
4682 * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
4683 grouping bugs. Only allow thousands_sep if _M_use_groupings is
4684 true.
4685
4686 via <llewelly@198.dsl.xmission.com>
4687 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
4688 out_of_range instead of range_error.
4689
46902000-01-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4691
4692 * bits/std_iomanip.h (setw): Fix typo.
4693
46942000-01-14 Benjamin Kosnik <bkoz@gnu.org>
4695
4696 * testsuite/27_io/istream_extractor_arith.cc: Fix.
4697 * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
4698 * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
4699
47002000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4701
4702 * docs/README.html: Reformat, more installation instructions.
4703 * docs/gccrebuild.html: New file.
4704 * docs/faq/index.html: Update for new testsuite output filenames.
4705 * docs/faq/index.txt: Regenerate.
4706
47072000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
4708
4709 * Makefile.am (rebuild-stamp, all-local): New targets.
4710 * Makefile.in: Regenerated.
4711 * acinclude.m4: New macro, GLIBCPP_ENABLE_RELIBGCC.
4712 * aclocal.m4: Regenerated.
4713 * configure.in: Call new macro. Also do some sanity checks
4714 for combinations of --enable's that may not make sense.
4715 * configure: Regenerated.
4716
47172000-01-13 Benjamin Kosnik <bkoz@cygnus.com>
4718
4719 * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
4720 * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
4721 correctly for hex-formatted input.
4722
4723 * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
4724 eofbit instead of eofbit | failbit.
4725 * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
4726 ifstreams now are opened or'd with ios_base::in (as is correct).
4727 * bits/fstream.tcc (filebuf::seekoff): Simplify.
4728 * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
4729
47302000-01-12 Benjamin Kosnik <bkoz@gnu.org>
4731
4732 * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
4733 * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
4734 (misleading) code.
4735 (__basic_file::filepos_valid): Same.
4736 (__basic_file::filepos_beg): Same.
4737 (__baseic_file::get_fileno): New function.
4738 * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
4739 feedback from LWG 49.
4740 * src/ios.cc: Move definition here.
4741 * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
4742
4743 * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
4744 output part of internal buffer based on string size, so that
4745 _M_out_end is set consistently with filebufs. Correct comments.
4746 * bits/sstream.tcc (stringbuf::overflow): Update here too.
4747 * testsuite/27_io/stringbuf.cc: Changes.
4748
47492000-01-11 Benjamin Kosnik <bkoz@gnu.org>
4750
4751 * bits/sstream.tcc (seekoff): Set based on end of written buffer,
4752 not buffer size.
4753 * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
4754
4755 * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
4756 (ofstream::open): Add ios_base::out to openmode.
4757
4758 * bits/locale_facets.tcc (_M_extract): Have consistency between
4759 istream::sentry and extractors, where failbit | eofbit is
4760 set. Don't change this, but instead change. . (do some formatting
4761 tweaks.)
4762 * bits/istream.tcc (istream::sentry): Only set eofbit.
4763
47642000-01-10 Benjamin Kosnik <bkoz@gnu.org>
4765
4766 * testsuite/27_io/istringstream_members.cc: New file.
4767
47682000-01-09 Benjamin Kosnik <bkoz@gnu.org>
4769
4770 * bits/istream.tcc (istream::sentry): Flush.
4771
4772 * configure.in (AC_OUTPUT_COMMANDS): Simplify.
4773 * configure: Regenerate.
4774 * src/Makefile.am (generated_headers): Remove bits/c++config.h so
4775 that make clean will not delete it.
4776 * src/Makefile: Regenerate.
4777
47782000-01-07 Phil Edwards <pme@sourceware.cygnus.com>
4779
4780 * mkcheck.in: Use host-specific invocation of size(1);
4781 GNU binutils isn't necessarily there (more's the pity).
4782
47832000-01-06 Benjamin Kosnik <bkoz@cygnus.com>
4784
4785 * configure.in (LIBS): Better tests for solaris2.6.
4786 * configure: Regenerate.
4787
4788 <vakatov@ncbi.nlm.nih.gov>
4789 * bits/std_sstream.h: As per libstdc++20.
4790
47912000-01-06 Benjamin Kosnik <bkoz@gnu.org>
4792
4793 Break out configuration on solaris.
4794 * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
4795 * config/solaris/ctype.cc: Delete and move to proper version.
4796 * config/solaris/bits: Same.
4797 * config/solaris/solaris2.5: Add this directory, with subdir bits
4798 and file ctype.cc. Probably doesn't work.
4799 * config/solaris/solaris2.6: Same.
4800 * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
4801
4802 * Makefile.am: Change paths to mkcheck.
4803 * Makefile: Regenerate.
4804 * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
4805 * configure: Regenerate.
4806 * src/Makefile.am (generated_headers): Add bits/c++config.h.
4807
4808 * mkcheck: Now autogenerated by configure and renamed. . .
4809 * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
4810 Have longer-style dates.
4811 Raja R Harinath <harinath@cs.umn.edu>
4812 * mkcheck: Change path to #!/usr/clocal/bin/bash.
4813
4814 * docs/README.html: Correct links, maybe. FAQ, install notes, and
4815 general documentation need to be organized around each other, not
4816 fight against each other. . .
4817
48182000-01-04 Phil Edwards <pme@sourceware.cygnus.com>
4819 Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
4820
4821 * README: Add a note referring to README.html.
4822 * docs/README.html: New file from Nicolai.
4823 * docs/faq/index.html: Move "how to get a copy" to here.
4824 * docs/gentop/footchunk.html: Update.
4825 * docs/gentop/headchunk.html: New links according to
4826 bkoz's idea for "How to..." stuff.
4827 * docs/gentop/thanks: Actually put people here.
4828 * docs/download.html: Regenerated.
4829 * docs/index.html, docs/links.html, docs/mail.html,
4830 docs/status.html, docs/thanks.html, docs/faq/index.txt: Ditto.
4831 * docs/how.html: Ditto. (This file should go away soon.)
4832
48331999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
4834
4835 * docs/gentop/status: Add snapshot version column, update
4836 for Solaris 7.
4837 * docs/status.html: Regenerated.
4838
48391999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
4840
4841 * docs/faq/index.html: Turn README and RELEASE-NOTES into links
4842 from installation FAQ, and specify location of text files.
4843 * docs/faq/index.txt: Regenerated.
4844
48451999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
4846
4847 * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
4848 * docs/download.html: Regenerated.
4849
48501999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
4851
4852 * docs/faq/index.html: Update 'what works' for .7 snapshot,
4853 clean up various links.
4854 * docs/faq/index.txt: Regenerated.
4855 * docs/gentop/gentop: Smarter regeneration script.
4856 * docs/gentop/{head,foot}chunk.html: Updated with new
4857 contributors link and mod date.
4858 * docs/gentop/index: Snapshot relase date.
4859 * docs/gentop/thanks: New contributors page added.
4860 * docs/{download,how,index,links,mail,status,thanks}.html:
4861 Regenerated from gentop; thanks.html created.
4862
48631999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4864
4865 * bits/c++config.h.in (__GLIBCPP__): 19991221.
4866 * docs/index.html: Add correct information.
4867
4868 * config/irix: New directory.
4869 * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
4870 * config/irix/bits/ctype_base.h: And here.
4871
4872 * config/aix: New directory.
4873 * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
4874 * config/aix/bits/ctype_base.h: And here.
4875
48761999-12-21 Philip Martin <pm@corris.dircon.co.uk>
4877
4878 * bits/basic_string.h: Add special case handling for integral
4879 "iterators".
4880 * bits/std_string.h: include type_traits.h
4881 * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
4882
48831999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4884
4885 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
4886 _M_*_end now.
4887 * bits/std_fstream.h (sync): And here.
4888 * testsuite/27_io/filebuf.cc: Revisions.
4889 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
4890 at the end of the file.
4891 * testsuite/27_io/filebuf-3.tst: Correct.
4892
48931999-12-21 Phil Edwards <pedwards@jaj.com>
4894
4895 * docs/gentop/index: Hold off on .7 announcement date.
4896 * docs/index.html: Regenerate.
4897
48981999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
4899
4900 * bits/std_fstream.h (sync): Move _M_file->sync() to
4901 _M_really_overflow().
4902 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
4903 as to get the _M_file->sync action, which forces the external
4904 buffer to update itself.
4905 (underflow): Same here.
4906
49071999-12-21 Phil Edwards <pedwards@jaj.com>
4908
4909 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
4910 * acconfig.h: ...to here.
4911 * config.h.in: Regenerate from aclocal.
4912 * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
4913 * aclocal.m4: Regenerate from acinclude.
4914 * configure.in: Use ENABLE macros here.
4915 * configure: Regenerate.
4916 * src/Makefile.am: Use results from ENABLE macros.
4917 * src/Makefile.in: Regenerate.
4918
49191999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
4920
4921 * mkcheck (SRC_DIR): Now have to include config/* dir if "make
4922 check" and not "make check-install." Temporarily hack in linux
4923 support.
4924
4925 * bits/std_streambuf.h: Tweaks.
4926 * bits/streambuf.tcc (xsgetn): Tweaks.
4927 * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
4928 * bits/fstream.tcc (filebuf::underflow): Simplify.
4929 * bits/std_sstream.h (streambuf::underflow): Minor change to make
4930 checks for read position precisely implement the standard.
4931 * bits/basic_file.h (filepos_cur): Base this on _offset.
4932 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
4933 * testsuite/27_io/filebuf.cc: Tweak.
4934
49351999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
4936
4937 * docs/17_intro/RELEASE-NOTES: Fix typos.
4938
4939 * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
4940 out platform-specific bits.
4941 * config/default/ctype.cc: And here.
4942 * config/defaults/bits/ctype_base.h: And here.
4943 * config/linux/ctype.cc: And here.
4944 * config/linux/bits/ctype_base.h (ctype_base): And here.
4945 * config/solaris/bits/ctype_base.h (ctype_base): Add
4946 __to_type. Comment, as it looks like this is for solaris2.6 and
4947 above: solaris2.5.1 doesn't seem to have the same definitions.
4948 * config/solaris/ctype.cc: And here.
4949
49501999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
4951 Ulrich Drepper <drepper@cygnus.com>
4952
4953 * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
4954
4955 * src/locale.cc: Take out platform-specific hacks.
4956 * config/linux/ctype.cc: Put here.
4957 * config/solaris/ctype.cc: Put here.
4958 * config/default/ctype.cc: Put here.
4959
4960 * bits/locale_facets.h: Take out platform-specific hacks.
4961 * config/linux/bits/ctype_base.h: Put here.
4962 * config/solaris/bits/ctype_base.h: Put here.
4963 * config/default/bits/ctype_base.h: Put here.
4964
4965 * configure.in: Bump version.
4966 Add tests for top-level config directory.
4967 * configure: Regenerated.
4968 * src/Makefile.am (INCLUDES): Add platform-specific dir.
4969 * src/Makefile: Regenerate.
4970
49711999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
4972 Ulrich Drepper <drepper@cygnus.com>
4973
4974 * bits/locale_facets.h: Hack in solaris support.
4975 * src/locale.cc: Here too.
4976
49771999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4978
4979 * docs/17_intro/TODO: Update
4980 * docs/17_intro/RELEASE-NOTES (New): Update.
4981
49821999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
4983
4984 * bits/c++config.h.in (__GLIBCPP__): Bump.
4985 * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
4986 * docs/17_intro/TODO: Update.
4987
4988 * bits/locale_facets.h: Touch this too.
4989 * bits/localefwd.h: Add typedefs for loooooong vector names.
4990 * bits/locale_facets.tcc (locale::operator()): Need parens.
4991 (has_facet): Simplify.
4992 * src/locale-inst.cc: Add instantiations.
4993 * src/locale.cc: Tweaks.
4994
4995 * bits/std_streambuf.h: Move indeterminates into. .
4996 * bits/std_fstream.h: Here.
4997 * bits/fstream.tcc (underflow): Rewind just for ios_base::out
4998 streams.
4999 * bits/sstream.tcc: Very minor formatting tweaks.
5000 * bits/std_streambuf.h (_M_set_determinate): If exclusively an
5001 input buffer, set _M_buf to offset.
5002 * bits/istream.tcc (std): Tweaks.
5003 * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
5004 include fstream.
5005 * testsuite/27_io/filebuf.cc: Tweaks.
5006
50071999-12-17 Phil Edwards <pedwards@jaj.com>
5008
5009 * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
5010 * configure: Regenerate.
5011 * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
5012 * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
5013 to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
5014
50151999-12-17 Phil Edwards <pedwards@jaj.com>
5016
5017 * docs/21_strings/stringtok_std_h.txt: New algorithm
5018 suggested by Chris King.
5019 * docs/21_strings/howto.html: Link to new version.
5020
50211999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5022
5023 * bits/valarray_array.h (__valarray_sum): Use operator+=, not
5024 operator+.
5025 * docs/17_intro/TODO: Update.
5026
50271999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
5028
5029 * docs/gentop/footchunk.html: Updated, fixed CRLFs.
5030 * docs/gentop/gentop: Ditto.
5031 * docs/gentop/headchunk.html: Ditto.
5032 * docs/*.html: Regenerated from gentop.
5033 * docs/*/howto.html: Updated as test.
5034 * docs/faq/index.html: Updated, fixed CRLFs.
5035 * docs/faq/index.txt: Regenerated.
5036
50371999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5038
5039 * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
5040
5041 * bits/std_complex.h
5042 (complex<float>::complex(const complex<double>&),
5043 complex<float>::complex(const complex<long double>&)): Define.
5044
5045 * docs/17_intro/TODO: Update.
5046
50471999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
5048
5049 * bits/istream.tcc (seekg): Don't set _M_gcount.
5050 (tellg): Same.
5051 * bits/fstream.tcc (filebuf::underflow): Re-sync
5052 external byte sequence's input buffer only. . .
5053 * testsuite/27_io/istream_unformatted.cc (test04): New tests for
5054 tellg, seekg and filebufs.
5055 (test05): Same for stringbufs.
5056 * testsuite/27_io/istream_unformatted-2.tst: New file.
5057 * testsuite/27_io/istream_unformatted-1.tst: New file.
5058 * testsuite/27_io/istream_unformatted-1.txt: New file.
5059 * testsuite/21_strings/inserters_extractors.cc (test05): Change
5060 output file.
5061
50621999-12-13 Phil Edwards <pedwards@jaj.com>
5063
5064 * docs/gentop/*: New directory, containing bits for the homepages.
5065 * docs/*.html: Regenerated from gentop.
5066 * docs/*/*.html: Entries added and regenerated.
5067
50681999-12-13 Benjamin Kosnik <bkoz@gnu.org>
5069
5070 Efforts to get -O2 to work with -Winline -Werrors.
5071 * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
5072 _Tp&): Remove inline declaration, as cannot be inlined and
5073 -Winline -Werror complains. An interesting question is why this
5074 cannot be inlined, as I can see no real reason to disqualify it.
5075 (__valarray_product(const _Tp*, const _Tp*)): Same here.
5076 * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
5077
5078 * docs/17_intro/TODO: Update.
5079
50801999-12-12 Benjamin Kosnik <bkoz@gnu.org>
5081
5082 * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
5083 fstream.tcc.
5084 * bits/basic_file.h (filepos_cur()): Make pointers themselves be
5085 the resultant position.
5086 * bits/fstream.tcc (seekoff): Explicitly set return value to
5087 resultant external byte sequence position, not value returned from
5088 _M_file->seekoff. Need to make
5089 (seekpos): New definition.
5090
5091 * bits/istream.tcc (seekg): As per Library Issues List 136, set to
5092 just istream. Necessary, or else tellg will give an invalid stream
5093 position, but seekg will return a valid stream position, which is
5094 not groovy: see testcase addition.
5095 * bits/ostream.tcc (seekp): Same.
5096
5097 * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
5098 * bits/sstream.tcc: Tweaks.
5099 * bits/locale_facets.tcc: Tweaks.
5100 (num_put::do_put(iter_type, ios_base, char_type, const void*)):
5101 Re-write in a way that is easier for the inliner to work with.
5102 * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
5103
51041999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
5105
5106 * bits/locale_facets.tcc: Tweaks.
5107 * bits/locale_facets.h (use_facet): Can't inline, remove inline
5108 from declaration.
5109 * bits/localefwd.h: And here.
5110 * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
5111 * bits/ostream.tcc: Put here.
5112
5113 Frank Ch. Eigler <fche@cygnus.com>
5114 * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
5115
51161999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
5117
5118 * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
5119 in and out buffers update independantly.
5120
5121 * bits/basic_ios.h: Minor formatting.
5122 * bits/fstream.tcc (std): Fix indentation.
5123
51241999-12-08 Chip Salzenberg <chip@valinux.com>
5125
5126 * bits/char_traits.h (char_traits<>): Move not_eof() functions
5127 after corresponding eof() functions, so they're easier for the
5128 compiler to inline.
5129 * bits/locale_facets.h (money_base::__default_pattern): Move
5130 static variable out of inline functions.
5131 (_Moneypunct<>::do_{pos,neg}_format): Use it.
5132 * src/locale-inst.cc (money_base::__default_pattern): Define it.
5133
51341999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
5135
5136 * bits/std_fstream.h (filebuf::open): Tweak.
5137 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
5138 * bits/std_ios.h: Minor tweaks for headers.
5139
51401999-12-06 Benjamin Kosnik <bkoz@gnu.org>
5141
5142 * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
5143 * src/string-inst.cc: Add guards . . .
5144 * src/misc-inst.cc: And here.
5145 * bits/std_sstream.h: And here.
5146 * bits/std_fstream.h: And here.
5147 * bits/std_streambuf.h: And here.
5148 * bits/std_istream.h: And here.
5149 * bits/std_ostream.h: And here.
5150
51511999-12-06 Scott Snyder <snyder@fnal.gov>
5152
5153 * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
5154 case.
5155 (basic_istream::readsome): And here as well.
5156 * testsuite/27_io/istream_unformatted.cc: Test a zero-length
5157 read().
5158
51591999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
5160
5161 * bits/istream.tcc (basic_istream::ignore): streamsize is not
5162 necessarily an `int'.
5163
51641999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5165
5166 * mknumeric_limits: Don't use $CXXFLAGS when building
5167 gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
5168 generally instructs the compiler not to emit template
5169 instantiations and we end up with undefined symbols. Sigh.
5170
51711999-12-05 Benjamin Kosnik <bkoz@gnu.org>
5172
5173 * bits/locale_facets.tcc: Tweak.
5174 (_S_format_long): Adjust showpos formatting for hex and oct.
5175 * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
5176 and oct by formatting as unsigned.
5177 (operator<<(int)): Same here.
5178 * bits/ostream.tcc (operator<<(long)): Same.
5179 (operator<<(long long)): Same.
5180 (_S_pad_char): Actually treat ios_base::internal as something
5181 worth doing correctly. Remove const designation on ios argument.
5182 * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
5183 * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
5184
51851999-12-04 Benjamin Kosnik <bkoz@gnu.org>
5186
5187 * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
5188
51891999-12-03 Benjamin Kosnik <bkoz@gnu.org>
5190
5191 * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
5192
5193 * bits/sstream.tcc (streambuf::seekoff): Add parens.
5194 * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
5195 (operator>>(istream, _CharT*)): Change streamsize to int_type.
5196 (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
5197 * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
5198 unused argument.
5199 (ostream::operator<<(_CharT)): Fix.
5200
5201 * bits/std_sstream.h: Temporarily disable including sstream.tcc to
5202 see if this will increase compile speed.
5203 * bits/std_ostream.h: Likewise. . .
5204 * bits/std_istream.h: And here.
5205 * bits/std_fstream.h: And here.
5206 * src/misc-inst.cc: Add relevant header file includes for
5207 instantiation purposes.
5208 * src/string-inst.cc: And here.
5209 * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
5210
52111999-12-02 Benjamin Kosnik <bkoz@gnu.org>
5212
5213 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5214 * bits/istream.tcc (get(streambuf)): More fixes.
5215 (istream::ignore): Get specific about numeric_limits<int>::max()
5216 requirements.
5217
5218 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
5219 (filebuf::close): Same.
5220 * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
5221
52221999-12-01 Phil Edwards <pedwards@jaj.com>
5223
5224 * mkcheck: Support for compilation/execution timing.
5225 * testsuite/printnow.c: New file.
5226
52271999-12-01 Phil Edwards <pedwards@jaj.com>
5228
5229 * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
5230 * configure.in: Test for presence of wchar.h before testing
5231 for any of its features.
5232 * configure: Regenerate.
5233
52341999-11-30 Benjamin Kosnik <bkoz@gnu.org>
5235
5236 Preliminary istream validations complete.
5237 * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
5238 formatting more consistent. Removal of if-statements inside of for
5239 loops.
5240 (ignore): Fix.
5241 (get): Same.
5242 (putback): Same.
5243 * bits/std_istream.h: Same.
5244 * bits/sstream.tcc (stringbuf::pbackfail): Fix.
5245 * testsuite/27_io/stringbuf.cc: Tweak.
5246 * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
5247
5248 * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
5249 failbit on failure, as per 27.6.2.5.2.
5250
5251 * stl/bits/std_vector.h: Allow bool specializations. Should move
5252 ext/std_bvector to bits, not ext, maybe.
5253
52541999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
5255
5256 * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
5257 * configure: Regenerate.
5258
5259999-11-29 Benjamin Kosnik <bkoz@gnu.org>
5260
5261 * bits/istream.tcc (get(streambuf, char)): Fix.
5262 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5263
52641999-11-29 Scott Snyder <snyder@fnal.gov>
5265
5266 * bits/basic_string.h (append(const _Char*, size_type)): The
5267 length of the appended string is given exactly by the second arg,
5268 regardless of the data in the character array.
5269 * bits/string.tcc (basic_string(const _CharT*, size_type, const
5270 _Alloc&)): Likewise.
5271 * testsuite/21_strings/append.cc (test01): Remove erroneous test
5272 of basic_string::append.
5273
52741999-11-29 Chip Salzenberg <chip@valinux.com>
5275
5276 * Makefile.in: Tweaks for CXXFLAGS.
5277 * */Makefile.in: Same.
5278
52791999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5280
5281 * conficd bgure.in: Check for wide character support.
5282 * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
5283 * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
5284 * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
5285
52861999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
5287
5288 * acinclude.m4: Fix typo.
5289 * src/complex.cc: Fix macro line continuation.
5290
52911999-11-29 Petter Urkedal <petter@matfys.lth.se>
5292
5293 * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
5294 string literals in format, as used in locale-facets.tcc.
5295
52961999-11-28 Benjamin Kosnik <bkoz@gnu.org>
5297
5298 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
5299 * bits/istream.tcc (istream::get): Extract to argument minus one.
5300 Various tweaks and fixes.
5301
53021999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
5303
5304 * bits/locale_facets.tcc: Workaround for compiler crash on
5305 ix86-*-mingw32.
5306
53071999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
5308
5309 * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
5310 * configure.in: Use.
5311 * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
5312 * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
5313 * bits/std_complex.h: Use.
5314 * src/complex.cc: Use.
5315
53161999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
5317
5318 * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
5319 * testsuite/21_strings/inserters_extractors.cc: Likewise.
5320 * testsuite/22_locale/ctype.cc: Likewise.
5321 * testsuite/23_containers/multiset.cc: Likewise.
5322 * testsuite/23_containers/vector_ctor.cc: Likewise.
5323 * testsuite/26_numerics/binary_closure.cc: Likewise.
5324 * testsuite/27_io/fpos.cc: Likewise.
5325 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
5326 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
5327 * testsuite/27_io/istream_extractor_char.cc: Likewise.
5328 * testsuite/27_io/istream_extractor_other.cc: Likewise.
5329 * testsuite/27_io/istream_sentry.cc: Likewise.
5330 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
5331 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
5332 * testsuite/27_io/streambuf.cc: Likewise.
5333 * testsuite/27_io/stringstream.cc: Likewise.
5334
53351999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5336
5337 * bits/valarray_meta.h: Don't forget to define tanh
5338
53391999-11-18 Philip Martin <pm@corris.dircon.co.uk>
5340
5341 * src/stl-inst.cc: Use typedef to refer to iterator
5342 * stl/bits/stl_algobase.h: Add traits based dispatch for
5343 __normal_iterator in the copy()algorithm
5344 * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
5345
53461999-11-18 Kevin Ediger <kediger@licor.com>
5347
5348 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
5349 constructors for locale::_Impl exception safe.
5350
53511999-11-18 Scott Snyder <snyder@fnal.gov>
5352
5353 * stl/bits/stl_queue.h: The C++ standard gives the default for the
5354 _Sequence template argument of priority_queue<> as vector<>, not
5355 deque<>.
5356
53571999-11-18 Benjamin Kosnik <bkoz@gnu.org>
5358
5359 * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
5360 parameter.
5361 * bits/sstream.tcc: Adjust here too.
5362
53631999-11-17 Benjamin Kosnik <bkoz@gnu.org>
5364
5365 * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
5366 * bits/istream.tcc (operator>>): Replace iostate(0) with
5367 iostate(ios_base::goodbit), which is the same thing, but hopefully
5368 a bit clearer.
5369 * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
5370 libraries issue list 17.
5371 (do_gets): Don't set goodbit explicitly, instead only set on
5372 failures as good bit is the default setting.
5373 * bits/ios_base.h (setf): Set correctly.
5374 * bits/fstream.tcc: Tweak.
5375 * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
5376 in|out bufs that are empty. . .
5377 * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
5378
53791999-11-16 Benjamin Kosnik <bkoz@gnu.org>
5380
5381 * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
5382 * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
5383 Add comments "all about _M_buf."
5384 (setg): Set _M_mode.
5385
53861999-11-16 Kevin Ediger <kediger@licor.com>
5387
5388 * bits/locale_facets.tcc (_S_build_float_format): New function.
5389 (_S_output_float): New function.
5390 (num_put::do_put(double)): Use 'em.
5391 (num_put::do_put(long double)): Use 'em.
5392 * testsuite/27_io/ostream_inserter_arith.cc: New file.
5393
53941999-11-15 Scott Snyder <snyder@fnal.gov>
5395
5396 * bits/basic_file.h: Type of __off parm should be __c_streampos, to
5397 match how libio is calling us.
5398 * src/basic_file.cc (sys_seek): Likewise.
5399 * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
5400
54011999-11-15 Benjamin Kosnik <bkoz@gnu.org>
5402
5403 * docs/17_intro/contribute.html: Add link to assignment form.
5404 * docs/17_intro/libstdc++-assign.txt: New file.
5405
5406 * mkcheck (TESTS_FILE): Move a copy of test files as well as
5407 output files.
5408
5409 * bits/std_streambuf.h (_M_buf_bump): New function.
5410 * bits/streambuf.tcc: Mods to support _M_buf_bump.
5411 (xsputn): Here. Also add checks for output valid.
5412 (xsgetn): Add checks for input valid.
5413 (sputc): Here.
5414 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
5415 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
5416 Set _M_out_end to variable-length-end.
5417 * bits/sstream.tcc (overflow): Use _M_buf_bump.
5418 (seekpos): Same.
5419 (seekoff): Same.
5420 * bits/fstream.tcc (std): Tweak formatting.
5421 (filebuf::overflow): Simplify.
5422 (filebuf::showmanyc): Same.
5423 (filebuf::underflow): Same.
5424 * testsuite/27_io/filebuf.cc: Fix.
5425 * testsuite/27_io/ostream_inserter_other.cc: Fix.
5426 * testsuite/27_io/ostream_inserter_other-2.tst: New file.
5427 * testsuite/27_io/stringbuf.cc: Tweak.
5428 * testsuite/27_io/streambuf.cc: Tweak.
5429 * testsuite/27_io/istream_extractor_other.cc: Fix.
5430
54311999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
5432
5433 * stl_deque.h: Use static_casts<size_type>(signed_type).
5434
54351999-11-11 Benjamin Kosnik <bkoz@gnu.org>
5436
5437 Cleanups for callbacks, more regression hunting. Remaining
5438 failures (1) due to last unresolved stringstream issues, not
5439 regressions per se.
5440 * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
5441 killing 27_io/filebuf.cc tests. . . need another solution.
5442
5443 * bits/streambuf.tcc (_S_copy_streambufs): Fix.
5444 * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
5445
5446 * bits/basic_ios.h: Add cached facets here. UGH. The standard
5447 foils all attempts at a graceful, minimal implementation.
5448 * bits/basic_ios.tcc: Tweaks.
5449 * bits/istream.tcc: Fix.
5450 * bits/ostream.tcc: Fix.
5451 * bits/std_istream.h: Fix.
5452 * bits/std_ostream.h: Fix.
5453 * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
5454 callbacks.
5455 * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
5456 (_S_pad_numeric): Make comprehensible.
5457
54581999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5459
5460 * bits/std_ostream.h: Add callbacks for _M_fnumput.
5461 (_S_ostream_fcache): New function.
5462 Move functions out-of-line.
5463 * bits/ostream.tcc: Put here.
5464
5465 * bits/std_istream.h: Add callbacks for _M_fnumget.
5466 (_S_istream_fcache): New function.
5467 Move functions out-of-line.
5468 * bits/istream.tcc: Put here.
5469
5470 * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
5471 _M_call_callbacks(), as ios_base::imbue does this already.
5472 * src/ios.cc (register_callback): Clean.
5473 (_M_call_callbacks): Same.
5474 * bits/ios_base.h: Callback work.
5475 * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
5476
54771999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
5478 Matthias Klose <doko@cs.tu-berlin.de>
5479
5480 * stl/ext/stl_rope.h: Fix initialization order.
5481
54821999-11-09 Scott Snyder <snyder@fnal.gov>
5483
5484 * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
5485 _M_file->sync() so that redirection works correctly.
5486
54871999-11-09 Benjamin Kosnik <bkoz@gnu.org>
5488
5489 * bits/istream.tcc: Re-order.
5490 * bits/std_istream.h: Fix getline problems.
5491 * testsuite/27_io/istream_unformatted.cc: New tests.
5492
5493 Clean up regressions.
5494 * bits/std_sstream.h: Set initial stringbufs correctly.
5495
54961999-11-09 Scott Snyder <snyder@fnal.gov>
5497
5498 * stl_vector.h (_M_range_insert): Fix mixing pointers and
5499 vector::iterator.
5500 * testsuite/23_containers/vector_modifiers.cc (test01): New file,
5501 tests.
5502
55031999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
5504
5505 * src/Makefile.am (CXXFLAGS): Add -Winline.
5506 * src/Makefile.in: Regenerate.
5507
55081999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5509
5510 * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
5511 building meta-expressions don't forget to take the contained
5512 closures.
5513
55141999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
5515
5516 * configure: Regenerate.
5517
55181999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5519
5520 * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
5521 syntax.
5522 * bits/valarray_meta.h (min): Likewise.
5523 * bits/valarray_meta.h (max): Likewise.
5524
55251999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
5526
5527 * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
5528 * bits/std_streambuf.h (_S_copy_streambufs): New function.
5529 * bits/streambuf.tcc: Define.
5530 * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
5531 * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
5532 * testsuite/27_io/ostream_inserter_other.cc: Add tests.
5533 * testsuite/27_io/ostream_inserter_other-1.tst: New file.
5534
5535 * bits/basic_string.h: Explicitly cast npos to unsigned type,
5536 reported by Richard Atterer.
5537 * bits/char_traits.h: For consistency's sake, here too.
5538
5539 * configure.in: Bump version to 2.90.7.
5540
55411999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
5542
5543 * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
5544 * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
5545 * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
5546 (xsgetn): Same.
5547 * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
5548 writing into buffer.
5549 (seekoff): Same.
5550
55511999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5552
5553 * bits/valarray_array.h (__valarray_sum): New function.
5554 * bits/valarray_array.h (__valarray_product): Same.
5555
5556 * bits/std_valarray.h (valarray<T>::product): Comment out.
5557 * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
5558 instead of accumulate.
5559
5560 * src/valarray-inst.cc: Remove explicit intantiation of
5561 class multiplies<size_t>, accumulate, valarray<size_t>::product.
5562 * src/valarray-inst.cc (__valarray_product): Instantiate
5563 explicitly.
5564 * src/valarray-inst.cc (__valarray_product(const
5565 valarray<size_t>&)): New function.
5566 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
5567 valarray<size_t>::product. Use __valarray_product instead.
5568
5569
55701999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
5571
5572 * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
5573 (_S_pad_char): New function. Not done: ios_base::internal.
5574 * bits/ostream.tcc: Clean for above.
5575 * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
5576 specialization that was commented out, as ostreams now have to
5577 correctly deal with padding.
5578 * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
5579
5580 * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
5581 from mailing list. This is a bug, and should be fixed.
5582 * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
5583
55841999-10-22 Petter Urkedal <petter@matfys.lth.se>
5585
5586 * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
5587 to avoid conflict with gcc name mangling.
5588 * stl/bits/stl_algo.h (__transform): Same.
5589
55901999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
5591
5592 * bits/ios_base.h: Change argument names.
5593 * docs/17_intro/BADNAMES: Add __opr.
5594
55951999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5596
5597 Work on compilation slowdowns from 10-5 to 10-12, which are
5598 related to the _Callback_list inlining/merge-ifcation, which is
5599 still a pending issue, but this stuff is necessary cleanup anyway.
5600
5601 * src/ios.cc: Re-arrange.
5602 * bits/ios_base.h: Tweak.
5603 * bits/basic_ios.tcc: Move out of line definitions here, move
5604 small out-of-line definitions inline.
5605 * bits/basic_ios.h: From here.
5606
5607 * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
5608 * bits/std_streambuf.h: From here.
5609
56101999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
5611
5612 * testsuite/27_io/istream_extractor_char.cc: Add tests.
5613 * bits/std_istream.h: Tweaks--set eofbit on eof condition.
5614 * bits/istream.tcc (operator>>(istream&, string&): Remove
5615 vestigial issspace hacks and use ctype::is instead.
5616 (getline): Remove unnecessary loops, fortify and pasteurize.
5617 (ws): Same.
5618
56191999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
5620
5621 * bits/istream.tcc (operator>>): Tweak.
5622 * bits/std_istream.h: Fix according to library issues list 68.
5623 Add typedefs.
5624
5625 * bits/locale_facets.h: Fix table_size to be non-zero.
5626
56271999-10-18 Vadim Egorov <egorovv@HotPOP.com>
5628
5629 * src/basic_file.cc: ifdef instead of comment for binary mode
5630
56311999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
5632
5633 * bits/std_sstream.h: Stringbuf initialization based on actual,
5634 not allocated, size.
5635 * testsuite/21_strings/inserters_extractors.cc (test06): Add test
5636 case.
5637
56381999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
5639
5640 * testsuite/26_numerics/c_math.cc (test03): Tweak.
5641 * testsuite/27_io/istream_manip.cc (test01): Corrections due to
5642 sentry change.
5643 * testsuite/21_strings/inserters_extractors.cc (test01): Same.
5644
56451999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
5646
5647 * bits/std_istream.h: Tweaks.
5648 * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
5649 as per issues list addition--set failbit, eof on empty buffers.
5650 * testsuite/27_io/istream_sentry.cc: New file.
5651
56521999-10-12 Chris Prince <prince@wcug.wwu.edu>
5653
5654 * bits/std_cstdio.h: Remove Solaris hacks.
5655
56561999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
5657
5658 * docs/index.html: Fix minor typos and tweaks.
5659 * docs/17_intro/contribute.html: Ditto.
5660 * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
5661 thread safety and binary I/O, links to external sites.
5662 * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
5663 and MT.
5664
56651999-10-12 Petter Urkedal <petter@matfys.lth.se>
5666
5667 * bits/std_cmath.h (abs(float)): When ::absf is not present, call
5668 ::fabs(double) rather than ::abs(int).
5669
56701999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
5671
5672 * bits/std_streambuf.h: Fix minor blip--should explicitly return
5673 *gptr(), not the result of underflow.
5674 (pbackfail): Conform to default behavior.
5675 (overflow): Same.
5676 * bits/streambuf.tcc: Add out-of-line streambuf members.
5677 (xsputn): Tweak.
5678 (xsgetn): Tweak.
5679 * testsuite/27_io/streambuf.cc: New file.
5680 * testsuite/27_io/filebuf.cc: Correct test.
5681
56821999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
5683
5684 * bits/std_cmath.h: Correctly cast int to double.
5685 * testsuite/26_numerics/c_math.cc: Add test.
5686
5687 * mknumeric_limits (OUT_C): Tweaks.
5688 * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
5689 trying to instantiate type_traits<wchar_t>.
5690 * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
5691 * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
5692 * configure: Regenerate.
5693
56941999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
5695
5696 * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
5697 (streambuf::xsputn): Put in break.
5698 Aiming for parity between these two (mostly) similar functions.
5699 Need to re-write tests.
5700
5701 * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
5702 Make data members protected, not private.
5703 * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
5704 ios_base.h. As called only once, collapse into . . .
5705 * bits/basic_ios.h (basic_ios::copyfmt): Fix.
5706 (basic_ios::clear): Throw ios_base::failure on occasion.
5707 (basic_ios::exceptions): Fix.
5708 * testsuite/27_io/ios_members.cc (test02): Add tests.
5709
5710 * bits/fpos.h: Default initialize.
5711 * testsuite/27_io/fpos.cc (test03): Add test.
5712
57131999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
5714
5715 * src/basic_file.cc: Fix open modes.
5716
57171999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5718
5719 * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
5720
57211999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
5722
5723 * bits/streambuf.tcc: Yea. Fix this for real.
5724 * testsuite/27_io/ostream_inserter_other.cc: Add file.
5725 * src/Makefile.*: Regenerate.
5726
57271999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
5728
5729 * bits/std_cstdlib.h: Add more linux-specif hacks to the header
5730 files so that stdtof and strtold will be declared. Some hacks
5731 already exits in bits/std_cctype.h -- these should all be removed
5732 at a later date.
5733 * bits/locale_facets.tcc: Add cstring.h include.
5734 _S_format_long: Use long, not int.
5735 Add std_limits.h include, for numeric_limits.
5736 * testsuite/27_io/istream.cc: Make instantiations work when using
5737 -fhonor-std.
5738 * testsuite/27_io/ostream.cc: Same.
5739
57401999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
5741
5742 * bits/fpos.h (fpos::operator streamoff): Make const, don't return
5743 a reference. Same for operators == and !=.
5744 * testsuite/27_io/fpos.cc: Add tests.
5745
57461999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5747
5748 * bits/valarray_array.h: Fix typo.
5749
5750 * mknumeric_limits: Make sure we are regenerating things from
5751 scratch. Otherwise things get redefined. Not good.
5752
57531999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
5754
5755 * bits/std_ostream.h: Fix typo.
5756 * bits/std_istream.h: Same.
5757 * bits/std_iomanip.h: Same.
5758
5759 * bits/istream.tcc (sentry::sentry()): Remove optional tie with
5760 ostream, as happens with underflow anyway.
5761 * testsuite/27_io/istream.cc (main): New file.
5762 * testsuite/27_io/ostream.cc (main): New file.
5763 * testsuite/27_io/istream_unformatted.cc: Add tests.
5764
5765 * src/Makefile.am (headers): Add new file.
5766 * src/Makefile.in (headers): Regenerated.
5767
5768 * bits/basic_ios.h: Remove local-related files.
5769 * bits/basic_ios.tcc: New file, add locale-related items.
5770 * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
5771 * testsuite/27_io/ios_members_static.cc: Change to
5772 * testsuite/27_io/ios_base_members_static.cc: This.
5773 * testsuite/27_io/ios_members.cc: New file.
5774 * testsuite/27_io/stdios_basefield_manip: Change to
5775 * testsuite/27_io/ios_manip_basefield.cc: This.
5776 * testsuite/27_io/stdios_fmtflags_manip: Change to
5777 * testsuite/27_io/ios_manip_fmtflags.cc: This.
5778
5779 * bits/fpos.h: Fix discarding qualifiers on this when
5780 using _M_position with a const fpos.
5781 * bits/std_iosfwd.h: Tweak.
5782 * testsuite/27_io/fpos.cc: New file.
5783
57841999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
5785
5786 * bits/streambuf.tcc (streambuf::xsputn): Tweak.
5787 * bits/ostream.tcc: Tweak.
5788 * testsuite/21_strings/inserters_extractors.cc (test04, test05):
5789 Add new regressions.
5790
57911999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
5792
5793 * bits/basic_ios.h: Inline, tweak.
5794 * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
5795 pass back accurate return value to basic_filebuf::overflow.
5796 * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
5797 This fixes sstream problems reported in libstdc++/9, but screws up
5798 filebufs. That solution is pending.
5799
58001999-09-15 Vadim Egorov <egorovv@1c.ru>
5801
5802 * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
5803 zero count puts.
5804 * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
5805
58061999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
5807
5808 * bits/c++config.h.in: Add emacs hints.
5809
5810 * stl/bits/stl_range_errors.h: Don't define here, for now define
5811 in stdexcept.cc along with string inlines __length_error, etc.
5812 * src/stdexcept.cc: Define here.
5813 * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
5814 at(size_t) will be declared/defined.
5815 (__STL_THREADS): Fix mess surrounding use of this, enable.
5816
58171999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
5818
5819 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5820 * src/localename.cc: Tweak formatting, fix assignment to
5821 const compiler errors.
5822
58231999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
5824
5825 * acconfig.h: Add absf, cosf.
5826 * configure.in (use_builtin_sinf): Same.
5827 * configure: Regenerate.
5828 * bits/std_cmath.h: Add mess of defines.
5829 * testsuite/26_numerics/modf_float.cc: Change to
5830 * testsuite/26_numerics/c_math.cc: This.
5831
5832 * src/locale.cc: Change.
5833 * bits/locale_facets.h: Fix.
5834 * testsuite/22_locale/ctype.cc: Add temporary tests.
5835
58361999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
5837
5838 * bits/fpos.h: Test.
5839
5840 * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
5841 Fix database name for "libstdc++".
5842
58431999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
5844
5845 * mknumeric_limits (numeric_limits): Add default definitions to
5846 member functions.
5847 * testsuite/18_support/numeric_limits.cc: New file.
5848
58491999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
5850
5851 * bits/std_istream.h: Correct initialization.
5852 * bits/std_ostream.h: Likewise.
5853 * bits/std_sstream.h: Likewise.
5854 * bits/std_fstream.h: Likewise.
5855 * testsuite/27_io/stringstream.cc: Add test case.
5856
5857 * bits/std_sstream.h: Replace ____string_type with __string_type.
5858 * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
5859 * bits/std_ostream.h: Tweak dtor.
5860
58611999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5862
5863 * src/Makefile.am (CXXFLAGS): Add -O2.
5864 * src/Makefile.in: Likewise.
5865
5866 * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
5867 this breaks. . .
5868 * mknumeric_limits (numeric_limits): Uglify.
5869
5870 * bits/std_istream.h: Fix warnings.
5871 * bits/locale_facets.tcc: Collateral damage from
5872 char_traits<char>::int_type change.
5873
5874 * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
5875
58761999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5877
5878 * docs/index.html: Add mailing list form.
5879 * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
5880
58811999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
5882
5883 * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
5884 if overflow successfully allocates more space.
5885 * bits/std_sstream.h: Adjust comments.
5886 * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
5887 before overflow forces a resize.
5888 * testsuite/27_io/ostream_inserter_char.cc: New file.
5889
5890 * bits/std_fstream.h: Remove declaration.
5891 * bits/fstream.tcc: Move uflow.
5892 * bits/std_streambuf.h: To here.
5893 * bits/streambuf.tcc: Make consistent.
5894
5895 * src/Makefile.am (WERROR): Enable.
5896 * src/Makefile.in: Regenerate.
5897 * bits/sbuf_iter.h: Tweak.
5898 * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
5899 Use unsigned int as char_traits<char>::int_type.
5900
5901 * bits/ostream.tcc (ostream::putc(char)): Tweak.
5902 * testsuite/27_io/iostream_objects.cc: Terminate string.
5903 Move cin::operator>>(char*) test to extractor_char.cc.
5904 * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
5905 * bits/std_istream.h (basic_iostream): Make explicit definition
5906 for default ctor.
5907 * bits/std_sstream.h: Fix typos.
5908 * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
5909 basic_filebuf ctor with fileno open arguments. Thus, filebufs are
5910 initialized in a consistent manner, no matter if the underlying
5911 FILE/bit bucket is a tty or a text file or some other imaginary
5912 construct. This and setting _M_buf_size to 1 for cin allows
5913 istream::get(char) to work in a manner consistent with what others
5914 expect.
5915
5916 * docs/index.html: Link Stroustrup's C++ page.
5917
59181999-08-12 Michael Cook <cook@sightpath.com>
5919
5920 * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
5921 * bits/istream.tcc: ditto.
5922 * bits/sbuf_iter.h: ditto.
5923 * bits/std_istream.h: ditto.
5924 * src/Makefile.am: Add -Wall to CXXFLAGS.
5925 * src/Makefile.in: ditto.
5926
59271999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5928 Russell Davidson <russell@ehess.cnrs-mrs.fr>
5929
5930 * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
5931 * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
5932
59331999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5934
5935 * testsuite/27_io/istream_unformatted.cc: New file.
5936
5937 * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
5938 elaborate tests for int types with noskipws.
5939
5940 * testsuite/27_io/istream_extractor_other-1.txt: New file.
5941 * testsuite/27_io/istream_extractor_other-1.tst: New file.
5942 * testsuite/27_io/istream_extractor_other-2.tst: New file.
5943 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5944 * bits/istream.tcc: Fix operator>>(streambuf*).
5945
5946 * testsuite/23_containers/vector_ctor.cc (test01): Add.
5947
5948 * docs/index.html: Remove references to egcs.
5949 * docs/17_intro/DESIGN: Same.
5950 * docs/17_intro/contribute.html: Same.
5951 * docs/17_intro/RELEASE-NOTES: Ditto.
5952 * docs/17_intro/howto.html: Same here.
5953
5954 Russell Davidson <russell@ehess.cnrs-mrs.fr>
5955 * stl/bits/stl_vector.h (_M_insert_aux):
5956 * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
5957 decimal/floating point support.
5958 * bits/locale_facets.h: Change _M_extract prototype.
5959 * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
5960 * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
5961
59621999-08-10 Michael Cook <cook@sightpath.com>
5963
5964 * bits/fstream.tcc: Fix for unused variable warning (-Wall).
5965 * bits/ios_base.h: ditto.
5966 * bits/istream.tcc: ditto.
5967 * bits/locale_facets.h: ditto.
5968 * bits/locale_facets.tcc: ditto.
5969 * bits/std_streambuf.h: ditto.
5970 * src/basic_file.cc: ditto.
5971 * src/locale.cc: ditto.
5972 * src/localename.cc: ditto.
5973
59741999-08-10 Kirat Singh <singhki@jany.gs.com>
5975
5976 * bits/std_iomanip.h: Inline.
5977
59781999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
5979
5980 * bits/std_streambuf.h: Correct member initialization order.
5981 * src/ios.cc: Add definitions for ios_base data members.
5982
59831999-08-06 Phil Edwards <pedwards@ball.com>
5984
5985 * docs/index.html: Seventh snapshot updates. Minor tweaks.
5986 * docs/faq/index.html: Ditto. Removed bugs sections that have
5987 been fixed for a long time... Lots of "egcs" references still
5988 exist.
5989 * docs/faq/index.txt: Regenerated.
5990
59911999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5992 Andreas Amann <amann@physik.tu-berlin.de>
5993
5994 * testsuite/26_numerics/binary_closure.cc (main): new test.
5995
59961999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
5997
5998 * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
5999 segmentation fault.
6000
60011999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6002
6003 * docs/index.html (host): Put in testing status.
6004
60051999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6006
6007 * docs/index.html: Update for libstdc++-2.90.6 release.
6008 * docs/17_intro/RELEASE-NOTES (New): Update.
6009 * docs/17_intro/BUGS: Update.
6010 * bits/c++config.h.in (__GLIBCPP__): Bump version number.
6011 * README (file): Update.
6012
60131999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6014
6015 * src/Makefile.am (generated_headers): Remove bits/c++config.h as
6016 a target.
6017 ($(generated_headers)): Same.
6018 * src/gen-c++config.cc: Remove, rename to
6019 * bits/c++config.h.in: New file. Bump version number.
6020 * configure.in: Generate bits/c++config.h at configure time.
6021 * math/mathconf.h: include bits/c++config.h, not config.h.
6022
6023 * bits/std_cmath.h: Fix remaining link error for solaris shared
6024 builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
6025 being, as on Solaris this silently calls sinf, which does not
6026 exist.
6027
6028 * src/complex.cc: More tweaks.
6029
60301999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
6031
6032 * src/complex.cc: Same.
6033 * math/complex-stub.h: Change.
6034 * math/c_log10*.c: Change back to clog10*.c.
6035
6036 * configure.in (NEED_C_LOG10): Delete.
6037 * configure: Regenerate.
6038 * math/Makefile.am: Change.
6039
60401999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
6041
6042 * math/Makefile.am: Fix, for real.
6043 * configure.in (use_builtin_sinf): Ok, make autoconf solution.
6044 * math/clog.c: Move to c_log.c.
6045 * math/clog*: Ditto.
6046 * math/c_log10l.c (c_log10l): Change function name.
6047 * math/c_log10f.c (c_log10f): Change function name.
6048 * math/c_log10.c (c_log10): Change function name.
6049
6050 * math/complex-stub.h: Change to c_log* variants.
6051 * src/complex.cc: And here.
6052
60531999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
6054
6055 * testsuite/27_io/istream_extractor_other.cc: Correct last test.
6056 * bits/sstream.tcc (stringbuf::overflow): Don't update the input
6057 sequence, just the output sequence.
6058 * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
6059 the original string, all others use complicated heuristic.
6060
6061 * src/complex.cc: Assume c_log10.
6062 * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
6063 symbols in shared libraries by making c_log/c_log10 part of the
6064 "must cmpile" sources. This may not work on solaris, must check.
6065
60661999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
6067
6068 * bits/istream.tcc (operator>>(streambuf*)): Re-do.
6069 * bits/std_istream.h: Fix char extractors.
6070 * testsuite/27_io/istream_extractor_char.cc: Change.
6071 * testsuite/27_io/istream_extractor_other.cc: Add tests.
6072
60731999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
6074
6075 * bits/std_cctype.h: Fix for solaris2.6 builds.
6076
6077 * bits/istream.tcc: Fix, thanks Alfred.
6078 * bits/std_istream.h: Formatting changes.
6079
6080 * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
6081 _IO_cleanup will not be undefined.
6082 * libio/*: Regenerate.
6083
6084 * bits/basic_string.h: More namespace-safety stuff.
6085 * testsuite/27_io/istream_extractor_char.cc: Fix.
6086 * testsuite/27_io/istream_extractor_arith.cc: Fix.
6087 * testsuite/27_io/iostream_objects.cc: Fix.
6088 * testsuite/27_io/ios_ctor.cc: Fix.
6089 * testsuite/27_io/istream_manip.cc: Make namespace safe.
6090 * testsuite/27_io/istream_extractor_other.cc: New file.
6091
6092 * mkcheck (TESTS_FILE): Tweaks.
6093
60941999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
6095
6096 * src/gen-c++config.cc: Note here, change version.
6097 * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
6098 * src/locale.cc: Used here.
6099 * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
6100
6101 * aclocal.m4: Regenerate by running `aclocal -I m4.`
6102
6103 * bits/istream.tcc: Fix.
6104 * bits/std_istream.h: More changes to extractors.
6105
6106 * testsuite/27_io/istream_extractor_char.cc: More.
6107 * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
6108 error in testsuite construction.
6109
6110 * bits/std_istream.h: Partially revert.
6111 * bits/std_ostream.h: Same.
6112 * bits/std_sstream.h: Revert.
6113
61141999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
6115
6116 * bits/std_sstream.h: Change initialization.
6117 * bits/std_ostream.h: Make default ctor/assign/operator= private.
6118 * bits/std_istream.h: Same, also correct sentry args.
6119 * bits/istream.tcc: Add correct sentry args.
6120
6121 * testsuite/27_io/istream_extractor_char.cc: New file.
6122 * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
6123 name changes making me dizzy.
6124
61251999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
6126 Benjamin Kosnik <bkoz@cygnus.com>
6127
6128 * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
6129 to libtool 1.3.3.
6130
61311999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6132
6133 * bits/std_complex.h: Tweak. Make the primary template class
6134 complex work with user-defined numerical types. Provide member
6135 definitions. Restructure.
6136 (class complex<float>): Uglify. Remove __value(). Rename __val
6137 to _M_value. Rename __complex_value_type to _ComplexT. Make it
6138 private. Remove dependency on __value(). Fix various explicit
6139 specialization syntax. Declare a some functions friend. Now the
6140 implementation is nearly comforming.
6141 (class complex<double>): Likewise.
6142 (class complex<long double>): Likewise.
6143
6144 * src/complex.cc: Tweak. Remove dependency on complex::__value().
6145 (sin, sinh, tan, than): Fix call to corresponding C9x function
6146 syntax.
6147
61481999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6149
6150 * bits/istream.tcc (ws): Fix error with failbit being set.
6151
6152 Disabled due to egcs/gcc-2_95 internal compiler errors.
6153 * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
6154 -fnew-exceptions. Compiling with namespaces enabled will now be
6155 the default.
6156 * mkcheck (CXX_FLAG): Same.
6157 * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
6158 * bits/std_cctype.h: Not enough to just define in namespace std if
6159 ctype-isms are macros. Need to also define in namespace std:: if
6160 the C functions are just plain functions.
6161
6162 * src/gen-num-limits.cc: Fix spelling inconsistencies.
6163
61641999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6165
6166 * docs/18_support/howto.html: Start documentation. Need to keep
6167 track of the ongoing discussion in th LWG reflector.
6168
6169 * src/gen-num-limits.cc: Tweak.
6170 (class predicate): New class.
6171 (class value): Likewise.
6172 Make the whole machinery more flexible. Add comments.
6173
61741999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6175
6176 * bits/ios_base.h: Move state/exception functions into basic_ios.
6177 * bits/basic_ios.h: Same.
6178 * src/ios.cc: And here. Callbacks don't attempt to reset
6179 state now.
6180
6181 * bits/std_streambuf.h: Separate ios and streambuf locale data
6182 members and cached facets. Using this convention: _M_locale_buf for
6183 the streambuf-related classes, and _M_locale_ios for the ios
6184 hierarchy.
6185 * bits/fstream.tcc: And here.
6186 * bits/basic_ios.h: And here. Also, add cached ctype.
6187 * src/ios.cc: Ditto.
6188 * bits/ios_base.h: Ditto.
6189 * bits/std_istream.h: Use cached ctype facet.
6190 * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
6191 arraignment.
6192
6193 * testsuite/27_io/ios_ctor.cc: New file.
6194 * src/ios.cc: Move _M_state init to basic_ios::init().
6195 * bits/basic_ios.h: To here.
6196
6197 Attempt for some consistency in naming for testsuite/27_io/*.cc.
6198 * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
6199 * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
6200 * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
6201 * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
6202
62031999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
6204
6205 * src/ios.cc: Tweak initializations of standard iostream
6206 objects to closely match the standard. Tie cin/wcin, set flags on
6207 cerr/wcerr
6208 * bits/char_traits.h: Change from size_t to int_type, as per
6209 standard. As per wide streams.
6210 * bits/basic_ios.h: Infect with __ctype_type, as a preparation
6211 for caching a bunch of ctype info. For instance, ctype_base::space
6212 info needs to be stored somewhere, somehow.
6213 * bits/std_istream.h: Also here.
6214 * bits/std_ostream.h: Ditto.
6215 * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
6216 * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
6217 stream states.
6218
6219 * bits/istream.tcc (ws): Fix.
6220 * testsuite/27_io/istream_manip.cc: New file, test ws.
6221 * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
6222
6223 * bits/basic_string.h: Provide a specialized member function for
6224 _S_find<char> using strchr.
6225 * src/string-inst.cc: Put specializations here.
6226 * bits/string.tcc: Small fix for find, remove typo.
6227 * testsuite/21_strings/find.cc (test01): Add tests to catch this
6228 find bug. . .
6229
62301999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6231
6232 * bits/basic_ios.h: Put into basic_ios namespace.
6233 Tweak widen/narrow.
6234
62351999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6236
6237 * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
6238 adjust _M_*_cur pointers inside the function, so callee doesn't
6239 have to adjust.
6240 * bits/sstream.tcc (stringbuf::overflow): Tweak.
6241
6242 * mkcheck: Tweak. Add execution time field, even though it is not
6243 implemented yet. Simplify pass/fail status notation.
6244
62451999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
6246
6247 * configure.in: Check for float.h and underscored version of
6248 math functions.
6249 * acconfig.h: Add @BOTTOM@ section for handling underscored
6250 math functions.
6251 * configure: Regenerate.
6252 * config.h.in: Regenerate.
6253 * math/mathconf.h (float.h): Include conditionally.
6254 (M_PI): Define conditionally.
6255 (INFINITE_P): Define for Mingw.
6256 * bits/locale_facets.tcc: Workaround for compiler crash on
6257 ix86-*-mingw32.
6258 * bits/std_cwchar.h (bits/std_cstddef.h): Include.
6259 * src/locale.cc (bits/std_istream.h): Include.
6260 (bits/std_ostream.h): Likewise.
6261
62621999-07-18 Phil Edwards <pedwards@ball.com>
6263
6264 * docs/faq/index.html: Updated __black_count notes, fixed typos.
6265 * docs/faq/index.txt: Regenerated.
6266
62671999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6268
6269 * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
6270
6271 * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
6272 newly-allocated buffer.
6273 * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
6274 overflow condition bits.
6275
62761999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
6277
6278 * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
6279 _M_buf_size to initial _M_string.size(), even though for
6280 ostringstreams it is pretty pointless. It's necessary for
6281 istringstreams.
6282 (stringbuf::str()): Adjust.
6283 (stringbuf::str()): Adjust, call _M_init_stringbuf.
6284 * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
6285 overflow's possible success.
6286 (streambuf::xsputn): Adjust.
6287
6288 * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
6289 yesterday.
6290 * testsuite/27_io/stringbuf.cc: Tweak.
6291 * testsuite/21_strings/inserters_extractors.cc (test01): Remove
6292 notes to myself.
6293 * testsuite/23_containers/vector_cons.cc: Rename to be consistent
6294 with other constructor tests to. . .
6295 * testsuite/23_containers/vector_ctor.cc: New file.
6296
62971999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
6298
6299 * testsuite/*: Changes to make the testsuit compilable with
6300 -fhonor-std. Contains direct qualification of library names with
6301 std::.
6302
63031999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
6304
6305 * bits/streambuf.tcc: Tweaks.
6306 (streambuf::xsputn): Optimize, fix for sstreams.
6307 (streambuf::xsgetn): Same.
6308 * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
6309 correctly, handle overflow/reallocate conditions correctly.
6310 * bits/std_sstream.h: Fix typo.
6311 _M_init_stringbuf(): Fix _M_buf_size initialization.
6312 (stringbuf::str()): Construct return string if output has occurred.
6313
6314 * bits/basic_string.h: Fix typo from yesterday's patch.
6315
63161999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6317
6318 * bits/string.tcc: _M_mutate - clear _M_state again.
6319 * bits/basic_string.h: In the three functions that return
6320 an iterator set _M_state to -1 before return.
6321 Also optimized two cases of operator+.
6322
63231999-07-12 Phil Edwards <pedwards@ball.com>
6324
6325 * docs/index.html: Expand egcs-1.1.2 notes/links.
6326 * docs/faq/index.html: And here. Add links to LWG issues-list.
6327 * docs/faq/index.txt: Regenerate. (lynx rocks)
6328 * docs/21_strings/howto.html: Fix notes on case conversion.
6329 * docs/21_strings/stringtok_h.txt: Goodly spelling...
6330 * docs/23_containers/howto.html: Stub for bitmasks.
6331 * docs/27_io/howto.html: Add section on buffering, stub binary.
6332
63331999-07-12 Nathan Myers <ncm@cantrip.org>
6334
6335 * stl/bits/stl_tree.h (__black_count): Optimize.
6336
63371999-07-09 Vadim Egorov <egorovv@1c.ru>
6338
6339 * src/basic_file.cc: Cleanup in __basic_file destructor.
6340
63411999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
6342
6343 * bits/std_streambuf.h: Changes. . .
6344 * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
6345 basic_streambuf, to be used for both filebufs and streambufs.
6346 * bits/std_fstream.h (_M_init_filebuf): New function.
6347 Take out specialized xsputn, put into basic_streambuf.
6348 * bits/fstream.tcc: Define, call from both ctors.
6349 * bits/std_sstream.h (_M_init_stringbuf): New function.
6350 * bits/sstream.tcc: Tweak.
6351
6352 * docs/27_io/iostreams_heirarchy.pdf: New file.
6353
6354 * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
6355 acceptance. Wooo-hoo!
6356
6357 * bits/char_traits.h: Change int_type for char_traits general
6358 template, so that 21_strings/capacity.cc will compile.
6359 * testsuite/21_strings/capacity.cc: Add operators.
6360
6361 * bits/string.tcc (string::compare): Clean up, re-implement.
6362 * testsuite/21_strings/compare.cc: Tweak.
6363
6364 * bits/string.tcc (string:_M_mutate): Keep leaked value in
6365 _M_state, which means that whenever begin() or end() has been
6366 called, the string is unshareable, period. By doing this, insert
6367 and erase member functions that return iterators can remain
6368 footloose and fancy free.
6369 * testsuite/21_strings/invariants.cc: Update.
6370
6371 * bits/basic_string.h (string::append): Fix self-referential
6372 problems, ie when "this" is also an argument to a member function.
6373 * bits/string.tcc: Tweak, same.
6374 * testsuite/21_strings/append.cc: New file.
6375
63761999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
6377
6378 * bits/char_traits.h: Tweaks.
6379 * bits/basic_string.h: Tweak.
6380 * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
6381
63821999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
6383
6384 * bits/std_streambuf.h: Absorb/acquire data members previously
6385 working in basic_filebuf.
6386 * bits/streambuf.tcc: Tweaks.
6387 * bits/fstream.tcc: Adjust.
6388 * bits/std_fstream.h: Move and rename the following functions:
6389 _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
6390 now declared and defined in the base class, basic_streambuf. Oh
6391 fuck it, move data members _M_buf, and _M_buf_size into
6392 basic_streambuf as well.
6393
6394 * bits/ostream.tcc: Tweak.
6395 * bits/locale_facets.tcc: Fix typo in comments.
6396
6397 * testsuite/21_strings/inserters_extractors.cc (test01): Change
6398 state from good to not good, as eof() is set.
6399
64001999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
6401
6402 * bits/char_traits.h (char_traits::compare). Fix.
6403
6404 * config.guess, config.sub: Update.
6405
64061999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6407
6408 * bits/string.tcc: Check the __res_arg for a length error.
6409
64101999-07-01 Benjamin Kosnik <bkoz@nabi.net>
6411
6412 * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
6413 and related functions into basic_streambuf, from basic_filebuf to
6414 take care of ostringstreams and empty strings. So that's groovy,
6415 or will be groovy.
6416 * bits/std_istream.h: Tweaks.
6417 * bits/istream.tcc: Implement ws, getline, operator>> for string.
6418 * bits/std_ostream.h: And here.
6419 * bits/ostream.tcc: Same.
6420 * src/misc-inst.cc: Add instantiations for ws.
6421
6422 * src/string-inst.cc: Add instantiations for inserters and
6423 extractors (operators << and >>, getline).
6424
6425 * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
6426 a testcase for getline and operators << and >>. Ostream tests are
6427 failing right now, but istream tests should work. . .
6428
6429 * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
6430 * bits/std_sstream.h: Revert.
6431
6432 * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
6433 istream, ostream, streambuf, fstream, sstream].cc: New files.
6434
64351999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6436
6437 * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
6438 and string::end().
6439
6440 * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
6441 specializations for _CharT*, iterator and const_iterator.
6442 * src/string-inst.cc: Remove explicit instantiation, as
6443 now explicitly specialized.
6444
6445 * bits/basic_string.h: Add a size_type parameter to _M_clone with
6446 a default value set to 0.
6447 * bits/string.tcc: In _M_clone by the call of _S_create add the
6448 value of the new parameter to _M_length. In reserve check
6449 _M_state and use _M_clone instead of _M_mutate.
6450
64511999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
6452
6453 * bits/basic_string.h: Fix _S_max_size.
6454 * bits/string.tcc: Add def here.
6455 * testsuite/21_strings/insert.cc: Fix.
6456
6457 * bits/sbuf_iter.h: Remove detritus.
6458 * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
6459
6460 * src/locale-inst.cc: Elaborate iterator/locale instantiations
6461 to resolve alpha-osf4 build problems.
6462
64631999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6464
6465 * bits/string.tcc: Fix signed/unsigned issues in compares.
6466 * stl/bits/stl_deque.h: And here.
6467 * stl/bits/stl_string_fwd.h: Remove __get_c_string.
6468
64691999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6470
6471 * bits/string.tcc: New implementation and interface of _M_mutate.
6472 Adapt the change in all functions that call _M_mutate.
6473 * bits/basic_string.h: And here.
6474
64751999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
6476
6477 * testsuite/21_strings/capacity.cc (test01): Fix.
6478
64791999-06-29 Phil Edwards <pedwards@ball.com>
6480
6481 * mknumeric_limits: Exit script if gen-num-limits isn't built.
6482
64831999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
6484
6485 * stl/bits/stl_vector.h: Fix.
6486 * testsuite/23_containers/vector_cons.cc: Add.
6487
64881999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6489
6490 * mknumeric_limits (LDFLAGS): fix.
6491
64921999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6493
6494 * mknumeric_limits (LDFLAGS): set it according to the system.
6495
6496 * math/mathconf.h (NAN): Check whether host is running under
6497 Cygwin and make the appropriate definition.
6498 * math/complex-stub.h (nan): protect declaration.
6499
65001999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
6501
6502 * bits/sbuf_iter.h: Rename internal data structure to prevent
6503 confusion between basic_ios and istreambuf_iterators internal
6504 basic_streambuf data member.
6505 * testsuite/24_iterators/istreambuf_iterator.cc: New file.
6506
6507 * bits/basic_string.h: Remove conditionals, add input_iterator
6508 version of S_construct again.
6509 * bits/string.tcc: Same.
6510 * src/string-inst.cc: And add explicit instantiation here.
6511
6512 * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
6513 and __USE_GNU macro defines, as single __USE_GNU use leading to
6514 confusion on glibc2.1 systems (ie, RedHat 6.0).
6515
6516 * src/Makefile.am (headers): Add std_utility to installed headers.
6517
65181999-06-25 John Potter <jpotter@eagle.lhup.edu>
6519
6520 * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
6521
65221999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
6523
6524 * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
6525
65261999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6527
6528 * src/gen-c++config.cc (_GLIBCPP_*): Change all
6529 macros to include _GLIBCPP as a distinct namespace.
6530 * bits/*: And here.
6531 * src/*: And here.
6532
6533 * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
6534 * bits/basic_string.h: Remove __get_c_string.
6535 * src/stdexcept.cc: Define ctor here.
6536 * bits/ios_base.h: And fix ios_base::failure as well.
6537 * src/ios.cc: Define here.
6538
6539 * bits/std_streambuf.h: Add a private copy ctor and assignment
6540 operator wrapped in _G_RESOLVE_LIB_DEFECTS.
6541 * bits/ios_base.h: And here too.
6542
6543 * bits/basic_string.h: Tweak.
6544 * testsuite/21_strings/nonmember.cc: Add operator+ tests.
6545
6546 * src/valarray.cc: Rename to. . .
6547 * src/valarray-inst.cc: This.
6548 * src/Makefile.am (sources): Change here.
6549 * src/Makefile.in: Regenerated.
6550
65511999-06-24 Vadim Egorov <egorovv@1c.ru>
6552
6553 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
6554 allocated size
6555
65561999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6557 Tom Tromey <tromey@cygnus.com>
6558
6559 * configure.in (use_glibc2): Eek, correct for non-glibc systems.
6560 Use AM_CONDITIONAL to get us out of this jam. .
6561 * libio/Makefile.am: Same.
6562 * */Makefile: Regenerated.
6563
65641999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6565 John Potter <jpotter@eagle.lhup.edu>
6566
6567 * stl/bits/stl_tree.h (insert_equal): Fix.
6568 * testsuite/23_containers/multiset.cc: New file.
6569
65701999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
6571
6572 * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
6573 this works correctly on glibc-2 systems. This should allow
6574 simplified linking on these systems, and successful linking on Red
6575 Hat 6.0 systems.
6576 * configure, Makefile: Regenerate.
6577
6578 * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
6579
6580 * testsuite/ext: New directory.
6581 * testsuite/ext/headers.cc: New file.
6582
65831999-06-23 Vadim Egorov <egorovv@1c.ru>
6584
6585 * stl/ext/hash_set: include missing headers
6586 * stl/ext/hash_map: Same
6587 * stl/ext/slist: Same
6588
65891999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6590
6591 * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
6592
65931999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
6594
6595 * src/Makefile.am (sources): Regenerate.
6596 * mkcheck: Add TESTS_FILE as a way of controlling what testcases
6597 are run.
6598
65991999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
6600
6601 * src/string-inst.cc: Change _S_construct signature, to
6602 track requested allocation size versus valid input iterator range.
6603 * bits/basic_string.h: Here too.
6604 * bits/string.tcc: And here.
6605
66061999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
6607
6608 * mkcheck (LOG_FILE): Correctly append errors.
6609
6610 * stl/bits/stl_iterator.h: Revert previous, delirious, change.
6611
6612 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
6613 to clarify differences between basic_string::_M_data() calls and
6614 _Rep::_M_data() calls.
6615 * bits/std_string.h: Fix.
6616 Put in check for out_of_range in substr.
6617 * bits/string.tcc: Fix for _S_find.
6618
6619 * testsuite/21_strings/compare.cc: Add tests.
6620 * testsuite/21_strings/find.cc: New file.
6621 * testsuite/21_strings/substr: New file.
6622 * testsuite/21_strings/replace.cc: New file.
6623
66241999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6625
6626 * bits/valarray_array.h: __restrict__ify pointers.
6627
6628 * bits/std_valarray.h: Tweak.
6629 (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
6630
6631 * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
6632
6633 * bits/gslice.h: Tweak.
6634 (class gslice::_Indexer): new class.
6635 (gslice::gslice(const gslice&)): implement copy-ctor to support
6636 ref-counted index.
6637 (gslice::operator=(const gslice&)): support ref-counted index.
6638 (gslice::_M_convert_to_index): delete.
6639
6640 * src/valarray.cc: New file.
6641 (__gslice_to_index): turn a gslice into a valarray<size_t>
6642 (ctor gslice::_Indexer::_Indexer): implement.
6643
6644 * src/Makefile.am (sources): add valarray.cc
6645 * src/Makefile.in: regenerate.
6646
66471999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
6648
6649 * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
6650 ctor): Put in a const_cast.
6651
6652 * testsuite/21_strings/invariants.cc: New file.
6653
6654 * testsuite/21_strings/insert.cc: Add exception handling bits.
6655 * testsuite/21_strings/ctor_copy_dtor.cc: Same.
6656
6657 * src/wstring-inst.cc: Add c++config.h include.
6658
6659 * bits/basic_string.h: Fix const operator[] for size == pos.
6660 Add _M_leak for rbegin, non-const.
6661 Add _M_leak for rend, non-const.
6662 Make member function at standards conformant.
6663 Add _S_terminal to _Rep for operator[] const, add this into
6664 c_str() as well.
6665 * bits/string.tcc: Add static member definition here,
6666 temporarily.
6667
6668 * testsuite/21_strings/element_access.cc: Add tests.
6669
66701999-06-08 Vadim Egorov <egorovv@1c.ru>
6671
6672 * bits/fstream.tcc (_M_really_overflow): Fixed size of
6673 conversion buffer.
6674
66751999-06-08 Phil Edwards <pedwards@ball.com>
6676
6677 * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
6678 caused when __testinit is true.
6679 * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
6680 using rdbuf()->sputn rather than _M_fnumput->put.
6681
66821999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6683
6684 * testsuite/23_containers/bitset_ctor.cc: New file.
6685 * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
6686
66871999-06-08 Phil Edwards <pedwards@ball.com>
6688
6689 * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
6690
66911999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6692
6693 * testsuite/21_strings/element_access.cc: Finish off these tests.
6694 * testsuite/21_strings/insert.cc (test01): Uncomment.
6695 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
6696 * bits/basic_string.h: Tweak, okay, fix for real this time.
6697 * bits/string.tcc: Same.
6698 * bits/char_traits.h: Tweak.
6699
67001999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6701
6702 * bits/std_cmath.h: Example of how to use the generated macro.
6703 * acconfig.h: Add macro for sinf here.
6704 * configure.in (LIBS): Add test for builtin math function sinf.
6705 * configure: Regenerated.
6706
6707 * bits/basic_string.h: Fix _S_max_size.
6708
67091999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6710
6711 * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
6712 Remove _S_construct signature for forward_iterator_tag and
6713 input_iterator_tag.
6714 Clean _M_fold.
6715 * src/string-inst.cc: Same, tweaks.
6716 * bits/string.tcc: Same, tweaks.
6717
6718 * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
6719 * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
6720 * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
6721 Gaby.
6722
6723 * src/locale.cc: Final separation for char/wchar_t bits.
6724
67251999-06-05 Phil Edwards <pedwards@ball.com>
6726
6727 * docs/index.html: Added link to book upon request'n'agreement.
6728 * docs/23_containers/wrappers_h.txt: Added.
6729 * docs/{23_containers,27_io}/howto.html: Added sections.
6730
6731 * bits/std_fstream.h: Tweak.
6732
67331999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6734
6735 * src/ios.cc: Same here.
6736 * bits/std_iosfwd.h: More wchar_t defines.
6737
6738 * bits/basic_string.h: Tweaks.
6739 * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
6740 when doing error checking, as per LWG defect #83.
6741
6742 * src/gen-c++config.cc: Fix comment.
6743
6744 * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
6745 assignments, dtors.
6746 * testsuite/21_strings/element_access.cc: New file, checks for
6747 operator[], at(...).
6748 * testsuite/21_strings/insert.cc: New file, tests string::insert.
6749 * testsuite/21_strings/char_traits.cc: New file, tests
6750 for char_traits<char>.
6751
6752 * bits/utility.h: Remove, again.
6753 * src/Makefile.am (std_headers): Remove utility.h.
6754 * src/Makefile.in (std_headers): Regenerate.
6755
6756 Alfred Minarik <a8601248@unet.univie.ac.at>
6757 * bits/basic_string.h: Move __out_of_range and __length_error into
6758 namespace std.
6759
67601999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6761
6762 * testsuite/26_numerics/modf_float.cc: New file.
6763
6764 * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
6765 typo: use ::modff, not ::modf.
6766
67671999-06-03 Vadim Egorov <egorovv@1c.ru>
6768
6769 * bits/string.tcc (basic_string::_M_mutate): Fixed memory
6770 allocation error
6771 * testsuite/21_strings/capacity.cc (test01): Test.
6772
67731999-06-03 Phil Edwards <pedwards@ball.com>
6774
6775 * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
6776 unused variables to within #if 0 blocks to do the same.
6777 * bits/std_fstream.h: Fix typos (one prevents compilation).
6778
67791999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
6780
6781 * src/wstring-inst.cc: Fix.
6782
67831999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
6784
6785 * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
6786 * stl/bits/stl_string_fwd.h: Same.
6787 * bits/locale_facets.h: Same.
6788 * bits/locale_facets.tcc: Same.
6789 * src/wstring-inst.cc: And here.
6790
6791 * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
6792 problems on HPUX 10.20.
6793 * your-build-directory-here/bits/c++config.h: Just kidding, do it
6794 here as a temporary hack till the compiler/host problems get
6795 worked out.
6796
6797 * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
6798 HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
6799 converting "long double" to struct long_double. Probably should be
6800 done with one macro (HAVE_STRTOLD) at configure time.
6801
6802 * bits/std_cmath.h: Comment out pow(double, int) defintion as
6803 gives re-declaration under hpux10.20. Revert previous change, as
6804 kills linux/x86, solaris 2.7, hpux builds. These should be done
6805 using autoconf, see std_cctype.h and the solutions started in
6806 configure.in (see config.h for the generated file.)
6807
6808 * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
6809 -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
6810 defined.
6811
6812 * docs/index.html: Add some useful links.
6813 * docs/17_intro/contribute.html: Fix broken links.
6814
68151999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
6816
6817 * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
6818 paths. The rest of the world should be able to run this script
6819 now.
6820
6821 * src/Makefile.am ($(generated_headers)): Remove comment.
6822 * Makefile*: Regenerate.
6823
6824 * bits/std_locale.h: Remove detritus.
6825 * bits/localefwd.h: Add <cctype> include to undefine the isspace
6826 macro.
6827
68281999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6829
6830 * src/gen-c++config.cc: New file. Making c++config.h at configure
6831 time by catting this file (nee bits/config.h) with the build
6832 directories config.h. This is not a complete or perfect solution
6833 but is better than what was in place previously.
6834 * bits/c++config.h: Rename/move to above.
6835 * src/Makefile.am (headers): Remove c++config.h.
6836 (myinstallheaders). Add.
6837 * Makefile*: Regenerated.
6838
6839 * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
6840 definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
6841 declared only if not present in the host's wchar.h.
6842
6843 * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
6844
6845 * bits/std_cmath.h: Define out, for the moment. Linux has no
6846 __buitin_fsqrtl? Probably need some kind of configure trickery
6847 here as well.
6848
6849 * src/Makefile.*: Regenerate.
6850 * bits/c++config.h: Add config.h include.
6851
6852 * bits/std_cwchar.h: Remove remaining #error guard.
6853
6854 * acconfig.h: Add bits for HAVE_LC_MESSAGES.
6855
6856 * configure.in (LIBS): Replace previous effort for mbstate_t and
6857 strtold/strtof with this implementation.
6858
68591999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6860
6861 * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
6862 whenever possible.
6863
68641999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
6865
6866 * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
6867 for determining mbstate_t differences across various hosts not
6868 finished.
6869
68701999-05-26 Benjamin Kosnik <bkoz@nabi.net>
6871
6872 * bits/locale_facets.tcc: Change to ifdef.
6873
6874 * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
6875 * bits/std_fstream.h (filebuf::setbuf): Same.
6876
6877 * bits/std_istream.h: Add ws declaration.
6878 * bits/istream.tcc: Stub out definition.
6879
6880 * docs/index.html: Fix broken link for design.txt.
6881
6882 * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
6883 then set _G_NEED_MBSTATE_T.
6884 * configure: Regenerate.
6885 * bits/c++config.h: Move mbstate_t define.
6886 * bits/std_cwchar.h: To here.
6887
68881999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6889
6890 * bits/std_sstream.h:
6891 basic_stringbuf<>::basic_stringbuf: fix.
6892 basic_stringbuf<>::setbuf:
6893 remove the temporary __string_type object,
6894 remove the unnecessary dynymic_cast in the return value,
6895 change the type of the returned value from __streambuf_type*
6896 to basic_stringbuf<_CharT, _Traits, _Alloc>*.
6897
68981999-05-25 Phil Edwards <pedwards@ball.com>
6899
6900 * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
6901
69021999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6903
6904 * bits/std_cmath.h: Tweak. Add float versions of the math functions
6905 in <math.h>. <cmath> still incomplete and incorrekt.
6906
69071999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6908
6909 * mknumeric_limits (LDFLAGS): set appropriate link flags.
6910
69111999-05-23 Phil Edwards <pedwards@ball.com>
6912
6913 * docs/17_intro/howto.html: Added links to text docs,
6914 e.g., BUGS.
6915 * docs/21_strings/howto.html: Updated sections and links.
6916 * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
6917 * docs/faq/index.html: Updated what-works for sixth
6918 snapshot. Also a number of "internal" links have been
6919 fixed, now that the web pages are the docs directory...
6920 * docs/faq/index.txt: Regenerated.
6921
69221999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6923
6924 * bits/basic_string.h: Add Nathan's documentation on the string class.
6925
6926 * testsuite/27_io/ios_members_static.cc: New file, for testing
6927 ios_base::sync_with_stdio.
6928
69291999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6930
6931 * bits/std_locale.h: Simplify includes.
6932 * bits/loccore.h: Delete.
6933 * bits/localefwd.h: Renamed, trimmed.
6934 * bits/locfacets.h: Delete.
6935 * bits/locale_facets.h: Rename, expanded.
6936 * bits/loccore.tcc: Deleted.
6937 * bits/locfacets.tcc: Deleted.
6938 * bits/locale_facets.tcc: Resultant merge.
6939 * bits/std_fstream.h: Modify include.
6940 * bits/ostream.tcc: Same.
6941 * bits/istream.tcc: Same.
6942
6943 * src/locale-inst.cc: And here.
6944 * src/locale.cc: Ditto.
6945 * src/Makefile.am: Updated.
6946 * src/Makefile.in: Rengenerated.
6947
6948 * bits/std_istream.h: Move istream::sentry ctor definition.
6949 * bits/istream.tcc: Move istream::sentry ctor here.
6950 Add more detailed locale include here for ctype member functions.
6951 * bits/ostream.tcc (std): And here.
6952
6953 * bits/sbuf_iter.h: Include std_streambuf.h
6954
6955 * bits/locfacets.h: Start separating this into a localeimp.h file.
6956 * bits/loccore.h: Start separating this into a localefwd.h file.
6957 Add std_climits for CHAR_BIT.
6958
6959 * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
6960
6961 * bits/char_traits.h: Tweak.
6962
6963 * bits/ios_base.h: Remove INT_MAX, use 1<<16.
6964
6965 * bits/std_ostream.h: Remove c++config.h include.
6966 * bits/std_istream.h: Same.
6967 * bits/std_streambuf.h: Same.
6968 * bits/std_fstream.h: Same.
6969 * bits/std_sstream.h: And here.
6970
6971 * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
6972 * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
6973 * bits/fpos.h: Tweak, format.
6974
6975 * std/ciso646: New file.
6976 * bits/std_ciso646.h: New file.
6977 * src/Makefile.am (std_headers): Add ciso646.
6978 (headers): Add bits/std_ciso646.h.
6979 * src/Makefile.in: Regenerate.
6980 * testsuite/17_intro/header_ciso646.cc: New file, disable
6981 equivalance tests.
6982
6983 * bits/fpos.h: Remove libio.h include.
6984 * bits/basic_file.h: And here.
6985 * bits/std_ios.h: Put here.
6986
6987 * src/ios.cc: Simplify includes, tweak.
6988 * bits/std_ios.h: Simplify include order.
6989 * bits/ios_base.h: Modify ios_base::failure.
6990
6991 * stl/bits/std_numeric.h: Change include from stl_iterator to
6992 std_iterator.
6993
69941999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6995
6996 * std/iostream: Remove static member __ioint.
6997 * bits/std_iostream.h: Put here.
6998
6999 * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
7000 * stl/bits/stl_algobase.h: Same.
7001 * testsuite/27_io/iostream_objects.cc: Regression tests.
7002 * testsuite/27_io/hello.cc: Remove, subset of above.
7003
70041999-05-19 Phil Edwards <pedwards@ball.com>
7005
7006 * docs/index.html: Tweak, update.
7007
70081999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7009
7010 * docs/17_intro/RELEASE-NOTES: remove outdated
7011 documentation about numeric_limits. Correct CXXINCLUDE setting
7012 documentation.
7013
70141999-05-18 Phil Edwards <pedwards@ball.com>
7015
7016 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
7017 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
7018 27_io}/howto.html: Created, with some initial entries.
7019 * docs/faq/index.html: Fixed some links.
7020 * docs/faq/index.txt: Regenerated.
7021
70221999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7023
7024 * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
7025
7026 * docs/17_intro/RELEASE-NOTES: Update.
7027 * docs/index.html: Correct link to mailing list help page, update News.
7028 * docs/faq/index.html: Change fifth to sixth for snapshot.
7029
7030 * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
7031 install $(top_builddir)/bits/std_limits.h into
7032 $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
7033 Makefile.am changes.
7034 * *Makefile*: Regenerate using automake.
7035
7036 * mkcheck (LOG_FILE): Fix filebuf directory oddness.
7037 * testsuite/27_io/filebuf.cc: Same.
7038
70391999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7040
7041 * docs/17_intro/CHECKLIST: update.
7042 * docs/17_intro/TODO: update.
7043
70441999-05-17 Phil Edwards <pedwards@ball.com>
7045
7046 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
7047 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
7048 27_io}/howto.html: Created, with some initial entries.
7049 * docs/faq/index.html: Fixed some links.
7050 * docs/faq/index.txt: Regenerated.
7051
70521999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
7053
7054 * src/Makefile.am (myinstallheaders): Missed removing missing.h.
7055 * Makefile.in*: Regenerate.
7056
70571999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
7058
7059 * bits/std_streambuf.h: Same.
7060
7061 * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
7062 * bits/locfacets.h (std): Same.
7063 * bits/sstream.tcc: Same.
7064 * testsuite/27_io/stringstream.cc: Tweak.
7065
7066 * testsuite/27_io/filebuf.cc: Adjust.
7067 * testsuite/21_strings/capacity.cc (test01): Add more
7068 string::reserve tests.
7069
7070 * bits/c++config.h: Remove broken CCTYPE.
7071 * bits/std_cctype.h: Tweak, remove de-macroization, enable
7072 sequestered topper implementation.
7073 * bits/std_cwctype.h: Same.
7074
7075 * bits/missing.h: Remove.
7076 * bits/std_locale.h: Remove missing.h include.
7077
7078 * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
7079
7080 * src/Makefile.am (headers): Add bits/std_cwctype.h.
7081 INCLUDES: Add top_builddir.
7082 * src/Makefile.in: Regenerate.
7083
7084 * Makefile.am: Add check and check-install as new targets.
7085 * testsuite/make_check_libfree++: Move to. . .
7086 * mkcheck: Here.
7087 * configure.in: Tweak versions.
7088 * mknumeric_limits: Set paths correctly.
7089
70901999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7091
7092 * src/Makefile.in (myinstallheaders): add rule to install
7093 std_limits.h.
7094
7095 * bits/slice.h (class slice): don't const-qualify data members
7096 since the copy and assignment operator is implicitly used. The
7097 valarray specification is definitively a bad one.
7098
7099 * Makefile.in (generate-limits-sources): fix typo.
7100
7101 * docs/text/TODO: update.
7102 * docs/text/CHECKLIST: update.
7103
7104 * bits/gslice.h (gslice): fix bugglet.
7105 (gslice::gslice): set _M_index_size to 0 whenever given lengths
7106 (lj) of size zero.
7107
7108 * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
7109 * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
7110 [Note: **/Makefile.in should be generated from the corresponding
7111 Makefile.am. The current situation is a litte chaotic. ]
7112
71131999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7114
7115 * mknumeric_limits: tweak.
7116
7117 * Makefile.in (all): add target generate-limits-sources.
7118 (generate-limits-sources): make a directory bits/ in top_builddir
7119 where the generated std_limits.h is put; generate limitsMEMBERs.cc
7120 directly under $(top_builddir)/src. Remains to put the appropriate
7121 rule for installing std_limits.h.
7122
7123 * src/Makefile.in (headers): remove bits/std_limits.h to this list.
7124 (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
7125 now generated at build-time in the build directory
7126 (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
7127 * src/Makefile.am: reflect changes in src/Makefile.in
7128
71291999-05-12 Phil Edwards <pedwards@ball.com>
7130
7131 * docs/faq/index.html: Add more entries (5.4,5.5), finish
7132 all but one empty entry. Add links for HOWTOs, but no files yet.
7133 (Corrected HOWTO links are for bkoz's new scheme.)
7134 * docs/faq/index.txt: Regenerated.
7135
71361999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
7137
7138 * testsuite/17_intro/headers.cc: New file.
7139 * stl/bits/std_queue.h: Change stl_bvector.h include path.
7140 * bits/std_cwctype.h: New file.
7141
7142 * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
7143
71441999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
7145
7146 * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
7147 Check __USE_MALLOC before defining specializations containing
7148 __default_alloc_template.
7149 * src/stl-inst.cc: Here too.
7150
7151 * bits/basic_string.h: Change.
7152
7153 * testsuite/make_check_libfree++: More tweaks.
7154 * testsuite/21/capacity.cc: New file.
7155
7156 * src/string.cc: Rename to be consistent with other inst files.
7157 Rename to string-inst.cc.
7158 * src/string*.cc: Change include.
7159 * src/wstring.cc: Rename to wstring-inst.cc.
7160 * src/wstring*.cc: Ditto.
7161 * src/Makefile.in: Also here.
7162 * src/Makefile.am: Ditto.
7163
7164 * src/traits.cc: Remove.
7165 * src/wtraits.cc: Same.
7166
7167 Try a new way of organizing documentation, one with synchronicity
7168 between testsuites and docs subdirectories, and see who yelps.
7169 * docs/html: Remove, use chapter and subject specific directories
7170 instead of forcing things immediately into format of
7171 documentation.
7172 * docs/text: Same.
7173 * docs/image: Same.
7174 * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
7175 directory and sort by filename and extension.
7176 * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
7177 22_locale, 23_containers, 24_iterators, 25_algorithms,
7178 26_numerics, 27_io: Add.
7179 * docs/17_intro/*: Populate with all the text files. . .
7180 * docs/index.html: Construct.
7181
7182 * testsuite/*: Update with same names as the docs subdir.
7183 * testsuite/results: Where to stash conformance results for the
7184 different snapshots, so that progress/size/speed issues can be
7185 tracked over time.
7186
71871999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
7188
7189 * src/string.cc: Add _S_copy_chars instantiation, as well as
7190 string::binary operators !=, ==, etc.
7191
7192 * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
7193 * src/Makefile.in (CXXFLAGS): Same here.
7194 * testsuite/make_check_libfree++ (CXX_FLAG): And here.
7195
71961999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
7197
7198 * src/string.cc: Add missing member functions to instantiation list.
7199
72001999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
7201
7202 * src/misc-inst.cc: Remove unused string instantiations.
7203
7204 * bits/string.tcc: Tweak, fix.
7205 * bits/basic_string.h: Format. Fix reported error with c_str().
7206
7207 * testsuite/make_check_libfree++: Tweak for shared builds.
7208 * testsuite/21/operations.cc: New file for testing c_str() etc.
7209
72101999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
7211 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7212
7213 * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
7214 an iterator class. Delineate pointer versus iterator differences
7215 in implementation.
7216 * 23/vector_capacity.cc: New file, tests for above.
7217
72181999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7219
7220 * mknumeric_limits: Fix typo. 'unsigned lont' should read
7221 'unsigned long'.
7222 * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
7223 generated by mknumeric_limits to the list. Now std_limits.h is
7224 basically working.
7225 * src/Makefile.in (generate-numeric-limits): new target to handle
7226 automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
7227 (all): add target generate-numeric-limits.
7228 (libstdc___la_OBJECTS): add limitsMEMBERS.lo
7229 (libstdc___la_SOURCES): add limitsMEMBERS.cc
7230
72311999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7232
7233 Irix build issues.
7234 * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
7235 mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
7236 * bits/locfacts.h: Here.
7237
72381999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
7239 Ulrich Drepper <drepper@cygnus.com>
7240
7241 Solaris build issues.
7242 * bits/c++config.h: Define new macros, _G_USE_STRTOF and
7243 _G_USE_STRTOLD.
7244
7245 * bits/locfacets.tcc (num_get::do_get): Tweak long double and
7246 float overloads to use the above macros. Account for the lack of
7247 strtold on some systems, and revert back to using sscanf.
7248
72491999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7250
7251 * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
7252 Use strtoul/strtoull for unsigned types. Check the ranges for
7253 short/unsigned short and if necessary for int/unsigned int.
7254
72551999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
7256
7257 * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
7258 to generate bits/std_limits.h now, as the SGI std_limits.h is
7259 being depricated. Not done, but should be done immediately: need
7260 to make sure this script is run as part of the configuration
7261 process, because without it "make" in a configured build directory
7262 will fail. Also tweaked: added a space for float_round_style, and
7263 used static_cast of zero to default-initialize, which should be ok
7264 according to the standard. (see 8.5 p5 and 20.1.3).
7265 * mknumeric_limits (OUT_C): Need this for x86 long
7266 double extensions.
7267
7268 * bits/basic_file.h: Include libio.h, not libioP.h.
7269 * src/basic_file.cc: And add libioP.h include here, so that
7270 _IO_init, et. al are well-declared.
7271
7272 * testsuite/make_check_libfree++ (LIB_PATH): Test installed
7273 headers, not source directory headers.
7274
7275 * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
7276 for ext/*. Also add basic_file.h.
7277 * src/Makefile.in (headers): Same.
7278
7279 * bits/std_string.h: Reduce dependencies for faster
7280 pre-processing. Move istream and ostream specific defines into
7281 istream.tcc and ostream.tcc respectively.
7282 * bits/string.tcc: And here.
7283 * bits/basic_string.h: Move getline inline out-of-line, and to
7284 istream.tcc.
7285 * bits/istream.tcc: Move string::getline and operator>> here.
7286 * bits/ostream.tcc: And here too.
7287
7288 * bits/utility.h: Remove, as clashes with a standard header. Put
7289 __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
7290 being, until this can be combined with SGI's approach.
7291 * bits/string.tcc: Add macros, as above.
7292 * bits/loccore.h: Add _Count_ones defines.
7293 * bits/std_string.h: And here too.
7294 * bits/std_locale.h: And here.
7295 * bits/std_ios.h: Take out include here.
7296 * src/Makefile.am (headers): Remove utility.h
7297 * src/Makefile.in (headers): Remove utility.h
7298
7299 * stl/bits/*: Update to SGI STL 3.20.
7300 * stl/ext/pthread_alloc: Delete this file.
7301
73021999-05-04 Phil Edwards <pedwards@ball.com>
7303
7304 * docs/faq/html/index.html: Add more entries
7305 * docs/faq/html/index.txt: regenerated.
7306
73071999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7308
7309 * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
7310
73111999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
7312
7313 * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
7314 from Ulrich and Nathan. Remove extraneous string class usage,
7315 tweak, clean, simplify and consolidate with a eye towards removing
7316 duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
7317 Not done: dealing with leading zeros, wchar_t work.
7318 * bits/locfacets.h: And here too.
7319
7320 * doc: Remove.
7321
73221999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7323
7324 * docs/: add a FAQ.
7325 * docs/faq/: New directory.
7326 * docs/faq/html/: Likewise.
7327 * docs/faq/text/: Likewise.
7328 * docs/faq/html/index.html: New file.
7329 * docs/faq/html/index.txt: Likewise. Generated from
7330 docs/faq/html/index.html by lynx.
7331
73321999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
7333 Ryszard Kabatek and Branko Cibej
7334
7335 * bits/locfacets.tcc: Modify.
7336
73371999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
7338
7339 * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
7340 conformant to 14882, wrap non-standard extensions with
7341 _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
7342 * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
7343
7344 * testsuite/27/istringstream_formatted.cc: Add tests.
7345
7346 * bits/locfacets.h: Remove cruft from _Format_cache, continue
7347 commenting, simplify.
7348 * bits/locfacets.tcc: Same.
7349
7350 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7351 * bits/locfacets.tcc (num_get::do_get):
7352 Fix the sscanf format parameter
7353 for long long 'll' (as in C9X) instead of 'l'.
7354 Fix the order of sscanf format parameters: "%dl" --> "%ld".
7355 Change the type of the local variable '__conv' from 'string'
7356 to 'const char*' and adapt the change.
7357
73581999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7359
7360 * bits/locfacets.h: Document _Format_cache, and name data members
7361 after the corresponding functions in numpunct. For instance:
7362 _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
7363 Break apart _M_boolnames{2] into _M_truename and _M_falsename.
7364 * bits/locfacets.tcc: Same.
7365
7366 * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
7367 stop parsing--store for later analysis.
7368 * testsuite/27/istringstream_formatted.cc: Add cases.
7369
73701999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7371
7372 * bits/valarray_meta.h: tweak.
7373 (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
7374 _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
7375 happy -- boggus warning.
7376 * bits/std_valarray.h: Fix.
7377 (valarray<T>::shift): Fix. Update comment.
7378 (valarray<T>::cshift): Fix.
7379
73801999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
7381
7382 * testsuite/27filebuf-2.txt: Delete.
7383 * testsuite/27/filebuf.cc: Put output files directly into the
7384 correct subdirectory (27).
7385
7386 Alexandre Petit-Bianco <apbianco@cygnus.com>
7387 * testsuite/make_check_libfree++: Check generated (*.txt) file
7388 against stored results file (*.tst).
7389
73901999-04-22 Benjamin Kosnik <bkoz@nabi.net>
7391
7392 * bits/locfacets.tcc: Fix.
7393
7394 * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
7395 (filebuf::overflow): Simplify.
7396 (filebuf::xsputn): Correctly handle indeterminate state.
7397
7398 * testsuite/27/istringstream_formatted.cc: Tweak.
7399 * testsuite/27/filebuf.cc: Tweak.
7400 * testsuite/27/filebuf-3.tst: Correct: this is the canonical
7401 results file, please use this in the future to guarantee filebuf
7402 positioning accuracy.
7403 * testsuite/27/filebuf-2.tst: Same.
7404
74051999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
7406
7407 * bits/fstream.tcc (filebuf::xsputn): Add.
7408 * bits/std_fstream.h: Declare.
7409
7410 * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
7411 calls using ios_base::trunc.
7412
7413 * bits/sstream.tcc (streambuf::overflow): Fix crasher.
7414
7415 * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
7416 * testsuite/27/27stringstream.cc: Same.
7417 * testsuite/27/27stringbuf.cc: More tweaks.
7418 * testsuite/27/27filebuf-2.txt: Remove.
7419
7420 * testsuite/27/27filebuf-1.tst: Append, to force byte size over
7421 BUFSIZE so that overflows/underflow can be tested with default
7422 buffer setting.
7423 * testsuite/27/27filebuf-1.tst: Add.
7424
7425 * testsuite/*/*: Remove pre-pended chapter names, as they
7426 duplicate the chapter info contained in the enclosing directory
7427 anyway.
7428
74291999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
7430
7431 * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
7432 to sputc conditions.
7433
7434 * bits/ios_base.h: Define here.
7435 * src/ios.cc (ios_base::_M_clear): Remove hack.
7436 * bits/basic_ios.h: Fix rdstate().
7437
7438 * bits/sstream.tcc (streambuf::seekoff): Fix.
7439 * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
7440
7441 * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
7442 * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
7443 * testsuite/27/27stringstream.cc: Same.
7444 * testsuite/27/27stringbuf.cc: Same.
7445 * testsuite/27/27istringstream_formatted.cc: Same.
7446 * testsuite/27/27filebuf.cc: Same.
7447
7448 * bits/locfacets.h: Remove specializations for messages<char> and
7449 messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
7450 * src/locale.cc: Remove definitions for above.
7451 * src/misc-inst.cc: Revert, take out iomanip.h include.
7452 * bits/std_iomanip.h: Tweak, format.
7453
74541999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
7455
7456 * bits/loccore.h: Format, move inline.
7457 * bits/locfacets.tcc: Same.
7458 * bits/locfacets.h: Same.
7459
7460 Ulrich Drepper <drepper@cygnus.com>
7461 * aclocal.m4: Re-generate.
7462 * configure, configure.in: Same.
7463 * m4/lc_messages.m4: New file.
7464
74651999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
7466
7467 * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
7468 * bits/sstream.tcc: Tweak.
7469
7470 * std/iostream: Put __ioinit inside macro guards.
7471
7472 * src/stlinst.cc: Delete and move to . . .
7473 * src/stl-inst.cc: New file, plus wrapping in namespace std.
7474 * src/Makefile.in: Change.
7475 * src/Makefile.am: Same.
7476 * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
7477
7478 * testsuite/make_check_libfree++: Efficiently format for minimal
7479 space. Enforce stricter execution tests by enabling
7480 -DDEBUG_ASSERT.
7481
74821999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7483
7484 * docs/text/RELEASE-NOTES: Fix include typo.
7485
7486 * src/Makefile.am (headers): Add istream.tcc.
7487 * src/Makefile.in (headers): Add istream.tcc.
7488
7489 * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
7490
74911999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
7492
7493 * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
7494 * bits/locfacets.h (num_get::_M_extract): New functin:
7495 consolidate logic for do_get(...) members.
7496
7497 * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
7498 * testsuite/27/27istringstream_formatted.cc: Add.
7499
75001999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
7501
7502 * src/basic_file.cc (__basic_file::open): Fix thinko in
7503 _G_HAVE_IO_FILE_OPEN bits.
7504 * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
7505 * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
7506 * src/complex.cc (FCT): Qualify all functions with global namespace.
7507 * src/locale.cc: Don't qualify memcpy and setlocale.
7508 * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
7509 (__length_error): Likewise, for length_error.
7510 * src/stlinst.cc: Qualify instantiations with std::.
7511
75121999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
7513
7514 * C++STYLE: Add ChangeLog guidelines for member functions.
7515
7516 * doc/* : Delete.
7517 * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
7518 DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
7519 docs/text and made less strident.
7520
7521 * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
7522 * bits/std_fstream.h: Same.
7523 * src/ios.cc: Same.
7524
7525 * bits/locfacets.h: Touch.
7526
75271999-04-15 Ulrich Drepper <drepper@cygnus.com>
7528
7529 * math/cexp.c (cexp): Use NAN instead of nan("").
7530 Reported by joel reed <joelreed@yahoo.com>.
7531
7532 * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
7533 _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
7534 * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
7535 instead of #if cascades.
7536 * libio/genops.c: Likewise.
7537 * libio/ioseekoff.c: Likewise.
7538 * libio/ioseekpos.c: Likewise.
7539 * libio/strops.c: Likewise.
7540 Patch by Chip Salzenberg <chip@perlsupport.com>.
7541
75421999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7543
7544 * docs: New directory.
7545 * docs/html: Likewise.
7546 * docs/text: Likewise.
7547 * docs/image: Likewise.
7548
7549 * bits/std_cmath.h: Add new functions.
7550 (abs): overload for long and double.
7551 (div): overload for long.
7552
7553 * bits/valarray_array.h: Fix.
7554 * bits/gslice.h: Adjust friend.
7555 * bits/slice_array.h: likewise.
7556 * bits/valarray_meta.h: likewise.
7557
75581999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7559
7560 * bits/locfacets.h: More changes, for num_get for insertion
7561 operators for integral types. Comment fields in _Format_cache.
7562 * bits/locfacets.tcc: And here too: add preliminary long version.
7563 * testsuite/27/27istringstream_formatted.cc: Add cases.
7564
75651999-04-13 Mark Elbrecht <snowball3@usa.net>
7566
7567 * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
7568 AC_LC_MESSAGES macro.
7569 * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
7570 supports LC_MESSAGES.
7571 * config.h.in: Add entry for HAVE_LC_MESSAGES.
7572 * src/locale.cc (locale::_S_normalize_category): Use the
7573 HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
7574 _G_NO_CLOCALE_HAS_MESSAGES.
7575 * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
7576 '?:' from '?:\\' so any path beginning with a drive name matches.
7577
75781999-04-12 Mark Elbrecht <snowball3@usa.net>
7579
7580 * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
7581
75821999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7583
7584 * bits/locfacets.h: Tweak.
7585 * bits/locfacets.tcc(do_get): Clean/fix bool method.
7586
7587 * testsuite/21/21nonmember.cc: Same.
7588 * testsuite/21/21compare.cc: Fix license.
7589 * testsuite/27/27istringstream_formatted.cc: New file.
7590
75911999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7592
7593 * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
7594 _BinBase2: new template classes; put in there to work around a
7595 compiler limitation. The whole valarray architecture is now
7596 working.
7597
75981999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
7599
7600 * bits/locfacets.tcc: Fix, format.
7601 * bits/locfacets.h: Fix.
7602 * src/locale.cc: Same, plus format.
7603
7604 * bits/basic_string.h: Re-add definition here.
7605 * src/string.cc: Take out.
7606
76071999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7608
7609 * bits/std_valarray.h: tweak.
7610 * bits/valarray_array.h tweak. use _Expr.
7611 * bits/slice_array.h: likewise.
7612 * bits/gslice_array.h: likewise.
7613 * bits/mask_array.h: likewise.
7614 * bits/indirect_array.h: likewise.
7615 * bits/valarray_meta.h: tweak.
7616 _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
7617 _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
7618 _IClos: new template classes.
7619 _Meta: renamed to _Expr. Made template with args.
7620 _Constant: made template with two args.
7621
76221999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7623
7624 * bits/valarray_array.h: tweak.
7625
76261999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7627
7628 * bits/basic_string.h: Whoops--fix blip.
7629
76301999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
7631
7632 Update to SGI STL 3.13
7633 * bits/basic_string.h: Add __get_c_string definition.
7634 * stl/bits/stl_range_errors.h: New file.
7635 * stl/bits/std_bvector.h: Same.
7636 * stl/bits/*: Update.
7637
76381999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7639
7640 * bits/slice_array.h: tweak.
7641 * bits/gslice_array.h: tweak.
7642 * bits/mask_array.h: tweak.
7643 * bits/indirect_array.h: tweak.
7644 * bits/valarray_array.h: tweak.
7645 (__valarray_copy): replace copy with memcpy.
7646 * bits/std_valarray.h: use __valarray_copy whenever possible.
7647 use __valarray_fill instead of fill.
7648
76491999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7650
7651 * src/gen-num-limits.cc: new file
7652 * mknumeric_limits: Ditto.
7653
76541999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7655
7656 * bits/locfacets.tcc: Do a stub version of num_get for short, int,
7657 and long types.
7658 * bits/locfacets.h: Add num_get::get methods overloaded for int
7659 and short, to resolve ambiguous overloads in istream insertion
7660 operators.
7661
76621999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
7663
7664 * bits/std_istream.h: Fix.
7665 * bits/istream.tcc: Fix.
7666
76671999-03-30 Philip Martin <pm@corris.dircon.co.uk>
7668
7669 * testsuite/24/24iterator.cc: fix ++/-- tests
7670
76711999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
7672
7673 * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
7674 * bits/ostream.tcc: Same.
7675
7676 * bits/std_istream.h: Bring over ostream changes, implement member
7677 functions. Baseline.
7678 * bits/istream.tcc: New file.
7679
76801999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7681
7682 * bits/gslice.h (class gslice): fix friends template.
7683
76841999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
7685
7686 * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
7687 delete cruft, etc.
7688 * bits/ostream.tcc: Same.
7689
7690 * bits/std_istream.h: Minor tweaks.
7691
76921999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7693
7694 * src/locale-inst.cc: Remove duplicate instantiations.
7695 * bits/locfacets.tcc: Tweak definitions of static member.
7696
76971999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
7698
7699 * bits/std_fstream.h: Format: prepend "__" in front of
7700 non-standard typedefs.
7701 * bits/fstream.tcc: Match.
7702 * bits/std_streambuf.h: Format: prepend "__" in front of
7703 non-standard typedefs.
7704
7705 * bits/sstream.tcc: Match.
7706 * bits/std_istream.h: Format.
7707 * src/locale-inst.cc: Add num_get instantiations.
7708
7709 * bits/std_sstream.h: Fix crash in stringstreams. Remove member
7710 _M_sb, a basic_stringbuf object, and use the basic_ios pointer
7711 _M_streambuf instead. Make initializations sane. Fix
7712 allocation/deallocation of _M_streambuf.
7713 * bits/std_ostream.h: Fix initialization code.
7714 (ctor): Eliminate redundant this->init(), let base class initialize.
7715 (default ctor): New. Assume base classes already initialzed.
7716 * bits/std_istream.h: Parallel work to ostream.
7717 (ctor): Eliminate redundant this->init(), let base class initialize.
7718 (default ctor): New. Assume base classes already initialzed.
7719 Fix initialization of basic_iostream.
7720
7721 * bits/std_fstream.h: While we're at it, make initializations sane
7722 here too. Now matches sstream.h.
7723
7724 * bits/string.tcc: Fix crash in basic_string::compare.
7725 * bits/basic_string.h: And here.
7726 * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
7727
7728 * testsuite/make_check_libfree++: Check shared as well.
7729 * testsuite/27/27stringstream.cc: Add bits.
7730 * testsuite/27/27boolfmt.cc: Add bits.
7731 * testsuite/27/27octfmt.cc: Add bits.
7732
77331999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
7734
7735 * configure.in (USE_LONG_DOUBLE): signbitl link error.
7736
7737 * bits/locfacets.h: Fix errors that cause build problems
7738 with current egcs (template parameters have class scope).
7739 * bits/locfacets.tcc: Same.
7740 * src/locale-inst.cc: Same, clean.
7741 * src/misc-inst.cc: Same, clean.
7742
77431999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7744
7745 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
7746 standard. Re-apply this previous patch.
7747
77481999-03-17 Philip Martin <pm@corris.dircon.co.uk>
7749
7750 * bits/basic_string.h: Use __normal_iterator<> for iterators.
7751 * bits/std_sstream.h: Support __normal_iterator<> iterators.
7752 * bits/string.tcc: Ditto.
7753 * src/misc-inst.cc: Ditto.
7754 * src/locale-inst.cc: Ditto.
7755 * stl/bits/stl_iterator.h: Add __normal_iterator<>.
7756 * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
7757 * testsuite/24/24iterator.cc: Add test cases for basic_string and
7758 vector iterators.
7759
77601999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
7761
7762 * bits/locfacets.tcc: Remove macro hack.
7763 * bits/locfacets.h: Tweaks.
7764 * src/misc-inst.cc: Weed out locale-related instantiations.
7765 * src/locale-inst.cc: Same.
7766
7767 * RELEASE-NOTES: Make more changes.
7768 * bits/c++config.h: Bump version number.
7769
7770 * testsuite/make_check_libfree++: Collect diagnostics.
7771
7772 * bits/std_ostream.h: Fix ostream initialization/destruction
7773 problem, related to dtor cleanup and new cached facets, agggggggh.
7774 * bits/ostream.tcc: Tweak.
7775 * bits/locfacets.h: Remove all friends of iostream classes.
7776 * bits/ios_base.h: Same.
7777 * bits/streambuf.tcc: Tweak.
7778 * bits/std_streambuf.h: Tweak.
7779 * bits/std_fstream.h: Tweak.
7780 * bits/fstream.tcc: Tweak.
7781 * src/stdstreams.cc: Tweak.
7782 * src/ios.cc: Close streams.
7783
7784 * math/Makefile.in: Add missing files for shared link errors.
7785 * math/Makefile.am: Same.
7786
77871999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
7788
7789 * src/locale-inst.cc: More wchar_t instantiations.
7790 * src/misc-inst.cc: Missed a few bits.
7791 * testsuite/make_check_libfree++: Add static and shared runs.
7792 * src/ios.cc: Add clarity to ios_base::Init::~Init().
7793
77941999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
7795
7796 * bits/std_ostream.h: Format, expunge, simplify. Add cached
7797 facets. Resolve link errors.
7798 * bits/ostream.tcc: Same.
7799 * src/misc-inst.cc: Add ostream, wostream instantiations.
7800 * src/Makefile.am: Add missing bits for stdstreams.cc.
7801 * src/Makefile.in: Same.
7802 * bits/std_iosfwd.h: Format.
7803 * bits/locfacets.h (num_put): Add basic_ostream as a friend to
7804 num_put so that cached _M_fnumput pointer can be deleted in
7805 basic_ostream's dtor. Now everybody plays nice.
7806
78071999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
7808
7809 * bits/gslice.h (class gslice): Make friends valarray,
7810 gslice_array and _GliceExpression.
7811
78121999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
7813
7814 * RELEASE-NOTES: Update.
7815 * src/ios.cc: Use do proper init.
7816 * bits/std_streambuf.h: Tweak.
7817 * bits/std_iostream.h: Take out static member.
7818 * std/iostream: Put here.
7819 * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
7820 * bits/std_istream.h: Ditto.
7821 * bits/basic_ios.h: Format.
7822 * bits/ostream.tcc(write): Fix.
7823 * bits/fstream.tcc: Fix stdstreams ctor to do a proper
7824 initialization of the fstream class.
7825 * src/stdstreams.cc: I'm baaaaaaaack.
7826
78271999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7828
7829 * bits/ios_base.h: Correct comments. Add ios_base::init()
7830 functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
7831 * src/misc-inst.cc: Add instantiations here.
7832 * src/ios.cc: Clean.
7833 * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
7834 * src/stdstreams.cc: Delete this file, as now unnecessary.
7835 * bits/fstream.tcc: Add missing initialization bits for ctor.
7836 * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
7837 * src/Makefile.in (libstdc___la_OBJECTS): And here.
7838
7839 * bits/streambuf.tcc: Tweak.
7840 * bits/sstream.tcc: Here too.
7841
7842 * bits/fstream.tcc: And change definition as well.
7843 * bits/std_fstream.h: Change ctor.
7844 * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
7845 * bits/basic_file.h: Add declarations.
7846
7847 * testsuite/27/27hello.cc: New file.
7848
7849 * bits/std_ostream.h: Move flush() inline.
7850 * bits/ostream.tcc: From here.
7851
7852 * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
7853 * bits/std_ios.h: Change include libio to only when necessary.
7854 * bits/fpos.h: Like here.
7855 * ios_base.h: And here.
7856
7857 * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
7858 * bits/locfacets.tcc: Same.
7859 * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
7860 * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
7861
78621999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7863
7864 * bits/basic_ios.h: Change _M_ctype to _M_fctype.
7865
7866 * bits/std_streambuf.h: Clean, tweak.
7867 * bits/std_fstream.h: Same.
7868 * bits/std_sstream.h: Same.
7869 * bits/streambuf.tcc: Move most member functions out-of-line.
7870 * bits/fstream.tcc: Same.
7871 * bits/streambuf.tcc: Same.
7872
7873 * bits/basic_file.h(filepos_cur): Set correctly.
7874 (filepos_beg): Same.
7875 (seekpos): Change to __c_streampos.
7876 * src/basic_file.cc (std): Change to __c_streampos.
7877
7878 * testsuite/27/27filebuf.cc: Round one is finished.
7879 * testsuite/27/27filebuf-2.tst: New file, final output should match.
7880 * testsuite/27/27filebuf-3.tst: Same.
7881
78821999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7883
7884 * bits/basic_file.h: Fix typo, add comments about what to expect
7885 from the various member functions in __basic_file.
7886
7887 * bits/std_fstream.h: Re-do sync/underflow to work
7888 together. Change from sys_read to xsgetn and from sys_write to
7889 xsputn. As it should have been from the beginning. . .
7890
78911999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
7892
7893 * bits/c++config.h (__GLIBCPP__): Add versioning macro.
7894
7895 * bits/basic_file.h(file_beg): New function.
7896 (file_cur): Ditto.
7897
7898 * testsuite/27/27filebuf.cc: Test in, out, in | out.
7899 * bits/std_fstream.h: More _M_mode refinements.
7900 (synch): Add bits for out mode only.
7901 * bits/std_streambuf.h(xsputn): Correct for filebufs.
7902 * bits/std_sstream.h: Ditto.
7903
79041999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
7905
7906 * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
7907 * testsuite/27/27filebuf.cc: Modify.
7908 * bits/c++config.h: Fix.
7909
79101999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7911
7912 * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
7913 code in place that diverges from the final standard, but has been
7914 brought up on the library mailing list.
7915
7916 * bits/std_fstream.h(underflow): Position all three internal
7917 buffer pointers at the same initial position. Re-implement with
7918 basic_filebuf abstraction.
7919 (overflow): Ditto.
7920 (seekoff): Ditto.
7921 (seekpos): Ditto.
7922 * bits/std_sstream.h: Move _M_mode down into base class
7923 basic_streambuf.
7924 * bits/sstream.tcc: Ditto.
7925 * bits/std_streambuf.h: Ditto.
7926
7927 * testsuite/27/27filebuf.cc: Tweak.
7928
79291999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
7930
7931 * bits/std_sstream.h: Ditto.
7932 * bits/std_fstream.h: Fix blip.
7933
79341999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7935
7936 * C++STYLE: Add cases.
7937 * bits/std_fstream.h: Format.
7938 * bits/std_streambuf.h: Ditto.
7939 * bits/std_sstream.h: Ditto.
7940
7941 * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
7942 return type for _IO_file_seek and __basic_file::seek the same size.
7943 * bits/basic_file.h: Ditto.
7944
79451999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
7946
7947 * bits/fstream.tcc: Add include guards.
7948 * src/misc-inst.cc: Add instantiations for shared libes.
7949 * src/locale-inst.cc: Add instantiaions for use_facet.
7950 * bits/loccore.h: Remove specialization foward decls for
7951 use_facet<ctype>: perhaps add the whole lot of them later on.
7952 * bits/std_fstream.h: Fix.
7953 * bits/locfacets.h: Ditto.
7954 * src/stdstreams.cc: Disable wide streams for now.
7955
7956 * src/Makefile.am (CXXFLAGS): Change up.
7957 * src/Makefile.in (CXXFLAGS): Ditto.
7958
79591999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
7960
7961 * src/basic_file.cc: Change to ios_base::seekdir from int.
7962 * bits/basic_file.h: Ditto.
7963 * bits/locfacets.h : Fix blip with new guard macros.
7964
79651999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
7966
7967 * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
7968 * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
7969 _G_USE_NAMESPACE.
7970 * amm1/locale: Remove unused defines.
7971 * generic/locale: Ditto.
7972 * src/ios.cc: Ditto.
7973 * src/locale.cc: Ditto.
7974 * src/locale-inst.cc: Ditto.
7975 * src/localename.cc: Ditto.
7976 * src/stdstreams.cc: And here.
7977
7978 * bits/c++config.h (_G_USE_WCHAR_T): Fix.
7979 * bits/loccore.h: Simplify, clean, add wchar_t guards.
7980 * bits/loccore.tcc: Ditto.
7981 * bits/locfacets.h: Ditto.
7982 * src/locale-inst.cc: Ditto.
7983 * bits/locfacets.tcc: Add do_put long long here.
7984
79851999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
7986
7987 * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
7988 * bits/basic_ios.h: Clean. Replace _M_strbuf with
7989 _M_streambuf. Use cached _M_cvt in basic_streambuf.
7990 * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
7991 * bits/std_fstream.h: Tweak.
7992
7993 * bits/char_traits.h: Remove fpos definitions from here. . .
7994 * bits/fpos.h: New file, put them here. Eventually, this may allow
7995 the severing of char_traits and fpos dependancies.
7996 * src/Makefile.in: Add fpos.h.
7997 * src/Makefile.am: Ditto.
7998 * bits/std_string.h: Add fpos.h include here.
7999 * bits/std_ios.h: And here.
8000
8001 * bits/std_streambuf.h: Change _M_init to _M_initialized.
8002 * bits/ios_base.h: Remove cstdio include.
8003 * bits/std_ios.h: ... Place here.
8004
80051999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
8006
8007 * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
8008 * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
8009
8010 * bits/basic_file.h: Comment, adjust arguments.
8011 * src/basic_file.cc: Ditto.
8012
8013 * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
8014 type: check and convert accordingly. Re-interpet "resultant stream
8015 position" to indicate external byte sequence location, not internal
8016 buffer info.
8017
80181999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
8019
8020 * mkcshadow: And change copyright here.
8021 * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
8022 dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
8023 stl_thread.h, and stl_iterator_base.h.
8024 * src/Makefile.in (CXXFLAGS): Ditto.
8025 * stl/backward/pthread_alloc.h: Remove.
8026
80271999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
8028
8029 * bits/std_streambuf.h (sungetc): Use standard defs for putback
8030 position.
8031 * bits/std_fstream.h (pbackfail): Correct.
8032 (sungetc): Test.
8033 (seekoff): Implement.
8034 (seekpos): Re-do.
8035 * testsuite/27/27filebuf.cc: Add test cases.
8036
80371999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
8038
8039 * bits/std_fstream.h: Go with basic_file's interfaces for dealing
8040 with the external buffers, and stop mucking around with setting
8041 and re-setting the external buf's pointers. Aka, clarity and
8042 simplicity rule the day.
8043 * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
8044 Remove partial result and support code.
8045
80461999-02-18 Ulrich Drepper <drepper@cygnus.com>
8047
8048 * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
8049 list of function which have to be replaced.
8050 Remove expf from list of functions to test for.
8051 Define USE_LONG_DOUBLE in case the libm has partial support for long
8052 doubles.
8053 * Makefile.in: Regenerated.
8054 * config.h.in: Likewise.
8055 * configure: Likewise.
8056 * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
8057 * libio/Makefile.in: Regenerated.
8058 * src/Makefile.in: Regenerated.
8059 * string/Makefile.in: Regenerated.
8060 * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
8061 atan2f.c, expf.c, and $(EXTRA_yes).
8062 (EXTRA_yes): Add signbitl.c mycabsl.c.
8063 (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
8064 (libmath_la_SOURCES): remove long double versions.
8065 * math/Makefile.in: Regnerated.
8066 * math/atan2f.c: New file.
8067 * math/copysignf.c: New file.
8068 * math/expf.c: New file.
8069 * math/hypot.c: New file.
8070 * math/hypotf.c: New file.
8071 * math/hypotl.c: New file.
8072 * math/cargf.c: Use correct function and macro names.
8073 * math/ccos.c: Likewise.
8074 * math/ccosh.c: Likewise.
8075 * math/ccoshf.c: Likewise.
8076 * math/ccoshl.c: Likewise.
8077 * math/cexp.c: Likewise.
8078 * math/cexpf.c: Likewise.
8079 * math/cexpl.c: Likewise.
8080 * math/clog.c: Likewise.
8081 * math/clog10.c: Likewise.
8082 * math/clog10f.c: Likewise.
8083 * math/clog10l.c: Likewise.
8084 * math/clogf.c: Likewise.
8085 * math/clogl.c: Likewise.
8086 * math/copysignf.c: Likewise.
8087 * math/csin.c: Likewise.
8088 * math/csinf.c: Likewise.
8089 * math/csinh.c: Likewise.
8090 * math/csinhf.c: Likewise.
8091 * math/csinhl.c: Likewise.
8092 * math/csinl.c: Likewise.
8093 * math/csqrt.c: Likewise.
8094 * math/csqrtf.c: Likewise.
8095 * math/csqrtl.c: Likewise.
8096 * math/ctan.c: Likewise.
8097 * math/ctanf.c: Likewise.
8098 * math/ctanh.c: Likewise.
8099 * math/ctanhf.c: Likewise.
8100 * math/ctanhl.c: Likewise.
8101 * math/ctanl.c: Likewise.
8102
81031999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
8104
8105 * testsuite/27/27filebuf.cc: Add cases.
8106 * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
8107 * bits/std_streambuf.h: Simplify, always have one return statement.
8108 * bits/std_fstream.h: Tweak comments in underflow.
8109
81101999-02-17 Ulrich Drepper <drepper@cygnus.com>
8111
8112 * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
8113 * ltconfig: Likewise.
8114
81151999-02-16 Christophe Pierret <cpierret@businessobjects.com>
8116
8117 * src/locale.cc: Fix assert.
8118
81191999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
8120
8121 FIXME: Still need some kind of solution for undefined math symbols.
8122 * src/Makefile.in (locale-inst.lo): Compile with
8123 -fimplicit-templates to fix Solaris link problem.
8124 * src/Makefile.am: Ditto.
8125 * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
8126 * libio/Makefile.am: Ditto.
8127 * src/locale.cc: Provide some kind of def for _S_tolower.
8128 * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
8129 match ctype<char> for _S_tolower, _S_toupper, _S_table.
8130
81311999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
8132
8133 * bits/loccore.tcc: Move member-template ctor inline...
8134 * bits/loccore.h: ...here.
8135 * src/locale-inst.cc: Add instantiation here.
8136
8137 * testsuite/27/27stringstream.cc: Tweak.
8138
8139 * bits/ostream.tcc: Include sbuf_iter.h.
8140
8141 * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
8142 passing to num_put, as num_put's first argument is an interator,
8143 not basic_ostream.
8144
8145 * testsuite/make_check_libfree++: New file, runs through the
8146 existing test files in the testsuite directory and makes sure
8147 they link.
8148
81491999-02-10 Brendan Kehoe <brendan@cygnus.com>
8150
8151 * testsuite/21/21compare.cc: Fix typo.
8152 * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
8153 Don't try to provide non-linux versions, since it's impossible to
8154 initialize their const references with the integer 0, no matter
8155 how we try to cast it.
8156
81571999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
8158
8159 * bits/std_locale.h: Move std_vector.h dependency.
8160 * bits/std_ios.h: ...from here.
8161 * bits/std_string.h: ...and here.
8162 * src/locale.cc: ..to here.
8163 * bits/loccore.h: Ditto, add vector forward declaration,
8164 make locale::_Impl data members pointers not containers.
8165 * bits/loccore.tcc: Move out-of-line for now.
8166 * bits/locfacets.h: Move vector dependency from here...
8167 * bits/locfacets.tcc: ...to here.
8168 * src/localename.cc: ..and here.
8169 * src/locale-inst.cc: Add include of locfacets.tcc here.
8170
8171 * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
8172 * bits/basic_string.h: Can't use sizeof on an incomplete type.
8173 * bits/string.tcc: Tweak.
8174 * src/string.cc: And add __get_c_string def here.
8175
8176 * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
8177
8178 * src/stlinst.cc: Add include of stl_config.h.
8179
81801999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
8181
8182 * stl/bits/std_bitset.h: Update to SGI STL 3.12.
8183 * stl/bits/stl_config.h: Tweak, update.
8184 * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
8185 std_exception.
8186 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
8187 * stl/bits/std_functional.h: Ditto.
8188
8189 * stl/bits/stl_string.h: New file, SGI's string
8190 implementation. For reference only, corresponding to string in
8191 3.12 source.
8192 * stl/bits/stl_char_traits.h: As above.
8193
8194 * stl/bits/pthread_allocimpl.h: New file corresponding to
8195 pthread_alloc.
8196 * stl/bits/stl_pthread_alloc.h: New file corresponding to
8197 pthread_alloc.h
8198 * stl/bits/stl_threads.h: New file.
8199
8200 Note that SGI STL 3.12's file iterator.h is not used.
8201 * stl/bits/std_iterator.h: Ditto.
8202 * stl/bits/stl_iterator.h: Drop in replace.
8203 * stl/bits/stl_iterator_base.h: New file, drop in replace.
8204
8205 * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
8206 stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
8207 stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
8208 stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
8209 stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
8210 Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
8211 preprocessor guards, but fixup include paths and names according
8212 to new directory layout).
8213
82141999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
8215
8216 * bits/std_fstream.h: Remove _M_open data member.
8217 * bits/fstream.tcc: Ditto.
8218
8219 * src/locale.cc: Tweak.
8220
8221 * bits/std_sstream.h: Simplify.
8222
8223 * bits/std_streambuf.h: Simplify.
8224 (sputc): Use correct definition of "write area."
8225
8226 * bits/std_fstream.h: Fix uflow.
8227 * src/basic_file.cc: Tweak.
8228 * testsuite/27/27filebuf.cc: Add tests.
8229 * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
8230
82311999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8232
8233 * bits/ios_base.h: Make protected.
8234
82351999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8236
8237 * bits/ios_base.h: Changes in the class ios_base:
8238 Rename _M_exceptions member to _M_exceptions_data.
8239 Make the member functions rdstate(), clear(), exceptions()
8240 and exceptions(iostate) protected and add the "_M_" prefix.
8241 * src/ios.cc: Ditto.
8242 * bits/basic_ios.h: Adapt the changes from ios_base.
8243
82441999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
8245
8246 * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
8247 * bits/fstream.tcc: Ditto.
8248
8249 * bits/std_fstream.h (underflow): Resize deallocates memory and
8250 resets pointers in the internal cache according to new _M_buf. . dooh!
8251 * src/locale.cc: Mas changes with codecvt::do_in, do_out.
8252
82531999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8254
8255 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
8256 standard.
8257
82581999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
8259
8260 * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
8261 into account partial returns.
8262 (codecvt::do_out): Likewise.
8263
8264 * bits/char_traits.h: Change streamsize to be a signed type, as
8265 required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
8266 * bits/std_streambuf.h: Make
8267 in_avail() and showmanyc() have streamsize as return types, so
8268 that showmanyc()'s return of eof won't underflow in_avail's return
8269 value and give a bogus result.
8270 * src/misc-inst.cc: And more changes. . .
8271
8272 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
8273 track of joint in/out pointers into the internal buffer.
8274 (sbumpc): Add check for _M_buf_unified.
8275 (sputbackc): Ditto.
8276 (sungetc): Ditto.
8277
8278 * testsuite/27/27filebuf.cc: Add cases.
8279 * testsuite/27/27stringbuf.cc: Add showmanyc case.
8280
8281 * bits/std_fstream.h (close): Fix logic error.
8282 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
8283 (showmanyc): Add underflow component, to match the standard.
8284
8285 * bits/fstream.tcc: Ditto.
8286
82871999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8288
8289 * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
8290 * src/basic_file.cc: Ditto.
8291 * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
8292 format for dealing with _IO_file in libio.
8293
82941999-01-27 Ulrich Drepper <drepper@cygnus.com>
8295
8296 * src/basic_file.cc: Include fcntl.h.
8297
82981999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
8299
8300 * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
8301 libio calls.
8302 * bits/std_streambuf.h: Redefine read posion.
8303
8304 * bits/std_fstream.h: Temporary hack to get vtables working again.
8305 * bits/basic_file.h: Revert.
8306 * src/basic_file.cc: Ditto.
8307 * testsuite/27/27filebuf.cc: Tweak.
8308
83091999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
8310
8311 * bits/basic_file.h: Add showmanyc, underflow. .
8312 * src/basic_file.cc: Ditto.
8313
8314 * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
8315 chars can be read.
8316
8317 * testsuite/27/27filebuf.cc: Add testcases.
8318 * src/basic_file.cc: Add O_CREAT to open calls with
8319 ios_base::trunc as part of the open mode.
8320
83211999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8322
8323 * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
8324
83251999-01-25 Benjamin Kosnik <bkoz@nabi.net>
8326
8327 * src/ios.cc (clear): Correct typo.
8328 * bits/ios_base.h: Tweak spacing.
8329
83301999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8331
8332 * bits/basic_ios.h: fix basic_ios::fail()
8333
83341999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
8335
8336 * bits/basic_file.h: Include libioP.h from libio instead of here.
8337 * bits/iolibio.h: Remove.
8338 * bits/libio.h: Remove.
8339
83401999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8341
8342 * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
8343
83441999-01-22 Ulrich Drepper <drepper@cygnus.com>
8345
8346 * Makefile.am (SUBDIRS): Add libio.
8347 * configure.in: Add rule to test for glibc2.
8348
8349 * src/Makefile.am (INCLUDES): Add -I to libio subdir.
8350 (libstdc___la_LIBADD): Add libio.la.
8351
83521999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
8353
8354 * bits/basic_file.h: Make new abstraction for underlying C library
8355 FILE, named __basic_file.
8356 * src/basic_file.cc: New file.
8357 * bits/os_raw.h: Delete.
8358 * src/os_raw.cc: Delete.
8359 * src/Makefile.in: Tweak.
8360 * src/Makefile.am: Tweak.
8361 * bits/iolibio.h: Add this here, for the time being.
8362 * bits/libioP.h: Ditto.
8363
8364 * bits/ios_base.h: Delete unused defines.
8365 * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
8366 strcpy to copy between the two buffers.
8367
8368 * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
8369 * testsuite/27/27filebuf.cc: New file.
8370 * testsuite/27/27filebuf-1.txt: Data file for above test.
8371 * testsuite/27/27filebuf-2.txt: Ditto.
8372
8373 * bits/std_streambuf.h (uflow): Re-implement default.
8374 * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
8375 Re-implement virtual functions.
8376 * bits/fstream.tcc: Delete unused mf's.
8377
83781998-12-31 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
8379
8380 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
8381 * bits/std_fstream.h: Ditto.
8382 * src/stdstreams.cc: Ditto.
8383
8384 * math/cpowl.c: Fix header typo with last change.
8385
83861998-12-31 Benjamin Kosnik <bkoz@loony.cygnus.com>
8387
8388 * COPYING: New file (GPL v 2).
8389 * LICENSE.STD: Remove.
8390 * ./*: Change license.
8391
83921998-12-30 Benjamin Kosnik <bkoz@haight.constant.com>
8393
8394 * bits/std_streambuf.h (std): Remove static on _M_init.
8395 * bits/streambuf.tcc (std): Ditto.
8396
8397 * bits/std_fstream.h: Add changes as discussed with Nathan, including
8398 state_type and codecvt_type members, the allocation of an internal
8399 buffer, the streamlined codecvt calls, etc.
8400
84011998-12-21 Benjamin Kosnik <bkoz@haight.constant.com>
8402
8403 * bits/std_sstream.h: Tweak.
8404 * bits/fstream.tcc: Remove unused stubs.
8405 * bits/std_fstream.h: Tweak.
8406
84071998-12-17 Benjamin Kosnik <bkoz@tintin.cygnus.com>
8408
8409 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
8410 Remove unused _IO_* members, possibly put into filebuf, which may
8411 need them.
8412 * bits/std_fstream.h: Add _M_flag.
8413 * bits/sbuf_iter.h: Tweak.
8414
8415 * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
8416 * bits/ios_base.h: Use.
8417
8418 * src/stdstreams.cc: Modify to reflect standard ctors for
8419 filebuf.
8420 * src/misc-inst.cc: Ditto.
8421
8422 * bits/os_raw.h: Wrap in std namespace. Model parameters on
8423 underlying C library calls instead of the underlying unix
8424 filesystem.
8425 * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
8426 string as per p.659.
8427 (_S_os_close): Model on fopen.
8428 (_S_os_read): Model on fread.
8429 (_S_os_write): Model on fwrite.
8430 (_S_os_seek): Model on fseek.
8431
8432 * bits/ios_base.h: Tweak.
8433 * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
8434 * bits/std_sstream.h: Tweak.
8435 * bits/sstream.tcc: Remove old, uncalled code.
8436 * bits/std_fstream.h: Major reconstruction.
8437 * bits/fstream.tcc: Disable for the time being.
8438
84391998-12-11 Benjamin Kosnik <bkoz@haight.constant.com>
8440
8441 * bits/basic_string.h: Fix insert method.
8442 * stl/bits/stl_iterator.h: Remove previous hack.
8443 * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
8444 * bits/std_sstream.h: Fix more regressions.
8445 * testsuite/27/27stringbuf.C: Add (almost) complete tests.
8446
84471998-12-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8448
8449 * bits/basic_string.h: Tweak.
8450
8451 * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
8452 that string::append can be instantiated. HACK--checkin
8453 basic_string::iterator class.
8454
84551998-12-07 Benjamin Kosnik <bkoz@haight.constant.com>
8456
8457 * bits/std_sstream.h: Tweak.
8458 * bits/sstream.tcc: Tweak ctors.
8459
8460 FIXME invalid friend defs. . WHERE ARE THEY??
8461
8462 * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
8463 names for basic_streambuf data members.
8464
8465 * bits/std_streambuf.h: Add getloc() initialization bits.
8466 basic_streambuf(): Initialize with global locale data.
8467 imbue(): Set _M_init.
8468
8469 * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
8470 stream pos == pos_type(off_type(-1)).
8471 in_avail(): Complete default implementation.
8472 snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
8473 underflow, uflow, xsgetn, showmany, sync: Ditto.
8474
8475 * bits/std_streambuf.h: _M_snextc_helper(): Remove.
8476
8477 * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
8478 re-populate with in-line member functions that are too big. Add
8479 initialization for _M_init.
8480
84811998-12-03 Benjamin Kosnik <bkoz@cygnus.com>
8482
8483 * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs
8484 for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
8485 streambuf_type.
8486
8487 * src/stdstreams.cc (std): Disable wchar_t instantiations.
8488
8489 * bits/c++config.h (_G_DEPRICATED): Add.
8490 (_G_USE_WCHAR_T): Add.
8491 * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
8492 Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
8493 * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
8494 * bits/std_fstream.h: Add comment for implementation.
8495 * src/streambuf.cc: Remove.
8496 * src/Makefile.in: Remove streambuf.lo.
8497 * src/misc-inst.cc: Tweak.
8498
84991998-12-02 Benjamin Kosnik <bkoz@cygnus.com>
8500
8501 * bits/std_sstream.h: Add const_cast to rdbuf returns.
8502 * testsuite/27stringstream.C: Modify.
8503
85041998-11-25 Benjamin Kosnik <bkoz@haight.constant.com>
8505
8506 * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
8507 (libstdc___la_SOURCES): Ditto.
8508
8509 * bits/streambuf.tcc: Tweak.
8510
8511 * src/streambuf.cc: New file, add out-of-line definitions for
8512 _Streambuf_base.
8513
8514 * src/misc-inst.cc: Remove _Streambuf_base instantiations.
8515 Comment out wchar_t versions of the buffer instantiations, for now.
8516
8517 * bits/std_streambuf.h: Wrap libio.h include with extern "C".
8518 Remove template wrapper around _Streambuf_base.
8519 Move IO_* data members into _Streambuf_base.
8520 Move _Streambuf_base members into streambuf.tcc.
8521
8522 * bits/c++config.h (_G_USE_LIBIO): Enable.
8523
85241998-11-02 Nathan Myers <ncm@cantrip.org>
8525
8526 * CHECKLIST: downgrade iterator implementations
8527 * DESIGN: fill out notes about unimplemented features
8528
85291998-10-31 Nathan Myers <ncm@cantrip.org>
8530
8531 * CHECKLIST: itemized list of all interfaces, and status of each.
8532
85331998-10-30 Nathan Myers <ncm@cantrip.org>
8534
8535 * RELEASE-NOTES: add notes about optional includes, linking, running
8536 * src/Makefile.am: handle header installs properly
8537 * src/Makefile.in: regenerate from new src/Makefile.am
8538
85391998-10-30 Benjamin Kosnik <bkoz@loony.cygnus.com>
8540
8541 * bits/basic_string.h: Revert npos pending ciso646.
8542 * src/Makefile.am: Revert CXX flags for now.
8543 * src/Makefile.in: Ditto.
8544
85451998-10-30 Brendan Kehoe <brendan@cygnus.com>
8546
8547 * bits/std_sstream.h: Re-order ctors to put base before member
8548 inits.
8549
85501998-10-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
8551
8552 * stl/bits/std_memory.h: Fix typo.
8553
85541998-10-30 Nathan Myers <ncm@cantrip.org>
8555
8556 * src/string[A-Z]+.cc: change back to include "string.cc".
8557 * src/Makefile.am: revert filename changes. We need a different
8558 way to keep filenames in std/ from confusing Make.
8559 * bits/basic_string.h: define _S_max_size right, return it from
8560 string::max_size(); churn definition of npos again.
8561 * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
8562 * bits/ios.cc: remove #ifdef on ios_base locale member initialization
8563 * BUGS: clear cruft.
8564 * C++STYLE: Touchup for release.
8565 * CHECKLIST: Touchup for release.
8566 * DESIGN: New file.
8567 * LICENSE.STD: Add requirement to retain copyrights and to provide
8568 the license with any copies.
8569 * README: Update for release.
8570 * TODO: Minor touchup for release.
8571 * RELEASE-NOTES: prepare for release
8572
85731998-10-29 Ulrich Drepper <drepper@cygnus.com>
8574
8575 * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
8576
8577 * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
8578
8579 * src/Makefile.am (CXXLINK): New variable. Make sure we don't use
8580 CXX to generate the shared object.
8581
8582 * src/Makefile.am (headers): Remove duplicated char_traits.h.
8583
85841998-10-29 Brendan Kehoe <brendan@cygnus.com>
8585
8586 * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
8587 2, from npos, solving infinite loop problems.
8588
85891998-10-29 18:41 Ulrich Drepper <drepper@cygnus.com>
8590
8591 * src/Makefile.am: Add rules to install headers.
8592
85931998-10-29 Nathan Myers <ncm@cantrip.org>
8594
8595 * bits/std_ostream.h: Remove #ifdef on operator<< for long double
8596 * bits/ostream.tcc: Remove #ifdef on operator<< for long double
8597 * shadow/libio.h:
8598 * shadow/unistd.h:
8599 * shadow/bits/wrap_libio.h:
8600 * shadow/bits/wrap_unistd.h: New files.
8601
86021998-10-29 Brendan Kehoe <brendan@cygnus.com>
8603
8604 * bits/ostream.tcc (operator<<): Wrap with #ifdef
8605 _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
8606
86071998-10-29 Ulrich Drepper <drepper@cygnus.com>
8608
8609 * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
8610 is not compiled with -fno-implicit-templates in effect.
8611
8612 * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
8613 (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
8614 * src/stringADDCS.cc: Wrapper around string.cc to define individual
8615 function.
8616 * src/stringADDPS.cc: Likewise.
8617 * src/stringADDSC.cc: Likewise.
8618 * src/stringADDSP.cc: Likewise.
8619 * src/stringADDSS.cc: Likewise.
8620 * src/stringBIST.cc: Likewise.
8621 * src/stringBOST.cc: Likewise.
8622 * src/stringCHTR.cc: Likewise.
8623 * src/stringEQPS.cc: Likewise.
8624 * src/stringEQSP.cc: Likewise.
8625 * src/stringEQSS.cc: Likewise.
8626 * src/stringEXTRA.cc: Likewise.
8627 * src/stringGEPS.cc: Likewise.
8628 * src/stringGESP.cc: Likewise.
8629 * src/stringGESS.cc: Likewise.
8630 * src/stringGETLI.cc: Likewise.
8631 * src/stringGTPS.cc: Likewise.
8632 * src/stringGTSP.cc: Likewise.
8633 * src/stringGTSS.cc: Likewise.
8634 * src/stringINSER.cc: Likewise.
8635 * src/stringLEPS.cc: Likewise.
8636 * src/stringLESP.cc: Likewise.
8637 * src/stringLESS.cc: Likewise.
8638 * src/stringLTPS.cc: Likewise.
8639 * src/stringLTSP.cc: Likewise.
8640 * src/stringLTSS.cc: Likewise.
8641 * src/stringMAIN.cc: Likewise.
8642 * src/stringNEPS.cc: Likewise.
8643 * src/stringNESP.cc: Likewise.
8644 * src/stringNESS.cc: Likewise.
8645 * src/stringSCOPY.cc: Likewise.
8646 * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
8647 functions.
8648 * src/wstringADDPS.cc: Likewise.
8649 * src/wstringADDSC.cc: Likewise.
8650 * src/wstringADDSP.cc: Likewise.
8651 * src/wstringADDSS.cc: Likewise.
8652 * src/wstringBIST.cc: Likewise.
8653 * src/wstringBOST.cc: Likewise.
8654 * src/wstringCHTR.cc: Likewise.
8655 * src/wstringEQPS.cc: Likewise.
8656 * src/wstringEQSP.cc: Likewise.
8657 * src/wstringEQSS.cc: Likewise.
8658 * src/wstringEXTRA.cc: Likewise.
8659 * src/wstringGEPS.cc: Likewise.
8660 * src/wstringGESP.cc: Likewise.
8661 * src/wstringGESS.cc: Likewise.
8662 * src/wstringGETLI.cc: Likewise.
8663 * src/wstringGTPS.cc: Likewise.
8664 * src/wstringGTSP.cc: Likewise.
8665 * src/wstringGTSS.cc: Likewise.
8666 * src/wstringINSER.cc: Likewise.
8667 * src/wstringLEPS.cc: Likewise.
8668 * src/wstringLESP.cc: Likewise.
8669 * src/wstringLESS.cc: Likewise.
8670 * src/wstringLTPS.cc: Likewise.
8671 * src/wstringLTSP.cc: Likewise.
8672 * src/wstringLTSS.cc: Likewise.
8673 * src/wstringMAIN.cc: Likewise.
8674 * src/wstringNEPS.cc: Likewise.
8675 * src/wstringNESP.cc: Likewise.
8676 * src/wstringNESS.cc: Likewise.
8677 * src/wstringSCOPY.cc: Likewise.
8678 * src/string.cc: Remove now unneeded #defines now.
8679
86801998-10-29 Nathan Myers <ncm@cantrip.org>
8681
8682 * bits/locfacets.tcc: Define num_put::put(... const void*), improve
8683 integer formatting.
8684 * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
8685 add definitions for double, long double, const void*.
8686 * bits/std_ostream.h: Move op<<'s back into class ostream,
8687 define some in-line.
8688 * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
8689 string construction from input iterators that Brendan reported.
8690
8691
86921998-10-28 Brendan Kehoe <brendan@cygnus.com>
8693
8694 * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
8695
8696 * bits/valarray_meta.h (class _Constant): Move declaration to the
8697 top, so the rest of the file can grok it.
8698 (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
8699
8700 * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
8701 semicolon.
8702 (basic_stringstream::str, both instances): Likewise.
8703
87041998-10-28 Nathan Myers <ncm@cantrip.org>
8705
8706 * bits/locfacets.h: fix num_put<>::falsename()
8707 * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
8708 * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
8709 * bits/locfacets.tcc: touch up _S_group_digits.
8710 * src/misc-inst.cc: adjust _S_group_digits insts to match.
8711
87121998-10-27 Nathan Myers <ncm@cantrip.org>
8713
8714 * stl/bits/stl_config.h: Turn off long long support, for now.
8715 * src/locale-inst.cc: Instantiate num_put<> only for
8716 ostreambuf_iterator, num_get only for istreambuf_iterator.
8717 * src/misc-inst.cc: Delete duplicate locale-related instantiations,
8718 add lots of new instantiations for num_put support function templates;
8719 remove junk about __match_parallel for ostreambuf_iterator.
8720
87211998-10-27 Nathan Myers <ncm@cantrip.org>
8722
8723 * bits/locfacets.tcc: Make num_put's digit grouping work.
8724 * bits/string.tcc: More uglification.
8725 * src/ios.cc: initialize format cache right
8726
87271998-10-26 Nathan Myers <ncm@cantrip.org>
8728
8729 * bits/basic_string.h: Uglify more names.
8730 * bits/fstream.tcc: Rewrite some filebut output handling.
8731 * bits/ios_base.h: Cosmetic.
8732 * bits/locfacets.h: Changes to _Format_cache for support of num_put.
8733 Also, specialize its default ctor for optimal default case.
8734 #ifdef out "long long" prototypes for now.
8735 * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
8736 implementation for integer types. (Still needs optimized
8737 std::copy() applied to ostreambuf_iterator to be optimal.)
8738 * bits/ostream.tcc: Write operator<< for long, bool types.
8739 Make other operators<< non-members, per spec. (Many still
8740 not implemented.) Identify those that fail to create a sentry.
8741 * bits/sbuf_iter: Cosmetic.
8742 * bits/std_fstream.h: Add some filebuf members.
8743 * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
8744 * bits/std_ostream.h: Make member operators<< global, per spec.
8745 (Should do the same in std_istream.h.)
8746 * bits/std_string.h: Include <limits> for use in bits/locfacets.h
8747 * bits/string.tcc: Uglify names
8748 * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
8749 * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
8750 for optimal default behavior.
8751
87521998-10-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
8753
8754 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
8755
87561998-10-21 Nathan Myers <ncm@cantrip.org>
8757
8758 * src/locale.cc: make ctype operations actually work for glibc
8759 * CHECKLIST: add a comprehensive (i.e. huge) implementation
8760 checklist of stdlib facilities. Not filled in yet.
8761
87621998-10-20 Nathan Myers <ncm@cantrip.org>
8763
8764 * bits/string.tcc: fix patching NULs on string ends.
8765
87661998-10-19 Nathan Myers <ncm@cantrip.org>
8767
8768 * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
8769 iterator forward declarations
8770 * bits/sbuf_iter.h: eliminate default template argument definitions
8771 on streambuf iterators (rely on <iosfwd> decls).
8772 * TODO: add note about lazy facet construction
8773 * bits/basic_ios.h: hit operator void* again. This should be the
8774 last time we need to touch it.
8775 * bits/basic_ios.h: copyfmt now returns *this.
8776 * bits/basic_string.h: fix npos again. npos cannot be defined as zero.
8777 * bits/basic_string.h: put back overloaded constructors; adjust
8778 behavior for default allocator on copy constructor.
8779 * bits/char_traits.h: make not_eof return correct type.
8780 * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
8781 cannot be in non-standard headers or we get include loops (bad)
8782 * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
8783 * bits/loccore.h: add apparatus to support lazy construction of
8784 facets.
8785 * bits/locfacets.tcc: Uglify names in __match_parallel decl.
8786 * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
8787 locale use_facet<> failure.
8788 * bits/std_locale.h: same.
8789 * bits/std_string.h: same.
8790 * bits/std_stdexcept.h: change exception member __msg from a
8791 reference to a regular object.
8792 * bits/string.tcc: add pasting a NUL on the end of strings after
8793 each operation. We had already left room for it, but previously
8794 plugged it only on a call to c_str(), but the WG changed the
8795 requirement when I wasn't looking. (Can't leave them alone for
8796 a second without they break something else.)
8797 * bits/valarray_meta.h: add Gaby's changes from 981018.
8798 * src/locale.cc: add new type _Bad_use_facet to be thrown on
8799 failure of use_facet<>().
8800 * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
8801 comment out leftover member definitions
8802
88031998-10-16 Ulrich Drepper <drepper@cygnus.com>
8804
8805 * string/Makefile.am: Revert last change.
8806 * math/Makefile.am: Likewise.
8807
88081998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8809
8810 * bits/std_sstream.h: Fix typo.
8811
88121998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8813
8814 * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
8815
8816 * bits/std_sstream.h: Add typedefs, member definitions. Clean.
8817 * bits/std_stdexcept.h: Remove.
8818
88191998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
8820
8821 * src/misc-inst.cc: Tweak again.
8822
8823 * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
8824 * bits/sstream.tcc: New file.
8825
88261998-10-15 Ulrich Drepper <drepper@cygnus.com>
8827
8828 * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
8829 Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
8830 available.
8831
8832 * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
8833 if available.
8834 (INFINITE_P): Use IS_INF macro if available.
8835
88361998-10-15 Ulrich Drepper <drepper@cygnus.com>
8837
8838 * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
8839 noinst_LTLIBRARIES.
8840 * string/Makefile.am: Likewise.
8841
88421998-10-15 Ulrich Drepper <drepper@cygnus.com>
8843
8844 * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
8845 qfpclass.
8846 (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying
8847 endianess is available run AC_C_BIGENDIAN.
8848
8849 * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
8850 fixincludes is fixed.
8851 * math/clogl.c: Likewise.
8852 * math/csqrtl.c: Likewise.
8853 * math/mycabsl.c: Likewise.
8854
8855 * math/mathconf.h: Include machine/endian.h if possible. If no
8856 header describing endianess is available rely on WORDS_BIGENDIAN
8857 macro.
8858 (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
8859 (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
8860 available.
8861
8862 * src/complex.cc (polar): Don't use sincos on OSF machines.
8863
88641998-10-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
8865
8866 * src/locale-inst.cc: Don't instantiate time_get for
8867 ostreambuf_iterators as time_get::do_get_weekday and
8868 time_get::do_get_monthname use __match_parallel, which is illegal
8869 for ostreambuf_iterators to use, as they don't have operator== or
8870 operator!=.
8871 * bits/std_stdexcept.h: Add dtor definitions.
8872 Use stl/bits/std_stdexcept.h instead of this file?
8873 * bits/sbuf_iter.h : Tweak.
8874 * src/misc-inst.cc: Tweak.
8875
88761998-10-09 Benjamin Kosnik <bkoz@haight.constant.com>
8877
8878 * bits/std_stdexcept.h: New file.
8879 * src/stdexcept.cc: Define the following:
8880 logic_error::what()
8881 runtime_error::what()
8882
8883 * src/misc-inst.cc: New file.
8884 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
8885 (libstdc___la_OBJECTS): Add misc-inst.lo.
8886
8887 * bits/basic_string.h: Disable non-standard ctor declarations.
8888 * bits/string.tcc: Disable definitions as well.
8889 * src/string.cc: Disable <ios> dependancies.
8890 * bits/sbuf_iter.h (std): Add default to template parameter for
8891 ostreambuf_iterator and istreambuf_iterator.
8892 * bits/std_iosfwd.h: Change istreambuf_iterator to
8893 basic_istreambuf_iterator. Likewise for ostreambuf.
8894 * bits/locfacets.tcc (__match_parallel): Fix typo.
8895 * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
8896 ios_base::imbue.
8897 * bits/std_streambuf.h: Define _Streambuf_base::getloc().
8898 * bits/std_istream.h: Define the following:
8899 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
8900 get (char_type* __s, streamsize __n, char_type __delim);
8901 getline (char_type* __s, streamsize __n, char_type __delim)
8902 * bits/loccore.h : FIXME friend template code for use_facet.
8903 Add std_stdexcept.h include so that range_error will be defined.
8904 Add explicit conversion to string for range_error throws. (HACK?)
8905
89061998-10-8 Ulrich Drepper <drepepr@cygnus.com>
8907
8908 * configure.in: Check for sincos, sincosf, and sincosl.
8909 * src/complex.cc (polar): Use sincos if available.
8910
8911 * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
8912 * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!!
8913
8914 * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
8915
8916 * math/cpow.c: Use c_log, not clog.
8917 * math/cpowf.c: Likewise.
8918 * math/cpowl.c: Likewise.
8919
8920 * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead
8921 of isfinite call.
8922
8923 * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
8924 isfinite macro if it is available.
8925 (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
8926
8927 * math/ccosf.c: Use appropriate test macros for this type.
8928 * math/ccoshf.c: Likewise.
8929 * math/ccoshl.c: Likewise.
8930 * math/ccosl.c: Likewise.
8931 * math/cexpf.c: Likewise.
8932 * math/cexpl.c: Likewise.
8933 * math/clog10f.c: Likewise.
8934 * math/clog10l.c: Likewise.
8935 * math/clogf.c: Likewise.
8936 * math/clogl.c: Likewise.
8937 * math/csinf.c: Likewise.
8938 * math/csinhf.c: Likewise.
8939 * math/csinhl.c: Likewise.
8940 * math/csinl.c: Likewise.
8941 * math/csqrtf.c: Likewise.
8942 * math/csqrtl.c: Likewise.
8943 * math/ctanf.c: Likewise.
8944 * math/ctanhf.c: Likewise.
8945 * math/ctanhl.c: Likewise.
8946 * math/ctanl.c: Likewise.
8947
89481998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
8949
8950 * bits/basic_ios.h: Fix previous change.
8951
89521998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
8953
8954 * bits/basic_ios.h: Add const_cast<basic_ios&>
8955 (operator void*): As per 5.2.9 p 2, make sure static_cast is
8956 well-formed.
8957 * bits/char_traits.h: No _CharT for specialization, change to 0.
8958 * bits/basic_string.h: As per 9.4.2 p4, initialize with
8959 constant-initializer.
8960 * bits/locfacets.tcc: Add template parameter to initialization list.
8961
89621998-10-02 Benjamin Kosnik <bkoz@loony.cygnus.com>
8963
8964 * bits/basic_string.h: Should just be <, not <=.
8965
89661998-10-01 Benjamin Kosnik <bkoz@bliss.nabi.net>
8967
8968 * bits/string.tcc (compare): Fix for strings that are similar, but
8969 not the same length.
8970
89711998-09-04 Brendan Kehoe <brendan@cygnus.com>
8972
8973 * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is
8974 required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
8975 We can't check for __GLIBC__ here, since this header can be read
8976 before any system one (that would lead to features.h) being used.
8977
8978 * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
8979
8980 * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
8981 LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
8982
8983 * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
8984 LONGLONG_{MIN,MAX} which I can't find the origin of.
8985
89861998-09-03 Brendan Kehoe <brendan@cygnus.com>
8987
8988 * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
8989 should this come from, if not iostream.h?
8990 (class istream_iterator): Make the new operator!= a friend also.
8991
8992 * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
8993 __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include
8994 _G_config.h like the egcs one does.
8995
89961998-09-01 Brendan Kehoe <brendan@cygnus.com>
8997
8998 * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
8999
9000 * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
9001 _Expr1 (or _Expr_def if it's taken), and change definitions.
9002 Avoids redecl of the template parm.
9003
9004 * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
9005 (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
9006
9007 * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
9008 already done.
9009
9010 * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to
9011 be a better way to do this.
9012
9013 * src/stlinst.cc: New file.
9014
9015 * BUGS: New file, with various discovered bugs that need to be
9016 fixed.
9017
9018 * Makefile.in, math/Makefile.in, string/Makefile.in,
9019 src/Makefile.in: Reran automake.
9020
9021 Workarounds, these may not all be the final fixes:
9022
9023 * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
9024 not private, for basic_istream::get() in std_istream.h to be able
9025 to use it.
9026 (basic_ios::operator void*): Don't use static_cast for the false
9027 case.
9028 (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
9029 This appears to have been in sep94, but didn't get corrected
9030 afterwards.
9031
9032 * bits/basic_string.h (npos): Don't init here.
9033 * bits/string.tcc: Instead, do initialization here, to -1 instead
9034 of the size_type destructor.
9035
9036 * src/traits.cc, src/wtraits.cc: New files.
9037 * bits/char_traits.h: For char_traits<char> and
9038 char_traits<wchar_t>, declare static, but define over in the src
9039 files.
9040
9041 * bits/gslice.h: Comment out forward decls of _Array, valarray,
9042 gslice_array, and _GsliceExpression.
9043
9044 * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
9045 clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
9046 stdout, and stderr. Note we do get unresolved refs to stdin, but
9047 that'll get fixed by the "true" solution.
9048
9049 * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
9050 definition of basic_streambuf.h, which is used in basic_ios.h to
9051 call pubimbue.
9052
9053 * bits/std_streambuf.h: Don't include libio.h for now.
9054 (class basic_streambuf): Define missing methods pubimbue and
9055 getloc.
9056
9057 * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
9058 ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
9059 locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
9060
9061 * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
9062
9063 * src/locale.cc: Come up with munged versions of _S_toupper,
9064 _S_tolower, and _S_table instead of the glibc-specific ones, so
9065 they're at least defined, if not necessarily usable. The glibc
9066 ones on any other system will yield unresolved refs to
9067 __ctype_{b,toupper,tolower}.
9068
9069 * src/string.cc: Define all of ADDCS, ADDPS, et al. Add
9070 basic_ios, basic_istream, basic_ostream. Don't do char_traits
9071 anymore cuz of the explicit specialization in char_traits.h.
9072 Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
9073 file for the details.
9074
9075 * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
9076 * stl/bits/stl_iterator.h (__distance): Likewise.
9077
9078 * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
9079 op>, op<=, and op>= for reverse_iterator. Also add op!= for
9080 istream_iterator.
9081
90821998-08-26 Brendan Kehoe <brendan@cygnus.com>
9083
9084 * bits/string.tcc (basic_string::compare (const char*)): Fix to
9085 return 0, not 1.
9086
90871998-08-25 Brendan Kehoe <brendan@cygnus.com>
9088
9089 This should really be fixed with __asm__ directives renaming the
9090 symbol, but keeping the function.
9091 * math/clogf.c (c_logf): Renamed from `clogf'.
9092 * math/clogl.c (c_logl): Renamed from `clogl'.
9093 * math/complex-stub.h (c_logf, c_logl): Change decls.
9094
9095 * bits/locfacets.h (class _Numeric_get): For friend decls, rename
9096 _CharT and _InIter parms, since they duplicate the enclosing ones.
9097
90981998-08-19 Brendan Kehoe <brendan@cygnus.com>
9099
9100 Deal with conflict of the iostreams `clog' and our internal
9101 complex number `clog'.
9102 * src/complex.cc: Call `c_log' instead of `clog'.
9103 * math/clog.c (c_log):: Renamed from clog.
9104 * math/complex-stub.h (c_log): Renamed from clog decl.
9105
9106 * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
9107 get/put classes.
9108 (num_put::put): #if 0 long long version, since we don't declare or
9109 define the long long version of do_put.
9110
91111998-08-18 Nathan Myers <ncm@cantrip.org>
9112
9113 * bits/basic_string.h: add basic_string<>::push_back(), fix return
9114 type of get_allocator (thanks to Ryszard Kabatek).
9115 * bits/char_traits.h: make init order of fpos<> members
9116 match decl order.
9117 * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
9118 flags _S_fd_in etc. for special filebuf ctor.
9119 * bits/locfacets.h: make _Numeric_get and _Format_cache public
9120 to work around problems in friend declarations.
9121 * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
9122 fix random type errors & typos
9123 * bits/std_fstream.h: major refitting to bypass libio (for now),
9124 instrument to use bits/fstream.tcc template definitions
9125 * bits/std_iosfwd.h: mess with wrappers
9126 * bits/std_istream.h: remove meaningless comment
9127 * bits/std_ostream.h: instrument to work with ostream.tcc.
9128 * bits/std_streambuf.h: instrument to work with streambuf.tcc
9129 * bits/fstream.tcc: template defs for <fstream>
9130 * bits/ostream.tcc: template defs for <ostream>
9131 * bits/streambuf.tcc: template defs for <streambuf>
9132 * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
9133 * Delete .cc files, replace with bits/*.tcc
9134 src/fstream.cc
9135 src/istream.cc
9136 src/ostream.cc
9137 src/streambuf.cc
9138 * Add files:
9139 src/os_raw.cc: thin interface to OS, to bypass libio (for now).
9140 src/stdstreams.cc: cout, cin, etc. definitions
9141 (these still need work: must be init'd before user statics.)
9142
9143
91441998-08-18 Brendan Kehoe <brendan@cygnus.com>
9145
9146 Sent to SGI before checkin:
9147 * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
9148 operator>=): Define.
9149 * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
9150 * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
9151 operator>=): Define.
9152 (operator==, operator<): Add inline.
9153 * stl/bits/stl_map.h (operator!=, operator<, operator<=,
9154 operator>=): Define.
9155 * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
9156 operator>=): Define.
9157 * stl/bits/stl_list.h (operator!=, operator<, operator<=,
9158 operator>=): Define.
9159 * stl/bits/stl_set.h (operator!=, operator<, operator<=,
9160 operator>=): Define.
9161 * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
9162 operator>=): Define.
9163
9164 * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
9165 unary_function.
9166
91671998-08-15 Nathan Myers <ncm@cantrip.org>
9168
9169 * bits/ios_base.h: change nominal bitmask and enum types to real enums
9170 * bits/locfacets.h: make _Format_cache bool names usable by num_get
9171 * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
9172 * bits/std_fstream.h: minor cleanups: ctors delegate to open()
9173 * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
9174 * bits/std_sstream.h: formatting cleanups
9175
91761998-08-14 Nathan Myers <ncm@cantrip.org>
9177
9178 * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
9179 * bits/locfacets.tcc: implement time_get<>::do_get_weekday
9180 * bits/locfacets.tcc: implement time_get<>::do_get_monthname
9181 * bits/locfacets.h: fix missing argument in do_get_monthname
9182 (this is a bug in the standard, ref. 36 in my list.)
9183 * bits/locfacets.h: make month and day name caches mutable
9184 * bits/locfacets.tcc: various typos in get() functions
9185 * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
9186 * bits/std_streambuf.h: fix typo in sgetn (Brendan)
9187
91881998-08-12 Nathan Myers <ncm@cantrip.org>
9189 * move streambuf iterators to bits/sbuf_iter.h
9190 * optimize streambuf iterators
9191 * begin generalizing streambuf
9192 * begin implementing num_get<>::get (starting with bool)
9193 * patch stl/bits/stl_config.h so that relops operators are
9194 contained properly, out of the way.
9195
91961998-07-24 Nathan Myers <ncm@cantrip.org>
9197 * Fold in SGI 3.11 changes (uglified names, some algorithm
9198 improvements, very minor bug fixes.)
9199 * Uglify names elsewhere to match (s/_T/_Tp/).
9200 * Begin work on optimized streambuf
9201 * Put complex.cc in namespace std:: (thanks Martin)
9202
92031998-07-17 Nathan Myers <ncm@cantrip.org>
9204
9205 * bits/char_traits.h: add _Char_traits_match template.
9206 * bits/string.tcc: fix bugs in various find_last* members.
9207 * bits/basic_string.h: redeclare member _S_find.
9208 * stl/bits/stl_iterator.h: change member names in nonstandard
9209 templates bidirectional_reverse_iterator and
9210 random_access_reverse_iterator to match expected changes
9211 in upstream source.
9212 * src/string.cc: fix definitions of stream operators.
9213
92141998-07-14 16:06 Ulrich Drepper <drepper@cygnus.com>
9215
9216 * Makefile.am (SUBDIRS): Add string.
9217
9218 * configure.in: Test for long double functions separately. Test for
9219 ISO C 89 float functions. Test for endian.h and sys/isa_defs.h.
9220 Generate string/Makefile.
9221
9222 * bits/c++config.h: Define mbstate_t for Solaris.
9223
9224 * bits/char_traits.h: Remove unused #if.
9225
9226 * bits/std_cwchar.h: Declare wide char string functions.
9227
9228 * m4/stringfcts.m4: New file.
9229
9230 * math/complex-stub.h: Declare nan.
9231 * math/nan.c: New file.
9232
9233 * math/mathconf.h: Hack around missing endian.h file.
9234 Handle missing NAN definition.
9235 Handle missing float math functions.
9236
9237 * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
9238 (libstdc___la_LDFLAGS): Set version information.
9239
9240 * src/complexl.cc: Don't compile any code if no long double functions
9241 are available.
9242
9243 * string/Makefile.am: New file.
9244 * string/dummy.c: New file.
9245 * string/wmemchr.c: New file.
9246 * string/wmemcmp.c: New file.
9247 * string/wmemcpy.c: New file.
9248 * string/wmemmove.c: New file.
9249 * string/wmemset.c: New file.
9250
92511998-07-14 10:45 Ulrich Drepper <drepper@cygnus.com>
9252
9253 * configure.in: Make it work.
9254 * install-sh: New file.
9255 * missing: New file.
9256 * mkinstalldirs: New file.
9257 * m4/mathfcts.m4: New file.
9258 * math/Makefile.am: New file.
9259
9260 * bits/std_complex.h (conj): Mark specializations as inline.
9261
9262 * math/carg.c: New file.
9263 * math/cargf.c: New file.
9264 * math/cargl.c: New file.
9265 * math/mycabs.c: New file.
9266 * math/mycabsf.c: New file.
9267 * math/mycabsl.c: New file.
9268 * math/signbit.c: New file.
9269 * math/signbitf.c: New file.
9270 * math/signbitl.c: New file.
9271
9272 * math/ccos.c: Avoid ISO C 9x functionality.
9273 * math/ccosf.c: Likewise.
9274 * math/ccosh.c: Likewise.
9275 * math/ccoshf.c: Likewise.
9276 * math/ccoshl.c: Likewise.
9277 * math/ccosl.c: Likewise.
9278 * math/cexp.c: Likewise.
9279 * math/cexpf.c: Likewise.
9280 * math/cexpl.c: Likewise.
9281 * math/clog.c: Likewise.
9282 * math/clog10.c: Likewise.
9283 * math/clog10f.c: Likewise.
9284 * math/clog10l.c: Likewise.
9285 * math/clogf.c: Likewise.
9286 * math/clogl.c: Likewise.
9287 * math/cpow.c: Likewise.
9288 * math/cpowf.c: Likewise.
9289 * math/cpowl.c: Likewise.
9290 * math/csin.c: Likewise.
9291 * math/csinf.c: Likewise.
9292 * math/csinh.c: Likewise.
9293 * math/csinhf.c: Likewise.
9294 * math/csinhl.c: Likewise.
9295 * math/csinl.c: Likewise.
9296 * math/csqrt.c: Likewise.
9297 * math/csqrtf.c: Likewise.
9298 * math/csqrtl.c: Likewise.
9299 * math/ctan.c: Likewise.
9300 * math/ctanf.c: Likewise.
9301 * math/ctanh.c: Likewise.
9302 * math/ctanhf.c: Likewise.
9303 * math/ctanhl.c: Likewise.
9304 * math/ctanl.c: Likewise.
9305
9306 * math/complex-stub.h: New file.
9307
9308 * math/mathconf.h: New file.
9309
9310 * src/Makefile.am: New file.
9311
9312 * src/complex.cc: Use mathconf.h instead of complex.h.
9313 Don't use cabs, always use __mycabs.
9314
93151998-02-13 Brendan Kehoe <brendan@cygnus.com>
9316
9317 * iterator (class reverse_iterator): Do some tweaks to be in sync
9318 w/ the FDIS.
This page took 0.9816 seconds and 5 git commands to generate.