]> gcc.gnu.org Git - gcc.git/blob - libstdc++-v3/ChangeLog
configopts.html, [...]: Remove many EGCS references...
[gcc.git] / libstdc++-v3 / ChangeLog
1 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
2
3 * docs/configopts.html, docs/install.html, docs/17_intro/BADNAMES,
4 docs/17_intro/howto.html, docs/18_support/howto.html,
5 docs/19_diagnostics/howto.html, docs/20_util/howto.html,
6 docs/21_strings/howto.html, docs/22_locale/howto.html,
7 docs/23_containers/howto.html, docs/24_iterators/howto.html,
8 docs/25_algorithms/howto.html, docs/26_numerics/howto.html,
9 docs/27_io/howto.html, docs/ext/howto.html, docs/faq/index.html:
10 Remove many EGCS references; use current absolute URLs on
11 gcc.gnu.org or sources.redhat.com for messages in list archives.
12 * docs/faq/index.txt: Regenerate.
13
14 2000-10-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
15
16 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Adjust
17 creation of state_type for unicode_codecvt to take into account
18 the byte order markings. Add distinct tests for UCS-2BE and UCS-2LE.
19 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Same.
20 * include/bits/codecvt.h (__enc_traits): Add support for encodings
21 that need a byte order marker. Needed for correct unicode support.
22
23 * src/locale.cc: Remove explicit qualification std::.
24 (locale::locale(const char* __name)): Revert, as named locale
25 support not finished.
26 * src/localename.cc (locale::_Impl:: _Impl(size_t __numfacets,
27 size_t __refs, bool __has_name = false, string __name): Move
28 default argument...
29 * include/bits/localefwd.h: Here.
30
31 2000-10-18 Chip Salzenberg <chip@valinux.com>
32
33 * libio/libio.h (_IO_USER_LOCK): Define.
34
35 2000-10-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
36
37 * libsupc++/Makefile.am (exception): Change exception.cc to
38 exception_support.cc.
39 (CXXLINK): Remove bogus --tag CC.
40 * libsupc++/Makefile.in: Regenerate.
41 * libsupc++/exception.cc: Move to...
42 * libsupc++/exception_support.cc: ...here.
43
44 * src/Makefile.am: Remove bogus --tag CC.
45 * src/Makefile.in: Regenerate.
46
47 * include/bits/locale_facets.tcc (use_facet): Simplify.
48 * include/bits/locale_facets.h (use_facet<ctype<char> >): Correct
49 use_facet declaration. Replace 'const ctype<T>' with ctype<T>.
50 (use_facet<ctype<wchar_t> >): Same.
51 * src/locale-inst.cc: Remove explicit instantiation.
52 * src/locale.cc: Correct signature here too.
53 (_Bad_use_facet::what()): Correct error string.
54 * include/bits/localefwd.h: Correct comment.
55
56 * mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
57
58 2000-10-17 Martin Buchholz <martin@xemacs.org>
59
60 * testsuite/27_io/istream_seeks.cc: Fix spelling typo.
61 * testsuite/27_io/ostream_seeks.cc: Similarly.
62
63 2000-10-17 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
64
65 via Alexandre Oliva <aoliva@redhat.com>
66 * libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
67 * libsupc++/Makefile.in: Regenerate.
68 * src/Makefile.am: Duplicate code.
69 * src/Makefile.in: Regenerate.
70
71 * acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
72 * aclocal.m4: Regenerate.
73 * configure.in: And here.
74 * configure: Regenerate.
75
76 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
77 test for SECTION_LDFLAGS.
78
79 2000-10-16 Benjamin Kosnik <bkoz@gnu.org>
80
81 Shadow headers would work if libsupc++ was strict about namespaces.
82 This only possible if g++ maps std::size_t -> size_t. (Hint hint.)
83 * include/c_std/assert.h: Add guards.
84 * include/c_std/bits/std_climits.h: Correct typo.
85 * include/c_std/ctype.h: Remove #error.
86
87 * libio/libioP.h: Break up extern "C" bits around includes.
88 * libio/libio.h: Only include C headers, or else _C_legacy namespaces
89 will be nested.
90 * libio/libioP.h: Same here.
91
92 2000-10-15 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
93
94 * include/c_std/unistd.h: Define some types only when defined in
95 the original unistd.h.
96 * include/c_std/bits/std_cstddef.h: Explicitly ask for the
97 definition of size_t, ptrdiff_t and NULL.
98 * include/c_std/bits/wrap_unistd.h: Blank lines removal.
99
100 2000-10-15 Phil Edwards <pme@sources.redhat.com>
101
102 * docs/configopts.html: Remove libgcc-rebuild; HTML formatting.
103
104 2000-10-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
105 Mark Harig <markh@landmark.com>
106
107 * src/Makefile.am (toolexeclibdir): Add support fo
108 VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
109 * src/Makefile.in: Regenerate.
110 * libsupc++/Makefile.am: Same.
111 (glibcppinstalldir): Adjust.
112 * libsupc++/Makefile.in: Regenerate.
113 * Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
114 * Makefile.in: Regenerate.
115 * docs/configopts.html: Add descriptions of flags.
116
117 2000-10-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
118
119 * libsupc++/Makefile.am: Use it.
120 * libio/Makefile.am: Use it.
121 * libmath/Makefile.am: Use it.
122 * src/Makefile.am: Use it.
123 * Makefile.am (AM_MAKEFLAGS): Remove includes.
124
125 * acinclude.m4 (GLIBCPP_EXPORT_INCLUES): Move include macros here.
126 (GLIBCPP_EXPORT_FLAGS): Move CXX flag setting here.
127 * configure.in: Use it.
128
129 * mkcheck.in (SRC_DIR): Use C_INCLUDE_DIR.
130
131 * src/Makefile.am (CXXCOMPILE): Remove.
132 * src/Makefile.in: Regenerate.
133 * libsupc++/Makefile.am (CXXCOMPILE): Same here.
134 * libsupc++/Makefile.in: Regenerate.
135
136 * include/c_std/*: Merge with shadow.
137 * include/c_std/bits/*: Same.
138
139 * shadow: Remove directory.
140 * shadow/*: De-populate.
141
142 2000-10-11 Phil Edwards <pme@sources.redhat.com>
143
144 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Comment out
145 exception-throwing code for linker test.
146 * aclocal.m4: Regenerate.
147 * configure: Regenerate.
148
149 2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
150
151 * Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
152 * libsupc++/include: Remove
153 * libsupc++/include/*: Move to ...
154 * libsupc++: Here.
155 * libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
156 (glibcppinstalldir): New.
157
158 * src/Makefile.am (c_base_headers): New.
159 (c_shadow_headers): New
160 (c_headers): New.
161 (myinstallheaders): Correct install issues.
162 * src/Makefile.in: Regenerate.
163
164 * Makefile.am (CSHADOW_INCLUDES): Simplify.
165 * Makefile.in: Regenerate.
166 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
167 * aclocal.m4: Regenerate.
168 * mkcheck.in (SRC_DIR): Use it.
169
170 * include/bits/std_stdexcept.h: And here.
171 * include/bits/std_ios.h: Change std_exception.h to exception.
172 * src/locale.cc: And here.
173 * src/locale-inst.cc: And here.
174
175 * include/bits/valarray_array.h: And here.
176 * include/bits/stl_alloc.h: And here.
177 * include/bits/stl_algobase.h: And here.
178 * include/bits/pthread_allocimpl.h: And here.
179 * include/bits/stl_construct.h: Change to std_new.h to new.
180
181 * include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.
182
183 * src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
184 (headers): Remove duplicated headers.
185 (std_headers): And here.
186 * src/Makefile.in: Regenerate.
187 * libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
188 * libsupc++/Makefile.in: Regenerate.
189 * Makefile.am (LIBSUPCXX_INCLUDES): Add here.
190 (AM_MAKEFLAGS): And here.
191 * Makefile.in: Regenerate.
192 * include/bits/std_typeinfo.h: Remove.
193 * include/bits/std_new.h: Remove
194 * include/bits/std_exception.h: Remove.
195 * std/new: Remove.
196 * std/typeinfo: Remove.
197 * std/exception: Remove.
198
199 * libio/_G_config.h (__need_ptrdiff_t): Add.
200
201 * libsupc++/include/new: Change stddef.h to cstddef.
202 * libsupc++/tinfo.h: Change limits.h to climits.
203 * libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
204 renders the file uncompilable. Add copyright.
205
206 * include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
207 namespace, as it is a fundamental type.
208
209 2000-10-09 Richard Henderson <rth@cygnus.com>
210
211 * libsupc++/pure.cc: New file.
212 * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
213 (sources): Add pure.cc.
214 * libsupc++/Makefile.in: Regenerate.
215
216 2000-10-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
217
218 * docs/configopts.html: Edit.
219
220 * libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
221 * libio/Makefile.in: Regenerate.
222 * libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
223 * libmath/Makefile.in: Regenerate.
224 * libsupc++/Makefile.am (INCLUDES): Remove duplicate.
225 * libsupc++/Makefile.in: Regenerate.
226
227 * Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
228 TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
229 CSHADOW_INCLUDES up here.
230 * Makefile.in: Regenerate.
231 * src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
232 for shadow headers.
233 (myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
234 Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
235 LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
236 * src/Makefile.in: Regenerate.
237
238 * include/c: New directory.
239 * include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
240 std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
241 std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
242 std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
243 std_cwchar.h, std_cwctype.h): Add, moving from...
244 * include/bits: ...here.
245 * include/c_std: New directory.
246 * include/c_std/bits/*: Populate from...
247 * shadow: ...here. Remove directory.
248
249 2000-10-08 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
250
251 * libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
252 (INCLUDES): Add glibcpp_includedir.
253 * libsupc++/Makefile.in: Regenerate.
254
255 * acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
256 * aclocal.m4: Regenerate.
257 * config/os/*/bits/os_defintes: Adjust copyright dates.
258
259 2000-10-08 Phil Edwards <pme@sources.redhat.com>
260
261 * include/bits/c++config: Include <bits/os_defines.h>
262 * config/os/aix/bits/os_defines.h: New file.
263 * config/os/bsd/bits/os_defines.h: Ditto.
264 * config/os/generic/bits/os_defines.h: Ditto.
265 * config/os/gnu-linux/bits/os_defines.h: Ditto.
266 * config/os/irix/bits/os_defines.h: Ditto.
267 * config/os/newlib/bits/os_defines.h: Ditto.
268 * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto.
269 * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto.
270 * config/os/solaris/solaris2.7/bits/os_defines.h: Ditto.
271
272 2000-10-07 David Edelsohn <dje@watson.ibm.com>
273
274 * config/os/aix/bits/atomicity.h: New file.
275
276 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
277
278 * acinclude.m4: Remove CPU_FLAGS
279 * libio/Makefile.am: Here too.
280 * Makefile.am: Here too.
281
282 * src/Makefile.am (CONFIG_INCLUDES): Remove.
283 (INCLUDES): Remove CONFIG_INCLUDES.
284 (cpu_headers): Remove.
285 (myinstallheaders): Remove cpu_headers.
286 (generated_headers): Rename to build_headers.
287 (build_headers): Add atomicity.h, ctype_base.h,
288 ctype_specializations.h.
289
290 * config/os: New directory.
291 * config/aix: Move to...
292 * config/bsd: Move to...
293 * config/generic: Move to...
294 * config/gnu-linux: Move to...
295 * config/irix: Move to...
296 * config/newlib: Move to...
297 * config/solaris: Move to...
298 * config/os/*: Here.
299
300 2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
301
302 * acinclude.m4: Remove CPU_FLAGS
303 * libio/Makefile.am: Here too.
304 * Makefile.am: Here too.
305
306 * src/Makefile.am (CONFIG_INCLUDES): Remove.
307 (INCLUDES): Remove CONFIG_INCLUDES.
308 (cpu_headers): Remove.
309 (myinstallheaders): Remove cpu_headers.
310 (generated_headers): Rename to build_headers.
311 (build_headers): Add atomicity.h, ctype_base.h,
312 ctype_specializations.h.
313
314 * config/os: New directory.
315 * config/aix: Move to...
316 * config/bsd: Move to...
317 * config/generic: Move to...
318 * config/gnu-linux: Move to...
319 * config/irix: Move to...
320 * config/newlib: Move to...
321 * config/solaris: Move to...
322 * config/os/*: Here.
323
324 2000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
325
326 * src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
327 CONFIG_CXXFLAGS from here, and move to...
328 * src/Makefile.in: Regenerate.
329 * Makefile.am: ... here. Clean.
330 (OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
331 (WARN_CXXFLAGS): Same.
332 (CONFIG_CXXFLAGS): Same.
333 * Makefile.in: Regenerate.
334 * libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
335 WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
336 * libsupc++/Makefile.in: Regenerate.
337
338 Change math to libmath.
339 * math: Move to libmath, delete.
340 * libmath: New directory.
341 * libmath/*: Populate.
342 * src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
343 (libstdc___la_LIBADD): Same.
344 * src/Makefile.in: Regenerate.
345 * configure.in: Add AC_OUTPUT for libmath/Makefile.
346 * configure: Regenerate.
347 * Makefile.am (SUBDIRS): Add libmath.
348 * Makefile.in: Regenerate.
349 * README (file): Change name.
350
351 2000-10-06 Benjamin Kosnik <bkoz@cygnus.com>
352 Richard Henderson <rth@cygnus.com>
353 Alexandre Oliva <aoliva@redhat.com>
354
355 * libsupc++: New directory.
356 * libsupc++/*: Populate.
357 * libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
358 eh-common.h, gansidecl.h.
359 * configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
360 * configure: Regenerate.
361 * Makefile.am (SUBDIRS): Add libsupc++.
362 * Makefile.in: Regenerate.
363 * src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
364 * src/Makefile.in: Regenerate.
365 * libio/Makefile.am: Remove extraneous, confusing bits.
366 * libio/Makefile.in: Regenerate.
367
368 2000-10-05 Brent Verner <brent@rcfile.org>
369
370 * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
371 test for _M_gcount < in_avail(), as in_avail() only reports info
372 for current buffer, causing method to return at end of buffer.
373 * testsuite/27_io/istream_unformatted.cc [test07()]: New test.
374 * testsuite/27_io/istream_unformatted-3.txt: New file.
375 * testsuite/27_io/istream_unformatted-3.tst: New file.
376
377 2000-10-05 Benjamin Kosnik <bkoz@fillmore.constant.com>
378
379 * README (file): Adjust directory structures.
380 * mkcheck.in (INC_PATH): Adjust for header changes.
381
382 2000-10-05 Phil Edwards <pme@sources.redhat.com>
383
384 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts
385 for public relations purposes.
386 * aclocal.m4: Regenerated.
387 * configure: Regenerated.
388
389 * docs/ext/howto.html: Additional explanation about hashing.
390
391 2000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
392
393 * include: New directory.
394 * include/backward: New directory.
395 * include/bits: New directory.
396 * include/ext: New directory.
397 * include/std: New directory.
398 * include/*/*: Populate.
399
400 * backwards: Move to include/backwards, delete.
401 * bits: Move to include/bits, delete.
402 * ext: Move to include/ext, delete.
403 * std: Move to include/std, delete.
404
405 * src/complex.cc: Adjust include of mathconf.
406
407 * mkc++config (BASE_H): Add include.
408
409 * src/Makefile.am: Support for topleve sources include directory.
410 (INCLUDES): Add LIBMATH_INCLUDE.
411 * src/Makefile.in: Regenerate.
412 * math/Makefile.am (INCLUDES): Append /include.
413 * math/Makefile.in: Regenerate.
414 * libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
415 * libio/Makefile.in: Regenerate.
416
417 2000-10-04 Benjamin Kosnik <bkoz@gnu.org>
418
419 * libio/_G_config.h : Re-guard the __mbstate_t declaration.
420
421 2000-10-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
422
423 * docs/22_locale/howto.html: Add link to proto-documentation on
424 locales.
425 * docs/documentation.html: Rename links for clarity.
426
427 * src/Makefile.am (headers): Remove unistd.h, wrap_unistd.h. Add
428 fcntl.h, iolibio.h, libioP.h, pthread.h, iconv.h.
429 * src/Makefile.in: Regenerate.
430
431 2000-10-02 Steven King <sxking@uswest.net>
432
433 * mkcshadow: Fixed script to output proper include guard.
434 * bits/char_traits.h: Cleaned up types in char_traits<char> functions.
435 * libio/_G_config.h: Hacked to make work with shadow heraders.
436 * shadow/*: Hacked to make shadow headers work.
437
438 2000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
439
440 Self-compile with shadow headers.
441 * acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
442 like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
443 it becomes the default way the library is built.
444 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
445 * config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
446 * config/gnu-linux/ctype.cc (ctype): Use it.
447
448 * src/localename.cc (locale::_Impl::_M_replace_categories): Remove
449 call to assert.
450 * src/locale.cc: Explicitly cast mbstate_t to void* in calls to
451 memset. This should not be necessary, but an ambiguous overload
452 with it in.
453
454 * shadow/bits/std_cwchar.h: Fix.
455 * shadow/wchar.h: Fix.
456
457 * config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
458 enums into namespace std:: for ctype_base enum. Other OS types
459 will have to do this as well.
460 * config/gnu-linux/ctype.cc (ctype): Inject ctype data into
461 namespace std, in particular __ctype_toupper, __ctype_tolower,
462 __ctype_b.
463
464 * shadow/iolibio.h: New file.
465 * shadow/bits/wrap_iolibio.h: New file.
466 * shadow/libioP.h: New file.
467 * shadow/bits/wrap_libioP.h: New file.
468 * shadow/bits/wrap_fcntl.h: New file.
469 * shadow/fcntl.h: New file.
470 * shadow/iconv.h: New file. Inject iconv names into the global
471 namespace, unmangled for the moment.
472 * shadow/bits/wrap_iconv.h: New file.
473 * shadow/unistd.h: Remove. Useless.
474 * shadow/bits/wrap_unistd.h: Remove.
475
476 * src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
477 * src/Makefile.in: Regenerate.
478
479 * config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
480
481 * shadow/libio.h: Fix.
482 * shadow/bits/wrap_libio.h: Fix.
483
484 * shadow/bits/std_clocale.h: Remove typedef struct construct,
485 which will not compile.
486 * shadow/bits/std_ctime.h: Same.
487
488 * shadow/pthread.h: New file. Put pthreads types and functions
489 into global scope, which is probably not the correct long-term
490 solution but has to be done at the moment before libio wrappers
491 can even be started.
492 * shadow/bits/wrap_pthread.h: New file.
493
494 * bits/std_ios.h: Formatting tweak.
495 * shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
496
497 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
498 tests for compiler features.
499 * aclocal.m4: Regenerate.
500 * configure: Regenerate.
501
502 * config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
503 redefined.
504 * libio/libioP.h: Comment out fcntl.h include.
505
506 * shadow/math.h: Add in float and long declarations, as per ISO C9X.
507
508 * bits/c++config: Define _ISOC99_SOURCE.
509
510 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
511 CSHADOWFLAGS, as well as _ISOC99_SOURCE.
512 * aclocal.m4: Regenerate.
513 * configure: Regenerate.
514 * src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
515 (CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
516 (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
517 std or shadow directories.
518 (LTCXXCOMPILE): Same.
519 (INCLUDES): Add $(top_builddir) before $(top_srcdir).
520 (AC_CXXFLAGS): Add CSHADOWFLAGS.
521 * src/Makefile.in: Regenerate.
522
523 * src/complex.cc (FCT): Change ::name to name.
524 * src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
525 * src/complexf.cc (FCT): Same.
526
527 * src/complexf.cc: Remove FCT define, as things are properly
528 overloaded in the std namespace with the shadow headers.
529 * src/complexl.cc: Same.
530 * src/complex.cc: Same.
531
532 2000-09-25 Phil Edwards <pme@sources.redhat.com>
533
534 * docs/documentation.html: Add link to...
535 * docs/ext/howto.html: ...this. New dir/file, describing library
536 extensions (both ours and SGI's).
537 * docs/faq/index.html: Small updates.
538 * docs/faq/index.txt: Regenerate.
539
540 2000-09-25 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
541
542 * bits/basic_file.h (_M_open_mode): Remove extra qualifier.
543
544 2000-09-25 Levente Farkas <lfarkas@mindmaker.hu>
545
546 * ext/stl_hashtable.h (_M_copy_from): Change __copy to __local_copy.
547
548 2000-09-19 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
549
550 * src/localename.cc (locale::_Imp) : Remove typedefs.
551 * bits/localefwd.h (locale::locale(const locale& __other, _Facet*
552 __f): Consistency check, call _Imp ctor with reference argument
553 of 1.
554 * bits/localefwd.h: Change _S_num_categories to
555 _S_categories_num. Add new data member, _S_facets_num, which is
556 the number of standard facets.
557
558 2000-09-19 Phil Edwards <pme@sources.redhat.com>
559
560 * docs/21_strings/howto.html: Fix editor lossage from last commit.
561
562 2000-09-19 Phil Edwards <pme@sources.redhat.com>
563
564 * docs/thanks.html: More thanks.
565 * docs/18_support/howto.html: Fix thinko.
566 * docs/21_strings/howto.html: Minor tweaks and updates to URLs.
567 Redo the string transformation notes and link to...
568 * docs/22_locale/howto.html: ...here.
569
570 2000-09-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
571
572 * src/locale-inst.cc: Add time_put_byname and
573 time_get_byname instantiations.
574 * bits/locale_facets.h: Correct default, private derivation to
575 public derivation in _byname declarations.
576 * src/locale.cc (locale::classic()): Simplify.
577 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
578 const string& __name, category __cat, size_t __refs): Re-work for
579 named locales.
580 (_M_normalize_category_names): Remove.
581
582 * testsuite/22_locale/global_templates.cc (test01): Tweaks.
583 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
584
585 2000-09-18 Yuri V. Baskakov <yuribsk@lab.sun.mcst.ru>
586
587 * bits/std_bitset.h (operator>>): Change to char_type.
588
589 2000-09-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
590
591 * src/locale.cc (locale::locale(const char* __name)): Consolidate
592 name setting. Add checks for NULL __name pointers. Remove calls to
593 _S_initialize() as initial locale initialization can either be
594 assumed, or needs to be made consistent throughout locale
595 constructors.
596 (locale::locale(const locale& __other, const char* __name,
597 category __cat): Add checks for NULL name. Add checks for
598 assignment to self.
599 * src/localename.cc (locale::_Impl:: _Impl(const _Impl& __other,
600 const string& __name, category __cat, size_t __refs)): Set correct
601 name, has_name values.
602 * testsuite/22_locale/ctor_copy_dtor.cc (test01): More tests.
603 * docs/22_locale/locale.html: New file, more unfinished docs...
604
605 2000-09-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
606
607 * src/locale.cc (locale::name()): Implement.
608 (_Impl(size_t __numfacets, size_t __refs, bool __namep = false,
609 string __name = "*")): Change signature.
610 (locale::classic): Initialize the "C" locale as a named locale.
611 * bits/localefwd.h (locale): Change _M_num_references to
612 _M_references. Eliminate _M_cached_name_ok. Rename _M_cached_name
613 to _M_name.
614 * bits/localefwd.h: Tweaks.
615 * src/localename.cc: Tweaks.
616 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Add tests.
617 (test01): Fix.
618
619 * bits/basic_string.h: Consistency check, change _M_state ->
620 _M_references.
621
622 2000-09-14 Brendan Kehoe <brendan@zen.org>
623
624 * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
625 return type.
626
627 * src/Makefile.an (headers): Also install backward/fstream.h.
628 * src/Makefile.in: Regenerate.
629
630 * bits/char_traits.h (char_traits<_CharT>::get_state,
631 char_traits<char>::get_state, char_traits<wchar_t>::get_state): Pass
632 argument in by reference, not by value. Uglify to _S_get_state.
633 (char_traits<*>::__eos): Uglify to _S_eos.
634 * bits/std_ostream.h (ends(basic_ostream<_CharT, _Traits>& __os)):
635 Change __eos to _S_eos.
636
637 2000-09-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
638
639 * testsuite/22_locale/static_members.cc: New file.
640 * testsuite/22_locale/ctor_copy_dtor.cc: New file.
641 * src/locale.cc: Minor formatting tweaks.
642
643 2000-09-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
644
645 * testsuite/22_locale/global_templates.cc (test01): Add negative
646 tests for use_facet.
647
648 * bits/localefwd.h (locale::operator()): Minor tweaks.
649 * bits/locale_facets.tcc (locale::operator()): Same.
650 * testsuite/22_locale/operators.cc: New file.
651
652 * testsuite/22_locale/facet.cc (output_iterator): Remove
653 gnu_input_iterator, gnu_output_iterator.
654
655 2000-09-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
656
657 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Remove test != "0".
658 * aclocal.m4: Regenerate.
659 * configure: Regenerate.
660
661 * bits/c++config (__GLIBCPP__): Update, in the hopes of making a
662 snapshot release soon.
663 (_GNU_SOURCE): Define this in the header files, as ISO C99 support
664 is pretty much assumed.
665
666 * testsuite/22_locale/global_templates.cc: New file. Add tests for
667 use_facet and has_facet.
668
669 * bits/codecvt.h (codecvt<_InT, _ExT, __enc_traits>::do_out):
670 Modify/correct iconv signatures for glibc2.2.
671
672 2000-09-10 Branko Cibej <branko.cibej@hermes.si>
673
674 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Replace "grep -q" with
675 "grep -c".
676
677 2000-09-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
678
679 * bits/localefwd.h (locale::_Impl): Scope out types to public.
680 (locale): Make _Impl declaration public.
681
682 2000-09-08 Felix Natter <fnatter@gmx.net>
683
684 * docs/17_intro/porting-howto.html: New version.
685
686 2000-09-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
687
688 * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
689 to __unused__.
690 * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
691 * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.
692
693 2000-09-07 Phil Edwards <pme@sources.redhat.com>
694
695 Add bits for --enable-maintainer-mode:
696 - turns on enable_debug
697 (doing "--enable-maint --disable-debug" will DTRT)
698 - turns on -Werror, now off by default
699 * acinclude.m4: Add bits.
700 * aclocal.m4: Regenerate.
701 * configure.in: Add defaults for GLIBCPP_ENABLE_DEBUG.
702 * configure: Regenerate.
703
704 2000-09-07 Benjamin Kosnik <bkoz@cygnus.com>
705
706 * bits/std_cwctype.h: Remove yesterday's hacks.
707
708 2000-09-07 Brad Garcia <bgarcia@laurelnetworks.com>
709
710 * bits/stl_tree.h: Make operators !=, == type safe for map, set.
711 * testsuite/23_containers/set_operators.cc: New file. Should not
712 compile.
713 * testsuite/23_containers/map_operators.cc: New file. Ditto.
714
715 2000-09-06 Richard Henderson <rth@cygnus.com>
716 Benjamin Kosnik <bkoz@cygnus.com>
717
718 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add ia64 support.
719 * aclocal.m4: Regenerate.
720 * configure: Regenerate.
721 * config/cpu/ia64: New directory.
722 * config/cpu/ia64/bits: New directory.
723 * config/cpu/ia64/bits/atomicity.h: New file.
724
725 2000-09-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
726
727 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory
728 to no, so that libstdc++-v3's libio will be built on glibc-2.2
729 systems.
730 * aclocal.m4: Regenerate.
731 * configure: Regenerate.
732 * */Makefile.in: Regenerate.
733
734 * bits/std_cwctype.h: Put in temporary hack to work around -O2 +
735 glibc 2.1.x unsigned errors. Or disable -Werror by default...
736
737 * testsuite/23_containers/vector_element_access.cc: New file.
738 * bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
739
740 2000-09-06 Levente Farkas <lfarkas@mindmaker.hu>
741
742 * bits/string.tcc: Fix up more parameter names.
743
744 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
745
746 * configure: Rebuilt with new libtool.m4.
747
748 2000-09-01 Benjamin Kosnik <bkoz@cygnus.com>
749
750 * src/locale-inst.cc: Remove pre-instantiation of unicode
751 codecvt types. Now unnecessary, as locale header now correct.
752
753 2000-08-31 Benjamin Kosnik <bkoz@cygnus.com>
754
755 * bits/locale_facets.tcc (_S_build_float_format): Move ...
756 * src/locale.cc: Here.
757 * bits/locale_facets.tcc (num_get::_M_extract): Clean up generic
758 definition. Move specialization to ...
759 * src/locale.cc: Here.
760 * bits/locale_facets.tcc: Move _Format_cache specializations to ...
761 * src/locale.cc: Here.
762 * bits/locale_facets.tcc: Move use_facet<ctype> specializations to ...
763 * src/locale.cc: Here.
764
765 * bits/std_locale.h: Note that locale_facets.tcc should be
766 included here, for standards conformance. It may increase
767 compile times though. For the time being, enable.
768 * testsuite/22_locale/facet.cc: New file, some parts commented out
769 for the time being.
770
771 * mkcheck.in: Append total time to test summary file.
772
773 * bits/sbuf_iter.h : Formatting tweaks.
774
775 Clean up static const data member definitions.
776 * src/locale.cc: Add definitions for all missing locale,
777 locale::_Imp, and locale::id static data members.
778 (ctype<char>): Add table_size define.
779 (money_base): Add _S_default_pattern, uglify.
780 * bits/localefwd.h: Add definitions for static members of _Count_ones.
781 * bits/locale_facets.h: Tweaks.
782 * bits/locale_facets.tcc: Tweaks.
783 * bits/string.tcc: Add definition for npos.
784 * bits/ios_base.h: Tweaks.
785 * bits/ios_base.h (ios_base::Init::_M_ios_base_init): Change to
786 _S_ios_base_init.
787 * src/ios.cc: And here. Add _S_local_words definition.
788 Add definitions for __ios_flags const static data.
789 * src/codecvt.cc: Same for __enc_traits.
790 * src/locale-inst.cc: Remove money_base data member definition
791 here.
792
793 2000-08-30 Benjamin Kosnik <bkoz@redhat.com>
794
795 * testsuite/22_locale/ctype_wchar_t_members.cc (test01): New file.
796
797 * docs/22_locale/codecvt.html: Re-number.
798 * docs/22_locale/howto.html: Add entry for ctype
799 documentation. Add entry for Nathan's introduction to locales
800 paper.
801 * docs/22_locale/ctype.html: New file. In progress...
802
803 * docs/22_locale/codecvt.html: Formatting cleanups.
804 * src/locale.cc (ctype<wchar_t>::do_is): Fix thinko.
805
806 2000-08-30 Phil Edwards <pme@sources.redhat.com>
807
808 * docs/22_locale/codecvt.html: Behind-the-scenes ASCII->HTML
809 tweaks for certain browsers.
810
811 2000-08-29 Benjamin Kosnik <bkoz@redhat.com>
812
813 * bits/locale_facets.h (ctype<char>): Remove __table_type.
814 Add include for bits/std_cwctype.h, for wctype_t.
815 * src/locale.cc (ctype<wchar_t>): Implement.
816 * config/gnu-linux/bits/ctype_base.h (ctype_base): Remove mask
817 typedef, instead name enum.
818 * config/gnu-linux/bits/ctype_specializations.h: Tweak.
819 * config/gnu-linux/ctype.cc: Tweak.
820 * testsuite/22_locale/ctype.cc: Tweak.
821
822 * bits/codecvt.h (__enc_traits): Uglify names.
823
824 2000-08-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
825
826 * docs/22_locale/codecvt.html: Add more bits, format.
827 * bits/codecvt.h: Add copy ctor, rename types.
828 * testsuite/22_locale/codecvt_unicode_char.cc: Tweak.
829
830 * libio/iofwide.c: Tweak.
831
832 2000-08-28 Phil Edwards <pme@sources.redhat.com>
833
834 * docs/configopts.html: Mention new options.
835 * docs/install.html: Formatting changes for platform-specific
836 pre-reqs, previously only Cygwin.
837 * docs/mail.html: Fix new link.
838 * docs/thanks.html: A couple more people.
839 * docs/26_numerics/howto.html: Fix typo.
840
841 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
842
843 * docs/22_locale/howto.html: Add notes on codecvt implementation.
844 * docs/22_locale/codecvt.html: New file. In progress.
845
846 2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
847
848 * acconfig.h: Revert.
849 * acinclude.m4: Revert.
850 * libio/_G_config.h: Revert.
851 * libio/libio.h: Revert.
852
853 2000-08-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
854
855 * bits/codecvt.h: Tweaks.
856 * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up
857 initial string literals for UCS4.
858
859 2000-08-23 Phil Edwards <pme@sourceware.cygnus.com>
860
861 * acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added.
862 * acinclude.m4: New macro, GLIBCPP_ENABLE_WCHAR. Set the threads
863 definition as well, and some minor spelling/spacing fixes. If
864 building libio, check for certain typedefs.
865 * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS.
866 Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types
867 will never be there.
868 * libio/libio.h: In the null case, _IO_lock_t can't just be void.
869 * src/string-inst.cc: Use _GLIBCPP_USE_WCHAR_T.
870
871 * configure.in: Update the cache a bit more often.
872
873 * mkcheck.in: For check-install, also need to -I the testsuite dir.
874
875 2000-08-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
876
877 * src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
878 __enc_traits> instantiations for has_facet and use_facet.
879 * testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
880 testing two-byte unicode encodings converted to four-byte UCS4
881 encodings.
882
883 * bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
884 * testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
885 correct state/encoding information.
886
887 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
888 mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
889 now.
890 Add checks for langinfo.h, nl_langinfo function call.
891 * libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.
892
893 2000-08-22 Richard B. Kreckel <Richard.Kreckel@Uni-Mainz.DE>
894
895 * config/cpu/alpha/bits/atomicity.h: Change __attribute__
896 ((unused)) to __attribute__ ((__unused__)).
897 * config/cpu/arm/bits/atomicity.h: Same.
898 * config/cpu/generic/bits/atomicity.h: Same.
899 * config/cpu/i386/bits/atomicity.h: Same.
900 * config/cpu/i486/bits/atomicity.h: Same.
901 * config/cpu/powerpc/bits/atomicity.h: Same.
902 * config/cpu/sparc/sparc32/bits/atomicity.h: Same.
903 * config/cpu/sparc/sparc64/bits/atomicity.h: Same.
904
905 2000-08-22 Levente Farkas <lfarkas@mindmaker.hu>
906
907 * bits/basic_string.h: Fix up parameter names.
908
909 2000-08-22 Brent Verner <brent@rcfile.org>
910
911 * src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
912 $(top_srcdir)
913 * src/Makefile.in: Regenerate.
914
915 2000-08-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
916
917 * bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
918 up __enc_traits template so as to be marginally useful.
919 * src/codecvt.cc: And here.
920 * bits/char_traits: Tweak.
921 * bits/locale_facets.h: Tweak.
922 * bits/locale_facets.tcc: Tweak.
923 * bits/localefwd.h: Tweak.
924 * src/locale-inst.cc: Add use_facet/has_facet instantiations here.
925 * testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
926 * testsuite/22_locale/codecvt_char_char.cc: New file.
927 * testsuite/22_locale/codecvt_unicode_char.cc: New file.
928
929 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
930
931 * bits/std_cmath.h (std::abs): Overload for int and long.
932
933 2000-08-20 Benjamin Kosnik <bkoz@gnu.org>
934
935 * src/string-inst.cc: Tweak instantiations for new-gxx-abi.
936
937 2000-08-19 Gabriel Dos Reis <gdr@codesourcery.com>
938
939 * bits/valarray_array.h (__valarray_min, __valarray_max): Fix
940 thinko. Diagnostic messages really need to be improved for
941 template argument deduction.
942
943 2000-08-18 Benjamin Kosnik <bkoz@gnu.org>
944
945 * bits/valarray_meta.h: Fix typos...
946
947 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
948
949 * bits/valarray_meta.h (_Expr<>::shift, _Expr::cshift,
950 _Expr<>::apply): Implement.
951
952 2000-08-18 Gabriel Dos Reis <gdr@codesourcery.com>
953
954 * bits/valarray_meta.h (_Expr<>::min, _Expr<>::max): Implement.
955
956 * bits/valarray_array.h (__valarray_min, __valarray_max): New
957 function.
958
959 2000-08-17 Mark Mitchell <mark@codesourcery.com>
960
961 * bits/localefwd.h (std::locale): Use explicit `class' specified
962 when declaring friends.
963 * bits/std_fstream.h (std::basic_filebuf): Likewise.
964
965 2000-08-16 Alexandre Oliva <aoliva@redhat.com>
966
967 * src/Makefile.am (libstdc++.INC): Renamed from INCLUDES.
968 * src/Makefile.in: Regenerate.
969
970 2000-08-15 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
971
972 * bits/codecvt.h: New file.
973 * src/codecvt.cc: New file.
974 * bits/std_locale.h: Add include here.
975 * src/Makefile.am (headers): Add codecvt.h
976 (sources): Add codecvt.cc.
977 * src/Makefile.in: Regenerate.
978 * bits/locale_facets.h (codecvt): Re-implement. Rename _Codecvt to
979 __codecvt_abstract_base in an attempt to point some light this way...
980 Move __enc_traits and codecvt bits to codecvt.h.
981 * src/locale-inst.cc: Remove codecvt<wchar_t, wchar_t, mbstate_t>
982 explicit instantiation. Separate out codecvt instantations, simplify.
983 * src/locale.cc: Move codecvt bits to codecvt.cc
984
985 2000-08-15 Alexandre Oliva <aoliva@redhat.com>
986
987 * src/Makefile.am (INCLUDES): New target file, with all -I flags.
988 * src/Makefile.in: Regenerate.
989
990 2000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
991
992 C/C++ io merge/sync.
993 * libio/fileops.c
994 * libio/genops.c
995 * libio/iofclose.c
996 * libio/iofopen.c
997 * libio/iofwide.c
998 * libio/libio.h
999 * libio/libioP.h
1000 * libio/stdio.c
1001 * libio/wfileops.c
1002 * libio/wgenops.c
1003 * config/c_io_libio.cc (__basic_file): Add hacky casts to
1004 ((struct _IO_FILE_plus *) in ctors.
1005 (__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt.
1006 * libio/Makefile.am: Fix copyright. Remove cleanup.c.
1007 * libio/cleanup.c: Remove.
1008 * libio/filedoalloc.c (_IO_file_doallocate): Don't call
1009 _IO_cleanup_registration_needed, even if not libc.
1010
1011 * testsuite/27_io/stringstream.cc (test02): Fix.
1012
1013 2000-08-14 Brent Verner <brent@rcfile.org>
1014
1015 * testsuite/debug_assert.h: new file
1016 * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g
1017 changed conditional #include <c?assert.?h?> to
1018 unconditional #include <debug_assert.h>
1019 * mkcheck.in: added $SRC_DIR/testsuite to include search path
1020 for testsuite compile command.
1021
1022 2000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
1023
1024 * bits/std_fstream.h: Remove duplicate typdefs for ofstream and
1025 wofstream, filebuf, wfilebuf, fstream, wfstream.
1026 * bits/std_streambuf.h: Same for streambuf, wstreambuf.
1027 * bits/std_sstream.h: Same for stringstream and wstringstream.
1028 Same for stringbuf, wstringbuf, istringstream, wistringstream,
1029 ostringstream, wostringstream.
1030
1031 * testsuite/26_numerics/valarray.cc: Add test.
1032
1033 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
1034
1035 * configure: Regenerate after change to ../libtool.m4.
1036
1037 2000-08-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1038
1039 * bits/locale_facets.tcc: Formatting tweaks.
1040 * bits/locale_facets.h (__enc_traits): Start integrating this
1041 into codecvt, ctype. Formatting tweaks.
1042
1043 2000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1044
1045 Preliminary wchar_t implementation, with trivial encodings.
1046 * docs/configopts.html: Add bits about canonical configure option
1047 checking.
1048
1049 * testsuite/27_io/iostream_objects.cc: Replace this file (which
1050 has newly-declared-illegal mixing of wide/narrow stdstreams) with...
1051 * testsuite/27_io/narrow_stream_objects.cc: New file.
1052 * testsuite/27_io/wide_stream_objects.cc: New file.
1053
1054 * bits/fstream.tcc (underflow): Temporarily hack a solution
1055 together that writes from the external file to the internal
1056 buffers. This removes codecvt from the loop, and is incorrect.
1057 (_M_really_overflow): Same here.
1058
1059 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
1060
1061 2000-08-08 Benjamin Kosnik <bkoz@cygnus.com>
1062 Ulrich Drepper <drepper@cygnus.com>
1063
1064 * config/c_io_libio.h: Tweak.
1065 * config/c_io_libio_codecvt.c: New file.
1066 * libio/Makefile.am: Add c_codecvt.c.
1067 * libio/Makefile.in: Regenerate.
1068 * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
1069 stream is not orientated.
1070
1071 * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
1072 encoding gets fleshed out.
1073
1074 * bits/basic_file.h: Add specialization declarations.
1075 * config/c_io_libio.cc: Add specializations for pbackfail, uflow.
1076
1077 * config/c_io_libio.h: Add __c_wfile_type.
1078 * bits/basic_file.h: Add _M_wfile.
1079
1080 * config/c_io_libio.cc (__basic_file<char>): Initialize the
1081 streams without setting the orientation of the underlying FILE to
1082 either wide or narrow.
1083 (__basic_file<wchar_t>)): Enable tricky wchar_t io bits.
1084
1085 2000-08-07 Felix Natter <fnatter@gmx.net>
1086
1087 * docs/17_intro/porting-howto.html: New version.
1088
1089 2000-08-03 Mark Mitchell <mark@codesourcery.com>
1090
1091 * bits/locale_facets.h (ctype::ctype): Don't name unused
1092 parameters.
1093
1094 2000-08-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1095
1096 * docs/install.html: Edit bits about requiring a special version
1097 of the autotools.
1098
1099 2000-07-31 Benjamin Kosnik <bkoz@cygnus.com>
1100
1101 * libio/fileops.cc: Update to current glibc sources.
1102 * libio/genops.c: Same.
1103 * libio/iofwide.c: Same.
1104 * libio/libio.h: Same.
1105 * libio/libioP.h: Same.
1106 * libio/wfiledoalloc.c: Same.
1107 * libio/wgenops.c: Same.
1108
1109 2000-07-28 Alexandre Oliva <aoliva@redhat.com>
1110
1111 * acinclude.m4: Include ../libtool.m4.
1112 * aclocal.m4, configure: Rebuilt.
1113
1114 2000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
1115
1116 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
1117 before trying to use any of its options.
1118 (CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
1119 * aclocal.m4: Regenerate.
1120 * configure.in: Having found GNU make, name it.
1121 * configure: Regenerate.
1122 * docs/install.html: Mention possible problems with caching.
1123 * src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
1124 * src/Makefile.in: Regenerate.
1125 * libio/Makefile.in: Regenerate.
1126 * math/Makefile.in: Regenerate.
1127 * Makefile.in: Regenerate.
1128
1129 2000-07-26 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1130
1131 * src/misc-inst.cc (std): Remove instantiations.
1132
1133 * acinclude.m4: Add forward-looking bits for autoconf.
1134 * aclocal.m4: Regenerate.
1135
1136 * bits/ostream.tcc (ostream::operator<<): Fix const char* case.
1137
1138 2000-07-25 Benjamin Kosnik <bkoz@gnu.org>
1139
1140 * configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
1141 it back for current versions of maintainer-tools...
1142 * acinclude.m4: Some cleanups...
1143 * aclocal: Regenerated.
1144 * configure: Regenerated.
1145
1146 * src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
1147 optimizing/adapting the hash table using GNU ld.
1148 * src/Makefile.in: Regenerate.
1149
1150 2000-07-24 H.J. Lu <hjl@gnu.org>
1151
1152 * src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
1153 even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
1154 files don't include private libio header files needed by
1155 libstdc++ v3.
1156 * src/Makefile.in: Rebuild.
1157
1158 2000-07-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1159
1160 * bits/std_fstream.h: Parameterize __basic_file.
1161 * config/c_io_libio.cc: Add wchar_t methods for parameterization.
1162 * bits/basic_file.h: Same here.
1163
1164 * bits/istream.tcc (getline): Tweaks.
1165
1166 * bits/fstream.tcc: Shorten __retval to __ret.
1167 * bits/ostream.tcc: Same.
1168 * bits/sbuf_iter.h: Same.
1169 * bits/sstream.tcc: Same.
1170 * bits/streambuf.tcc: Same.
1171 * bits/std_fstream.h: Same.
1172 * src/string-inst.cc: Same.
1173 * src/ios.cc: Same.
1174 * config/c_io_libio.cc: Same.
1175 * bits/string.tcc: Same.
1176 * bits/std_streambuf.h: Same.
1177
1178 2000-07-23 Brent Verner <brent@rcfile.org>
1179
1180 * bits/istream.tcc: istream::getline(char_type*, streamsize,
1181 char_type) make compliant
1182 * testsuite/27_io/istream_unformatted.cc: test for compliant behavior
1183
1184 2000-07-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1185
1186 * acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
1187 and srcdir used to define CSHADOW_INCLUDES..
1188
1189 * configure.in: For consistency, change .sanity_warned to
1190 stamp-sanity-warned.
1191
1192 * acinclude.m4: Tweak formatting.
1193 * Makefile.am (check): Call mkcheck with full pathname for build
1194 directory...
1195 (check-install): And here.
1196 * Makefile.in: Regenerate.
1197
1198 2000-07-22 Gabriel Dos Reis <gdr@codesourcery.com>
1199
1200 Line up with libstdc++-v2 version of valarray.
1201 * bits/valarray_array.h (__valarray_product): Make inline.
1202 * src/valarray-inst.cc (__valarray_product): Remove explicit
1203 instantiation.
1204
1205 2000-07-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1206
1207 * src/stl-inst.cc: Change __sink_unused_warning to unsigned int
1208 for alpha.
1209
1210 * testsuite/26_numerics/complex_inserters_extractors.cc (testall):
1211 Change return type to void.
1212 * testsuite/25_algorithms/lower_bound.cc: Add return values.
1213 * testsuite/17_intro/header_ciso646.cc: Modify.
1214 * bits/locale_facets.h: Add return values for the generic cases.
1215
1216 2000-07-21 H.J. Lu (hjl@gnu.org)
1217
1218 * acinclude.m4: Include <features.h> for glibc testing.
1219 * aclocal.m4: Likewise.
1220
1221 * configure: Rebuild.
1222
1223 2000-07-20 H.J. Lu (hjl@gnu.org)
1224
1225 * acinclude.m4: Change "#pragma system_header" to
1226 "#pragma GCC system_header".
1227 * aclocal.m4: Likewise.
1228 * bits/std_cmath.h: Likewise.
1229 * bits/std_cassert.h: Likewise.
1230 * bits/std_cctype.h: Likewise.
1231 * bits/std_cerrno.h: Likewise.
1232 * bits/std_cfloat.h: Likewise.
1233 * bits/std_climits.h: Likewise.
1234 * bits/std_clocale.h: Likewise.
1235 * bits/std_cwchar.h: Likewise.
1236 * bits/std_csetjmp.h: Likewise.
1237 * bits/std_csignal.h: Likewise.
1238 * bits/std_cstdarg.h: Likewise.
1239 * bits/std_cstddef.h: Likewise.
1240 * bits/std_cstdio.h: Likewise.
1241 * bits/std_cstdlib.h: Likewise.
1242 * bits/std_cstring.h: Likewise.
1243 * bits/std_ctime.h: Likewise.
1244 * bits/std_cwctype.h: Likewise.
1245 * bits/std_exception.h: Likewise.
1246 * bits/std_new.h: Likewise.
1247 * bits/std_typeinfo.h: Likewise.
1248 * shadow/bits/std_cassert.h: Likewise.
1249 * shadow/bits/std_cctype.h: Likewise.
1250 * shadow/bits/std_cerrno.h: Likewise.
1251 * shadow/bits/std_cfloat.h: Likewise.
1252 * shadow/bits/std_climits.h: Likewise.
1253 * shadow/bits/std_clocale.h: Likewise.
1254 * shadow/bits/std_cmath.h: Likewise.
1255 * shadow/bits/std_csetjmp.h: Likewise.
1256 * shadow/bits/std_csignal.h: Likewise.
1257 * shadow/bits/std_cstdarg.h: Likewise.
1258 * shadow/bits/std_cstddef.h: Likewise.
1259 * shadow/bits/std_cstdio.h: Likewise.
1260 * shadow/bits/std_cstdlib.h: Likewise.
1261 * shadow/bits/std_cstring.h: Likewise.
1262 * shadow/bits/std_ctime.h: Likewise.
1263 * shadow/bits/std_cwchar.h: Likewise.
1264 * shadow/bits/std_cwctype.h: Likewise.
1265 * shadow/bits/wrap_libio.h: Likewise.
1266 * shadow/bits/wrap_unistd.h: Likewise.
1267 * shadow/sys/cdefs.h: Likewise.
1268
1269 * configure: Rebuild.
1270
1271 2000-07-20 Jakub Jelinek <jakub@redhat.com>
1272
1273 * config/cpu/sparc/sparc64/bits/atomicity.h (__exchange_and_add):
1274 Use extended word instructions to match 64bit _Atomic_word.
1275 (__atomic_add): Likewise.
1276 * math/clog10l.c (clog10l): Use M_PIl if defined.
1277 * math/c_logl.c (c_logl): Likewise.
1278 * math/signbitl.c (__signbitl): Adapt for IEEE quad long doubles.
1279 * math/mathconf.h (ieee_quad_double_shape_type): New type.
1280 (GET_LDOUBLE_MSW64): New define.
1281
1282 2000-07-20 Benjamin Kosnik <bkoz@cygnus.com>
1283
1284 * bits/std_streambuf.h: Add bits for pback buffers here, so that
1285 in_avail, etc can use them.
1286 * bits/std_fstream.h: Ditto.
1287 * bits/fstream.tcc: Ditto.
1288 * testsuite/27_io/filebuf.cc: Tweaks.
1289 * testsuite/27_io/filebuf-3.tst: Correct for pbackfail bits.
1290
1291 2000-07-19 Benjamin Kosnik <bkoz@cygnus.com>
1292
1293 * src/localename.cc: Same.
1294 * src/locale.cc: Same.
1295 * bits/localefwd.h: _M_init_facet to _M_facet_init.
1296
1297 * bits/locale_facets.h: _M_init_boolnames to _M_boolnames_init.
1298
1299 * bits/std_sstream.h: Change _M_init_stringbuf to _M_stringbuf_init.
1300
1301 * bits/fstream.tcc: Change _M_init_filebuf to _M_filebuf_init.
1302 * bits/std_fstream.h: Same.
1303
1304 * bits/basic_string.h: Tweaks.
1305
1306 2000-07-19 Phil Edwards <pme@sourceware.cygnus.com>
1307
1308 * docs/18_support/howto.html: Update.
1309
1310 2000-07-19 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
1311
1312 Internal consistency checks.....
1313 * bits/ios_base.h: Change _M_locale_ios to _M_ios_locale.
1314 * src/ios.cc: Same.
1315
1316 * bits/basic_ios.h: Change _M_fctype_ios to _M_ios_fctype.
1317 * bits/basic_ios.tcc: Same.
1318
1319 * bits/std_streambuf.h: Change _M_locale_buf to _M_buf_locale.
1320 Change _M_fctype_buf to _M_buf_fctype.
1321 * bits/fstream.tcc: Same.
1322
1323 * bits/std_streambuf.h: Change _M_buf_bump to _M_out_cur_move.
1324 Change _M_locale_set to _M_buf_locale_init.
1325 * bits/streambuf.tcc: Same.
1326 * bits/sstream.tcc: Same.
1327 * bits/fstream.tcc: Same.
1328
1329 * bits/std_streambuf.h: Make typedefs consistent.
1330 (_M_buf_bump): Be more careful with input sequence.
1331
1332 * bits/std_sstream.h: Same.
1333 * bits/std_fstream.h: Same.
1334
1335 2000-07-18 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1336
1337 * acinclude.m4: Tweaks.
1338 * config/c_io_libio.cc: Tweaks.
1339 * bits/sstream.tcc (stringbuf::pbackfail): Simplify.
1340 * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
1341 * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
1342 * libio/iofclose.c iofopen.c, stdio.c: New files.
1343 * libio/Makefile.am: Add files, add flags, etc.
1344 * src/Makefile.am (sources): Add filebuf.cc.
1345 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
1346 (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
1347
1348 2000-07-17 Phil Edwards <pme@sourceware.cygnus.com>
1349
1350 * acinclude.m4: Import CHECK_GNU_MAKE from autoconf macro archive.
1351 * configure.in: Use it. Also print reminders one time.
1352 * aclocal.m4: Regenerate.
1353 * configure: Regenerate.
1354
1355 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
1356
1357 * bits/valarray_array.h (__valarray_get_storage): New function.
1358 (_Array<>::Array): Use it.
1359 * bits/std_valarray.h (valarray<>::valarray): Likewise.
1360 (valarray<>::resize): Likewise. Tweak.
1361 * src/valarray-inst.cc (__valarray_product): Tweak.
1362
1363 2000-07-11 Phil Edwards <pme@sourceware.cygnus.com>
1364
1365 * docs: Update sourceware->sources in every HTML file. Minor updates.
1366
1367 2000-07-07 Benjamin Kosnik <bkoz@soma.redhat.com>
1368
1369 Clean up configure/build longstanding issues.
1370 * src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
1371 (CXXLINK): Add here, instead.
1372
1373 * Makefile.am (check-install): Make sure mkcheck has execute privs.
1374 (check): Same here.
1375 * configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
1376
1377 * configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
1378 c_io_libio.cc instead of copying.
1379 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
1380
1381 * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
1382 c++threads.h instead of copying.
1383 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
1384 Tweaks.
1385
1386 * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate.
1387 * bits/basic_file.h: Declare.
1388
1389 * mkcheck.in (TESTS_FILE): Use -v instead of --version.
1390
1391 2000-07-07 brent verner <brent@rcfile.org>
1392
1393 * testsuite/27_io/istream_unformatted.cc (test05): New test.
1394
1395 2000-07-07 Benjamin Kosnik <bkoz@gnu.org>
1396
1397 * bits/istream.tcc (istream::getline): Minor tweaks.
1398
1399 2000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
1400
1401 * docs/download.html: Mention gcc_update.
1402 * docs/configopts.html: Minor updates.
1403 * docs/gccrebuild.html: Ditto.
1404 * docs/18_support/howto.html: More tips, explanations, and reminders.
1405 * docs/19_diagnostics/howto.html: Ditto.
1406 * docs/21_strings/howto.html: Ditto.
1407 * docs/24_iterators/howto.html: Ditto.
1408 * docs/25_algorithms/howto.html: Ditto.
1409 * docs/26_numerics/howto.html: Ditto.
1410
1411 2000-07-05 brent verner <brent@rcfile.org>
1412
1413 * testsuite/27_io/ifstream_members.cc (test01): Add tests.
1414 * testsuite/27_io/ofstream_members.cc (test01): Add tests.
1415 * config/c_io_libio.cc (__basic_file::open): Unset
1416 ~_IO_DELETE_DONT_CLOSE.
1417
1418 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
1419
1420 * bits/gslice_array.h, bits/indirect_array.h, bits/mask_array.h,
1421 bits/slice_array.h, bits/std_valarray.h, bits/valarray_meta.h:
1422 Do not paste anything after 'operator' keyword.
1423
1424 2000-07-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1425
1426 * bits/std_memory.h: Revert.
1427
1428 2000-07-03 Brendan Kehoe <brendan@zen.org>
1429
1430 * bits/std_complex.h: Fix parens. Format.
1431
1432 2000-07-03 scott snyder <snyder@fnal.gov>
1433
1434 * bits/locale_facets.tcc (_M_extract): Only figure out the base
1435 from the input if base == 0.
1436 * testsuite/27_io/istream_extractor_arith.cc: Test reading a
1437 number with a leading `0' in hex mode.
1438
1439 * shadow/bits/std_cmath.h: Fix typo in _GLIBCPP_HAVE_CEILL test.
1440
1441 * mkinclosure: Change `==' to `=' in test.
1442
1443 2000-07-03 Chip Salzenberg <chip@valinux.com>
1444
1445 * src/Makefile.am (libio_headers): _G_config.h is found in srcdir,
1446 not builddir.
1447 * src/Makefile.in: Regenerate.
1448
1449 2000-07-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1450 Ulrich Drepper <drepper@purist.soma.redhat.com>
1451
1452 Sync libio to glibc-2.2 current CVS.
1453 * libio/_G_config.h: New file.
1454 * libio/wfileops.c: New file.
1455 * libio/wfiledoalloc.c: New file.
1456 * libio/wgenops.c: New file.
1457 * libio/iofwide.c: New file.
1458 * libio/Makefile.am: Tweaks.
1459 * libio/Makefile.in: Regenerate.
1460 * libio/gen-params: Remove. Generic replacement for this yet undone.
1461 * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h,
1462 libioP.h, stdfiles.c]: Update.
1463 * config/c_io_libio.cc: Tweaks.
1464 * acinclude.m4: Complete hacks to test wide io.
1465 * aclocal.m4: Regenerate.
1466 * configure: Regenerate.
1467 * src/Makefile.am: Update.
1468 * src/Makefile.in: Regenerate.
1469
1470 * math/cargl.c: Remove underscores.
1471
1472 * bits/locale_facets.h: Tweaks. Start adding iconv details
1473 and notes.
1474 * bits/locale_facets.tcc: Tweaks.
1475 * bits/std_cwchar.h: Tweaks.
1476
1477 2000-06-29 scott snyder <snyder@fnal.gov>
1478
1479 * bits/concept_checks.h
1480 (__less_then_comparable_requirement_violation): Only check for <.
1481 * testsuite/25_algorithms/lower_bound.cc: New file.
1482
1483 2000-06-29 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1484
1485 * testsuite/27_io/ostream_manip.cc (test02): Add tests.
1486 * bits/ostream.tcc: Tweak.
1487 * bits/std_fstream.h (basic_filebuf::setbuf): Reset
1488 _M_buf_size_opt too.
1489 * bits/std_streambuf.h (basic_streambuf::~basic_streambuf): Zero
1490 out _M_buf_size_opt.
1491 * bits/std_sstream.h (basic_stringbuf::_M_init_stringbuf): Set
1492 _M_buf_size_opt out here.
1493 * bits/char_traits.h (char_traits::eos): Non standard member
1494 function, uglify to __eos. Return char_type().
1495 * bits/std_ostream.h: Change.
1496
1497 * testsuite/27_io/ostream_seeks.cc: New file.
1498 * testsuite/27_io/ostream_seeks-1.tst: New file.
1499 * testsuite/27_io/istream_unformatted.cc (main): Move test04 and
1500 test05 to...
1501 * testsuite/27_io/istream_seeks.cc: New file.
1502
1503 2000-06-29 Branko Cibej <branko.cibej@hermes.si>
1504
1505 * bits/std_memory.h (auto_ptr_ref): Reworked and defined only if
1506 _GLIBCPP_RESOLVE_LIB_DEFECTS.
1507 (auto_ptr): _M_ptr changed to void*.
1508 (suto_ptr::get): Cast _M_ptr to element type.
1509 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
1510 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
1511 (auto_ptr::operator*): Likewise.
1512 (auto_ptr::operator->): Likewise.
1513 (auto_ptr::release): Likewise.
1514 (auto_ptr::reset): Likewise.
1515 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
1516 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
1517 Define nested auto_ptr_ref unless _GLIBCPP_RESOLVE_LIB_DEFECTS.
1518 Define operator=(auto_ptr_ref) if _GLIBCPP_RESOLVE_LIB_DEFECTS.
1519
1520 2000-06-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1521
1522 * testsuite/27_io/filebuf.cc: Tweak.
1523 * testsuite/27_io/filebuf_members.cc (test_01): Fix.
1524 * config/c_io_libio.cc (__basic_file::~__basic_file): Match libio
1525 filebuf dtor.
1526 (__basic_file::basic_file): Clean, add calls similar to
1527 _IO_file_attach.
1528 (__basic_file::open): Clean.
1529 (__basic_file::sys_open): Clean.
1530
1531 * bits/std_fstream.h: Revert.
1532 * bits/fstream.tcc (filebuf::close()): Revert.
1533 (filebuf::basic_filebuf()): Revert.
1534
1535 2000-06-27 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1536
1537 Update to SGI STL 3.3
1538 * ext/hash_map, ext/hash_set, ext/slist, ext/stl_bvector.h,
1539 ext/stl_rope.h, ext/ropeimpl.h: Update.
1540 * bits/std_bitset.h, bits/std_map, bits/std_memory.h,
1541 bits/stl_algo.h, bits/stl_algobase.h, bits/stl_alloc.h,
1542 bits/stl_config.h, bits/stl_construct.h, bits/stl_deque.h,
1543 bits/stl_function.h, bits/stl_heap.h, bits/stl_iterator.h,
1544 bits/stl_iterator_base.h, bits/stl_list.h, bits/stl_map.h,
1545 bits/stl_multimap.h, bits/stl_multiset.h, bits/stl_numeric.h,
1546 bits/stl_queue.h, bits/stl_set.h, bits/stl_stack.h,
1547 bits/stl_string_fwd.h, bits/stl_threads.h, bits/stl_three.h,
1548 bits/stl_uninitialized.h, bits/stl_vectory.h: Update.
1549
1550 * src/Makefile.am (headers): Add new files.
1551 * src/Makefile.in: Regenerate.
1552 * src/stl-inst.cc (std): Add instantiation for __sink_unused_warning.
1553 * bits/concept_checks.h: New file.
1554 * bits/container_concepts.h: New file.
1555 * bits/sequence_concepts.h: New file.
1556
1557 2000-06-27 H.J. Lu <hjl@gnu.org>
1558 Loren J. Rittle <ljrittle@acm.org>
1559
1560 * mkcheck.in: Add support to print standard flags needed to
1561 test g++ in build tree. Enhance command line error checking.
1562
1563 2000-06-27 Phil Edwards <pme@sourceware.cygnus.com>
1564
1565 * docs/install.html: Fix minor typo as reported.
1566
1567 2000-06-26 Brent Verner <brent@rcfile.org>
1568
1569 * bits/string.tcc (string::rfind): Fix.
1570 * testsuite/21_strings/rfind.cc: New file.
1571
1572 2000-06-26 Anthony Williams <anthony@anthonyw.cjb.net>
1573
1574 * testsuite/21_strings/ctor_copy_dtor.cc: Fixed logic error.
1575
1576 2000-06-26 Branko Cibej <branko.cibej@hermes.si>
1577
1578 * testsuite/27_io/filebuf_members.cc (test_01): Fixed typos.
1579
1580 * mkcheck.in: Make the *.txt and *.tst files writable after
1581 copying them to $TEST_DIR.
1582
1583 * testsuite/27_io/ostream_inserter_arith.cc: Renamed
1584 __TEST_NUMPUT_VERBOSE to TEST_NUMPUT_VERBOSE. Define
1585 TEST_NUMPUT_VERBOSE only if DEBUG_ASSERT.
1586
1587 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1588
1589 * bits/fstream.tcc (basic_filebuf::basic_filebuf(fd)): Use it.
1590 (basic_filebuf::close): Use it.
1591 * bits/std_fstream.h (basic_filebuf): Remove default arguments for
1592 filebuf ctor.
1593 (basic_filebuf): Add _M_fileno_based data member.
1594 As reported by brent verner <brent@rcfile.org>
1595 * testsuite/27_io/filebuf_members.cc: New file.
1596 * testsuite/27_io/filebuf_members-1.tst: New file.
1597
1598 * bits/std_fstream.h: Formatting tweaks.
1599 * testsuite/27_io/ofstream_members.cc: New file.
1600 * testsuite/27_io/ofstream_members-1.tst: New file.
1601 * testsuite/27_io/ifstream_members.cc: New file.
1602 * testsuite/27_io/ifstream_members-1.tst: New file.
1603
1604 2000-06-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1605 Ulrich Drepper <drepper@cygnus.com>
1606
1607 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Add -D_GNU_SOURCE, so
1608 that all the freaky stuff like sincos will be around...
1609
1610 2000-06-22 Branko Cibej <branko.cibej@hermes.si>
1611
1612 * Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
1613
1614 2000-06-22 Steven King <sxking@uswest.net>
1615
1616 * acinclude.m4: Check for sinl, _sinl using 1 parameter.
1617
1618 2000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1619
1620 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
1621 same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
1622 link against libm and don't use -fno-builtins...
1623 * math/mathconf.h: Change up builtin macros to new schema.
1624 * bits/std_cmath.h: And here. Wheee!
1625 * shadow/bits/std_cmath.h: And here.
1626 * acconfig.h: Change up builtin macros here.
1627 * math/cosf.c: Remove.
1628 * math/fabsf.c: Likewise.
1629 * math/sinf.c: Likewise.
1630 * math/sqrtf.c: Likewise.
1631 * math/Makefile.am (EXTRA_DIST): Remove those four files.
1632 * math/Makefile.in: Regenerate.
1633
1634 2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
1635
1636 * testsuite/21_strings/find.cc: Patch.
1637
1638 2000-06-22 Benjamin Kosnik <bkoz@soma.redhat.com>
1639
1640 * acinclude.m4 (GLIBCPP_CHEC_LINKER_FEATURES): Use gcc + -x c++ as
1641 an easy way to get at g++ without having to link in libstdc++.
1642
1643 2000-06-21 Benjamin Kosnik <bkoz@soma.redhat.com>
1644
1645 Fix alpha, powerpc build failures.
1646 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Substantially
1647 re-write. Need to check for both proper declaration when using a
1648 c++ compiler, and "C" linkage when linking. Do both, and if both
1649 exist, then define the HAVE_* bits in config.h.
1650 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE): New, uber-macro. Does all.
1651 (GLIBCPP_CHECK_LINKER_FEATURES): Actually link and run this
1652 program, doh.
1653
1654 2000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
1655
1656 * bits/string.tcc: Fix find.
1657 * testsuite/21_strings/find.cc: Patch.
1658
1659 2000-06-20 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1660
1661 * docs/install.html: Update where to get automake, where to get
1662 binutils.
1663 * acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
1664 builtins.
1665
1666 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
1667
1668 * acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
1669 Add -Werror-implicit-function-declaration instead.
1670
1671 Regenerate with fixed maintainer-tools.
1672 * aclocal.m4: Regenerate.
1673 * configure: Regenerate.
1674 * libio/Makefile.in: Regenerate.
1675 * src/Makefile.in: Regenerate.
1676
1677 2000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
1678
1679 * testsuite/27_io/istream_extractor_arith.cc: Patch.
1680 * bits/locale_factets.tcc: Tweak.
1681
1682 2000-06-19 Raja R Harinath <harinath@cs.umn.edu>
1683
1684 * src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
1685 be overridden on the command line for individual files.
1686
1687 2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
1688
1689 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
1690 AC_LANG_CPLUSPLUS as this tries to link in libstdc++, which we are
1691 building. Use -x c++ instead, which does not attempt to link
1692 libstdc++.
1693
1694 * acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Actually check for
1695 not coring when we hit a try/throw block, which was the problem
1696 with the linker support...
1697
1698 * docs/17_intro/contribute.html: Add bits about getting to the LWG
1699 issues pages.
1700 * docs/documentation.html: Rename link to make more accurate and scary.
1701 * docs/gccrebuild.html: Edit for clarity as these are no longer
1702 separate projects.
1703 * docs/install.html: Add bits about binutils for
1704 -ffunction-sections, -fdata-sections, -Wl,--gc-sections
1705
1706 * configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
1707 * math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
1708 USE_COMPLEX_LONG_DOUBLE.
1709 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
1710 GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
1711 Works around irregularies in powerpc "C" compiler, but a good idea
1712 anyway.
1713
1714 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
1715 New. Merge both old compiler bug checks for complex into this.
1716
1717 2000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
1718
1719 * testsuite/21_strings/find.cc: Empty strings can be found at all
1720 positions. Modified.
1721
1722 2000-06-19 Branko Cibej <branko.cibej@hermes.si>
1723
1724 * testsuite/20_utilities: New directory.
1725 * testsuite/20_utilities/auto_ptr.cc: New file.
1726
1727 2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1728
1729 * src/Makefile.am (string_sources): Simplify, assuming that with
1730 -ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
1731 hacking is not necessary.
1732 (wstring_sources): Same.
1733 (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
1734 -Wl,--gc-sections.
1735 * src/string-inst.cc: Remove macro blocks.
1736 * mkcheck.in (CXX_FLAG): Add bits here.
1737
1738 * src/string-inst.cc: Remove iostream-related string instantiations.
1739 * src/misc-inst.cc: Add here.
1740
1741 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
1742 to WFMT_FLAGS.
1743 * aclocal.m4: Regenerate.
1744 * configure.in: Change up.
1745 * configure: Regenerate.
1746
1747 2000-06-13 Steven King <sxking@uswest.net>
1748
1749 * acinclude.m4: Fixup some of the builtin math tests and add tests for
1750 __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
1751 * acconfig.h: Add entries for fmod*.
1752
1753 2000-06-13 Branko Cibej <branko.cibej@hermes.si>
1754
1755 * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
1756 Test *_MODFF not *_MODF for modf(float, float*).
1757 (modf(float, float*)): Remove reference to _C_legacy.
1758
1759 2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
1760
1761 * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
1762 _GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
1763 superset, and already defined at top level.
1764 * aclocal.m4: Regenerate.
1765 * configure: Regenerate.
1766
1767 * docs/17_intro/contribute.html: Plead with people to use -cp.
1768
1769 2000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
1770
1771 * testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.
1772
1773 * testsuite/27_io/filebuf.cc: Changed calls to
1774 fpos<>._M_position() to implicit calls to operator streamoff().
1775 * testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
1776 as not needed. Revert, as part of standard.
1777 * testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
1778 call to numpunct<>._M_init() with overrides of the appropriate
1779 virtual functions.
1780
1781 * testsuite/27_io/stringstream.cc: Removed unnecessary char *
1782 pointers from test01, so no need to call base(), which isn't
1783 guaranteed to be implemented as iterators may themselves be pointers
1784 * testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
1785 _M_position() - use implicit conversion to streamoff instead
1786
1787 2000-06-13 Thomas Holenstein <thomas@hex.ch>
1788
1789 * bits/stl_iterator.h: Added inline to operators == to >=.
1790
1791 2000-06-13 Brent Verner <brent@rcfile.org>
1792
1793 * bits/streambuf.tcc: repaired _S_copy_streambufs()
1794 * testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
1795
1796 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1797
1798 * bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
1799 members.
1800 * src/locale.cc: Add cwchar include here. Remove incorrect
1801 definitions, and stub them out.
1802 * config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
1803 * config/solaris/solaris2.7/ctype.cc (ctype): Same.
1804 * config/solaris/solaris2.5/ctype.cc (ctype): Same.
1805 * config/newlib/ctype.cc: Same.
1806 * config/gnu-linux/ctype.cc: Same.
1807 * config/bsd/ctype.cc: Same.
1808 * config/aix/ctype.cc: Same.
1809
1810 2000-06-12 Branko Cibej <branko.cibej@hermes.si>
1811
1812 * config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
1813 towupper and towlower to convert wide characters.
1814
1815 2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1816
1817 * mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
1818
1819 2000-06-08 Branko Cibej <branko.cibej@hermes.si>
1820
1821 * acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
1822 sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
1823 * aclocal.m4: Regenerate.
1824 * configure: Regenerate.
1825 * math/cosf.c: New file.
1826 * math/fabsf.c: Likewise.
1827 * math/sinf.c: Likewise.
1828 * math/sqrtf.c: Likewise.
1829 * math/Makefile.am (EXTRA_DIST): Add those four files.
1830 * math/Makefile.in: Regenerate.
1831
1832 2000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
1833
1834 * testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
1835
1836 2000-06-06 Steven King <sxking@uswest.net>
1837
1838 * acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
1839 double and long double. Added defines for HAVE libm math functs for
1840 float and long double.
1841 * aclocal.m4: Added configure checks for builtin math funcs and libm
1842 support for float and long double versions of the math functions.
1843 * config.h.in: Added undefs for math functs.
1844 * configure: Regenerate.
1845 * math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
1846 _GLIBCPP_HAVE_BUILTIN_*.
1847 * bits/std_cmath.h: Added long double support. Use builtins for
1848 float, double and long if available, otherwise, use libm versions if
1849 availible, otherwise, punt.
1850 * shadow/bits/std_cmath.h: ditto
1851
1852 2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1853
1854 * bits/locale_facets.h: Tweak.
1855 * src/locale.cc (codecvt<wchar_t>): Tweak.
1856
1857 * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
1858 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
1859
1860 * bits/basic_string.h: Move data member up.
1861 * src/string-inst.cc: Fix instantiations.
1862 * bits/string.tcc: Fix types.
1863
1864 2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
1865
1866 * testsuite/21_strings/replace.cc (test01): Qualify find with std::.
1867
1868 2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
1869
1870 * bits/std_cwctype.h: Clean.
1871 * bits/std_cwchar.h: Clean, remove cruft.
1872
1873 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
1874 for beginning iconv support.
1875 Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
1876 macro.
1877 * acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
1878 * bits/limits_generic.h: Remove.
1879 * src/gen-num-limits.cc: Same.
1880
1881 * src/locale.cc: Tweaks.
1882
1883 * bits/char_traits.h: Tweaks.
1884
1885 2000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
1886
1887 * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
1888 exponent, scientific formatting issues.
1889 * testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
1890
1891 2000-05-31 Branko Cibej <branko.cibej@hermes.si>
1892
1893 * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
1894 and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
1895
1896 2000-05-31 Nathan Myers <ncm@cantrip.org>
1897
1898 * docs/thanks.html: edit own credits
1899
1900 2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1901
1902 * bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
1903
1904 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
1905
1906 * mkcheck.in (SH_FLAG): Add in -Wl,--rpath -Wl,$LIB_PATH. Tweaks.
1907
1908 2000-05-31 Steven King <sxking@uswest.net>
1909
1910 * shadow/time.h: fix typo
1911 * shadow/wchar.h: ifdef __USE_GNU for wcsdup
1912 * shadow/bits/std_cwchar.h: ditto
1913 * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
1914 and long long.
1915
1916 2000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
1917
1918 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't
1919 available, force --disable. Need to flesh this out; make smarter.
1920 * aclocal.m4: Regenerate.
1921 * configure: Regenerate.
1922
1923 * mkcheck.in: Minor tweaks.
1924 * docs/download.html: Fix typo.
1925
1926 2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
1927
1928 * inclosure: Change to...
1929 * mkinclosure: This.
1930 Fix paths to bash.
1931 * mkcshadow: Fix paths to bash.
1932
1933 * src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
1934 * src/Makefile.in: Regnerate.
1935 * acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
1936 (GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
1937 * aclocal.m4: Regenerate.
1938 * mkcheck.in (INC_PATH): Tweak.
1939
1940 * configure.in: Enable long long by default.
1941 * configure: Regenerate.
1942
1943 * mkcheck.in (LIB_PATH): Revert.
1944
1945 2000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
1946
1947 * config/cpu/i486: New directory.
1948 * config/cpu/i486/bits: New directory.
1949 * config/cpu/i486/bits/atomicity.h: New file.
1950 * config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
1951 'cmpxchgl' asm.
1952 * acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
1953
1954 2000-05-24 Loren J. Rittle <ljrittle@acm.org>
1955
1956 * backward/alloc.h (__default_alloc_template): Only expose
1957 implementation-specific symbol, if it exists in the
1958 configuration.
1959 * backward/iostream.h (ends): Expose symbol.
1960 * backward/strstream.h: New file.
1961 * backward/stream.h: New file.
1962 * backward/ostream.h: New file.
1963 * backward/istream.h: New file.
1964 * backward/fstream.h: New file.
1965 * backward/complex.h: New file.
1966 * backward/iomanip.h: New file.
1967
1968 * mkcheck.in (LIB_PATH): Add -R bits.
1969
1970 * math/carg.c (carg): Replace __atan2 with atan2.
1971
1972 2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
1973
1974 * Makefile.am (TAGS): Construct.
1975 * Makefile.in: Rengerate.
1976 * src/Makefile.am: Tweak.
1977 * src/Makefile.in: Tweak.
1978 * configure.in: Tweak.
1979
1980 * bits/c++config.h: Rename to ...
1981 * bits/c++config: This.
1982 * mkc++config: Adjust.
1983
1984 * m4: Remove.
1985 * m4/lc_message.m4: Merge into acinclude.m4.
1986 * m4/mathfcts.m4: Same.
1987 * m4/stringfcts.m4: Same.
1988 * acinclude.m4: Add here.
1989 * configure: Regnerate.
1990
1991 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
1992 OPTLEVEL. Add FMTFLAGS.
1993 * aclocal.m4: Regenerate.
1994 * src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this has
1995 been disabled due to higher-level Makefiles running amuck over
1996 this bit, and add in FMTFLAGS so that formatting is clear.
1997 * src/Makefile.in: Regenerate.
1998 * configure: Regenerate.
1999
2000 * src/ios.cc (ios_base::sync_with_stdio): Clean up buffers from
2001 initialization.
2002
2003 * docs/download.html: Remove references to Cygwin-specific bits,
2004 as this can now be built natively.
2005 Update with current information.
2006
2007 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
2008
2009 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
2010 -fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
2011 enclose other tests in this macro, including future ones.
2012 * aclocal.m4: Regenerate.
2013 * configure: Regenerate.
2014
2015 * docs/faq/index.html: Update location of libg++ FAQ.
2016 * docs/faq/index.txt: Regenerate.
2017
2018 2000-05-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
2019
2020 * docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
2021
2022 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
2023
2024 * mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
2025
2026 2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
2027
2028 * acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
2029 keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
2030 * aclocal.m4: Regenerate.
2031 * configure: Regenerate.
2032
2033 2000-05-19 Nathan C. Myers <ncm@cantrip.org>
2034
2035 * bits/generic_shadow.h: s/swamp/legacy/
2036
2037 2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
2038
2039 * acinclude.m4: Clean up comments on newer checks.
2040 (GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
2041 pragma support. Remove WERRORSUPPRESS variable, add WERROR.
2042 * aclocal.m4: Regenerate.
2043 * configure: Regenerate.
2044 * Makefile.in: Regenerate.
2045 * libio/Makefile.in: Regenerate.
2046 * math/Makefile.in: Regenerate.
2047 * src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
2048 * src/Makefile.in: Regenerate.
2049 * docs/configopts.html: Document changes to --enable names.
2050
2051 2000-05-18 Chip Salzenberg <chip@valinux.com>
2052
2053 * bits/ostream.tcc (_S_pad_char): Function template should not be
2054 static.
2055 * bits/streambuf.tcc (_S_copy_streambufs): Likewise.
2056 * src/string-inst.cc (__destroy_aux): Instantiate for string*.
2057
2058 2000-05-18 Nathan C. Myers <ncm@cantrip.org>
2059
2060 * mkcshadow: Change C_Swamp to C_legacy.
2061 * shadow/*: Same.
2062 * shadow/bits/*: Same.
2063 s/C_Swamp/C_legacy/g
2064 s/SWAMP/LEGACY/g
2065 s/_Shadow/_shadow/g
2066
2067 2000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
2068
2069 * bits/locale_facets.tcc (num_get::_M_extract): Change char* to
2070 const char*.
2071 * src/string-inst.cc (string::_S_find): Same.
2072
2073 2000-05-18 Benjamin Kosnik <bkoz@gnu.org>
2074
2075 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
2076 --enable-cshadow-headers. Add output messages.
2077 (GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
2078 underscores (like the rest of the enable options.) Add output messages.
2079 * aclocal.m4: Regenerate.
2080 * configure: Regenerate.
2081 * configure.in: Touch.
2082
2083 2000-05-17 Benjamin Kosnik <bkoz@cygnus.com>
2084
2085 * mkcheck.in: Enable shared library testing.
2086
2087 2000-05-17 Nathan C. Myers <ncm@cantrip.org>
2088
2089 * bits/std_cmath.h: fix sqrt(float)
2090
2091 2000-05-16 Loren J. Rittle <ljrittle@acm.org>
2092
2093 * bits/std_cassert.h: Use system_header pragma.
2094 * bits/std_cctype.h: Likewise.
2095 * bits/std_cerrno.h: Likewise.
2096 * bits/std_cfloat.h: Likewise.
2097 * bits/std_climits.h: Likewise.
2098 * bits/std_clocale.h: Likewise.
2099 * bits/std_cmath.h: Likewise.
2100 * bits/std_csetjmp.h: Likewise.
2101 * bits/std_csignal.h: Likewise.
2102 * bits/std_cstdarg.h: Likewise.
2103 * bits/std_cstddef.h: Likewise.
2104 * bits/std_cstdio.h: Likewise.
2105 * bits/std_cstdlib.h: Likewise.
2106 * bits/std_cstring.h: Likewise.
2107 * bits/std_ctime.h: Likewise.
2108 * bits/std_cwchar.h: Likewise.
2109 * bits/std_cwctype.h: Likewise.
2110 * bits/std_exception.h: Likewise.
2111 * bits/std_new.h: Likewise.
2112 * bits/std_typeinfo.h: Likewise.
2113 * shadow/bits/std_cassert.h: Likewise.
2114 * shadow/bits/std_cctype.h: Likewise.
2115 * shadow/bits/std_cerrno.h: Likewise.
2116 * shadow/bits/std_cfloat.h: Likewise.
2117 * shadow/bits/std_climits.h: Likewise.
2118 * shadow/bits/std_clocale.h: Likewise.
2119 * shadow/bits/std_cmath.h: Likewise.
2120 * shadow/bits/std_csetjmp.h: Likewise.
2121 * shadow/bits/std_csignal.h: Likewise.
2122 * shadow/bits/std_cstdarg.h: Likewise.
2123 * shadow/bits/std_cstddef.h: Likewise.
2124 * shadow/bits/std_cstdio.h: Likewise.
2125 * shadow/bits/std_cstdlib.h: Likewise.
2126 * shadow/bits/std_cstring.h: Likewise.
2127 * shadow/bits/std_ctime.h: Likewise.
2128 * shadow/bits/std_cwchar.h: Likewise.
2129 * shadow/bits/std_cwctype.h: Likewise.
2130 * shadow/bits/wrap_libio.h: Likewise.
2131 * shadow/bits/wrap_unistd.h: Likewise.
2132 * shadow/sys/cdefs.h: Likewise.
2133
2134 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
2135
2136 It appears that gcc-2.96 supports the keyword "and" now.
2137 * bits/std_ciso646.h: remove.
2138 * std/ciso646: gut.
2139 * testsuite/17_intro/header_ciso646.c: enable testing.
2140 * src/Makefile.am, src/Makefile.in: remove mention of
2141 bits/std_ciso646.h
2142
2143 2000-05-16 Nathan C. Myers <ncm@cantrip.org>
2144
2145 * mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
2146
2147 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
2148
2149 * acinclude.m4: Fix typo, switch to decaf...
2150 * aclocal.m4: Regenerate.
2151 * configure: Regenerate.
2152
2153 2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
2154
2155 * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
2156 * aclocal.m4: Regenerate.
2157 * configure.in: Call.
2158 * configure: Regenerate.
2159 * docs/configopts.html: Stub documentation.
2160
2161 2000-05-14 Nathan Myers <ncm@cantrip.org>
2162
2163 * mkcshadow: build in more-correct directory, create cshadow/
2164 directory if needed, report progress.
2165
2166 2000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
2167
2168 * src/Makefile.am: Fix tr commands.
2169 * src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
2170 * src/string-inst.cc: Remove extra instantiation of
2171 S::basic_string(S::size_type, C, S::allocator_type const&);
2172 * src/string-inst.cc: Remove extra template keyword.
2173
2174 2000-05-14 Loren J. Rittle <ljrittle@acm.org>
2175
2176 * config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
2177 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
2178 * aclocal.m4: Regenerate.
2179 * configure: Regenerate.
2180 * */Makefile.in: Regenerate.
2181
2182 2000-05-11 Phil Edwards <pme@sourceware.cygnus.com>
2183
2184 * acinclude.m4: Fix minor typo with ctypes, add more sanity to
2185 enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
2186 * aclocal.m4: Regenerate.
2187 * configure.in: Non-blank arguments break fewer Linuxes.
2188 * configure: Regenerate.
2189 * src/Makefile.am: Re-order AC_CXXFLAGS components.
2190 * src/Makefile.in: Regenerate.
2191
2192 2000-05-10 Benjamin Kosnik <bkoz@redhat.com>
2193
2194 * bits/std_cmath.h: Tweaks.
2195 * math/mathconf.h: Tweaks and fixes for HP-UX 11.
2196 (sqrtf): Define away iff !builtin and !in <math.h>.
2197 (sinf): Same.
2198 (cosf): Same.
2199 (fabsf): Same.
2200 At some point this directory should be converted to c++, the
2201 autoconf tests should be run by the c++ compiler (not c), and
2202 <cmath> should be used instead of math.h.
2203 Move declaration of nan() here.
2204 * math/complex-stub.h (cabsl): Remove nan() declaration.
2205
2206 Finish up FreeBSD4.0 support.
2207 * config/bsd/ctype.cc: Scope out toupper, tolower calls.
2208 * config/generic/ctype.cc: And here.
2209 * testsuite/21_strings/char_traits.cc (test02): Guard with
2210 _GLIBCPP_USE_WCHAR_T.
2211
2212 via Phil Edwards <pme@sourceware.cygnus.com>
2213 * bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
2214 * acconfig.h: And here.
2215 * acinclude.m4: Same.
2216 * testsuite/27_io/istream.cc: And here.
2217 * testsuite/27_io/ostream.cc: And here.
2218
2219 2000-05-09 Benjamin Kosnik <bkoz@gnu.org>
2220
2221 * acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
2222 -mcpu=powerpc.
2223 * src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
2224
2225 * config/generic/bits/ctype_specializations.h (ctype<char>::is):
2226 Make more generic.
2227
2228 * config/bsd: New directory.
2229 * config/bsd/ctype.cc: New.
2230 * config/bsd/bits/ctype_base.h (ctype_base): New.
2231 * config/bsd/bits/ctype_specializations.h: New.
2232 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
2233
2234 2000-05-09 Phil Edwards <pme@sourceware.cygnus.com>
2235
2236 * acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
2237 * configure.in: Call.
2238 * src/Makefile.am: Append results of macro to AC_CXXFLAGS.
2239 * aclocal.m4: Regenerate.
2240 * configure: Ditto.
2241 * src/Makefile.in: Ditto.
2242 * docs/configopts.html: Document.
2243 * docs/download.html: Fix typo (close quote).
2244 * docs/footer.html: Update.
2245
2246 2000-05-09 Loren J. Rittle <ljrittle@acm.org>
2247
2248 * backward/iostream.h: Expose endl. Guard wide types.
2249 * src/Makefile.am (headers): Update list to match files.
2250 * src/Makefile.in: Regenerate.
2251
2252 2000-05-09 Vadim Egorov <egorovv@mailandnews.com>
2253 Benjamin Kosnik <bkoz@gnu.org>
2254 Nathan Myers <ncm@cantrip.org>
2255 Dietmar Kuehl <dietmar_kuehl@yahoo.com>
2256
2257 * bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
2258 (basic_streambuf::xsputn): Make consistent.
2259 * testsuite/27_io/filebuf.cc: Add tests.
2260
2261 2000-05-08 Steven King <sxking@uswest.net>
2262
2263 * bits/char_traits.h: Use wchar_t utility functions for
2264 char_traits<wchar_t> methods.
2265 * testsuite/21_string/char_traits.cc: New (test02): test
2266 char_traits<wchar_t>
2267
2268 2000-05-08 Benjamin Kosnik <bkoz@cygnus.com>
2269
2270 * acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
2271
2272 * bits/fstream.tcc (filebuf::_M_init_filebuf): Don't set
2273 _M_buf_size based on macro, instead use _M_buf_size_opt.
2274 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_size_opt.
2275 (basic_streambuf()): Set _M_buf_size_opt.
2276 * testsuite/27_io/filebuf.cc (filebuf): Use _M_buf_size_opt
2277 instead of _M_buf_size.
2278
2279 2000-05-04 Branko Cibej <branko.cibej@hermes.si>
2280
2281 * src/complex_io.cc: Don't instantiate inserters and extractors
2282 for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
2283
2284 2000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
2285 Felix Natter <fnatter@gmx.net>
2286
2287 * docs/footer.html: Update to see if it takes effect.
2288 * docs/thanks.html: More people.
2289 * docs/17_intro/headers_cc.txt: Copy from testsuite, since that can't
2290 be seen from the web pages. Rename for browser-friendliness...
2291 * docs/17_intro/howto.html: ...and update here.
2292 * docs/17_intro/porting-howto.html: Changes from Felix.
2293 * docs/gccrebuild.html: Mention v3->egcs move.
2294 * docs/faq/index.html: Ditto. Also misc tweaks and URL updates.
2295 * docs/faq/index.txt: Regenerate.
2296
2297 2000-05-01 Benjamin Kosnik <bkoz@redhat.com>
2298
2299 * config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
2300 fixes.
2301
2302 2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
2303
2304 * bits/char_traits.h: Fix parameter types.
2305 * bits/string.tcc: Avoid traits_type::move.
2306
2307 2000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
2308
2309 * src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
2310 * src/Makefile.in: Regenerate.
2311 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
2312
2313 2000-04-30 Steven King <sxking@uswest.net>
2314
2315 * bits/locale_facets.h: Fix syntax error.
2316 * bits/std_fstream.h: ditto
2317
2318 2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
2319
2320 * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
2321
2322 * mknumeric_limits (trait_name): Fix copyright notice.
2323 * src/gen-num-limits.cc: Explicitly instantiate epsilon and
2324 round_error data members of struct value. This works around
2325 weak-linking issues on AIX, HPUX.
2326
2327 2000-04-29 Phil Edwards <pme@sourceware.cygnus.com>
2328
2329 * docs/download.html: Add link to list of mirror sites.
2330
2331 2000-04-28 Loren J. Rittle <ljrittle@acm.org>
2332
2333 * mkcheck.in: Rely on exit status instead of the presence of a
2334 core file. Added comments on how/where to save core and exe
2335 files. Move shell wildcards outside quotes and fix core path.
2336
2337 2000-04-27 scott snyder <snyder@fnal.gov>
2338
2339 * src/misc-inst.cc: Explicitly instantiate ifstream and ofstream
2340 classes.
2341
2342 2000-04-26 Nathan C. Myers <ncm@cantrip.org>
2343
2344 * bits/basic_string.h: include <bits/atomicity.h> instead
2345 of <atomicity.h>, and use the uglified names.
2346 * config/cpu/*/atomicity.h: replace with bits/atomicity.h;
2347 uglify names, eliminate dependence on <inttypes.h>.
2348 * src/Makefile.in, src/Makefile.am: refer to correct place
2349 for atomicity.h header.
2350
2351 2000-04-25 Steven King <sxking@uswest.net>
2352
2353 * bits/basic_string.h: Fix syntax error.
2354
2355 2000-04-25 Benjamin Kosnik <bkoz@redhat.com>
2356
2357 * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
2358 USE_LONG_DOUBLE.
2359 (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
2360 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
2361 versions to this as copysignl is needed anyway for these targets.
2362 * math/Makefile.in: Regenerate.
2363
2364 * bits/streambuf.tcc (streambuf::xsgetn): Tweak.
2365 * bits/fstream.tcc (underflow): Cast to libio types.
2366 * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
2367 * config/c_io_libio.cc (seekoff): And here.
2368
2369 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
2370
2371 * mkcheck.in: Report compiler version used for test. Find
2372 the built _G_config.h instead of any old installed version.
2373
2374 2000-04-24 Loren J. Rittle <ljrittle@acm.org>
2375
2376 * config/generic/ctype.cc (do_toupper): Remove dependence on
2377 non-portable/non-existent lookup table.
2378 (do_tolower): Same.
2379
2380 2000-04-24 Nathan Myers <ncm@cantrip.org>
2381
2382 * src/string-inst.cc: More fixing.
2383
2384 2000-04-24 Benjamin Kosnik <bkoz@gnu.org>
2385
2386 * bits/stl_iterator.h: Pedantic fixing.
2387 * bits/std_sstream.h: And here.
2388 * bits/string.tcc: And here.
2389
2390 2000-04-24 Felix Natter <fnatter@gmx.net>
2391
2392 * docs/17_intro/howto.html: Add bits.
2393 * docs/17_intro/porting-howto.html: New file.
2394
2395 2000-04-24 Branko Cibej <branko.cibej@hermes.si>
2396
2397 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
2398 @libinst_wstring_la@ to libinst-wstring.la when specializing for
2399 wchar_t, to empty string otherwise.
2400 * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
2401 (sources): Remove $(string_sources) and $(wstring_sources).
2402 (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
2403 (libstdc___la_DEPENDENCIES): New.
2404 (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
2405
2406 2000-04-20 Benjamin Kosnik <bkoz@redhat.com>
2407
2408 * bits/std_sstream.h: Tweak formatting.
2409 * bits/std_fstream.h: Make types public.
2410
2411 * testsuite/27_io/streambuf.cc: Fix for alpha.
2412
2413 Brad Garcia <bgarcia@laurelnetworks.com>
2414 * bits/locale_facets.h (numpunct::numpunct(size_t)): Fix bool
2415 initialization.
2416 * testsuite/27_io/ios_manip_fmtflags.cc (test02): Add test for
2417 bool formatting.
2418
2419 2000-04-19 Nathan Myers <ncm@cantrip.org>
2420
2421 * src/string-inst: consolidate _S_create,
2422 destroy, leak, clone members into stringMAIN and stringMUTATE
2423 object files.
2424 * src/Makefile.am: Above, and eliminate dependence on
2425 wstring-inst.cc.
2426 * src/wstring-inst.cc: Remove.
2427
2428 2000-04-18 Benjamin Kosnik <bkoz@redhat.com>
2429
2430 * src/Makefile.am (AC_CXXFLAGS): Activate debugging code, again.
2431 Add flags for specialized rules dealing with instantiations.
2432
2433 * src/string-inst.cc: Add instantiations missing from shared
2434 libraries--see stringEQ, stringCONSC.
2435 * src/Makefile.am (wstring_sources): Add.
2436 (string_sources): Same.
2437 * src/Makefile.in: Regenerate.
2438
2439 * stl/*: Integrate contents of this directory into top-level
2440 directories.
2441 * ext/bvector hash_map hash_set rope ropeimpl.h slist
2442 stl_bvector.h stl_hash_fun.h stl_hashtable.h stl_rope.h tree: Add.
2443 * bits/pthread_allocimpl.h std_algorithm.h std_bitset.h
2444 std_deque.h std_functional.h std_iterator.h std_list.h std_map.h
2445 std_memory.h std_numeric.h std_queue.h std_set.h std_stack.h
2446 std_stdexcept.h std_strstream.h std_utility.h std_vector.h
2447 stl_algo.h stl_algobase.h stl_alloc.h stl_config.h stl_construct.h
2448 stl_deque.h stl_function.h stl_heap.h stl_iterator.h
2449 stl_iterator_base.h stl_list.h stl_map.h stl_multimap.h
2450 stl_multiset.h stl_numeric.h stl_pair.h stl_pthread_alloc.h
2451 stl_queue.h stl_range_errors.h stl_raw_storage_iter.h stl_relops.h
2452 stl_set.h stl_stack.h stl_string_fwd.h stl_tempbuf.h stl_threads.h
2453 stl_tree.h stl_uninitialized.h stl_vector.h type_traits.h: Add.
2454 * backward/algo.h algobase.h alloc.h bvector.h defalloc.h deque.h
2455 function.h hash_map.h hash_set.h hashtable.h heap.h iterator.h
2456 list.h map.h multimap.h multiset.h pair.h rope.h set.h slist.h
2457 stack.h tempbuf.h tree.h vector.h: Add.
2458 * README (file): Update.
2459 * docs/documentation.html: README not being found.
2460 * src/Makefile.am (sources): Take out stl directory.
2461 * mkcheck.in (SRC_DIR): And here.
2462 * src/Makefile.in: Regenerate.
2463
2464 2000-04-18 Levente Farkas <lfarkas@mindmaker.hu>
2465
2466 * stl/bits/stl_function.h: Add bits so that const and non-const
2467 both work.
2468
2469 2000-04-18 scott snyder <snyder@fnal.gov>
2470
2471 * stl/bits/stl_map.h (class map): Fix default for _Alloc template
2472 parameter. Get rid of use of __STL_DEFAULT_ALLOCATOR and
2473 __STL_LIMITED_DEFAULT_TEMPLATES macros.
2474 * stl/bits/stl_multimap.h (class multimap): Likewise. Get rid of
2475 use of __STL_DEPENDENT_DEFAULT_TMPL macro.
2476
2477 2000-04-18 scott snyder <snyder@fnal.gov>
2478
2479 * stl/bits/stl_config.h (__STL_DEPENDENT_DEFAULT_TMPL): Deleted
2480 this macro.
2481
2482 * stl/ext/hash_map (class hash_map, class hash_multimap): Get rid
2483 of use of __STL_DEPENDENT_DEFAULT_TMPL macro.
2484 * stl/ext/hash_set (class hash_set, class hash_multiset):
2485 Likewise.
2486 * stl/bits/stl_function.h (struct constant_unary_fun, struct
2487 constant_binary_fun): Likewise.
2488 * stl/bits/stl_queue.h (class queue, class priority_queue): Likewise.
2489 * stl/bits/stl_stack.h (class stack): Likewise.
2490 * stl/bits/stl_set.h (class set): Likewise.
2491 * stl/bits/stl_multiset.h (class multiset): Likewise.
2492
2493 * stl/bits/stl_iterator.h (class reverse_bidirectional_iterator,
2494 class reverse_iterator): Get rid of use of
2495 __STL_LIMITED_DEFAULT_TEMPLATES macro.
2496
2497 * stl/bits/stl_config.h (__STL_DEFAULT_ALLOCATOR): Deleted this
2498 macro.
2499
2500 * stl/bits/stl_deque.h (class deque): Get rid of use of
2501 __STL_DEFAULT_ALLOCATOR macro.
2502 * stl/bits/stl_list.h (class list): Likewise.
2503 * stl/bits/stl_multiset.h (class multiset): Likewise.
2504 * stl/bits/stl_set.h (class set): Likewise.
2505 * stl/bits/stl_string_fwd.h (class basic_string): Likewise.
2506 * stl/bits/stl_tree.h (class _Rb_tree, class rb_tree): Likewise.
2507 * stl/bits/stl_vector.h (class vector): Likewise.
2508 * stl/ext/ropeimpl.h (rotate): Likewise.
2509 * stl/ext/hash_map (class hash_map, class hash_multimap):
2510 Likewise.
2511 * stl/ext/hash_set (class hash_set, class hash_multiset):
2512 Likewise.
2513 * stl/ext/slist (class slist): Likewise.
2514 * stl/ext/stl_bvector.h (class bit_vector): Likewise.
2515 * stl/ext/stl_rope.h (class rope): Likewise.
2516 * src/locale.cc (_Impl): Likewise.
2517 * src/localename.cc (_Impl): Likewise.
2518 * bits/localefwd.h (_Impl): Likewise.
2519
2520 2000-04-18 Phil Edwards <pme@sourceware.cygnus.com>
2521
2522 * docs/install.html: Cleanup, minor changes.
2523 * docs/17_intro/howto.html: Ditto.
2524
2525 2000-04-18 Nathan Myers <ncm@cantrip.org>
2526
2527 * bits/basic_string.h: Remove "inline" from member _S_find.
2528
2529 * src/string-inst.cc: Rewrite to reflect non-inline template
2530 instantiations in string.tcc.
2531
2532 * src/stringADDCS.cc, stringADDPS.cc, stringADDSC.cc, stringADDSP.cc,
2533 stringADDSS.cc, stringBIST.cc, stringBOST.cc, stringCHTR.cc,
2534 stringEQPS.cc, stringEQSP.cc, stringEQSS.cc, stringEXTRA.cc,
2535 stringGEPS.cc, stringGESP.cc, stringGESS.cc, stringGETLI.cc,
2536 stringGTPS.cc, stringGTPS.cc, stringGTSP.cc, stringGTSS.cc,
2537 stringINSER.cc, stringLEPS.cc, stringLESP.cc, stringLESS.cc,
2538 stringLESP.cc, stringLTPS.cc, stringLTPS.cc, stringLTSP.cc,
2539 stringLTSS.cc, stringMAIN.cc, stringNEPS.cc, stringNESP.cc,
2540 stringNESS.cc, stringSCOPY.cc: Remove.
2541 * src/wstringADDCS.cc, etc: Remove.
2542
2543 Benjamin Kosnik <bkoz@haight.constant.com>
2544 * src/Makefile.am: Modify to reflect above.
2545 * src/Makefile.in: Regenerate.
2546
2547 2000-04-17 Benjamin Kosnik <bkoz@cygnus.com>
2548
2549 * docs/install.html (--enable-libstdcxx-v3): Clean up install docs.
2550
2551 2000-04-13 Benjamin Kosnik <bkoz@haight.cygnus.com>
2552
2553 * bits/std_fstream.h (filebuf::sync): Need to use the abstracted
2554 io interface here instead of the libio particulars.
2555
2556 * config/threads-posix.h: Consistency with stl_config.h.
2557
2558 * mkcheck.in (CXX_FLAG): Add DDEBUG_ASSERT back in.
2559
2560 2000-04-13 Loren J. Rittle <ljrittle@acm.org>
2561
2562 * mknumeric_limits: Rename generic type template parameter name
2563 '_T' to '_Tp'.
2564 * stl/bits/type_traits.h: Ditto.
2565
2566 2000-04-06 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
2567
2568 * mkcheck.in (SRC_DIR): Change default mkcheck behavior, so that
2569 it is more useful for --enable-libstdcxx-v3. Use the built
2570 compilers with v3, instead of compilers in PATH, and don't
2571 re-include include directories for checking the install.
2572
2573 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
2574
2575 * src/Makefile.am (AM_CXXFLAGS): Disable NAMESPACES, as this is on
2576 by default when using --enable-libstdcxx-v3.
2577 * src/Makefile.in: Regenerate.
2578 * configure.in: Disable GLIBCPP_ENABLE_NAMESPACES,
2579 GLIBCPP_ENABLE_RELIBGCC for --enable-libstdcxx-v3 flag.
2580 * configure: Regenerate.
2581 * mkcheck.in: Deal with NAMESPACES.
2582
2583 2000-04-05 Petter Urkedal <petter@matfys.lth.se>
2584
2585 * src/cmath.cc: New file...
2586 (pow(*, int)): Define functions...
2587 * src/Makefile.am (sources): ...register file.
2588 * src/Makefile.in: Regenerate.
2589 * bits/std_cmath.h (pow): ...declare functions here, and remove
2590 old definitions.
2591
2592 2000-04-04 Benjamin Kosnik <bkoz@redhat.com>
2593
2594 * acinclude.m4 (GCC_OBJDIR): Tweaks
2595
2596 2000-04-03 Benjamin Kosnik <bkoz@redhat.com>
2597
2598 * acinclude.m4 (GLIBCPP_CHECK_CPU): Add arm configure bits.
2599 * config/cpu/arm: New directory.
2600
2601 Jesper Skov <jskov@redhat.com>
2602 * config/cpu/arm/atomicity.h: New file.
2603
2604 2000-03-31 Benjamin Kosnik <bkoz@redhat.com>
2605
2606 * stl/bits/stl_config.h: Make _STL_THREADS depend on _REENTRANT.
2607 Remove unused bits. Clean.
2608
2609 2000-03-29 Benjamin Kosnik <bkoz@cygnus.com>
2610
2611 * testsuite/25_algorithms: New directory.
2612 * testsuite/25_algorithms/min_max.cc: New file.
2613
2614 2000-03-29 scott snyder <snyder@fnal.gov>
2615
2616 * bits/locale_facets.tcc (do_put): Allow a couple extra digits of
2617 precision beyond that which we get from numeric_limits::digits10.
2618
2619 * stl/bits/stl_algobase.h (max, min): Don't use comparison
2620 operator.
2621
2622 * testsuite/23_containers/bitset_shift.cc: Fix.
2623
2624 * testsuite/27_io/ios_manip_fmtflags.cc (test01): Don't give a
2625 temporary to imbue().
2626
2627 * bits/std_fstream.h (sync): Resync libio's idea of the current
2628 file position with the external file.
2629
2630 2000-03-28 Benjamin Kosnik <bkoz@cygnus.com>
2631
2632 * testsuite/27_io/istream_extractor_arith.cc.cvs: Fix merge
2633 mistake.
2634
2635 * bits/std_fstream.h (filebuf::is_open): Check for _M_file before
2636 attempting calls to it.
2637 * bits/fstream.tcc (ctors): Don't call _M_init_filebuf in
2638 ctors. Instead, call _M_init_filebuf ...
2639 (open): Here, as suggested by 27.8.1.3.
2640 * src/ios.cc (ios_base::Init::Init()): Clean up default filebufs
2641 properly when initializing cout/cin/cerr.
2642
2643 2000-03-27 Russell Davidson <russell@ehess.cnrs-mrs.fr>
2644
2645 * testsuite/23_containers/multiset.cc (main): Clean up for namespaces.
2646 * testsuite/22_locale/ctype_char_members.cc: And here.
2647 * testsuite/27_io/streambuf.cc (streambuf): And here.
2648 * testsuite/27_io/ostream_inserter_char.cc (test06): And here.
2649 * testsuite/27_io/istream_unformatted.cc (test05): And here.
2650 * testsuite/27_io/istream_extractor_arith.cc: And here.
2651 * testsuite/27_io/ios_manip_basefield.cc (test02): And here.
2652 * testsuite/27_io/ios_base_members_static.cc: And here.
2653 * bits/std_climits.h (_CPP_CLIMITS): Fix typo.
2654
2655 2000-03-27 Chris Faylor <cgf@cygnus.com>
2656
2657 * configure.in: Remove setting of CXX if canadian cross.
2658 * configure: Regenerate.
2659
2660 2000-03-27 Nathan Myers <ncm@zembu.com>
2661
2662 * bits/sstream.tcc: Optimize.
2663 * bits/basic_string.h(string::append): Don't inline.
2664 * bits/string.tcc: Move out-of-line.
2665
2666 2000-03-27 Phil Edwards <pme@sourceware.cygnus.com>
2667
2668 * acinclude.m4: (GLIBCPP_CHECK_COMPILER_VERSION) When using <2.96,
2669 define WERRORSUPPRESS so that the inlining warnings won't kill us.
2670 * aclocal.m4: Regenerate.
2671 * configure: Regenerate.
2672 * src/Makefile.am: Use WERRORSUPPRESS for the files that need it.
2673 * src/Makefile.in: Regenerate.
2674
2675 * docs/install.html: Almost complete rewrite.
2676
2677 2000-03-25 Phil Edwards <pme@sourceware.cygnus.com>
2678
2679 * docs/install.html: Explain -Werror problem at "#Werror" mark.
2680 * docs/faq/index.html: Testsuite will die horribly if new libgcc.a
2681 not installed.
2682 * docs/faq/index.txt: Regenerate.
2683
2684 2000-03-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2685
2686 * src/Makefile.am (libio_headers_install): Fix.
2687 * src/Makefile.in: Regenerate.
2688
2689 2000-03-24 Benjamin Kosnik <bkoz@cygnus.com>
2690
2691 * docs/17_intro/RELEASE-NOTES: Fix typos.
2692 * docs/index.html: Update.
2693 * docs/17_intro/BUGS: Update.
2694 * docs/status.html: Update for 2.90.8 release.
2695
2696 2000-03-23 Phil Edwards <pme@sourceware.cygnus.com>
2697
2698 * Makefile.am: Better error message when missing libgcc2.ready.
2699 * Makefile.in: Regenerate.
2700 * acinclude.m4: Fastidious nitpicking reformatting.
2701 * aclocal.m4: Regenerate.
2702 * configure: Regenerate.
2703 * mkcheck.in: Must use same namespace settings as the library being
2704 tested. Also log ST_FLAG, since it's being passed.
2705 * docs/install.html: Add brief chunk on configuration.
2706 * docs/17_intro/RELEASE-NOTES: Fix minor Cygwin typo.
2707 * docs/23_containers/howto.html: Mention MT-safe string.
2708 * docs/faq/index.html: Minor updates.
2709 * docs/faq/index.txt: Regerarate.
2710
2711 2000-03-22 Benjamin Kosnik <bkoz@cygnus.com>
2712
2713 * bits/sstream.tcc (seekoff): Fix for gptr() null cases.
2714 Return newoff.
2715 * bits/fstream.tcc (seekoff): Sync.
2716 (seekpos): Sync.
2717 * testsuite/27_io/ostream_unformatted.cc: New file.
2718 * testsuite/27_io/stringbuf.cc: Fix.
2719 * testsuite/27_io/istream_unformatted.cc (test04): Fix.
2720
2721 * config/newlib/bits/ctype_base.h (ctype_base): Fix.
2722 * config/newlib/ctype.cc (ctype): Change __ctype -> _ctype_.
2723
2724 * src/complex_io.cc (operator>>complex): Tweak.
2725
2726 * config/cpu/alpha/atomicity.h: Explicitly typedef uint32_t, int32_t if
2727 <inttypes.h> does not exist.
2728 * config/cpu/sparc/sparc64/atomicity.h: Same.
2729 * config/cpu/sparc/sparc32/atomicity.h: Same.
2730 * config/cpu/powerpc/atomicity.h: Same.
2731 * config/cpu/i386/atomicity.h: Same.
2732 * config/cpu/generic/atomicity.h: Same.
2733 * configure.in: Check for inttypes.h.
2734 * configure: Regnerate.
2735
2736 2000-03-21 Benjamin Kosnik <bkoz@cygnus.com>
2737
2738 * bits/std_sstream.h (_M_init_stringbuf): Set initial ate position
2739 correctly.
2740 * testsuite/27_io/ostream_inserter_char.cc (test06): Add tests for ate.
2741
2742 * docs/17_intro/RELEASE-NOTES (New): Add bits.
2743
2744 * configure.in: Move AC_CHECK_HEADERS to a point where we know we
2745 are compiling natively.
2746
2747 * libio/*: Update to CVS libio from egcs.
2748
2749 2000-03-21 Phil Edwards <pme@sourceware.cygnus.com>
2750
2751 * docs/download.html: Document use of -z9 for CVS.
2752 * docs/index.html: Add target date (no link) for future snapshot.
2753
2754 2000-03-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2755
2756 * bits/slice_array.h: Rename generic type template parameter name
2757 '_T' to '_Tp'.
2758 * bits/mask_array.h: Ditto
2759
2760 2000-03-20 Benjamin Kosnik <bkoz@cygnus.com>
2761
2762 * *: Change copyright holder from "Cygnus Solutions" to "Free
2763 Software Foundation, Inc."
2764
2765 * docs/configopts.html: Explain what "hella versions" means.
2766 * docs/install.html: Some tweaks--nice job on this Phil.
2767 * docs/documentation.html: Add a direct link to configuration options.
2768
2769 * src/Makefile.am (OPTIMIZE_CXXFLAGS): Add in extras.
2770 * docs/17_intro/RELEASE-NOTES (New): Add.
2771 * bits/c++config.h (__GLIBCPP__): Bump version.
2772
2773 * config/c_io_libio.cc (__basic__file(__c_lock*)): Change argument
2774 type to match prototype.
2775
2776 2000-03-20 Phil Edwards <pme@sourceware.cygnus.com>
2777
2778 * docs/install.html: Update for new funky build procedure. Move
2779 description of 'configure' options to...
2780 * docs/configopts.html: ...here. New file.
2781 * docs/17_intro/howto.html: Updates for new snapshot.
2782 * docs/20_util/howto.html: Ditto.
2783 * docs/21_strings/howto.html: Ditto.
2784 * docs/21_strings/stringtok_std_h.txt: Fix example typos.
2785 * docs/22_locale/howto.html: Ditto.
2786 * docs/23_containers/howto.html: Ditto.
2787 * docs/faq/index.html: Ditto.
2788
2789 2000-03-18 Petter Urkedal <petter@matfys.lth.se>
2790 Benjamin Kosnik <bkoz@gnu.org>
2791
2792 * acinclude.m4 (GLIBCPP_CHECK_COMPLEX_SUPPORT): Move code for main
2793 to the right place.
2794 * aclocal.m4: Regenerate.
2795 * configure: Regenerate.
2796
2797 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
2798 scott snyder <sss@karma.fnal.gov>
2799
2800 * config/c_io_libio.h: Add __c_lock.
2801 * config/threads-no.h: Same here.
2802 * config/threads-posix.h: Add __mutext_type typedef.
2803 * config/c_io_libio.cc: basic_file ctor takes lock arg.
2804 * bits/basic_file.h: Ctor takes lock arg.
2805 * bits/std_fstream.h: Add _M_lock.
2806 * bits/fstream.tcc: Supply it to basic_file ctor.
2807
2808 * mkcheck.in (resultstext): Change [[ to [.
2809
2810 * testsuite/27_io/ostream_inserter_char.cc (test06): Tweak.
2811
2812 * bits/locale_facets.h: Tweak.
2813
2814 * stl/bits/stl_config.h: Fix defines.
2815
2816 2000-03-16 Benjamin Kosnik <bkoz@cygnus.com>
2817
2818 * mkcheck.in (INC_PATH): Add paths from cpu_include_dir to find
2819 atomicity.h
2820 * configure: Regenerate.
2821 * aclocal.m4: Regnerate.
2822
2823 2000-03-16 Nathan Myers <ncm@zembu.com>
2824
2825 * bits/string.tcc: Add MT support.
2826 * bits/basic_string.h: Same.
2827
2828 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
2829
2830 * configure.in: Make --enable-namespaces and -libgcc-rebuild=../..
2831 the defaults.
2832 * configure: Regenerate.
2833
2834 * config/solaris/solaris2.7/ctype.cc: Fix unsigned/signed comparison.
2835
2836 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
2837
2838 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): If Sol2.5 ctype is found, keep
2839 checking for 2.[67]. (GLIBCPP_ENABLE_RELIBGCC): No longer ignore
2840 any defaults passed in.
2841 * aclocal.m4: Regenerate.
2842
2843 2000-03-16 Phil Edwards <pme@sourceware.cygnus.com>
2844
2845 * mkcheck.in: Report total successes and failures.
2846
2847 2000-03-15 Benjamin Kosnik <bkoz@cygnus.com>
2848
2849 * config/cpu: New directory, intended to be used to provide
2850 cpu-specific configuration files. In particular, assembly language
2851 primitives for thread safety.
2852 * config/cpu/alpha: Populate.
2853 * config/cpu/alpha/atomicity.h: New file.
2854 * config/cpu/arm: Populate.
2855 * config/cpu/generic: Populate.
2856 * config/cpu/generic/atomicity.h: New file.
2857 * config/cpu/hppa: Populate.
2858 * config/cpu/i386: Populate.
2859 * config/cpu/i386/atomicity.h: New file, take from i486.
2860 * config/cpu/m68k: Populate.
2861 * config/cpu/mips: Populate.
2862 * config/cpu/powerpc: Populate.
2863 * config/cpu/powerpc/atomicity.h: New file.
2864 * config/cpu/sparc: Populate.
2865 * config/cpu/sparc/sparc32: Populate.
2866 * config/cpu/sparc/sparc64: Populate.
2867 * config/cpu/sparc/sparc32/atomicity.h: New file.
2868 * config/cpu/sparc/sparc64/atomicity.h: New file.
2869
2870 * src/Makefile.am (myinstallheaders): Add install routines.
2871 * acinclude.m4 (GLIBCPP_CHECK_CPU):Add configuration for the
2872 cpu dir.
2873 * configure.in: Add.
2874
2875 * config/default: Adopt glibc naming conventions, and so move to
2876 * config/generic: Here.
2877 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Modify default case to generic.
2878
2879 2000-03-15 Bill Thompson <billt@toast.net>
2880
2881 * testsuite/27_io/ostream_inserter_char.cc (test06): Add test.
2882
2883 2000-03-14 Phil Edwards <pme@sourceware.cygnus.com>
2884
2885 * docs/17_intro/howto.html: Add missing "TOC" entry, and new section.
2886
2887 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Fixup.
2888 * aclocal.m4: Regenerate.
2889 * configure: Regenerate.
2890
2891 2000-03-13 scott snyder <snyder@fnal.gov>
2892 Jason Merrill <jason@cygnus.com>
2893
2894 * bits/locale_facets.h (class ctype, class ctype<char>, class
2895 ctype<wchar_t>): More mask fixes.
2896 * testsuite/22_locale/ctype.cc: Test for the problem.
2897
2898 2000-03-13 Benjamin Kosnik <bkoz@cygnus.com>
2899
2900 * acconfig.h: Add bits.
2901 * configure.in: Move AM_PROG_LIBTOOL up in file.
2902 Tweak cross compiling info.
2903 * configure: Regenerate.
2904
2905 * mknumeric_limits (XCOMPILE): Echo compilation line for
2906 gen-num-limits.cc
2907
2908 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add aix checks.
2909 * aclocal.m4: Regenerate.
2910 * configure: Regenerate.
2911 * config/aix/ctype.cc (ctype): Tweak.
2912 * config/aix/bits/ctype_base.h (ctype_base): Tweak.
2913 * config/aix/bits/ctype_specializations.h: New file.
2914
2915 2000-03-10 scott snyder <snyder@fnal.gov>
2916
2917 * stl/bits/stl_vector.h (_M_assign_aux): Fix for __normal_iterator
2918 conversions.
2919 * testsuite/23_containers/vector_modifiers.cc (test01): Add a
2920 regression test for the problem.
2921
2922 2000-03-09 Benjamin Kosnik <bkoz@fidel.cygnus.com>
2923
2924 * testsuite/27_io/streambuf.cc (class testbuf): Same here.
2925 * bits/fpos.h: And here.
2926 * bits/std_ostream.h: Same here.
2927 * bits/std_istream.h: Same here.
2928 * bits/basic_ios.h: Same here.
2929 * bits/std_fstream.h: Same here.
2930 * bits/sbuf_iter.h (std): Here too.
2931 * bits/std_sstream.h: Make types public.
2932
2933 * src/misc-inst.cc: Use size_t instead of unsigned int.
2934 * bits/locale_facets.tcc (_S_format): For now, cast to char. I
2935 suppose this should be ctype::narrow... all the ctype<wchar_t>
2936 stuff needs to be cleaned up.
2937
2938 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
2939
2940 * docs/gentop: Remove entire directory, finally.
2941
2942 2000-03-09 scott snyder <snyder@fnal.gov>
2943
2944 * bits/std_cmath.h (modf): Fix pointer overrun.
2945 * testsuite/26_numerics/c_math.cc (test04, main): Add a regression
2946 test for the problem.
2947
2948 2000-03-09 Phil Edwards <pme@sourceware.cygnus.com>
2949
2950 Looks like changes to the #include'd files must be followed by a
2951 change to the #include'ing files to take effect. Caveat emptor.
2952 * docs/header.html: New file, for server-side include.
2953 * docs/footer.html: New file, for server-side include.
2954 * docs/documentation.html: Change to use SSI.
2955 * docs/download.html: Ditto.
2956 * docs/index.html: Ditto.
2957 * docs/mail.html: Ditto.
2958 * docs/status.html: Ditto.
2959 * docs/thanks.html: Ditto, plus minor updates.
2960 * docs/how.html: Remove.
2961
2962 2000-03-09 Benjamin Kosnik <bkoz@gnu.org>
2963
2964 Preliminary alpha-linux support.
2965 * src/locale.cc (ctype<wchar_t>): Use correct types...
2966 * bits/locale_facets.h (ctype<char>): Add __table_type typedef.
2967 (ctype<wchar_t>): Same.
2968 * bits/locale_facets.h (ctype<wchar_t>): Have char and wchar_t
2969 types match for table_size (size_t).
2970
2971 * config/gnu-linux/ctype.cc (ctype): Change char_type to wchar_t
2972 as per char specialization.
2973 * config/*/ctype.cc: Same.
2974
2975 2000-03-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2976
2977 * bits/locale_facets.h (_Ctype<>::mask): Import from base class
2978 _Ctype_nois<>. Template base classes are never examinated in
2979 first-phase name-lookup.
2980
2981 2000-03-08 Benjamin Kosnik <bkoz@gnu.org>
2982
2983 Add Solaris 2.5.1 support.
2984 * config/solaris/solaris2.5/bits/ctype_base.h (ctype_base): And here.
2985 * config/solaris/solaris2.5/ctype.cc: Fixup.
2986 * config/solaris/solaris2.5/bits/ctype_specializations.h: Add.
2987 * acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bits for solaris2.5.1.
2988 * aclocal.m4: Regenerate.
2989 * configure: Regenerate.
2990
2991 * config/default/ctype.cc (ctype): Fixup.
2992
2993 2000-03-07 Benjamin Kosnik <bkoz@blues.cygnus.com>
2994
2995 * testsuite/27_io/filebuf.cc: Activate init code from yesterday...
2996 * testsuite/27_io/ostream_inserter_arith.cc (testcases): Fix for
2997 non-wchar_t case.
2998
2999 2000-03-07 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3000
3001 * bits/cpp_type_traits.h: Expand on this file purpose.
3002
3003 2000-03-06 Benjamin Kosnik <bkoz@gnu.org>
3004
3005 * bits/locale_facets.h (ctype<char>): Remove static members, and
3006 re-work initialization code.
3007 (ctype<wchar_t>): Same.
3008 Move _S_touppper to _M_toupper and initialize in ctor.
3009 Move _S_tolower to _M_tolower and initialize in ctor.
3010 Move _S_table to _M_ctable and intialize in ctor.
3011 * bits/locale_facets.h (std): And here.
3012 * src/locale.cc (std): Tweak.
3013 * config/gnu-linux/ctype.cc: Change initialization here.
3014 * config/newlib/ctype.cc: And here.
3015 * config/solaris/solaris2.7/ctype.cc: And here.
3016 * config/solaris/solaris2.6/ctype.cc: And here.
3017
3018 * bits/localefwd.h: Tweak.
3019 * bits/std_streambuf.h: Tweak formatting.
3020
3021 * testsuite/27_io/filebuf.cc: Remove BUFSIZ dependancies.
3022
3023 2000-03-05 Chip Salzenberg <chip@valinux.com>
3024
3025 * src/misc-inst.cc (basic_iostream<>): Instantiate.
3026
3027 2000-03-02 Phil Edwards <pme@sourceware.cygnus.com>
3028 Kevin Atkinson <kevinatk@home.com>
3029
3030 Initial grab of SGI's strstream implementation with minor
3031 modifications.
3032 * src/strstream.cc: New file.
3033 * std/strstream: New file.
3034 * stl/bits/std_strstream.h: New file.
3035 * bits/std_streambuf.h: Add public access.
3036 * src/Makefile.am: Add strstream sources to list of dependancies.
3037 * src/Makefile.in: Regenerate.
3038
3039 2000-03-03 2000 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3040
3041 * bits/valarray_meta.h: Fix typo.
3042
3043 2000-03-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3044 Chip Salzenberg <chip@valinux.com>
3045 Petter Urkedal <petter@matfys.lth.se>
3046
3047 * src/Makefile.am (myinstallheaders): Hack to avoid
3048 `for i in ; do'.
3049 * src/Makefile.in: Regenerate.
3050
3051 2000-03-02 Chip Salzenberg <chip@valinux.com>
3052
3053 * libio/Makefile.an, math/Makefile.an, src/Makefile.am
3054 (LINK): Put quotes around "$(CC)" for libtool link mode,
3055 so libtool will use "-B" options during GCC bootstrap.
3056 * */Makefile.in: Regenerate.
3057
3058 2000-03-02 Petter Urkedal <petter@matfys.lth.se>
3059
3060 * config/c_io_libio.h: Enclose it all in ::std.
3061 * bits/basic_string.h (basic_string<>): Make types and
3062 `npos' public.
3063 * mkc++config: Truncate output file before writing.
3064
3065 2000-03-01 Benjamin Kosnik <bkoz@gnu.org>
3066
3067 * math/cabsf.c (__mycabsf): Rename to cabsf.
3068 * math/cabs.c (__mycabs): Rename to cabs.
3069
3070 2000-02-29 LLeweLLyn Reese <llewelly@198.dsl.xmission.com>
3071
3072 * bits/basic_string.h: Move declarations of __out_of_range(),
3073 __length_error() and accompanying macros ...
3074 * bits/exception_support.h: here. (Newly created file).
3075 * bits/basic_string.h: #include <bits/exception_support.h>
3076 * stl/bits/stl_vector.h: #include <bits/exception_support.h>
3077 * src/Makefile.am (headers): Add.
3078 * src/Makefile.in: Regenerate.
3079
3080 2000-02-29 Benjamin Kosnik <bkoz@cygnus.com>
3081
3082 * bits/cpp_type_traits.h: Rename structs so they don't clash with
3083 type_traits.h.
3084 * bits/valarray_array.h: Synch. Fix typos.
3085
3086 * libio/Makefile.am: Change to only compile source files that
3087 config/c_io_libio.cc actually needs.
3088 * libio/Makefile.in: Regnerate.
3089 * libio/PlotFile.hes SFile.h builtinbuf.h editbuf.h floatconv.c
3090 floatio.h fstream.h indstream.h iofclose.c iofdopen.c iofeof.c
3091 ioferror.c iofflush.c iofgetpos.c iofgets.c iofopen.c iofprintf.c
3092 iofputs.c iofread.c iofscanf.c iofsetpos.c ioftell.c iofwrite.c
3093 iogetc.c iogetdelim.c iogetline.c iogets.c ioignore.c iomanip.h
3094 iopadn.c ioperror.c iopopen.c ioprims.c ioprintf.c ioputc.c
3095 ioputs.c ioscanf.c ioseekoff.c ioseekpos.c iosetbuffer.c
3096 iosetvbuf.c iosprintf.c iosscanf.c iostream.h iostrerror.c
3097 ioungetc.c iovfprintf.c iovfscanf.c iovsprintf.c iovsscanf.c
3098 istream.h list.out ostream.h outfloat.c parsestream.h peekc.c
3099 pfstream.h procbuf.h stdiostream.h stream.h streambuf.h strfile.h
3100 strops.c strstream.h: Delete.
3101
3102 * bits/basic_file.h: Stub out or delete unused bits in this
3103 interface.
3104 (filepos_beg): Remove.
3105 (filepos_cur): Remove.
3106 (filepos_valid): Remove.
3107 * config/c_io_libio.cc: Resynch with the changes to basic_file.
3108
3109 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3110
3111 * bits/cpp_type_traits.h: Correct typo.
3112
3113 2000-02-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3114
3115 * bits/cpp_type_traits.h: New file.
3116
3117 * bits/valarray_array.h: Tweak. #include <bits/cpp_type_traits.h>
3118 Improve array construction.
3119 (_Array_default_ctor): New dispatcher class.
3120 (__valarray_default_construct): New function.
3121 (_Array_copy_ctor): New dispatcher class.
3122 (__valarray_copy_construct): New function.
3123 (_Array<>::free_data): Remove.
3124
3125 * src/Makefile.am (headers): Add cpp_type_traits.h
3126 * src/Makefile.in: Regenerate.
3127
3128 2000-02-28 Benjamin Kosnik <bkoz@cygnus.com>
3129
3130 Prune libio directory to match files in libio/Makefile.
3131 * libio/PlotFile.cc,indstream.cc, isgetsb.cc, sbform.cc,
3132 stream.cc, SFile.cc, ioassign.cc, isscan.cc, sbgetline.cc,
3133 streambuf.cc, builtinbuf.cc, ioextend.cc, osform.cc, sbscan.cc,
3134 strstream.cc, editbuf.cc, iomanip.cc, parsestream.cc,
3135 stdiostream.cc, filebuf.cc, iostream.cc, pfstream.cc,
3136 stdstrbufs.cc, fstream.cc, isgetline.cc, procbuf.cc,
3137 stdstreams.cc: Remove.
3138 * libio/floatio.h, iolibio.h, iostdio.h, iostreamP.h: Remove.
3139 * libio/iofflush_u.c: Remove.
3140
3141 * libio/dbz: Remove.
3142 * libio/include: Remove.
3143 * libio/stdio: Remove.
3144 * libio/tests: Remove.
3145 * libio/testsuite: Remove.
3146
3147 * config/c_io_libio.cc: Add fcntl.h include for Solaris.
3148
3149 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add bits.
3150 * configure.in: Replace 'grep -e' with 'grep' for Solaris.
3151 * configure: Regenerate.
3152
3153 2000-02-25 Benjamin Kosnik <bkoz@gnu.org>
3154
3155 Abstract out the underlying "C" io bits.
3156 * bits/std_new.h: Remove <stl_config> include, as well as <cstddef>.
3157 * stl/bits/stl_string_fwd.h: Remove <stddef> include.
3158 * bits/std_cwchar.h: Wrap with _GLIBCPP_USE_WCHAR_T guards. Don't
3159 include <cstddef>.
3160 * stl/bits/stl_config.h: Don't include _G_config.h.
3161
3162 * bits/basic_file.h: Allow for non-inheritance based __basic_files.
3163 * config/c_io_libio.h (_GLIBCPP_BASIC_FILE_INHERITANCE): Define.
3164 * config/c_io_libio.cc: Tweak.
3165
3166 * src/Makefile.am (TOPLEVEL_INCLUDES): Add includedir.
3167 * src/Makefile.in: Regenerate.
3168 * Makefile.am (AM_MAKEFLAGS): Define includedir so that
3169 prefix/include files will be picked up.
3170 * Makefile.in: Regenerate.
3171 * math/Makefile.am (TOPLEVEL_INCLUDES): And here.
3172 * libio/Makefile.am (TOPLEVEL_INCLUDES): And here.
3173
3174 * bits/std_ios.h: Include <bits/c++io.h> instead of libio.
3175 * bits/fpos.h: And here.
3176 * bits/basic_file.h (get_fileno): Move definition from ...
3177 * src/basic_file.cc (std): To here.
3178 * bits/fpos.h: Move types for streamoff, streampos to..
3179 * bits/basic_file.h: Move __c_file_type and fpos typedefs to...
3180 * config/c_io_libio.h: ...here.
3181 (_GLIBCPP_[BOOLALPHA, HEX, DEC, FIXED, INTERNAL, LEFT, OCT, RIGHT,
3182 SCIENTIFIC, SHOWBASE, SHOWPOINT, SHOWPOS, SKIPWS, UNITBUF,
3183 UPPERCASE, ADJUSTFIELD, BASEFIELD, FLOATFIELD, BADBIT, EOFBIT,
3184 FAILBIT, GOODBIT, APP, ATE, BINARY, IN, OUT, TRUNC): New macros to
3185 abstract out bits in ios_base.
3186 * bits/ios_base.h: Re-macrofy.
3187 * src/basic_file.cc : Rename, move to
3188 * config/c_io_libio.cc: Here.
3189 * config/c_io_libio.h: New file. Include libio.
3190 * bits/c++config.h: Don't define _GLIBCPP_USE_LIBIO.
3191 * configure.in (blddir): Add enabling bits for GLIBCPP_ENABLE_CSTDIO.
3192 * configure: Regenerate.
3193 * src/Makefile.am (sources): Take out basic_file.cc and add c++io.cc.
3194 (generated_headers): Add c++io.h
3195 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New function to select
3196 underlying "C" io library.
3197 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Roll functionality into
3198 GLIBCPP_ENABLE_CSTDIO.
3199
3200 * configure.in: Add configure bits for cross compiling non-newlib
3201 targets. .
3202 GLIBCPP_CHECK_COMPILER_VERSION: Take out this test for this
3203 target, as we assume g++ support is not the limiting factor.
3204 GLIBCPP_CHECK_LIBIO: Same, know we don't need libio.
3205 * configure: Regenerate.
3206
3207 2000-02-22 Benjamin Kosnik <bkoz@cygnus.com>
3208
3209 * Makefile.am (INTERFACE): Define.
3210 * Makefile.in: Regenerate.
3211 * libio/ChangeLog: Add entry.
3212
3213 2000-02-21 Benjamin Kosnik <bkoz@cygnus.com>
3214
3215 * docs/install.html: Update install directions.
3216
3217 * docs/status.html: Fix sidebar to be consistent.
3218 * docs/thanks.html: Same.
3219 * docs/links.html: Same.
3220 * docs/mail.html: Same.
3221 * docs/download.html: Same.
3222
3223 * testsuite/27_io/filebuf.cc: Change BUFSIZ to buffer_size, and
3224 kill the macro BUFSIZ. I think the solaris fails lie elsewhere
3225 however, in the ctype_char_members.cc fail (for instance.)
3226 * testsuite/17_intro/headers.cc: Remove extraneous fails for hosts
3227 that do not have wchar_t enabled.
3228 * testsuite/27_io/ostream_inserter_arith.cc (struct _TestCase):
3229 Same here.
3230 * testsuite/27_io/iostream_objects.cc: And here.
3231
3232 * libio/gen-params (CONFIG_NM): Specifically add in nm as the
3233 default CONFIG_NM.
3234
3235 2000-02-18 Benjamin Kosnik <bkoz@haight.constant.com>
3236 Tom Tromey <tromey@cygnus.com>
3237
3238 * configure.in: Manually add MULTISUBDIR.
3239 * configure: Regenerate.
3240 * src/Makefile.am (MULTISUBDIR): Add the lesser evil of Tom's two
3241 "Eww" hacks to get multilib installs working correctly.
3242 ($(headers): Test for MULTISUBDIR before installing.
3243 * Makefile.am (AM_MAKEFLAGS): Don't define MULTISUBDIR, instead
3244 have configure hack it in.
3245 * Makefile.in: Regenerate.
3246 * acinclude.m4 (GLIBCPP_CXXFLAGS): Tweak wording.
3247 Add enabling bits for native Cygwin ctypes, and other newlib-based
3248 Oses.
3249
3250 2000-02-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3251
3252 * mkc++config (OUT_H): Remove EOF in cygwin.
3253 * acinclude.m4 (LIBS): Tweaks to allow cygwin to configure.
3254
3255 Tom Tromey <tromey@cygnus.com>
3256 * src/Makefile.am: Tweaks for installing multilibs.
3257
3258 2000-02-17 Benjamin Kosnik <bkoz@cygnus.com>
3259
3260 * src/Makefile.am:
3261 (toolexeclib_LTLIBRARIES): Use this instead of lib_LTLIBRARIES.
3262 Add USE_LIBDIR bits here, not...
3263 * src/Makefile.in: Regenerate.
3264 * Makefile.am: ...here.
3265 * Makefile.in: Regenerate.
3266
3267 2000-02-17 Benjamin Kosnik <bkoz@gnu.org>
3268
3269 * acinclude.m4 (LIBS): Fix typos.
3270 * configure.in: _GLIBCPP_BUGGY_FLOAT_COMPLEX,
3271 _GLIBCPP_BUGGY_COMPLEX for crosses.
3272 * src/Makefile.am (std_headers): Add libio.h as install include,
3273 as with _G_config.h
3274 * src/Makefile.in: Regenerate.
3275
3276 * mkcheck.in: Add bits to set CXX to cross compiler.
3277
3278 * src/complex_io.cc: Tweak.
3279 * configure.in: _GLIBCPP_BUGGY_COMPLEX for crosses.
3280 * configure: Regenerate.
3281
3282 * config/newlib/ctype.cc: Tweaks.
3283 * config/newlib/bits/ctype_base.h (ctype_base): Set mask to char,
3284 not const char.
3285 * src/complex_io.cc (operator>>(istream, complex): Define out if
3286 BUGGY_COMPLEX.
3287
3288 2000-02-16 Benjamin Kosnik <bkoz@cygnus.com>
3289
3290 * config/newlib/bits/ctype_base.h: Correct _S_table.
3291
3292 Reconfigure ctype support for "C" libraries that don't use arrays.
3293 * testsuite/22_locale/ctype_char_members.cc: New file. Test for
3294 basic ctype<char> functionality.
3295 * src/locale.cc: Move host-specific ctype functions that are not
3296 inlines to config/*/ctype.cc files.
3297 (ctype<char>::do_tolower): For instance.
3298 (ctype<char>::do_toupper): For instance.
3299 (ctype<wchar_t>::do_tolower): For instance.
3300 (ctype<wchar_t>::do_toupper): For instance.
3301 * config/gnu-linux/ctype.cc: Modify.
3302 * config/default/ctype.cc: Modify.
3303 * config/newlib/ctype.cc: Modify.
3304 * config/solaris/solaris2.6/ctype.cc: Modify.
3305 * config/solaris/solaris2.7/ctype.cc: Modify.
3306
3307 * bits/locale_facets.h (ctype<char>::is): Mark inline, move
3308 out-of-line.
3309 (ctype<char>::scan_is): Here too.
3310 (ctype<char>::scan_not): Here too.
3311 Move out of line defs to config/*/bits/ctype_specializations.h.
3312 * config/gnu-linux/bits/ctype_specializations.h: ...here. New file.
3313 * config/default/bits/ctype_specializations.h: ...here. New file.
3314 * config/newlib/bits/ctype_specializations.h: ...here. New file.
3315 * config/solaris/solaris2.6/bits/ctype_specializations.h: New file.
3316 * config/solaris/solaris2.7/bits/ctype_specializations.h: New file.
3317 * src/Makefile.am (headers): Add ctype_specializations.h.
3318 * src/Makefile.in: Regenerate.
3319
3320 Aaron Weiss <weiss@clearway.com>
3321 * Makefile.am (AM_MAKEFLAGS): Add NM_FOR_BUILD, NM_FOR_TARGET, and
3322 CONFIG_NM for Solaris builds.
3323 * Makefile.in: Regenerate.
3324
3325 * src/locale.cc: Tweak formatting.
3326
3327 2000-02-15 Benjamin Kosnik <bkoz@cygnus.com>
3328
3329 Jim Parsons <parsons@clearway.com>
3330 * testsuite/27_io/istream_unformatted.cc (test06): Add test.
3331 * bits/istream.tcc (read): Set failbit if !good(). Don't increment
3332 gcount if eof.
3333 (readsome): Same.
3334
3335 Michel Decima <michel.decima@cnet.francetelecom.fr>
3336 * testsuite/27_io/streambuf.cc: Add test.
3337 * bits/streambuf.tcc (xsgetn): Don't test for valid mode.
3338 (xsputn): Same.
3339
3340 * src/Makefile.am (AM_CXXFLAGS): Pass down AC_CXXFLAGS,
3341 OPTIMIZE_CXXFLAGS, etc. So --enable-debug and --enable-namespaces
3342 will work correctly, for instance.
3343 * src/Makefile.in: Regenerate.
3344
3345 * bits/locale_facets.h: Fix merge error.
3346 (num_put::put(unsigned long long): And here.
3347 * mknumeric_limits (trait_name): Same.
3348
3349 2000-02-15 Chip Salzenberg <chip@valinux.com>
3350
3351 Support 'configure --enable-long-long'.
3352 * bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
3353 * stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
3354 * acconfig.h (_GLIBCPP_USE_LONG_LONG): Add. Default to undef.
3355 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
3356 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
3357
3358 * aclocal.m4: Regenerate.
3359 * config.h.in: Regenerate.
3360 * configure: Regenerate.
3361
3362 2000-02-15 Chip Salzenberg <chip@valinux.com>
3363
3364 Improve (complete?) 'long long' support.
3365 * mknumeric_limits: Call $CXX with $CPPFLAGS. Define statics
3366 for {,unsigned} long long if the limits header declares them.
3367 * src/gen-num-limits.cc: Include <bits/c++config.h> early.
3368 (__USE_GNU, _GNU_SOURCE): Define if _GLIBC_USE_LONG_LONG.
3369 (long long, unsigned long long): Gen limits if _GLIBC_USE_LONG_LONG.
3370 * bits/locale_facets.h (num_get<>::get(..., long long &)): Define.
3371 (num_put<>::put(..., long long)): Likewise.
3372 (num_put<>::put(..., unsigned long long)): Likewise.
3373 * bits/locale_facets.tcc (_S_format): Rename from _S_format_long.
3374 Templatize last parameter to support 'long long'.
3375 (num_put<>::put(...)): Call _S_format with new name.
3376 (num_put<>::put(..., long long)): Define.
3377 (num_put<>::put(..., unsigned long long)): Likewise.
3378 * src/locale-inst.cc (_S_format): Instantiate under new name.
3379
3380 2000-02-15 Petter Urkedal <petter@matfys.lth.se>
3381
3382 * src/complex.cc (operator<<, operator>>): Moved from here...
3383 * src/complex_io.cc: ...to new file.
3384 (operator>>): Stub replaced by the real thing.
3385 * src/Makefile.am (sources): Inserted complex_io.cc.
3386 * src/Makefile.in: Regenerate.
3387 * testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
3388
3389 2000-02-14 Benjamin Kosnik <bkoz@gnu.org>
3390
3391 Add in ctype information for newlib "C" libraries.
3392 * config/newlib: New directory
3393 * config/newlib/bits/ctype_base.h: New file.
3394 * config/newlib/ctype.cc: New file.
3395
3396 * ctype/config/linux/*: Rename, move to...
3397 * ctype/config/gnu-linux/*: Here.
3398
3399 Finish off multilib work.
3400 * configure.in: Don't set CXX if not Canadian cross.
3401 * configure: Regenerate.
3402 * acinclude.m4 (GLIBCPP_CHECK_LIBIO): Tweak messages.
3403 * aclocal.m4: Regenerate.
3404 * config.h.in: Regenerate.
3405
3406 * install-sh: Remove, as AC_CONFIG_AUX_DIR(..) picks this out of
3407 the top-level gcc directory now.
3408 * mkinstalldirs: Remove.
3409 * missing: Remove
3410 * ltconfig: Remove.
3411 * ltmain.sh: Remove.
3412 * config.guess: Remove.
3413 * config.sub: Remove.
3414
3415 2000-02-13 Benjamin Kosnik <bkoz@cygnus.com>
3416
3417 * configure.in (glibcpp_basedir): Add glibcpp_basedir.
3418 * Makefile.am: Move mutlilib stuff to src/Makefile.am.
3419 * Makefile.in: Regenerate.
3420 * src/Makefile.am: Add multilib bits.
3421 * src/Makefile.in: Regenerate.
3422
3423 2000-02-12 Benjamin Kosnik <bkoz@cygnus.com>
3424
3425 * configure.in: Clean, add some multilib support.
3426 * configure: Regenerate.
3427 * configure.host: New file.
3428
3429 * acinclude.m4: GLIBCPP_CHECK_LIBIO. Take bits from configure.in and
3430 roll a new function, checks for presence of libio.
3431 GLIBCPP_CHECK_COMPILER_VERSION: Same.
3432 GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT: Same.
3433 GLIBCPP_CHECK_MATH_SUPPORT: Same.
3434 GLIBCPP_CHECK_WCHAR_T_SUPPORT: Same.
3435 GLIBCPP_CHECK_LIBIO: Same.
3436 GLIBCPP_CHECK_CTYPE: Same.
3437 * aclocal.m4: Regenerate.
3438 * config.h.in: Regenerate.
3439
3440 * Makefile.am: Tweaks.
3441 * Makefile.in: Regenerate.
3442
3443 2000-02-11 Benjamin Kosnik <bkoz@cygnus.com>
3444
3445 * configure.in: Make outputing the libio/Makefile
3446 conditional. Haha, yeah right. Anyway, we instead do this thing
3447 where if libio is found, then we build a null library, as there is
3448 no point in duplicating the found libio.
3449 * Makefile.am: Tweak.
3450 * Makefile: Regenerate.
3451 * libio/Makefile.am: Add _G_config.h stuff. Now cross compilers
3452 are happy happy happy.
3453 * libio/Makefile.am: Regenerate.
3454 * libio/gen-params: New file.
3455 * src/Makefile.am: Make libio.la non-conditional, as it is now a
3456 null library if it's not needed. At least we are being consistent,
3457 if not as elegant as we could be.
3458 * src/Makefile: Regenerate.
3459
3460 2000-02-10 Benjamin Kosnik <bkoz@gnu.org>
3461
3462 * Makefile.am (SUBDIRS): Add libio again.
3463 * Makefile.in: Regenerate.
3464 * configure.in (BUILD_LIBIO_INCLUDE): And here.
3465 (AC_OUTPUT): Generate libio/Makefile again.
3466 * configure: Regnerate.
3467 * src/Makefile.am (libstdc___la_LIBADD): Change path so that
3468 libio.la is referring back to the libio subdir again.
3469 (LIBIO_INCLUDES): And here.
3470 * src/Makefile.in: Regenerate.
3471
3472 2000-02-09 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3473
3474 * math/complex-stub.h: Missed one. Change __mycabs* to cabs*.
3475
3476 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3477
3478 * bits/valarray_array.h (<bits/std_new.h>): #include.
3479 (__valarray_get_memory): New function.
3480 (__valarray_release_memory): Likewise.
3481 (__valarray_default_construct): New functions.
3482 (__valarray_fill_construct): New function.
3483 (__valarray_copy_construct): New funstions.
3484 (__valarray_destroy_elements): New function.
3485
3486 * bits/valarray_array.tcc (__valarray_copy_construct): New
3487 functions.
3488
3489 * bits/std_valarray.h (valarray<>::valarray): Use
3490 __valarray_get_memory and __valarray_fill_construct,
3491 __valarray_copy_construct, __valarray_default_construct to
3492 properly construct valarrays.
3493 (valarray<>::~valarray): Use __valarray_destroy_elements to
3494 destroy elements and __valarray_release_memory to return memory.
3495 (valarray<>::shift): Tweak.
3496 (valarray<>::cshift): Likewise.
3497 (valarray<>::resize): Robustify.
3498
3499 2000-02-09 Benjamin Kosnik <bkoz@cygnus.com>
3500
3501 * mknumeric_limits (XCOMPILE): Add support for cross compiling.
3502 * bits/limits_generic.h: New file, defaults.
3503 * src/limits_generic.cc: New file, defaults.
3504 * configure.in (LIBS): Run mknumeric_limits at configure time.
3505 * acconfig.h: Remove PACKAGE VERSION HAVE_COMPLEX
3506 HAVE_LC_MESSAGES, tidy, clean, etc.
3507 * src/Makefile.am (geberated_sources): Remove.
3508
3509 * bits/fpos.h: Use _GLIBCPP_USE_LIBIO guards for libio typenames
3510 (_IO_off_t, _IO_ssize_t)
3511
3512 * src/complex.cc: Use glibc's <complex.h> if
3513 possible. . . apparently this was not being done before. Include
3514 tweaks.
3515 (abs): Enable cabs if it's around, instead of mycabs.
3516 * src/complexf.cc (FCT): Add global scope to match complex.cc.
3517 * src/complexl.cc (FCT): Same.
3518 * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Change mycabsl to cabsl.
3519 (libmath_la_SOURCES): And here.
3520 * math/(mycabs.c, mycabsf.c, mycabsl.c): Move to. . .
3521 * math/(cabs.c, cabsf.c, cabsl.c): . . . Here.
3522 * math/complex-stub.h: Move c_log declarations into. . .
3523 * math/mathconf.h: Here. This is because glibc's <complex.h>
3524 declares cclog, not c_log. The case of the dueling standards. . .
3525 * math/mathconf.h: Add _GLIBCPP_HAVE_* to macros.
3526 * math/Makefile.am: Change.
3527 * math/nan.c (nan): Change signature.
3528 * math/mathconf.h (NAN): Same.
3529 * math/complex-stub.h (nan): And here.
3530
3531 * Makefile.am (rebuild-stamp): Remove libio and libio
3532 dependancies. Plan to take out libio subdir and just merge with
3533 libio in top level gcc directory. Of course, this assumes there is
3534 a libio in the top level directory (ie ../src_dir). This will
3535 probably change the way this library is configured by default.
3536 * libio/*: Remove.
3537
3538 2000-02-09 Chip Salzenberg <chip@valinux.com>
3539
3540 * localefwd.h (locale): Make public: facet, id, category.
3541
3542 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3543
3544 * testsuite/26_numerics/buggy_complex.cc: Fix Origin:.
3545
3546 * acinclude.m4: Patch only once!
3547
3548 2000-02-09 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3549
3550 * testsuite/26_numerics/buggy_complex.cc: New file.
3551
3552 2000-02-05 Petter Urkedal <petter@matfys.lth.se>
3553
3554 * acinclude.m4: New GLIBCPP_CHECK_COMPLEX_SUPPORT macro. Based
3555 on the 1999-11-21 entries by Mumit Khan.
3556 * configure.in: Use.
3557 * acconfig.h: New _GLIBCPP_BUGGY_COMPLEX macro.
3558 * bits/std_complex.h: Use.
3559
3560 2000-02-04 Philip Martin <pm@corris.dircon.co.uk>
3561
3562 * stl/bits/stl_algobase.h: Add traits based dispatch for
3563 __normal_iterator in the copy_backward()algorithm
3564 * stl/bits/stl_vector.h: Reduce use of __normal_iterator
3565 base() function.
3566
3567 2000-02-04 Mumit Khan <khan@xraylith.wisc.edu>
3568
3569 * src/gen-num-limits.cc (signal_handler): Work around signal
3570 handling problem on Cygwin.
3571 Thanks to Chris Faylor <cgf@cygnus.com>.
3572
3573 2000-02-03 Benjamin Kosnik <bkoz@cygnus.com>
3574
3575 * configure.in: Add (preliminary) support for cross compiles and
3576 multilibs.
3577 Remove AC_C_BIGENDIAN tests. Why is this necessary? Cross
3578 compilation freaks on this.
3579 * configure: Regenerate.
3580 * src/Makefile.am: Add support for cross compiles.
3581 * src/Makefile: Regenerate.
3582 * Makefile.am: Add support for cross compiles.
3583 * Makefile.in: Regenerate.
3584
3585 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
3586
3587 * configure.in (LIBS): Remove unused subdirs.
3588 * configure: Regenerate.
3589 * Makefile.am (SUBDIRS): And here.
3590 * Makefile.in: Regenerate.
3591 * src/Makefile.am (sources): And here.
3592 * src/Makefile.in: Regenerate.
3593 * string/*: Remove.
3594 * amm1/*: Remove.
3595 * generic/*: Remove.
3596 * glibc/*: Remove.
3597 * mkcheck.in (INC_PATH): Include $BUILD_DIR before any source dirs.
3598
3599 * libtool: Update to libtool-1.3.4.
3600 * ltconfig: Same
3601 * ltmain.sh: Same
3602 * config.sub: Same.
3603 * config.guess: Same.
3604
3605 2000-02-02 Benjamin Kosnik <bkoz@cygnus.com>
3606 Alexandre Petit-Bianco <apbianco@cygnus.com>
3607
3608 * mkc++config: New file. Put autoconf macros into _GLIBCPP_
3609 namespace instead of polluting global namespace with duplicate
3610 autoconf output.
3611 * configure.in (AC_OUTPUT): Don't need to generate bits/config.h
3612 here anymore. . .
3613 (AC_OUTPUT_COMMANDS): Make it here.
3614 * configure: Regenerate.
3615 * bits/c++config.h.in (_CPP_CPPCONFIG): Change. Tweak. Remove
3616 endif, as now we will add it manually.
3617 Move to this file. . .
3618 * bits/c++config.h: New file. Same as old c++config.h.in except
3619 the ending macro guard is now appended manually.
3620
3621 * bits/locale_facets.tcc: Change HAVE_* macros to _GLIBCPP_HAVE_*.
3622 * bits/std_cmath.h: Same here.
3623 * bits/std_cwchar.h: And here.
3624 * src/locale.cc: And here.
3625 * src/complexl.cc: And here.
3626 * math/mathconf.h: Change to include "config.h" instead of
3627 bits/c++config.h.
3628
3629 2000-02-01 Benjamin Kosnik <bkoz@gnu.org>
3630
3631 * configure.in: Add support for threads. Try a model closer to
3632 libjava, as hopefully if the thread bits are added carefully
3633 enough, the source code will not have gross hacks. Besides, the
3634 libstdc++-v2 model could be easily emulated without the necessity
3635 of linking files in (as currently done)--all that needs to be done
3636 is AC_DEFINE(-D_PTHREADS) etc. However, let's try something
3637 new. . . and see if we arrive at a more elegant solution.
3638 * configure: Regenerated.
3639 * config/threads-no.h: New file.
3640 * config/threads-posix.h: New file.
3641 * src/Makefile.am (myinstallheaders): Install c++threads.h.
3642 * src/Makefile.in: Regenerated.
3643
3644 2000-01-31 Benjamin Kosnik <bkoz@gnu.org>
3645
3646 META-QUESTION: Can we just make a "header.html" file and a
3647 "footer.html" and just include them in all the doc sub-pages. The
3648 duplication of the header info is kind of gross, and weak
3649 considering that if you change order or layout then all this stuff
3650 has to be changed in all the sub-files.
3651
3652 * docs/17_intro/contribute.html: Take out duplicate file info.
3653 * README: Should just contain a link to the docs/index.html
3654 page. Duplicate information removed.
3655 * docs/faq/index.html: Remove indexes into HOWTOS.
3656 * docs/17_intro/howto.html: Make intro and docs part more
3657 centralized. Move intro stuff to documentation.html.
3658 * docs/how.html: Tweak. Does this file need to exist? What calls it?
3659 * docs/README.html: Move documentation files to
3660 documentation.html. Should this file be renamed
3661 "config_and_install.html" as that is what is apparently covered
3662 here. . .
3663 * docs/install.html: Yes. New file, moved and renamed README.html.
3664 * docs/documentation.html: New file. This is the index file for
3665 the documentation.
3666 * docs/index.html: Edit sidebar order. Insert new link to new
3667 documentation spine, documentation.html.
3668
3669 2000-01-31 Scott Snyder <snyder@fnal.gov>
3670
3671 * bits/istream.tcc (operator>>(istream&, string&)): Set failbit if
3672 we don't extract any characters.
3673 * testsuite/21_strings/inserters_extractors.cc (main): New tests.
3674
3675 2000-01-31 Anders Widell <awl@hem.passagen.se>
3676
3677 * stl/bits/std_bitset.h (_M_do_left_shift): Handle case when shift
3678 step is a multiple of the word size.
3679 (_M_do_right_shift): Same.
3680 * testsuite/23_containers/bitset_shift.cc: New file.
3681
3682 2000-01-31 Nathan Myers <ncm@zembu.com>
3683
3684 * README (Documentation): Add path info, fix typos.
3685
3686 2000-01-26 Benjamin Kosnik <bkoz@redhat.com>
3687
3688 * bits/locale_facets.tcc (num_get::_M_extract): Add the freaking
3689 crazy group checking for numpunct, for real this time. At some
3690 point, the local variable __grp should probably get replaced a
3691 char array, or something a bit more lightweight.
3692 (num_get::do_get(bool)): Simplify. Don't set bool reference to
3693 parsed value unless err isn't failbit.
3694 (num_get::do_get(*)): Same, make consistent.
3695
3696 Nathan Myers <ncm@zembu.com>
3697 Jim Parsons <parsons@clearway.com>
3698 * testsuite/27_io/istream_extractor_arith.cc (test08): Add
3699 more grouping tests, tweak, scold, wine.
3700
3701 2000-01-24 Benjamin Kosnik <bkoz@gnu.org>
3702
3703 * testsuite/27_io/istream_extractor_arith.cc (test07): Add
3704 grouping tests.
3705 * bits/locale_facets.tcc (num_get::_M_extract): Change to fix
3706 grouping bugs. Only allow thousands_sep if _M_use_groupings is
3707 true.
3708
3709 via <llewelly@198.dsl.xmission.com>
3710 * stl/bits/stl_vector.h (vector::_M_range_check): Throw
3711 out_of_range instead of range_error.
3712
3713 2000-01-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3714
3715 * bits/std_iomanip.h (setw): Fix typo.
3716
3717 2000-01-14 Benjamin Kosnik <bkoz@gnu.org>
3718
3719 * testsuite/27_io/istream_extractor_arith.cc: Fix.
3720 * bits/locale_facets.tcc (do_get(...void)): Change to strtoul.
3721 * testsuite/27_io/istream_unformatted.cc (test04): Tweak.
3722
3723 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
3724
3725 * docs/README.html: Reformat, more installation instructions.
3726 * docs/gccrebuild.html: New file.
3727 * docs/faq/index.html: Update for new testsuite output filenames.
3728 * docs/faq/index.txt: Regenerate.
3729
3730 2000-01-14 Phil Edwards <pme@sourceware.cygnus.com>
3731
3732 * Makefile.am (rebuild-stamp, all-local): New targets.
3733 * Makefile.in: Regenerated.
3734 * acinclude.m4: New macro, GLIBCPP_ENABLE_RELIBGCC.
3735 * aclocal.m4: Regenerated.
3736 * configure.in: Call new macro. Also do some sanity checks
3737 for combinations of --enable's that may not make sense.
3738 * configure: Regenerated.
3739
3740 2000-01-13 Benjamin Kosnik <bkoz@cygnus.com>
3741
3742 * testsuite/27_io/istream_extractor_arith.cc: Add checks for void*.
3743 * bits/locale_facets.tcc (do_get::(...void)): Set fmtflags
3744 correctly for hex-formatted input.
3745
3746 * testsuite/27_io/istream_manip.cc (test01): Fix, as per setting
3747 eofbit instead of eofbit | failbit.
3748 * testsuite/27_io/istream_unformatted.cc (test04): Fix, as
3749 ifstreams now are opened or'd with ios_base::in (as is correct).
3750 * bits/fstream.tcc (filebuf::seekoff): Simplify.
3751 * testsuite/27_io/ios_base_members_static.cc (test01): Fix thinko.
3752
3753 2000-01-12 Benjamin Kosnik <bkoz@gnu.org>
3754
3755 * bits/std_fstream.h: Add ios_base as a friend to basic_filebuf.
3756 * bits/basic_file.h (basic_file::filepos_cur): Remove incorrect
3757 (misleading) code.
3758 (__basic_file::filepos_valid): Same.
3759 (__basic_file::filepos_beg): Same.
3760 (__baseic_file::get_fileno): New function.
3761 * bits/ios_base.h (ios_base::sync_with_stdio): Implement, including
3762 feedback from LWG 49.
3763 * src/ios.cc: Move definition here.
3764 * testsuite/27_io/ios_base_members_static.cc (test01): Add tests.
3765
3766 * bits/std_sstream.h (_M_really_sync): Simplify argument list. Set
3767 output part of internal buffer based on string size, so that
3768 _M_out_end is set consistently with filebufs. Correct comments.
3769 * bits/sstream.tcc (stringbuf::overflow): Update here too.
3770 * testsuite/27_io/stringbuf.cc: Changes.
3771
3772 2000-01-11 Benjamin Kosnik <bkoz@gnu.org>
3773
3774 * bits/sstream.tcc (seekoff): Set based on end of written buffer,
3775 not buffer size.
3776 * testsuite/27_io/stringbuf.cc: Add tests for seekoff(end).
3777
3778 * bits/std_fstream.h (ifstream::open): Add ios_base::in to openmode.
3779 (ofstream::open): Add ios_base::out to openmode.
3780
3781 * bits/locale_facets.tcc (_M_extract): Have consistency between
3782 istream::sentry and extractors, where failbit | eofbit is
3783 set. Don't change this, but instead change. . (do some formatting
3784 tweaks.)
3785 * bits/istream.tcc (istream::sentry): Only set eofbit.
3786
3787 2000-01-10 Benjamin Kosnik <bkoz@gnu.org>
3788
3789 * testsuite/27_io/istringstream_members.cc: New file.
3790
3791 2000-01-09 Benjamin Kosnik <bkoz@gnu.org>
3792
3793 * bits/istream.tcc (istream::sentry): Flush.
3794
3795 * configure.in (AC_OUTPUT_COMMANDS): Simplify.
3796 * configure: Regenerate.
3797 * src/Makefile.am (generated_headers): Remove bits/c++config.h so
3798 that make clean will not delete it.
3799 * src/Makefile: Regenerate.
3800
3801 2000-01-07 Phil Edwards <pme@sourceware.cygnus.com>
3802
3803 * mkcheck.in: Use host-specific invocation of size(1);
3804 GNU binutils isn't necessarily there (more's the pity).
3805
3806 2000-01-06 Benjamin Kosnik <bkoz@cygnus.com>
3807
3808 * configure.in (LIBS): Better tests for solaris2.6.
3809 * configure: Regenerate.
3810
3811 <vakatov@ncbi.nlm.nih.gov>
3812 * bits/std_sstream.h: As per libstdc++20.
3813
3814 2000-01-06 Benjamin Kosnik <bkoz@gnu.org>
3815
3816 Break out configuration on solaris.
3817 * configure.in (ctype_solaris): Add in bits for solaris2.6 and 2.7.
3818 * config/solaris/ctype.cc: Delete and move to proper version.
3819 * config/solaris/bits: Same.
3820 * config/solaris/solaris2.5: Add this directory, with subdir bits
3821 and file ctype.cc. Probably doesn't work.
3822 * config/solaris/solaris2.6: Same.
3823 * config/solaris/solaris2.7: Same, as per specs via Phil Edwards.
3824
3825 * Makefile.am: Change paths to mkcheck.
3826 * Makefile: Regenerate.
3827 * configure.in (AC_OUTPUT_COMMANDS): Build mkcheck here.
3828 * configure: Regenerate.
3829 * src/Makefile.am (generated_headers): Add bits/c++config.h.
3830
3831 * mkcheck: Now autogenerated by configure and renamed. . .
3832 * mkcheck.in (INC_PATH): Add glue for ctype_include_dir.
3833 Have longer-style dates.
3834 Raja R Harinath <harinath@cs.umn.edu>
3835 * mkcheck: Change path to #!/usr/clocal/bin/bash.
3836
3837 * docs/README.html: Correct links, maybe. FAQ, install notes, and
3838 general documentation need to be organized around each other, not
3839 fight against each other. . .
3840
3841 2000-01-04 Phil Edwards <pme@sourceware.cygnus.com>
3842 Nicolai Josuttis <nicolai.josuttis@braunschweig.netsurf.de>
3843
3844 * README: Add a note referring to README.html.
3845 * docs/README.html: New file from Nicolai.
3846 * docs/faq/index.html: Move "how to get a copy" to here.
3847 * docs/gentop/footchunk.html: Update.
3848 * docs/gentop/headchunk.html: New links according to
3849 bkoz's idea for "How to..." stuff.
3850 * docs/gentop/thanks: Actually put people here.
3851 * docs/download.html: Regenerated.
3852 * docs/index.html, docs/links.html, docs/mail.html,
3853 docs/status.html, docs/thanks.html, docs/faq/index.txt: Ditto.
3854 * docs/how.html: Ditto. (This file should go away soon.)
3855
3856 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
3857
3858 * docs/gentop/status: Add snapshot version column, update
3859 for Solaris 7.
3860 * docs/status.html: Regenerated.
3861
3862 1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
3863
3864 * docs/faq/index.html: Turn README and RELEASE-NOTES into links
3865 from installation FAQ, and specify location of text files.
3866 * docs/faq/index.txt: Regenerated.
3867
3868 1999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
3869
3870 * docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
3871 * docs/download.html: Regenerated.
3872
3873 1999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
3874
3875 * docs/faq/index.html: Update 'what works' for .7 snapshot,
3876 clean up various links.
3877 * docs/faq/index.txt: Regenerated.
3878 * docs/gentop/gentop: Smarter regeneration script.
3879 * docs/gentop/{head,foot}chunk.html: Updated with new
3880 contributors link and mod date.
3881 * docs/gentop/index: Snapshot relase date.
3882 * docs/gentop/thanks: New contributors page added.
3883 * docs/{download,how,index,links,mail,status,thanks}.html:
3884 Regenerated from gentop; thanks.html created.
3885
3886 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3887
3888 * bits/c++config.h.in (__GLIBCPP__): 19991221.
3889 * docs/index.html: Add correct information.
3890
3891 * config/irix: New directory.
3892 * config/irix/ctype.cc: Add irix-6.5 info. Not tested.
3893 * config/irix/bits/ctype_base.h: And here.
3894
3895 * config/aix: New directory.
3896 * config/aix/ctype.cc: Add aix-4.2 info. Not tested.
3897 * config/aix/bits/ctype_base.h: And here.
3898
3899 1999-12-21 Philip Martin <pm@corris.dircon.co.uk>
3900
3901 * bits/basic_string.h: Add special case handling for integral
3902 "iterators".
3903 * bits/std_string.h: include type_traits.h
3904 * testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
3905
3906 1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
3907
3908 * bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
3909 _M_*_end now.
3910 * bits/std_fstream.h (sync): And here.
3911 * testsuite/27_io/filebuf.cc: Revisions.
3912 * testsuite/27_io/filebuf-2.tst: Correct, remove weird character
3913 at the end of the file.
3914 * testsuite/27_io/filebuf-3.tst: Correct.
3915
3916 1999-12-21 Phil Edwards <pedwards@jaj.com>
3917
3918 * docs/gentop/index: Hold off on .7 announcement date.
3919 * docs/index.html: Regenerate.
3920
3921 1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
3922
3923 * bits/std_fstream.h (sync): Move _M_file->sync() to
3924 _M_really_overflow().
3925 * bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
3926 as to get the _M_file->sync action, which forces the external
3927 buffer to update itself.
3928 (underflow): Same here.
3929
3930 1999-12-21 Phil Edwards <pedwards@jaj.com>
3931
3932 * bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
3933 * acconfig.h: ...to here.
3934 * config.h.in: Regenerate from aclocal.
3935 * acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
3936 * aclocal.m4: Regenerate from acinclude.
3937 * configure.in: Use ENABLE macros here.
3938 * configure: Regenerate.
3939 * src/Makefile.am: Use results from ENABLE macros.
3940 * src/Makefile.in: Regenerate.
3941
3942 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
3943
3944 * mkcheck (SRC_DIR): Now have to include config/* dir if "make
3945 check" and not "make check-install." Temporarily hack in linux
3946 support.
3947
3948 * bits/std_streambuf.h: Tweaks.
3949 * bits/streambuf.tcc (xsgetn): Tweaks.
3950 * bits/std_fstream.h (sync): Make _M_really_overflow consistent.
3951 * bits/fstream.tcc (filebuf::underflow): Simplify.
3952 * bits/std_sstream.h (streambuf::underflow): Minor change to make
3953 checks for read position precisely implement the standard.
3954 * bits/basic_file.h (filepos_cur): Base this on _offset.
3955 * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
3956 * testsuite/27_io/filebuf.cc: Tweak.
3957
3958 1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
3959
3960 * docs/17_intro/RELEASE-NOTES: Fix typos.
3961
3962 * bits/locale_facets.h (ctype): Modify, use __to_type to abstract
3963 out platform-specific bits.
3964 * config/default/ctype.cc: And here.
3965 * config/defaults/bits/ctype_base.h: And here.
3966 * config/linux/ctype.cc: And here.
3967 * config/linux/bits/ctype_base.h (ctype_base): And here.
3968 * config/solaris/bits/ctype_base.h (ctype_base): Add
3969 __to_type. Comment, as it looks like this is for solaris2.6 and
3970 above: solaris2.5.1 doesn't seem to have the same definitions.
3971 * config/solaris/ctype.cc: And here.
3972
3973 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
3974 Ulrich Drepper <drepper@cygnus.com>
3975
3976 * acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
3977
3978 * src/locale.cc: Take out platform-specific hacks.
3979 * config/linux/ctype.cc: Put here.
3980 * config/solaris/ctype.cc: Put here.
3981 * config/default/ctype.cc: Put here.
3982
3983 * bits/locale_facets.h: Take out platform-specific hacks.
3984 * config/linux/bits/ctype_base.h: Put here.
3985 * config/solaris/bits/ctype_base.h: Put here.
3986 * config/default/bits/ctype_base.h: Put here.
3987
3988 * configure.in: Bump version.
3989 Add tests for top-level config directory.
3990 * configure: Regenerated.
3991 * src/Makefile.am (INCLUDES): Add platform-specific dir.
3992 * src/Makefile: Regenerate.
3993
3994 1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
3995 Ulrich Drepper <drepper@cygnus.com>
3996
3997 * bits/locale_facets.h: Hack in solaris support.
3998 * src/locale.cc: Here too.
3999
4000 1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4001
4002 * docs/17_intro/TODO: Update
4003 * docs/17_intro/RELEASE-NOTES (New): Update.
4004
4005 1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
4006
4007 * bits/c++config.h.in (__GLIBCPP__): Bump.
4008 * docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
4009 * docs/17_intro/TODO: Update.
4010
4011 * bits/locale_facets.h: Touch this too.
4012 * bits/localefwd.h: Add typedefs for loooooong vector names.
4013 * bits/locale_facets.tcc (locale::operator()): Need parens.
4014 (has_facet): Simplify.
4015 * src/locale-inst.cc: Add instantiations.
4016 * src/locale.cc: Tweaks.
4017
4018 * bits/std_streambuf.h: Move indeterminates into. .
4019 * bits/std_fstream.h: Here.
4020 * bits/fstream.tcc (underflow): Rewind just for ios_base::out
4021 streams.
4022 * bits/sstream.tcc: Very minor formatting tweaks.
4023 * bits/std_streambuf.h (_M_set_determinate): If exclusively an
4024 input buffer, set _M_buf to offset.
4025 * bits/istream.tcc (std): Tweaks.
4026 * testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
4027 include fstream.
4028 * testsuite/27_io/filebuf.cc: Tweaks.
4029
4030 1999-12-17 Phil Edwards <pedwards@jaj.com>
4031
4032 * configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
4033 * configure: Regenerate.
4034 * src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
4035 * src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
4036 to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
4037
4038 1999-12-17 Phil Edwards <pedwards@jaj.com>
4039
4040 * docs/21_strings/stringtok_std_h.txt: New algorithm
4041 suggested by Chris King.
4042 * docs/21_strings/howto.html: Link to new version.
4043
4044 1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4045
4046 * bits/valarray_array.h (__valarray_sum): Use operator+=, not
4047 operator+.
4048 * docs/17_intro/TODO: Update.
4049
4050 1999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
4051
4052 * docs/gentop/footchunk.html: Updated, fixed CRLFs.
4053 * docs/gentop/gentop: Ditto.
4054 * docs/gentop/headchunk.html: Ditto.
4055 * docs/*.html: Regenerated from gentop.
4056 * docs/*/howto.html: Updated as test.
4057 * docs/faq/index.html: Updated, fixed CRLFs.
4058 * docs/faq/index.txt: Regenerated.
4059
4060 1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4061
4062 * mknumeric_limits (OUT_C): restart only if $OUT_C is present.
4063
4064 * bits/std_complex.h
4065 (complex<float>::complex(const complex<double>&),
4066 complex<float>::complex(const complex<long double>&)): Define.
4067
4068 * docs/17_intro/TODO: Update.
4069
4070 1999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
4071
4072 * bits/istream.tcc (seekg): Don't set _M_gcount.
4073 (tellg): Same.
4074 * bits/fstream.tcc (filebuf::underflow): Re-sync
4075 external byte sequence's input buffer only. . .
4076 * testsuite/27_io/istream_unformatted.cc (test04): New tests for
4077 tellg, seekg and filebufs.
4078 (test05): Same for stringbufs.
4079 * testsuite/27_io/istream_unformatted-2.tst: New file.
4080 * testsuite/27_io/istream_unformatted-1.tst: New file.
4081 * testsuite/27_io/istream_unformatted-1.txt: New file.
4082 * testsuite/21_strings/inserters_extractors.cc (test05): Change
4083 output file.
4084
4085 1999-12-13 Phil Edwards <pedwards@jaj.com>
4086
4087 * docs/gentop/*: New directory, containing bits for the homepages.
4088 * docs/*.html: Regenerated from gentop.
4089 * docs/*/*.html: Entries added and regenerated.
4090
4091 1999-12-13 Benjamin Kosnik <bkoz@gnu.org>
4092
4093 Efforts to get -O2 to work with -Winline -Werrors.
4094 * bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
4095 _Tp&): Remove inline declaration, as cannot be inlined and
4096 -Winline -Werror complains. An interesting question is why this
4097 cannot be inlined, as I can see no real reason to disqualify it.
4098 (__valarray_product(const _Tp*, const _Tp*)): Same here.
4099 * bits/std_valarray.h (valarray::operator[](size_t)): Same here.
4100
4101 * docs/17_intro/TODO: Update.
4102
4103 1999-12-12 Benjamin Kosnik <bkoz@gnu.org>
4104
4105 * bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
4106 fstream.tcc.
4107 * bits/basic_file.h (filepos_cur()): Make pointers themselves be
4108 the resultant position.
4109 * bits/fstream.tcc (seekoff): Explicitly set return value to
4110 resultant external byte sequence position, not value returned from
4111 _M_file->seekoff. Need to make
4112 (seekpos): New definition.
4113
4114 * bits/istream.tcc (seekg): As per Library Issues List 136, set to
4115 just istream. Necessary, or else tellg will give an invalid stream
4116 position, but seekg will return a valid stream position, which is
4117 not groovy: see testcase addition.
4118 * bits/ostream.tcc (seekp): Same.
4119
4120 * bits/streambuf.tcc (_S_copy_streambufs): Simplify.
4121 * bits/sstream.tcc: Tweaks.
4122 * bits/locale_facets.tcc: Tweaks.
4123 (num_put::do_put(iter_type, ios_base, char_type, const void*)):
4124 Re-write in a way that is easier for the inliner to work with.
4125 * bits/ios_base.h: Use explicit static_cast<int>(...) notation.
4126
4127 1999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
4128
4129 * bits/locale_facets.tcc: Tweaks.
4130 * bits/locale_facets.h (use_facet): Can't inline, remove inline
4131 from declaration.
4132 * bits/localefwd.h: And here.
4133 * bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
4134 * bits/ostream.tcc: Put here.
4135
4136 Frank Ch. Eigler <fche@cygnus.com>
4137 * src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
4138
4139 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
4140
4141 * bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
4142 in and out buffers update independantly.
4143
4144 * bits/basic_ios.h: Minor formatting.
4145 * bits/fstream.tcc (std): Fix indentation.
4146
4147 1999-12-08 Chip Salzenberg <chip@valinux.com>
4148
4149 * bits/char_traits.h (char_traits<>): Move not_eof() functions
4150 after corresponding eof() functions, so they're easier for the
4151 compiler to inline.
4152 * bits/locale_facets.h (money_base::__default_pattern): Move
4153 static variable out of inline functions.
4154 (_Moneypunct<>::do_{pos,neg}_format): Use it.
4155 * src/locale-inst.cc (money_base::__default_pattern): Define it.
4156
4157 1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
4158
4159 * bits/std_fstream.h (filebuf::open): Tweak.
4160 * bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
4161 * bits/std_ios.h: Minor tweaks for headers.
4162
4163 1999-12-06 Benjamin Kosnik <bkoz@gnu.org>
4164
4165 * bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
4166 * src/string-inst.cc: Add guards . . .
4167 * src/misc-inst.cc: And here.
4168 * bits/std_sstream.h: And here.
4169 * bits/std_fstream.h: And here.
4170 * bits/std_streambuf.h: And here.
4171 * bits/std_istream.h: And here.
4172 * bits/std_ostream.h: And here.
4173
4174 1999-12-06 Scott Snyder <snyder@fnal.gov>
4175
4176 * bits/istream.tcc (basic_istream::read): Try to handle __n == 0
4177 case.
4178 (basic_istream::readsome): And here as well.
4179 * testsuite/27_io/istream_unformatted.cc: Test a zero-length
4180 read().
4181
4182 1999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
4183
4184 * bits/istream.tcc (basic_istream::ignore): streamsize is not
4185 necessarily an `int'.
4186
4187 1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4188
4189 * mknumeric_limits: Don't use $CXXFLAGS when building
4190 gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
4191 generally instructs the compiler not to emit template
4192 instantiations and we end up with undefined symbols. Sigh.
4193
4194 1999-12-05 Benjamin Kosnik <bkoz@gnu.org>
4195
4196 * bits/locale_facets.tcc: Tweak.
4197 (_S_format_long): Adjust showpos formatting for hex and oct.
4198 * bits/std_ostream.h (operator<<(short)): Correctly deal with hex
4199 and oct by formatting as unsigned.
4200 (operator<<(int)): Same here.
4201 * bits/ostream.tcc (operator<<(long)): Same.
4202 (operator<<(long long)): Same.
4203 (_S_pad_char): Actually treat ios_base::internal as something
4204 worth doing correctly. Remove const designation on ios argument.
4205 * testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
4206 * testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
4207
4208 1999-12-04 Benjamin Kosnik <bkoz@gnu.org>
4209
4210 * bits/std_sstream.h (streambuf::underflow): Check for mode == in.
4211
4212 1999-12-03 Benjamin Kosnik <bkoz@gnu.org>
4213
4214 * bits/locale_facets.tcc (num_put::do_put(bool): Fix.
4215
4216 * bits/sstream.tcc (streambuf::seekoff): Add parens.
4217 * bits/istream.tcc (istream::get(sb)): Handle exceptional events.
4218 (operator>>(istream, _CharT*)): Change streamsize to int_type.
4219 (operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
4220 * bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
4221 unused argument.
4222 (ostream::operator<<(_CharT)): Fix.
4223
4224 * bits/std_sstream.h: Temporarily disable including sstream.tcc to
4225 see if this will increase compile speed.
4226 * bits/std_ostream.h: Likewise. . .
4227 * bits/std_istream.h: And here.
4228 * bits/std_fstream.h: And here.
4229 * src/misc-inst.cc: Add relevant header file includes for
4230 instantiation purposes.
4231 * src/string-inst.cc: And here.
4232 * testsuite/27_io/ostream_inserter_arith.cc: Add test case.
4233
4234 1999-12-02 Benjamin Kosnik <bkoz@gnu.org>
4235
4236 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
4237 * bits/istream.tcc (get(streambuf)): More fixes.
4238 (istream::ignore): Get specific about numeric_limits<int>::max()
4239 requirements.
4240
4241 * bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
4242 (filebuf::close): Same.
4243 * testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
4244
4245 1999-12-01 Phil Edwards <pedwards@jaj.com>
4246
4247 * mkcheck: Support for compilation/execution timing.
4248 * testsuite/printnow.c: New file.
4249
4250 1999-12-01 Phil Edwards <pedwards@jaj.com>
4251
4252 * bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
4253 * configure.in: Test for presence of wchar.h before testing
4254 for any of its features.
4255 * configure: Regenerate.
4256
4257 1999-11-30 Benjamin Kosnik <bkoz@gnu.org>
4258
4259 Preliminary istream validations complete.
4260 * bits/istream.tcc (istream::getline): Fixes. Tweaks to make
4261 formatting more consistent. Removal of if-statements inside of for
4262 loops.
4263 (ignore): Fix.
4264 (get): Same.
4265 (putback): Same.
4266 * bits/std_istream.h: Same.
4267 * bits/sstream.tcc (stringbuf::pbackfail): Fix.
4268 * testsuite/27_io/stringbuf.cc: Tweak.
4269 * testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
4270
4271 * bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
4272 failbit on failure, as per 27.6.2.5.2.
4273
4274 * stl/bits/std_vector.h: Allow bool specializations. Should move
4275 ext/std_bvector to bits, not ext, maybe.
4276
4277 1999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
4278
4279 * configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
4280 * configure: Regenerate.
4281
4282 999-11-29 Benjamin Kosnik <bkoz@gnu.org>
4283
4284 * bits/istream.tcc (get(streambuf, char)): Fix.
4285 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
4286
4287 1999-11-29 Scott Snyder <snyder@fnal.gov>
4288
4289 * bits/basic_string.h (append(const _Char*, size_type)): The
4290 length of the appended string is given exactly by the second arg,
4291 regardless of the data in the character array.
4292 * bits/string.tcc (basic_string(const _CharT*, size_type, const
4293 _Alloc&)): Likewise.
4294 * testsuite/21_strings/append.cc (test01): Remove erroneous test
4295 of basic_string::append.
4296
4297 1999-11-29 Chip Salzenberg <chip@valinux.com>
4298
4299 * Makefile.in: Tweaks for CXXFLAGS.
4300 * */Makefile.in: Same.
4301
4302 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
4303
4304 * conficd bgure.in: Check for wide character support.
4305 * bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
4306 * acconfig.h (_GLIBC_USE_WCHAR_T): to here.
4307 * bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
4308
4309 1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
4310
4311 * acinclude.m4: Fix typo.
4312 * src/complex.cc: Fix macro line continuation.
4313
4314 1999-11-29 Petter Urkedal <petter@matfys.lth.se>
4315
4316 * src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
4317 string literals in format, as used in locale-facets.tcc.
4318
4319 1999-11-28 Benjamin Kosnik <bkoz@gnu.org>
4320
4321 * testsuite/27_io/istream_unformatted.cc (test03): Add tests.
4322 * bits/istream.tcc (istream::get): Extract to argument minus one.
4323 Various tweaks and fixes.
4324
4325 1999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
4326
4327 * bits/locale_facets.tcc: Workaround for compiler crash on
4328 ix86-*-mingw32.
4329
4330 1999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
4331
4332 * acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
4333 * configure.in: Use.
4334 * acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
4335 * src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
4336 * bits/std_complex.h: Use.
4337 * src/complex.cc: Use.
4338
4339 1999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
4340
4341 * testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
4342 * testsuite/21_strings/inserters_extractors.cc: Likewise.
4343 * testsuite/22_locale/ctype.cc: Likewise.
4344 * testsuite/23_containers/multiset.cc: Likewise.
4345 * testsuite/23_containers/vector_ctor.cc: Likewise.
4346 * testsuite/26_numerics/binary_closure.cc: Likewise.
4347 * testsuite/27_io/fpos.cc: Likewise.
4348 * testsuite/27_io/ios_base_callbacks.cc: Likewise.
4349 * testsuite/27_io/istream_extractor_arith.cc: Likewise.
4350 * testsuite/27_io/istream_extractor_char.cc: Likewise.
4351 * testsuite/27_io/istream_extractor_other.cc: Likewise.
4352 * testsuite/27_io/istream_sentry.cc: Likewise.
4353 * testsuite/27_io/ostream_inserter_char.cc: Likewise.
4354 * testsuite/27_io/ostream_inserter_other.cc: Likewise.
4355 * testsuite/27_io/streambuf.cc: Likewise.
4356 * testsuite/27_io/stringstream.cc: Likewise.
4357
4358 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4359
4360 * bits/valarray_meta.h: Don't forget to define tanh
4361
4362 1999-11-18 Philip Martin <pm@corris.dircon.co.uk>
4363
4364 * src/stl-inst.cc: Use typedef to refer to iterator
4365 * stl/bits/stl_algobase.h: Add traits based dispatch for
4366 __normal_iterator in the copy()algorithm
4367 * stl/bits/type_traits.h: Add _Is_normal_iterator trait support
4368
4369 1999-11-18 Kevin Ediger <kediger@licor.com>
4370
4371 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
4372 constructors for locale::_Impl exception safe.
4373
4374 1999-11-18 Scott Snyder <snyder@fnal.gov>
4375
4376 * stl/bits/stl_queue.h: The C++ standard gives the default for the
4377 _Sequence template argument of priority_queue<> as vector<>, not
4378 deque<>.
4379
4380 1999-11-18 Benjamin Kosnik <bkoz@gnu.org>
4381
4382 * bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
4383 parameter.
4384 * bits/sstream.tcc: Adjust here too.
4385
4386 1999-11-17 Benjamin Kosnik <bkoz@gnu.org>
4387
4388 * bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
4389 * bits/istream.tcc (operator>>): Replace iostate(0) with
4390 iostate(ios_base::goodbit), which is the same thing, but hopefully
4391 a bit clearer.
4392 * bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
4393 libraries issue list 17.
4394 (do_gets): Don't set goodbit explicitly, instead only set on
4395 failures as good bit is the default setting.
4396 * bits/ios_base.h (setf): Set correctly.
4397 * bits/fstream.tcc: Tweak.
4398 * bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
4399 in|out bufs that are empty. . .
4400 * testsuite/27_io/istream_extractor_arith.cc (test03): Add.
4401
4402 1999-11-16 Benjamin Kosnik <bkoz@gnu.org>
4403
4404 * testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
4405 * bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
4406 Add comments "all about _M_buf."
4407 (setg): Set _M_mode.
4408
4409 1999-11-16 Kevin Ediger <kediger@licor.com>
4410
4411 * bits/locale_facets.tcc (_S_build_float_format): New function.
4412 (_S_output_float): New function.
4413 (num_put::do_put(double)): Use 'em.
4414 (num_put::do_put(long double)): Use 'em.
4415 * testsuite/27_io/ostream_inserter_arith.cc: New file.
4416
4417 1999-11-15 Scott Snyder <snyder@fnal.gov>
4418
4419 * bits/basic_file.h: Type of __off parm should be __c_streampos, to
4420 match how libio is calling us.
4421 * src/basic_file.cc (sys_seek): Likewise.
4422 * bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
4423
4424 1999-11-15 Benjamin Kosnik <bkoz@gnu.org>
4425
4426 * docs/17_intro/contribute.html: Add link to assignment form.
4427 * docs/17_intro/libstdc++-assign.txt: New file.
4428
4429 * mkcheck (TESTS_FILE): Move a copy of test files as well as
4430 output files.
4431
4432 * bits/std_streambuf.h (_M_buf_bump): New function.
4433 * bits/streambuf.tcc: Mods to support _M_buf_bump.
4434 (xsputn): Here. Also add checks for output valid.
4435 (xsgetn): Add checks for input valid.
4436 (sputc): Here.
4437 (sgetc): Set _M_in_end to _M_buf + _M_buf_end.
4438 * bits/std_sstream.h (_M_really_sync): Set _M_buf.
4439 Set _M_out_end to variable-length-end.
4440 * bits/sstream.tcc (overflow): Use _M_buf_bump.
4441 (seekpos): Same.
4442 (seekoff): Same.
4443 * bits/fstream.tcc (std): Tweak formatting.
4444 (filebuf::overflow): Simplify.
4445 (filebuf::showmanyc): Same.
4446 (filebuf::underflow): Same.
4447 * testsuite/27_io/filebuf.cc: Fix.
4448 * testsuite/27_io/ostream_inserter_other.cc: Fix.
4449 * testsuite/27_io/ostream_inserter_other-2.tst: New file.
4450 * testsuite/27_io/stringbuf.cc: Tweak.
4451 * testsuite/27_io/streambuf.cc: Tweak.
4452 * testsuite/27_io/istream_extractor_other.cc: Fix.
4453
4454 1999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
4455
4456 * stl_deque.h: Use static_casts<size_type>(signed_type).
4457
4458 1999-11-11 Benjamin Kosnik <bkoz@gnu.org>
4459
4460 Cleanups for callbacks, more regression hunting. Remaining
4461 failures (1) due to last unresolved stringstream issues, not
4462 regressions per se.
4463 * bits/std_fstream.h: Revert. Disable call to _M_file->sync as
4464 killing 27_io/filebuf.cc tests. . . need another solution.
4465
4466 * bits/streambuf.tcc (_S_copy_streambufs): Fix.
4467 * testsuite/27_io/istream_extractor_other.cc: Tweak comments.
4468
4469 * bits/basic_ios.h: Add cached facets here. UGH. The standard
4470 foils all attempts at a graceful, minimal implementation.
4471 * bits/basic_ios.tcc: Tweaks.
4472 * bits/istream.tcc: Fix.
4473 * bits/ostream.tcc: Fix.
4474 * bits/std_istream.h: Fix.
4475 * bits/std_ostream.h: Fix.
4476 * src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
4477 callbacks.
4478 * bits/locale_facets.tcc (std): Minor, minor formatting tweak.
4479 (_S_pad_numeric): Make comprehensible.
4480
4481 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
4482
4483 * bits/std_ostream.h: Add callbacks for _M_fnumput.
4484 (_S_ostream_fcache): New function.
4485 Move functions out-of-line.
4486 * bits/ostream.tcc: Put here.
4487
4488 * bits/std_istream.h: Add callbacks for _M_fnumget.
4489 (_S_istream_fcache): New function.
4490 Move functions out-of-line.
4491 * bits/istream.tcc: Put here.
4492
4493 * bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
4494 _M_call_callbacks(), as ios_base::imbue does this already.
4495 * src/ios.cc (register_callback): Clean.
4496 (_M_call_callbacks): Same.
4497 * bits/ios_base.h: Callback work.
4498 * testsuite/27_io/ios_base_callbacks.cc (test01): New file.
4499
4500 1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
4501 Matthias Klose <doko@cs.tu-berlin.de>
4502
4503 * stl/ext/stl_rope.h: Fix initialization order.
4504
4505 1999-11-09 Scott Snyder <snyder@fnal.gov>
4506
4507 * bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
4508 _M_file->sync() so that redirection works correctly.
4509
4510 1999-11-09 Benjamin Kosnik <bkoz@gnu.org>
4511
4512 * bits/istream.tcc: Re-order.
4513 * bits/std_istream.h: Fix getline problems.
4514 * testsuite/27_io/istream_unformatted.cc: New tests.
4515
4516 Clean up regressions.
4517 * bits/std_sstream.h: Set initial stringbufs correctly.
4518
4519 1999-11-09 Scott Snyder <snyder@fnal.gov>
4520
4521 * stl_vector.h (_M_range_insert): Fix mixing pointers and
4522 vector::iterator.
4523 * testsuite/23_containers/vector_modifiers.cc (test01): New file,
4524 tests.
4525
4526 1999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
4527
4528 * src/Makefile.am (CXXFLAGS): Add -Winline.
4529 * src/Makefile.in: Regenerate.
4530
4531 1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4532
4533 * bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
4534 building meta-expressions don't forget to take the contained
4535 closures.
4536
4537 1999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
4538
4539 * configure: Regenerate.
4540
4541 1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4542
4543 * bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
4544 syntax.
4545 * bits/valarray_meta.h (min): Likewise.
4546 * bits/valarray_meta.h (max): Likewise.
4547
4548 1999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
4549
4550 * bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
4551 * bits/std_streambuf.h (_S_copy_streambufs): New function.
4552 * bits/streambuf.tcc: Define.
4553 * bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
4554 * bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
4555 * testsuite/27_io/ostream_inserter_other.cc: Add tests.
4556 * testsuite/27_io/ostream_inserter_other-1.tst: New file.
4557
4558 * bits/basic_string.h: Explicitly cast npos to unsigned type,
4559 reported by Richard Atterer.
4560 * bits/char_traits.h: For consistency's sake, here too.
4561
4562 * configure.in: Bump version to 2.90.7.
4563
4564 1999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
4565
4566 * testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
4567 * testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
4568 * bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
4569 (xsgetn): Same.
4570 * bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
4571 writing into buffer.
4572 (seekoff): Same.
4573
4574 1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4575
4576 * bits/valarray_array.h (__valarray_sum): New function.
4577 * bits/valarray_array.h (__valarray_product): Same.
4578
4579 * bits/std_valarray.h (valarray<T>::product): Comment out.
4580 * bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
4581 instead of accumulate.
4582
4583 * src/valarray-inst.cc: Remove explicit intantiation of
4584 class multiplies<size_t>, accumulate, valarray<size_t>::product.
4585 * src/valarray-inst.cc (__valarray_product): Instantiate
4586 explicitly.
4587 * src/valarray-inst.cc (__valarray_product(const
4588 valarray<size_t>&)): New function.
4589 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
4590 valarray<size_t>::product. Use __valarray_product instead.
4591
4592
4593 1999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
4594
4595 * bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
4596 (_S_pad_char): New function. Not done: ios_base::internal.
4597 * bits/ostream.tcc: Clean for above.
4598 * bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
4599 specialization that was commented out, as ostreams now have to
4600 correctly deal with padding.
4601 * testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
4602
4603 * testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
4604 from mailing list. This is a bug, and should be fixed.
4605 * testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
4606
4607 1999-10-22 Petter Urkedal <petter@matfys.lth.se>
4608
4609 * stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
4610 to avoid conflict with gcc name mangling.
4611 * stl/bits/stl_algo.h (__transform): Same.
4612
4613 1999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
4614
4615 * bits/ios_base.h: Change argument names.
4616 * docs/17_intro/BADNAMES: Add __opr.
4617
4618 1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4619
4620 Work on compilation slowdowns from 10-5 to 10-12, which are
4621 related to the _Callback_list inlining/merge-ifcation, which is
4622 still a pending issue, but this stuff is necessary cleanup anyway.
4623
4624 * src/ios.cc: Re-arrange.
4625 * bits/ios_base.h: Tweak.
4626 * bits/basic_ios.tcc: Move out of line definitions here, move
4627 small out-of-line definitions inline.
4628 * bits/basic_ios.h: From here.
4629
4630 * bits/streambuf.tcc (pbackfail, overflow): Move back inline.
4631 * bits/std_streambuf.h: From here.
4632
4633 1999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
4634
4635 * testsuite/27_io/istream_extractor_char.cc: Add tests.
4636 * bits/std_istream.h: Tweaks--set eofbit on eof condition.
4637 * bits/istream.tcc (operator>>(istream&, string&): Remove
4638 vestigial issspace hacks and use ctype::is instead.
4639 (getline): Remove unnecessary loops, fortify and pasteurize.
4640 (ws): Same.
4641
4642 1999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
4643
4644 * bits/istream.tcc (operator>>): Tweak.
4645 * bits/std_istream.h: Fix according to library issues list 68.
4646 Add typedefs.
4647
4648 * bits/locale_facets.h: Fix table_size to be non-zero.
4649
4650 1999-10-18 Vadim Egorov <egorovv@HotPOP.com>
4651
4652 * src/basic_file.cc: ifdef instead of comment for binary mode
4653
4654 1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
4655
4656 * bits/std_sstream.h: Stringbuf initialization based on actual,
4657 not allocated, size.
4658 * testsuite/21_strings/inserters_extractors.cc (test06): Add test
4659 case.
4660
4661 1999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
4662
4663 * testsuite/26_numerics/c_math.cc (test03): Tweak.
4664 * testsuite/27_io/istream_manip.cc (test01): Corrections due to
4665 sentry change.
4666 * testsuite/21_strings/inserters_extractors.cc (test01): Same.
4667
4668 1999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
4669
4670 * bits/std_istream.h: Tweaks.
4671 * bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
4672 as per issues list addition--set failbit, eof on empty buffers.
4673 * testsuite/27_io/istream_sentry.cc: New file.
4674
4675 1999-10-12 Chris Prince <prince@wcug.wwu.edu>
4676
4677 * bits/std_cstdio.h: Remove Solaris hacks.
4678
4679 1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
4680
4681 * docs/index.html: Fix minor typos and tweaks.
4682 * docs/17_intro/contribute.html: Ditto.
4683 * docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
4684 thread safety and binary I/O, links to external sites.
4685 * docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
4686 and MT.
4687
4688 1999-10-12 Petter Urkedal <petter@matfys.lth.se>
4689
4690 * bits/std_cmath.h (abs(float)): When ::absf is not present, call
4691 ::fabs(double) rather than ::abs(int).
4692
4693 1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
4694
4695 * bits/std_streambuf.h: Fix minor blip--should explicitly return
4696 *gptr(), not the result of underflow.
4697 (pbackfail): Conform to default behavior.
4698 (overflow): Same.
4699 * bits/streambuf.tcc: Add out-of-line streambuf members.
4700 (xsputn): Tweak.
4701 (xsgetn): Tweak.
4702 * testsuite/27_io/streambuf.cc: New file.
4703 * testsuite/27_io/filebuf.cc: Correct test.
4704
4705 1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
4706
4707 * bits/std_cmath.h: Correctly cast int to double.
4708 * testsuite/26_numerics/c_math.cc: Add test.
4709
4710 * mknumeric_limits (OUT_C): Tweaks.
4711 * src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
4712 trying to instantiate type_traits<wchar_t>.
4713 * acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
4714 * configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
4715 * configure: Regenerate.
4716
4717 1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
4718
4719 * bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
4720 (streambuf::xsputn): Put in break.
4721 Aiming for parity between these two (mostly) similar functions.
4722 Need to re-write tests.
4723
4724 * bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
4725 Make data members protected, not private.
4726 * src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
4727 ios_base.h. As called only once, collapse into . . .
4728 * bits/basic_ios.h (basic_ios::copyfmt): Fix.
4729 (basic_ios::clear): Throw ios_base::failure on occasion.
4730 (basic_ios::exceptions): Fix.
4731 * testsuite/27_io/ios_members.cc (test02): Add tests.
4732
4733 * bits/fpos.h: Default initialize.
4734 * testsuite/27_io/fpos.cc (test03): Add test.
4735
4736 1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
4737
4738 * src/basic_file.cc: Fix open modes.
4739
4740 1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4741
4742 * bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
4743
4744 1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
4745
4746 * bits/streambuf.tcc: Yea. Fix this for real.
4747 * testsuite/27_io/ostream_inserter_other.cc: Add file.
4748 * src/Makefile.*: Regenerate.
4749
4750 1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
4751
4752 * bits/std_cstdlib.h: Add more linux-specif hacks to the header
4753 files so that stdtof and strtold will be declared. Some hacks
4754 already exits in bits/std_cctype.h -- these should all be removed
4755 at a later date.
4756 * bits/locale_facets.tcc: Add cstring.h include.
4757 _S_format_long: Use long, not int.
4758 Add std_limits.h include, for numeric_limits.
4759 * testsuite/27_io/istream.cc: Make instantiations work when using
4760 -fhonor-std.
4761 * testsuite/27_io/ostream.cc: Same.
4762
4763 1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
4764
4765 * bits/fpos.h (fpos::operator streamoff): Make const, don't return
4766 a reference. Same for operators == and !=.
4767 * testsuite/27_io/fpos.cc: Add tests.
4768
4769 1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
4770
4771 * bits/valarray_array.h: Fix typo.
4772
4773 * mknumeric_limits: Make sure we are regenerating things from
4774 scratch. Otherwise things get redefined. Not good.
4775
4776 1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
4777
4778 * bits/std_ostream.h: Fix typo.
4779 * bits/std_istream.h: Same.
4780 * bits/std_iomanip.h: Same.
4781
4782 * bits/istream.tcc (sentry::sentry()): Remove optional tie with
4783 ostream, as happens with underflow anyway.
4784 * testsuite/27_io/istream.cc (main): New file.
4785 * testsuite/27_io/ostream.cc (main): New file.
4786 * testsuite/27_io/istream_unformatted.cc: Add tests.
4787
4788 * src/Makefile.am (headers): Add new file.
4789 * src/Makefile.in (headers): Regenerated.
4790
4791 * bits/basic_ios.h: Remove local-related files.
4792 * bits/basic_ios.tcc: New file, add locale-related items.
4793 * src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
4794 * testsuite/27_io/ios_members_static.cc: Change to
4795 * testsuite/27_io/ios_base_members_static.cc: This.
4796 * testsuite/27_io/ios_members.cc: New file.
4797 * testsuite/27_io/stdios_basefield_manip: Change to
4798 * testsuite/27_io/ios_manip_basefield.cc: This.
4799 * testsuite/27_io/stdios_fmtflags_manip: Change to
4800 * testsuite/27_io/ios_manip_fmtflags.cc: This.
4801
4802 * bits/fpos.h: Fix discarding qualifiers on this when
4803 using _M_position with a const fpos.
4804 * bits/std_iosfwd.h: Tweak.
4805 * testsuite/27_io/fpos.cc: New file.
4806
4807 1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
4808
4809 * bits/streambuf.tcc (streambuf::xsputn): Tweak.
4810 * bits/ostream.tcc: Tweak.
4811 * testsuite/21_strings/inserters_extractors.cc (test04, test05):
4812 Add new regressions.
4813
4814 1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
4815
4816 * bits/basic_ios.h: Inline, tweak.
4817 * bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
4818 pass back accurate return value to basic_filebuf::overflow.
4819 * bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
4820 This fixes sstream problems reported in libstdc++/9, but screws up
4821 filebufs. That solution is pending.
4822
4823 1999-09-15 Vadim Egorov <egorovv@1c.ru>
4824
4825 * bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
4826 zero count puts.
4827 * testsuite/21_strings/inserters_extractors.cc (test01): Add test.
4828
4829 1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
4830
4831 * bits/c++config.h.in: Add emacs hints.
4832
4833 * stl/bits/stl_range_errors.h: Don't define here, for now define
4834 in stdexcept.cc along with string inlines __length_error, etc.
4835 * src/stdexcept.cc: Define here.
4836 * stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
4837 at(size_t) will be declared/defined.
4838 (__STL_THREADS): Fix mess surrounding use of this, enable.
4839
4840 1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
4841
4842 * testsuite/27_io/istream_extractor_arith.cc: Fix.
4843 * src/localename.cc: Tweak formatting, fix assignment to
4844 const compiler errors.
4845
4846 1999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
4847
4848 * acconfig.h: Add absf, cosf.
4849 * configure.in (use_builtin_sinf): Same.
4850 * configure: Regenerate.
4851 * bits/std_cmath.h: Add mess of defines.
4852 * testsuite/26_numerics/modf_float.cc: Change to
4853 * testsuite/26_numerics/c_math.cc: This.
4854
4855 * src/locale.cc: Change.
4856 * bits/locale_facets.h: Fix.
4857 * testsuite/22_locale/ctype.cc: Add temporary tests.
4858
4859 1999-08-24 Benjamin Kosnik <bkoz@cygnus.com>
4860
4861 * bits/fpos.h: Test.
4862
4863 * docs/index.html: Add powerpc-linux-gnu results with gcc-2.95.1.
4864 Fix database name for "libstdc++".
4865
4866 1999-08-23 Benjamin Kosnik <bkoz@cygnus.com>
4867
4868 * mknumeric_limits (numeric_limits): Add default definitions to
4869 member functions.
4870 * testsuite/18_support/numeric_limits.cc: New file.
4871
4872 1999-08-18 Benjamin Kosnik <bkoz@cygnus.com>
4873
4874 * bits/std_istream.h: Correct initialization.
4875 * bits/std_ostream.h: Likewise.
4876 * bits/std_sstream.h: Likewise.
4877 * bits/std_fstream.h: Likewise.
4878 * testsuite/27_io/stringstream.cc: Add test case.
4879
4880 * bits/std_sstream.h: Replace ____string_type with __string_type.
4881 * bits/basic_ios.h (basic_ios::rdbuf(sb*): Call clear(), as required.
4882 * bits/std_ostream.h: Tweak dtor.
4883
4884 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4885
4886 * src/Makefile.am (CXXFLAGS): Add -O2.
4887 * src/Makefile.in: Likewise.
4888
4889 * src/gen-num-limits.cc: Conditionally allow wchar_t. See what
4890 this breaks. . .
4891 * mknumeric_limits (numeric_limits): Uglify.
4892
4893 * bits/std_istream.h: Fix warnings.
4894 * bits/locale_facets.tcc: Collateral damage from
4895 char_traits<char>::int_type change.
4896
4897 * testsuite/27_io/istream_extractor_char.cc: Terminate strings.
4898
4899 1999-08-17 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
4900
4901 * docs/index.html: Add mailing list form.
4902 * docs/27_io/howto.html: Add link to iostreams_hierarchy.pdf.
4903
4904 1999-08-16 Benjamin Kosnik <bkoz@cygnus.com>
4905
4906 * bits/streambuf.tcc (streambuf::xsputn): Allow copies to continue
4907 if overflow successfully allocates more space.
4908 * bits/std_sstream.h: Adjust comments.
4909 * bits/sstream.tcc (stringbuf::overflow): Copy buffer into string
4910 before overflow forces a resize.
4911 * testsuite/27_io/ostream_inserter_char.cc: New file.
4912
4913 * bits/std_fstream.h: Remove declaration.
4914 * bits/fstream.tcc: Move uflow.
4915 * bits/std_streambuf.h: To here.
4916 * bits/streambuf.tcc: Make consistent.
4917
4918 * src/Makefile.am (WERROR): Enable.
4919 * src/Makefile.in: Regenerate.
4920 * bits/sbuf_iter.h: Tweak.
4921 * bits/char_traits.h: (char_traits<wchar_t>::eof): Use WEOF.
4922 Use unsigned int as char_traits<char>::int_type.
4923
4924 * bits/ostream.tcc (ostream::putc(char)): Tweak.
4925 * testsuite/27_io/iostream_objects.cc: Terminate string.
4926 Move cin::operator>>(char*) test to extractor_char.cc.
4927 * testsuite/27_io/stringstream.cc: Add stringstream instantiation.
4928 * bits/std_istream.h (basic_iostream): Make explicit definition
4929 for default ctor.
4930 * bits/std_sstream.h: Fix typos.
4931 * bits/fstream.tcc (_M_init_filebuf): Set to indeterminate for
4932 basic_filebuf ctor with fileno open arguments. Thus, filebufs are
4933 initialized in a consistent manner, no matter if the underlying
4934 FILE/bit bucket is a tty or a text file or some other imaginary
4935 construct. This and setting _M_buf_size to 1 for cin allows
4936 istream::get(char) to work in a manner consistent with what others
4937 expect.
4938
4939 * docs/index.html: Link Stroustrup's C++ page.
4940
4941 1999-08-12 Michael Cook <cook@sightpath.com>
4942
4943 * bits/fstream.tcc: Fix signed/unsigned -Wall warning.
4944 * bits/istream.tcc: ditto.
4945 * bits/sbuf_iter.h: ditto.
4946 * bits/std_istream.h: ditto.
4947 * src/Makefile.am: Add -Wall to CXXFLAGS.
4948 * src/Makefile.in: ditto.
4949
4950 1999-08-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4951 Russell Davidson <russell@ehess.cnrs-mrs.fr>
4952
4953 * bits/locale_facets.tcc (_M_extract): Finish off patch from yesterday.
4954 * src/Makefile.am (myinstallheaders): Tweak, remove PHONY.
4955
4956 1999-08-11 Benjamin Kosnik <bkoz@tintin.cygnus.com>
4957
4958 * testsuite/27_io/istream_unformatted.cc: New file.
4959
4960 * testsuite/27_io/istream_extractor_arith.cc (test02): Add more
4961 elaborate tests for int types with noskipws.
4962
4963 * testsuite/27_io/istream_extractor_other-1.txt: New file.
4964 * testsuite/27_io/istream_extractor_other-1.tst: New file.
4965 * testsuite/27_io/istream_extractor_other-2.tst: New file.
4966 * testsuite/27_io/istream_extractor_other.cc: Add tests.
4967 * bits/istream.tcc: Fix operator>>(streambuf*).
4968
4969 * testsuite/23_containers/vector_ctor.cc (test01): Add.
4970
4971 * docs/index.html: Remove references to egcs.
4972 * docs/17_intro/DESIGN: Same.
4973 * docs/17_intro/contribute.html: Same.
4974 * docs/17_intro/RELEASE-NOTES: Ditto.
4975 * docs/17_intro/howto.html: Same here.
4976
4977 Russell Davidson <russell@ehess.cnrs-mrs.fr>
4978 * stl/bits/stl_vector.h (_M_insert_aux):
4979 * bits/locale_facets.tcc (_M_extract): Tweaks for preliminary
4980 decimal/floating point support.
4981 * bits/locale_facets.h: Change _M_extract prototype.
4982 * bits/char_traits.h (char_traits::to_int_type): Cast to unsigned.
4983 * bits/std_istream.h (istream::read(char_type, streamsize)): Fix.
4984
4985 1999-08-10 Michael Cook <cook@sightpath.com>
4986
4987 * bits/fstream.tcc: Fix for unused variable warning (-Wall).
4988 * bits/ios_base.h: ditto.
4989 * bits/istream.tcc: ditto.
4990 * bits/locale_facets.h: ditto.
4991 * bits/locale_facets.tcc: ditto.
4992 * bits/std_streambuf.h: ditto.
4993 * src/basic_file.cc: ditto.
4994 * src/locale.cc: ditto.
4995 * src/localename.cc: ditto.
4996
4997 1999-08-10 Kirat Singh <singhki@jany.gs.com>
4998
4999 * bits/std_iomanip.h: Inline.
5000
5001 1999-08-10 Alfred Minarik <a8601248@unet.univie.ac.at>
5002
5003 * bits/std_streambuf.h: Correct member initialization order.
5004 * src/ios.cc: Add definitions for ios_base data members.
5005
5006 1999-08-06 Phil Edwards <pedwards@ball.com>
5007
5008 * docs/index.html: Seventh snapshot updates. Minor tweaks.
5009 * docs/faq/index.html: Ditto. Removed bugs sections that have
5010 been fixed for a long time... Lots of "egcs" references still
5011 exist.
5012 * docs/faq/index.txt: Regenerated.
5013
5014 1999-08-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5015 Andreas Amann <amann@physik.tu-berlin.de>
5016
5017 * testsuite/26_numerics/binary_closure.cc (main): new test.
5018
5019 1999-07-29 Andreas Amann <amann@physik.tu-berlin.de>
5020
5021 * bits/valarray_meta.h: (_BinClos<>::_Binclos): fix typo causing
5022 segmentation fault.
5023
5024 1999-08-04 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5025
5026 * docs/index.html (host): Put in testing status.
5027
5028 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5029
5030 * docs/index.html: Update for libstdc++-2.90.6 release.
5031 * docs/17_intro/RELEASE-NOTES (New): Update.
5032 * docs/17_intro/BUGS: Update.
5033 * bits/c++config.h.in (__GLIBCPP__): Bump version number.
5034 * README (file): Update.
5035
5036 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5037
5038 * src/Makefile.am (generated_headers): Remove bits/c++config.h as
5039 a target.
5040 ($(generated_headers)): Same.
5041 * src/gen-c++config.cc: Remove, rename to
5042 * bits/c++config.h.in: New file. Bump version number.
5043 * configure.in: Generate bits/c++config.h at configure time.
5044 * math/mathconf.h: include bits/c++config.h, not config.h.
5045
5046 * bits/std_cmath.h: Fix remaining link error for solaris shared
5047 builds. _GLIBCPP_HAS_BUILTIN_SINF has to be disabled for the time
5048 being, as on Solaris this silently calls sinf, which does not
5049 exist.
5050
5051 * src/complex.cc: More tweaks.
5052
5053 1999-08-03 Benjamin Kosnik <bkoz@cygnus.com>
5054
5055 * src/complex.cc: Same.
5056 * math/complex-stub.h: Change.
5057 * math/c_log10*.c: Change back to clog10*.c.
5058
5059 * configure.in (NEED_C_LOG10): Delete.
5060 * configure: Regenerate.
5061 * math/Makefile.am: Change.
5062
5063 1999-07-30 Benjamin Kosnik <bkoz@cygnus.com>
5064
5065 * math/Makefile.am: Fix, for real.
5066 * configure.in (use_builtin_sinf): Ok, make autoconf solution.
5067 * math/clog.c: Move to c_log.c.
5068 * math/clog*: Ditto.
5069 * math/c_log10l.c (c_log10l): Change function name.
5070 * math/c_log10f.c (c_log10f): Change function name.
5071 * math/c_log10.c (c_log10): Change function name.
5072
5073 * math/complex-stub.h: Change to c_log* variants.
5074 * src/complex.cc: And here.
5075
5076 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
5077
5078 * testsuite/27_io/istream_extractor_other.cc: Correct last test.
5079 * bits/sstream.tcc (stringbuf::overflow): Don't update the input
5080 sequence, just the output sequence.
5081 * bits/std_sstream.h (stringbuf::str()): Only in stringbufs return
5082 the original string, all others use complicated heuristic.
5083
5084 * src/complex.cc: Assume c_log10.
5085 * math/Makefile.am (EXTRA_yes): Fix c_log/c_logf unresolved
5086 symbols in shared libraries by making c_log/c_log10 part of the
5087 "must cmpile" sources. This may not work on solaris, must check.
5088
5089 1999-07-29 Benjamin Kosnik <bkoz@cygnus.com>
5090
5091 * bits/istream.tcc (operator>>(streambuf*)): Re-do.
5092 * bits/std_istream.h: Fix char extractors.
5093 * testsuite/27_io/istream_extractor_char.cc: Change.
5094 * testsuite/27_io/istream_extractor_other.cc: Add tests.
5095
5096 1999-07-28 Benjamin Kosnik <bkoz@cygnus.com>
5097
5098 * bits/std_cctype.h: Fix for solaris2.6 builds.
5099
5100 * bits/istream.tcc: Fix, thanks Alfred.
5101 * bits/std_istream.h: Formatting changes.
5102
5103 * libio/Makefile.am (libio_la_SOURCES): Remove cleanup.c, so that
5104 _IO_cleanup will not be undefined.
5105 * libio/*: Regenerate.
5106
5107 * bits/basic_string.h: More namespace-safety stuff.
5108 * testsuite/27_io/istream_extractor_char.cc: Fix.
5109 * testsuite/27_io/istream_extractor_arith.cc: Fix.
5110 * testsuite/27_io/iostream_objects.cc: Fix.
5111 * testsuite/27_io/ios_ctor.cc: Fix.
5112 * testsuite/27_io/istream_manip.cc: Make namespace safe.
5113 * testsuite/27_io/istream_extractor_other.cc: New file.
5114
5115 * mkcheck (TESTS_FILE): Tweaks.
5116
5117 1999-07-27 Benjamin Kosnik <bkoz@cygnus.com>
5118
5119 * src/gen-c++config.cc: Note here, change version.
5120 * acconfig.h( _GLIBCPP_USE_CTYPE_ISBIT): New macro.
5121 * src/locale.cc: Used here.
5122 * configure.in (use_builtin_sinf): Check for _ISBit using autoconf.
5123
5124 * aclocal.m4: Regenerate by running `aclocal -I m4.`
5125
5126 * bits/istream.tcc: Fix.
5127 * bits/std_istream.h: More changes to extractors.
5128
5129 * testsuite/27_io/istream_extractor_char.cc: More.
5130 * testsuite/21_strings/inserters_extractors.cc (test01): Fix logic
5131 error in testsuite construction.
5132
5133 * bits/std_istream.h: Partially revert.
5134 * bits/std_ostream.h: Same.
5135 * bits/std_sstream.h: Revert.
5136
5137 1999-07-26 Benjamin Kosnik <bkoz@cygnus.com>
5138
5139 * bits/std_sstream.h: Change initialization.
5140 * bits/std_ostream.h: Make default ctor/assign/operator= private.
5141 * bits/std_istream.h: Same, also correct sentry args.
5142 * bits/istream.tcc: Add correct sentry args.
5143
5144 * testsuite/27_io/istream_extractor_char.cc: New file.
5145 * testsuite/27_io/istream_extractor_arith.cc: New file, old file,
5146 name changes making me dizzy.
5147
5148 1999-07-26 Ulrich Drepper <drepper@happy.cygnus.com>
5149 Benjamin Kosnik <bkoz@cygnus.com>
5150
5151 * aclocal.m4, config.guess, config.sub, ltconfig ltmain.sh: Update
5152 to libtool 1.3.3.
5153
5154 1999-07-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5155
5156 * bits/std_complex.h: Tweak. Make the primary template class
5157 complex work with user-defined numerical types. Provide member
5158 definitions. Restructure.
5159 (class complex<float>): Uglify. Remove __value(). Rename __val
5160 to _M_value. Rename __complex_value_type to _ComplexT. Make it
5161 private. Remove dependency on __value(). Fix various explicit
5162 specialization syntax. Declare a some functions friend. Now the
5163 implementation is nearly comforming.
5164 (class complex<double>): Likewise.
5165 (class complex<long double>): Likewise.
5166
5167 * src/complex.cc: Tweak. Remove dependency on complex::__value().
5168 (sin, sinh, tan, than): Fix call to corresponding C9x function
5169 syntax.
5170
5171 1999-07-24 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5172
5173 * bits/istream.tcc (ws): Fix error with failbit being set.
5174
5175 Disabled due to egcs/gcc-2_95 internal compiler errors.
5176 * src/Makefile.am (CXXFLAGS): Add -fsquangle -fhonor-std
5177 -fnew-exceptions. Compiling with namespaces enabled will now be
5178 the default.
5179 * mkcheck (CXX_FLAG): Same.
5180 * src/gen-c++config.cc (_GLIBCPP_USE_NAMESPACES): Yup. New macro.
5181 * bits/std_cctype.h: Not enough to just define in namespace std if
5182 ctype-isms are macros. Need to also define in namespace std:: if
5183 the C functions are just plain functions.
5184
5185 * src/gen-num-limits.cc: Fix spelling inconsistencies.
5186
5187 1999-07-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5188
5189 * docs/18_support/howto.html: Start documentation. Need to keep
5190 track of the ongoing discussion in th LWG reflector.
5191
5192 * src/gen-num-limits.cc: Tweak.
5193 (class predicate): New class.
5194 (class value): Likewise.
5195 Make the whole machinery more flexible. Add comments.
5196
5197 1999-07-23 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5198
5199 * bits/ios_base.h: Move state/exception functions into basic_ios.
5200 * bits/basic_ios.h: Same.
5201 * src/ios.cc: And here. Callbacks don't attempt to reset
5202 state now.
5203
5204 * bits/std_streambuf.h: Separate ios and streambuf locale data
5205 members and cached facets. Using this convention: _M_locale_buf for
5206 the streambuf-related classes, and _M_locale_ios for the ios
5207 hierarchy.
5208 * bits/fstream.tcc: And here.
5209 * bits/basic_ios.h: And here. Also, add cached ctype.
5210 * src/ios.cc: Ditto.
5211 * bits/ios_base.h: Ditto.
5212 * bits/std_istream.h: Use cached ctype facet.
5213 * docs/27_io/iostreams_hierarchy.pdf: Update for new data member
5214 arraignment.
5215
5216 * testsuite/27_io/ios_ctor.cc: New file.
5217 * src/ios.cc: Move _M_state init to basic_ios::init().
5218 * bits/basic_ios.h: To here.
5219
5220 Attempt for some consistency in naming for testsuite/27_io/*.cc.
5221 * testsuite/27_io/boolfmt.cc: Rename to stdios_fmtflags_manip.cc
5222 * testsuite/27_io/octfmt.cc: Rename to stdios_basefield_manip.cc
5223 * testsuite/27_io/istream_manip.cc: Rename to istringstream_manip.cc.
5224 * testsuite/27_io/ostream_manip.cc: Rename to ostringstream_manip.cc.
5225
5226 1999-07-22 Benjamin Kosnik <bkoz@fidel.cygnus.com>
5227
5228 * src/ios.cc: Tweak initializations of standard iostream
5229 objects to closely match the standard. Tie cin/wcin, set flags on
5230 cerr/wcerr
5231 * bits/char_traits.h: Change from size_t to int_type, as per
5232 standard. As per wide streams.
5233 * bits/basic_ios.h: Infect with __ctype_type, as a preparation
5234 for caching a bunch of ctype info. For instance, ctype_base::space
5235 info needs to be stored somewhere, somehow.
5236 * bits/std_istream.h: Also here.
5237 * bits/std_ostream.h: Ditto.
5238 * bits/std_istream.h (operator>>(istream, char): Aggh. Fixup.
5239 * testsuite/27_io/iostream_objects.cacc (test01): Oh yeah. Fix
5240 stream states.
5241
5242 * bits/istream.tcc (ws): Fix.
5243 * testsuite/27_io/istream_manip.cc: New file, test ws.
5244 * testsuite/27_io/ostream_manip.cc: New file, test endl, ends, flush.
5245
5246 * bits/basic_string.h: Provide a specialized member function for
5247 _S_find<char> using strchr.
5248 * src/string-inst.cc: Put specializations here.
5249 * bits/string.tcc: Small fix for find, remove typo.
5250 * testsuite/21_strings/find.cc (test01): Add tests to catch this
5251 find bug. . .
5252
5253 1999-07-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5254
5255 * bits/basic_ios.h: Put into basic_ios namespace.
5256 Tweak widen/narrow.
5257
5258 1999-07-19 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5259
5260 * bits/std_sstream.h (stringbuf::sync): Change to _M_really_sync,
5261 adjust _M_*_cur pointers inside the function, so callee doesn't
5262 have to adjust.
5263 * bits/sstream.tcc (stringbuf::overflow): Tweak.
5264
5265 * mkcheck: Tweak. Add execution time field, even though it is not
5266 implemented yet. Simplify pass/fail status notation.
5267
5268 1999-07-18 Mumit Khan <khan@xraylith.wisc.edu>
5269
5270 * configure.in: Check for float.h and underscored version of
5271 math functions.
5272 * acconfig.h: Add @BOTTOM@ section for handling underscored
5273 math functions.
5274 * configure: Regenerate.
5275 * config.h.in: Regenerate.
5276 * math/mathconf.h (float.h): Include conditionally.
5277 (M_PI): Define conditionally.
5278 (INFINITE_P): Define for Mingw.
5279 * bits/locale_facets.tcc: Workaround for compiler crash on
5280 ix86-*-mingw32.
5281 * bits/std_cwchar.h (bits/std_cstddef.h): Include.
5282 * src/locale.cc (bits/std_istream.h): Include.
5283 (bits/std_ostream.h): Likewise.
5284
5285 1999-07-18 Phil Edwards <pedwards@ball.com>
5286
5287 * docs/faq/index.html: Updated __black_count notes, fixed typos.
5288 * docs/faq/index.txt: Regenerated.
5289
5290 1999-07-15 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5291
5292 * testsuite/27_io/stringbuf.cc: Cccchanges, latent bugs.
5293
5294 * bits/sstream.tcc (stringbuf::overflow): Modify accounting of
5295 newly-allocated buffer.
5296 * bits/streambuf.tcc (streambuf::xsgetn): Aaaaaah. Fix final
5297 overflow condition bits.
5298
5299 1999-07-14 Benjamin Kosnik <bkoz@cygnus.com>
5300
5301 * bits/std_sstream.h (stringbuf::_M_init_stringbuf): Set
5302 _M_buf_size to initial _M_string.size(), even though for
5303 ostringstreams it is pretty pointless. It's necessary for
5304 istringstreams.
5305 (stringbuf::str()): Adjust.
5306 (stringbuf::str()): Adjust, call _M_init_stringbuf.
5307 * bits/streambuf.tcc (streambuf::xsgetn): Adjust return value for
5308 overflow's possible success.
5309 (streambuf::xsputn): Adjust.
5310
5311 * testsuite/27_io/filebuf.cc: Adjust for the xsgetn re-write from
5312 yesterday.
5313 * testsuite/27_io/stringbuf.cc: Tweak.
5314 * testsuite/21_strings/inserters_extractors.cc (test01): Remove
5315 notes to myself.
5316 * testsuite/23_containers/vector_cons.cc: Rename to be consistent
5317 with other constructor tests to. . .
5318 * testsuite/23_containers/vector_ctor.cc: New file.
5319
5320 1999-07-14 Alfred Minarik <a8601248@unet.univie.ac.at>
5321
5322 * testsuite/*: Changes to make the testsuit compilable with
5323 -fhonor-std. Contains direct qualification of library names with
5324 std::.
5325
5326 1999-07-13 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
5327
5328 * bits/streambuf.tcc: Tweaks.
5329 (streambuf::xsputn): Optimize, fix for sstreams.
5330 (streambuf::xsgetn): Same.
5331 * bits/sstream.tcc (stringbuf::overflow): Adjust _M_buf_size
5332 correctly, handle overflow/reallocate conditions correctly.
5333 * bits/std_sstream.h: Fix typo.
5334 _M_init_stringbuf(): Fix _M_buf_size initialization.
5335 (stringbuf::str()): Construct return string if output has occurred.
5336
5337 * bits/basic_string.h: Fix typo from yesterday's patch.
5338
5339 1999-07-12 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5340
5341 * bits/string.tcc: _M_mutate - clear _M_state again.
5342 * bits/basic_string.h: In the three functions that return
5343 an iterator set _M_state to -1 before return.
5344 Also optimized two cases of operator+.
5345
5346 1999-07-12 Phil Edwards <pedwards@ball.com>
5347
5348 * docs/index.html: Expand egcs-1.1.2 notes/links.
5349 * docs/faq/index.html: And here. Add links to LWG issues-list.
5350 * docs/faq/index.txt: Regenerate. (lynx rocks)
5351 * docs/21_strings/howto.html: Fix notes on case conversion.
5352 * docs/21_strings/stringtok_h.txt: Goodly spelling...
5353 * docs/23_containers/howto.html: Stub for bitmasks.
5354 * docs/27_io/howto.html: Add section on buffering, stub binary.
5355
5356 1999-07-12 Nathan Myers <ncm@cantrip.org>
5357
5358 * stl/bits/stl_tree.h (__black_count): Optimize.
5359
5360 1999-07-09 Vadim Egorov <egorovv@1c.ru>
5361
5362 * src/basic_file.cc: Cleanup in __basic_file destructor.
5363
5364 1999-07-08 Benjamin Kosnik <bkoz@cygnus.com>
5365
5366 * bits/std_streambuf.h: Changes. . .
5367 * bits/streambuf.tcc: Merge xsputn from filebuf into xsputn in
5368 basic_streambuf, to be used for both filebufs and streambufs.
5369 * bits/std_fstream.h (_M_init_filebuf): New function.
5370 Take out specialized xsputn, put into basic_streambuf.
5371 * bits/fstream.tcc: Define, call from both ctors.
5372 * bits/std_sstream.h (_M_init_stringbuf): New function.
5373 * bits/sstream.tcc: Tweak.
5374
5375 * docs/27_io/iostreams_heirarchy.pdf: New file.
5376
5377 * docs/17_intro/CHECKLIST (basic_string<char>): Validation and
5378 acceptance. Wooo-hoo!
5379
5380 * bits/char_traits.h: Change int_type for char_traits general
5381 template, so that 21_strings/capacity.cc will compile.
5382 * testsuite/21_strings/capacity.cc: Add operators.
5383
5384 * bits/string.tcc (string::compare): Clean up, re-implement.
5385 * testsuite/21_strings/compare.cc: Tweak.
5386
5387 * bits/string.tcc (string:_M_mutate): Keep leaked value in
5388 _M_state, which means that whenever begin() or end() has been
5389 called, the string is unshareable, period. By doing this, insert
5390 and erase member functions that return iterators can remain
5391 footloose and fancy free.
5392 * testsuite/21_strings/invariants.cc: Update.
5393
5394 * bits/basic_string.h (string::append): Fix self-referential
5395 problems, ie when "this" is also an argument to a member function.
5396 * bits/string.tcc: Tweak, same.
5397 * testsuite/21_strings/append.cc: New file.
5398
5399 1999-07-07 Benjamin Kosnik <bkoz@cygnus.com>
5400
5401 * bits/char_traits.h: Tweaks.
5402 * bits/basic_string.h: Tweak.
5403 * bits/fstream.tcc: Remove warning for _M_buf_size assignment.
5404
5405 1999-07-06 Benjamin Kosnik <bkoz@cygnus.com>
5406
5407 * bits/std_streambuf.h: Absorb/acquire data members previously
5408 working in basic_filebuf.
5409 * bits/streambuf.tcc: Tweaks.
5410 * bits/fstream.tcc: Adjust.
5411 * bits/std_fstream.h: Move and rename the following functions:
5412 _M_set_ideterminate, _M_is_indeterminate, _M_set_determinate are
5413 now declared and defined in the base class, basic_streambuf. Oh
5414 fuck it, move data members _M_buf, and _M_buf_size into
5415 basic_streambuf as well.
5416
5417 * bits/ostream.tcc: Tweak.
5418 * bits/locale_facets.tcc: Fix typo in comments.
5419
5420 * testsuite/21_strings/inserters_extractors.cc (test01): Change
5421 state from good to not good, as eof() is set.
5422
5423 1999-07-05 Benjamin Kosnik <bkoz@cygnus.com>
5424
5425 * bits/char_traits.h (char_traits::compare). Fix.
5426
5427 * config.guess, config.sub: Update.
5428
5429 1999-07-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5430
5431 * bits/string.tcc: Check the __res_arg for a length error.
5432
5433 1999-07-01 Benjamin Kosnik <bkoz@nabi.net>
5434
5435 * bits/std_streambuf.h: Tweaks. Need to move _M_is_indeterminate
5436 and related functions into basic_streambuf, from basic_filebuf to
5437 take care of ostringstreams and empty strings. So that's groovy,
5438 or will be groovy.
5439 * bits/std_istream.h: Tweaks.
5440 * bits/istream.tcc: Implement ws, getline, operator>> for string.
5441 * bits/std_ostream.h: And here.
5442 * bits/ostream.tcc: Same.
5443 * src/misc-inst.cc: Add instantiations for ws.
5444
5445 * src/string-inst.cc: Add instantiations for inserters and
5446 extractors (operators << and >>, getline).
5447
5448 * testsuite/21_strings/inserters_extractors.cc: Amazingly enough,
5449 a testcase for getline and operators << and >>. Ostream tests are
5450 failing right now, but istream tests should work. . .
5451
5452 * bits/string.tcc: Change _S_max_size, as GNU malloc won't budge.
5453 * bits/std_sstream.h: Revert.
5454
5455 * testsuite/17_intro: header_[iosfwd, ios, iostream, iomanip,
5456 istream, ostream, streambuf, fstream, sstream].cc: New files.
5457
5458 1999-06-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5459
5460 * bits/std_sstream.h (stringbuf::sync): Don't use string::begin()
5461 and string::end().
5462
5463 * bits/basic_string.h (basic_string<>::_S_copy_chars): Add
5464 specializations for _CharT*, iterator and const_iterator.
5465 * src/string-inst.cc: Remove explicit instantiation, as
5466 now explicitly specialized.
5467
5468 * bits/basic_string.h: Add a size_type parameter to _M_clone with
5469 a default value set to 0.
5470 * bits/string.tcc: In _M_clone by the call of _S_create add the
5471 value of the new parameter to _M_length. In reserve check
5472 _M_state and use _M_clone instead of _M_mutate.
5473
5474 1999-06-30 Benjamin Kosnik <bkoz@happy.cygnus.com>
5475
5476 * bits/basic_string.h: Fix _S_max_size.
5477 * bits/string.tcc: Add def here.
5478 * testsuite/21_strings/insert.cc: Fix.
5479
5480 * bits/sbuf_iter.h: Remove detritus.
5481 * testsuite/24_iterators/istreambuf_iterator.cc: Add tests.
5482
5483 * src/locale-inst.cc: Elaborate iterator/locale instantiations
5484 to resolve alpha-osf4 build problems.
5485
5486 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
5487
5488 * bits/string.tcc: Fix signed/unsigned issues in compares.
5489 * stl/bits/stl_deque.h: And here.
5490 * stl/bits/stl_string_fwd.h: Remove __get_c_string.
5491
5492 1999-06-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5493
5494 * bits/string.tcc: New implementation and interface of _M_mutate.
5495 Adapt the change in all functions that call _M_mutate.
5496 * bits/basic_string.h: And here.
5497
5498 1999-06-29 Benjamin Kosnik <bkoz@happy.cygnus.com>
5499
5500 * testsuite/21_strings/capacity.cc (test01): Fix.
5501
5502 1999-06-29 Phil Edwards <pedwards@ball.com>
5503
5504 * mknumeric_limits: Exit script if gen-num-limits isn't built.
5505
5506 1999-06-29 Andreas Gruenbacher <agruenba@pent224.infosys.tuwien.ac.at>
5507
5508 * stl/bits/stl_vector.h: Fix.
5509 * testsuite/23_containers/vector_cons.cc: Add.
5510
5511 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5512
5513 * mknumeric_limits (LDFLAGS): fix.
5514
5515 1999-06-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5516
5517 * mknumeric_limits (LDFLAGS): set it according to the system.
5518
5519 * math/mathconf.h (NAN): Check whether host is running under
5520 Cygwin and make the appropriate definition.
5521 * math/complex-stub.h (nan): protect declaration.
5522
5523 1999-06-28 Benjamin Kosnik <bkoz@haight.constant.com>
5524
5525 * bits/sbuf_iter.h: Rename internal data structure to prevent
5526 confusion between basic_ios and istreambuf_iterators internal
5527 basic_streambuf data member.
5528 * testsuite/24_iterators/istreambuf_iterator.cc: New file.
5529
5530 * bits/basic_string.h: Remove conditionals, add input_iterator
5531 version of S_construct again.
5532 * bits/string.tcc: Same.
5533 * src/string-inst.cc: And add explicit instantiation here.
5534
5535 * src/gen-c++config.cc (_GNU_SOURCE): Take out both _GNU_SOURCE
5536 and __USE_GNU macro defines, as single __USE_GNU use leading to
5537 confusion on glibc2.1 systems (ie, RedHat 6.0).
5538
5539 * src/Makefile.am (headers): Add std_utility to installed headers.
5540
5541 1999-06-25 John Potter <jpotter@eagle.lhup.edu>
5542
5543 * stl/bits/stl_tree.h (insert_unique): Revert, just fix insert_equal.
5544
5545 1999-06-25 Gilles Zunino <Gilles.Zunino@hei.fr>
5546
5547 * mknumeric_limits (LDFLAGS): Swap -lc and -lgcc.
5548
5549 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5550
5551 * src/gen-c++config.cc (_GLIBCPP_*): Change all
5552 macros to include _GLIBCPP as a distinct namespace.
5553 * bits/*: And here.
5554 * src/*: And here.
5555
5556 * stl/bits/std_stdexcept.h: Forward-declare __Named_exception ctor.
5557 * bits/basic_string.h: Remove __get_c_string.
5558 * src/stdexcept.cc: Define ctor here.
5559 * bits/ios_base.h: And fix ios_base::failure as well.
5560 * src/ios.cc: Define here.
5561
5562 * bits/std_streambuf.h: Add a private copy ctor and assignment
5563 operator wrapped in _G_RESOLVE_LIB_DEFECTS.
5564 * bits/ios_base.h: And here too.
5565
5566 * bits/basic_string.h: Tweak.
5567 * testsuite/21_strings/nonmember.cc: Add operator+ tests.
5568
5569 * src/valarray.cc: Rename to. . .
5570 * src/valarray-inst.cc: This.
5571 * src/Makefile.am (sources): Change here.
5572 * src/Makefile.in: Regenerated.
5573
5574 1999-06-24 Vadim Egorov <egorovv@1c.ru>
5575
5576 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
5577 allocated size
5578
5579 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5580 Tom Tromey <tromey@cygnus.com>
5581
5582 * configure.in (use_glibc2): Eek, correct for non-glibc systems.
5583 Use AM_CONDITIONAL to get us out of this jam. .
5584 * libio/Makefile.am: Same.
5585 * */Makefile: Regenerated.
5586
5587 1999-06-24 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5588 John Potter <jpotter@eagle.lhup.edu>
5589
5590 * stl/bits/stl_tree.h (insert_equal): Fix.
5591 * testsuite/23_containers/multiset.cc: New file.
5592
5593 1999-06-23 Benjamin Kosnik <bkoz@cygnus.com>
5594
5595 * configure.in (test for glibc2): Correct AC_TRY_COMPILE so that
5596 this works correctly on glibc-2 systems. This should allow
5597 simplified linking on these systems, and successful linking on Red
5598 Hat 6.0 systems.
5599 * configure, Makefile: Regenerate.
5600
5601 * bits/std_cwctype.h: Add missing 'w' to _S_iswpunct_helper name.
5602
5603 * testsuite/ext: New directory.
5604 * testsuite/ext/headers.cc: New file.
5605
5606 1999-06-23 Vadim Egorov <egorovv@1c.ru>
5607
5608 * stl/ext/hash_set: include missing headers
5609 * stl/ext/hash_map: Same
5610 * stl/ext/slist: Same
5611
5612 1999-06-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5613
5614 * bits/std_cmath.h: comment out modf. Kills build on hpux10.20
5615
5616 1999-06-15 Benjamin Kosnik <bkoz@cygnus.com>
5617
5618 * src/Makefile.am (sources): Regenerate.
5619 * mkcheck: Add TESTS_FILE as a way of controlling what testcases
5620 are run.
5621
5622 1999-06-14 Benjamin Kosnik <bkoz@cygnus.com>
5623
5624 * src/string-inst.cc: Change _S_construct signature, to
5625 track requested allocation size versus valid input iterator range.
5626 * bits/basic_string.h: Here too.
5627 * bits/string.tcc: And here.
5628
5629 1999-06-12 Benjamin Kosnik <bkoz@cygnus.com>
5630
5631 * mkcheck (LOG_FILE): Correctly append errors.
5632
5633 * stl/bits/stl_iterator.h: Revert previous, delirious, change.
5634
5635 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
5636 to clarify differences between basic_string::_M_data() calls and
5637 _Rep::_M_data() calls.
5638 * bits/std_string.h: Fix.
5639 Put in check for out_of_range in substr.
5640 * bits/string.tcc: Fix for _S_find.
5641
5642 * testsuite/21_strings/compare.cc: Add tests.
5643 * testsuite/21_strings/find.cc: New file.
5644 * testsuite/21_strings/substr: New file.
5645 * testsuite/21_strings/replace.cc: New file.
5646
5647 1999-06-11 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5648
5649 * bits/valarray_array.h: __restrict__ify pointers.
5650
5651 * bits/std_valarray.h: Tweak.
5652 (valarray<T>::cshift, valarray<T>::shift): use __builtin_alloca.
5653
5654 * bits/gslice_array.h: Tweak. Reflect changes in bits/gslice.h
5655
5656 * bits/gslice.h: Tweak.
5657 (class gslice::_Indexer): new class.
5658 (gslice::gslice(const gslice&)): implement copy-ctor to support
5659 ref-counted index.
5660 (gslice::operator=(const gslice&)): support ref-counted index.
5661 (gslice::_M_convert_to_index): delete.
5662
5663 * src/valarray.cc: New file.
5664 (__gslice_to_index): turn a gslice into a valarray<size_t>
5665 (ctor gslice::_Indexer::_Indexer): implement.
5666
5667 * src/Makefile.am (sources): add valarray.cc
5668 * src/Makefile.in: regenerate.
5669
5670 1999-06-08 Benjamin Kosnik <bkoz@cygnus.com>
5671
5672 * stl/bits/stl_iterator.h (__normal_iterator::const_iterator
5673 ctor): Put in a const_cast.
5674
5675 * testsuite/21_strings/invariants.cc: New file.
5676
5677 * testsuite/21_strings/insert.cc: Add exception handling bits.
5678 * testsuite/21_strings/ctor_copy_dtor.cc: Same.
5679
5680 * src/wstring-inst.cc: Add c++config.h include.
5681
5682 * bits/basic_string.h: Fix const operator[] for size == pos.
5683 Add _M_leak for rbegin, non-const.
5684 Add _M_leak for rend, non-const.
5685 Make member function at standards conformant.
5686 Add _S_terminal to _Rep for operator[] const, add this into
5687 c_str() as well.
5688 * bits/string.tcc: Add static member definition here,
5689 temporarily.
5690
5691 * testsuite/21_strings/element_access.cc: Add tests.
5692
5693 1999-06-08 Vadim Egorov <egorovv@1c.ru>
5694
5695 * bits/fstream.tcc (_M_really_overflow): Fixed size of
5696 conversion buffer.
5697
5698 1999-06-08 Phil Edwards <pedwards@ball.com>
5699
5700 * bits/fstream.tcc (basic_filebuf::xsputn): Fix off-by-one count
5701 caused when __testinit is true.
5702 * bits/ostream.tcc (basic_ostream::op<<(streambuf*)): Write buffer
5703 using rdbuf()->sputn rather than _M_fnumput->put.
5704
5705 1999-06-08 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5706
5707 * testsuite/23_containers/bitset_ctor.cc: New file.
5708 * stl/bits/std_bitset.h (__BITSET_WORDS): Fix integration bug.
5709
5710 1999-06-08 Phil Edwards <pedwards@ball.com>
5711
5712 * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
5713
5714 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5715
5716 * testsuite/21_strings/element_access.cc: Finish off these tests.
5717 * testsuite/21_strings/insert.cc (test01): Uncomment.
5718 * testsuite/21_strings/ctor_copy_dtor.cc (test01): Finish off ctors.
5719 * bits/basic_string.h: Tweak, okay, fix for real this time.
5720 * bits/string.tcc: Same.
5721 * bits/char_traits.h: Tweak.
5722
5723 1999-06-07 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5724
5725 * bits/std_cmath.h: Example of how to use the generated macro.
5726 * acconfig.h: Add macro for sinf here.
5727 * configure.in (LIBS): Add test for builtin math function sinf.
5728 * configure: Regenerated.
5729
5730 * bits/basic_string.h: Fix _S_max_size.
5731
5732 1999-06-06 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5733
5734 * bits/basic_string.h: Fixes for out-of-memory segv for large strings.
5735 Remove _S_construct signature for forward_iterator_tag and
5736 input_iterator_tag.
5737 Clean _M_fold.
5738 * src/string-inst.cc: Same, tweaks.
5739 * bits/string.tcc: Same, tweaks.
5740
5741 * testsuite/21_strings/ctor_copy_dtor.cc: Add/clarify tests.
5742 * mkcheck (LOG_FILE): Fix filebuf-[2,3].tst checks.
5743 * mknumeric_limits (LD_FLAGS): Add -nodefaultlibs -lc -lgcc as per
5744 Gaby.
5745
5746 * src/locale.cc: Final separation for char/wchar_t bits.
5747
5748 1999-06-05 Phil Edwards <pedwards@ball.com>
5749
5750 * docs/index.html: Added link to book upon request'n'agreement.
5751 * docs/23_containers/wrappers_h.txt: Added.
5752 * docs/{23_containers,27_io}/howto.html: Added sections.
5753
5754 * bits/std_fstream.h: Tweak.
5755
5756 1999-06-05 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5757
5758 * src/ios.cc: Same here.
5759 * bits/std_iosfwd.h: More wchar_t defines.
5760
5761 * bits/basic_string.h: Tweaks.
5762 * bits/string.tcc: Tweak. Fix _S_construct to check for max_size
5763 when doing error checking, as per LWG defect #83.
5764
5765 * src/gen-c++config.cc: Fix comment.
5766
5767 * testsuite/21_strings/ctor_copy_dtor.cc: New file, checks ctors,
5768 assignments, dtors.
5769 * testsuite/21_strings/element_access.cc: New file, checks for
5770 operator[], at(...).
5771 * testsuite/21_strings/insert.cc: New file, tests string::insert.
5772 * testsuite/21_strings/char_traits.cc: New file, tests
5773 for char_traits<char>.
5774
5775 * bits/utility.h: Remove, again.
5776 * src/Makefile.am (std_headers): Remove utility.h.
5777 * src/Makefile.in (std_headers): Regenerate.
5778
5779 Alfred Minarik <a8601248@unet.univie.ac.at>
5780 * bits/basic_string.h: Move __out_of_range and __length_error into
5781 namespace std.
5782
5783 1999-06-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5784
5785 * testsuite/26_numerics/modf_float.cc: New file.
5786
5787 * bits/std_cmath.h (modf(float, float*)): Fix signature. Correct
5788 typo: use ::modff, not ::modf.
5789
5790 1999-06-03 Vadim Egorov <egorovv@1c.ru>
5791
5792 * bits/string.tcc (basic_string::_M_mutate): Fixed memory
5793 allocation error
5794 * testsuite/21_strings/capacity.cc (test01): Test.
5795
5796 1999-06-03 Phil Edwards <pedwards@ball.com>
5797
5798 * bits/fstream.tcc: Re-order inits to stop warnings. Comment/move
5799 unused variables to within #if 0 blocks to do the same.
5800 * bits/std_fstream.h: Fix typos (one prevents compilation).
5801
5802 1999-06-03 Benjamin Kosnik <bkoz@pacifica.cygnus.com>
5803
5804 * src/wstring-inst.cc: Fix.
5805
5806 1999-06-02 Benjamin Kosnik <bkoz@madcow.cygnus.com>
5807
5808 * bits/char_traits.h: Add _G_USE_WCHAR_T macro guards.
5809 * stl/bits/stl_string_fwd.h: Same.
5810 * bits/locale_facets.h: Same.
5811 * bits/locale_facets.tcc: Same.
5812 * src/wstring-inst.cc: And here.
5813
5814 * src/gen-c++config.cc: Comment _G_USE_WCHAR_T. Leading to
5815 problems on HPUX 10.20.
5816 * your-build-directory-here/bits/c++config.h: Just kidding, do it
5817 here as a temporary hack till the compiler/host problems get
5818 worked out.
5819
5820 * bits/locale_facets.tcc (num_get::do_get): Change from ifdef
5821 HAVE_STRTOLD to HAVE_STRTOLD && !(__hpux). Apparently, problems
5822 converting "long double" to struct long_double. Probably should be
5823 done with one macro (HAVE_STRTOLD) at configure time.
5824
5825 * bits/std_cmath.h: Comment out pow(double, int) defintion as
5826 gives re-declaration under hpux10.20. Revert previous change, as
5827 kills linux/x86, solaris 2.7, hpux builds. These should be done
5828 using autoconf, see std_cctype.h and the solutions started in
5829 configure.in (see config.h for the generated file.)
5830
5831 * mknumeric_limits (LDFLAGS): Remove '-nodefaultlibs -lc', as
5832 -nodefaultlibs prevents linking under HPUX 10.20 as __main is not
5833 defined.
5834
5835 * docs/index.html: Add some useful links.
5836 * docs/17_intro/contribute.html: Fix broken links.
5837
5838 1999-06-02 Benjamin Kosnik <bkoz@rhino.cygnus.com>
5839
5840 * mkcheck (LOG_FILE): Add !/bin/bash instead of cygnus-style
5841 paths. The rest of the world should be able to run this script
5842 now.
5843
5844 * src/Makefile.am ($(generated_headers)): Remove comment.
5845 * Makefile*: Regenerate.
5846
5847 * bits/std_locale.h: Remove detritus.
5848 * bits/localefwd.h: Add <cctype> include to undefine the isspace
5849 macro.
5850
5851 1999-06-01 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5852
5853 * src/gen-c++config.cc: New file. Making c++config.h at configure
5854 time by catting this file (nee bits/config.h) with the build
5855 directories config.h. This is not a complete or perfect solution
5856 but is better than what was in place previously.
5857 * bits/c++config.h: Rename/move to above.
5858 * src/Makefile.am (headers): Remove c++config.h.
5859 (myinstallheaders). Add.
5860 * Makefile*: Regenerated.
5861
5862 * bits/std_cwchar.h: Add include of c++config.h for HAVE_*
5863 definitions, so that wmemcmp, wcslen, wmemchr, etc are properly
5864 declared only if not present in the host's wchar.h.
5865
5866 * bits/locale_facets.tcc (std): Change _G_USE_STRTO* to HAVE_STRTO*.
5867
5868 * bits/std_cmath.h: Define out, for the moment. Linux has no
5869 __buitin_fsqrtl? Probably need some kind of configure trickery
5870 here as well.
5871
5872 * src/Makefile.*: Regenerate.
5873 * bits/c++config.h: Add config.h include.
5874
5875 * bits/std_cwchar.h: Remove remaining #error guard.
5876
5877 * acconfig.h: Add bits for HAVE_LC_MESSAGES.
5878
5879 * configure.in (LIBS): Replace previous effort for mbstate_t and
5880 strtold/strtof with this implementation.
5881
5882 1999 06-01 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5883
5884 * bits/std_cmath.h: Tweak. Add more functions. Use __builtin_xxx
5885 whenever possible.
5886
5887 1999-05-28 Benjamin Kosnik <bkoz@cygnus.com>
5888
5889 * bits/locale_facets.tcc (std): Eek: this left in. Autoconf bits
5890 for determining mbstate_t differences across various hosts not
5891 finished.
5892
5893 1999-05-26 Benjamin Kosnik <bkoz@nabi.net>
5894
5895 * bits/locale_facets.tcc: Change to ifdef.
5896
5897 * bits/std_sstream.h (stringbuf::setbuf): Remove dynamic_cast.
5898 * bits/std_fstream.h (filebuf::setbuf): Same.
5899
5900 * bits/std_istream.h: Add ws declaration.
5901 * bits/istream.tcc: Stub out definition.
5902
5903 * docs/index.html: Fix broken link for design.txt.
5904
5905 * configure.in: Test for mbstate_t. If wchar.h doesn't have it,
5906 then set _G_NEED_MBSTATE_T.
5907 * configure: Regenerate.
5908 * bits/c++config.h: Move mbstate_t define.
5909 * bits/std_cwchar.h: To here.
5910
5911 1999-05-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
5912
5913 * bits/std_sstream.h:
5914 basic_stringbuf<>::basic_stringbuf: fix.
5915 basic_stringbuf<>::setbuf:
5916 remove the temporary __string_type object,
5917 remove the unnecessary dynymic_cast in the return value,
5918 change the type of the returned value from __streambuf_type*
5919 to basic_stringbuf<_CharT, _Traits, _Alloc>*.
5920
5921 1999-05-25 Phil Edwards <pedwards@ball.com>
5922
5923 * bits/std_streambuf.h (streambuf::setbuf): Always return streambuf*.
5924
5925 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5926
5927 * bits/std_cmath.h: Tweak. Add float versions of the math functions
5928 in <math.h>. <cmath> still incomplete and incorrekt.
5929
5930 1999-05-24 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
5931
5932 * mknumeric_limits (LDFLAGS): set appropriate link flags.
5933
5934 1999-05-23 Phil Edwards <pedwards@ball.com>
5935
5936 * docs/17_intro/howto.html: Added links to text docs,
5937 e.g., BUGS.
5938 * docs/21_strings/howto.html: Updated sections and links.
5939 * docs/21_strings/{gotw29a.txt,stringtok_h.txt}: Added.
5940 * docs/faq/index.html: Updated what-works for sixth
5941 snapshot. Also a number of "internal" links have been
5942 fixed, now that the web pages are the docs directory...
5943 * docs/faq/index.txt: Regenerated.
5944
5945 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5946
5947 * bits/basic_string.h: Add Nathan's documentation on the string class.
5948
5949 * testsuite/27_io/ios_members_static.cc: New file, for testing
5950 ios_base::sync_with_stdio.
5951
5952 1999-05-21 Benjamin Kosnik <bkoz@tintin.cygnus.com>
5953
5954 * bits/std_locale.h: Simplify includes.
5955 * bits/loccore.h: Delete.
5956 * bits/localefwd.h: Renamed, trimmed.
5957 * bits/locfacets.h: Delete.
5958 * bits/locale_facets.h: Rename, expanded.
5959 * bits/loccore.tcc: Deleted.
5960 * bits/locfacets.tcc: Deleted.
5961 * bits/locale_facets.tcc: Resultant merge.
5962 * bits/std_fstream.h: Modify include.
5963 * bits/ostream.tcc: Same.
5964 * bits/istream.tcc: Same.
5965
5966 * src/locale-inst.cc: And here.
5967 * src/locale.cc: Ditto.
5968 * src/Makefile.am: Updated.
5969 * src/Makefile.in: Rengenerated.
5970
5971 * bits/std_istream.h: Move istream::sentry ctor definition.
5972 * bits/istream.tcc: Move istream::sentry ctor here.
5973 Add more detailed locale include here for ctype member functions.
5974 * bits/ostream.tcc (std): And here.
5975
5976 * bits/sbuf_iter.h: Include std_streambuf.h
5977
5978 * bits/locfacets.h: Start separating this into a localeimp.h file.
5979 * bits/loccore.h: Start separating this into a localefwd.h file.
5980 Add std_climits for CHAR_BIT.
5981
5982 * bits/ios_base.h (ios_base::sync_with_stdio): Stub in.
5983
5984 * bits/char_traits.h: Tweak.
5985
5986 * bits/ios_base.h: Remove INT_MAX, use 1<<16.
5987
5988 * bits/std_ostream.h: Remove c++config.h include.
5989 * bits/std_istream.h: Same.
5990 * bits/std_streambuf.h: Same.
5991 * bits/std_fstream.h: Same.
5992 * bits/std_sstream.h: And here.
5993
5994 * bits/std_iosfwd.h: Add _G_RESOLVE_LIB_DEFECTS here for streampos.
5995 * bits/char_traits.h: Add include of std_cwchar.h for mbstate_t.
5996 * bits/fpos.h: Tweak, format.
5997
5998 * std/ciso646: New file.
5999 * bits/std_ciso646.h: New file.
6000 * src/Makefile.am (std_headers): Add ciso646.
6001 (headers): Add bits/std_ciso646.h.
6002 * src/Makefile.in: Regenerate.
6003 * testsuite/17_intro/header_ciso646.cc: New file, disable
6004 equivalance tests.
6005
6006 * bits/fpos.h: Remove libio.h include.
6007 * bits/basic_file.h: And here.
6008 * bits/std_ios.h: Put here.
6009
6010 * src/ios.cc: Simplify includes, tweak.
6011 * bits/std_ios.h: Simplify include order.
6012 * bits/ios_base.h: Modify ios_base::failure.
6013
6014 * stl/bits/std_numeric.h: Change include from stl_iterator to
6015 std_iterator.
6016
6017 1999-05-19 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6018
6019 * std/iostream: Remove static member __ioint.
6020 * bits/std_iostream.h: Put here.
6021
6022 * stl/bits/std_numeric.h: Remove unneccessary std_iostream.h include.
6023 * stl/bits/stl_algobase.h: Same.
6024 * testsuite/27_io/iostream_objects.cc: Regression tests.
6025 * testsuite/27_io/hello.cc: Remove, subset of above.
6026
6027 1999-05-19 Phil Edwards <pedwards@ball.com>
6028
6029 * docs/index.html: Tweak, update.
6030
6031 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6032
6033 * docs/17_intro/RELEASE-NOTES: remove outdated
6034 documentation about numeric_limits. Correct CXXINCLUDE setting
6035 documentation.
6036
6037 1999-05-18 Phil Edwards <pedwards@ball.com>
6038
6039 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
6040 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
6041 27_io}/howto.html: Created, with some initial entries.
6042 * docs/faq/index.html: Fixed some links.
6043 * docs/faq/index.txt: Regenerated.
6044
6045 1999-05-18 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6046
6047 * bits/c++config.h (__GLIBCPP__): Set version to 19990518.
6048
6049 * docs/17_intro/RELEASE-NOTES: Update.
6050 * docs/index.html: Correct link to mailing list help page, update News.
6051 * docs/faq/index.html: Change fifth to sixth for snapshot.
6052
6053 * src/Makefile.am (myinstallheaders): Bring over Gaby's changes to
6054 install $(top_builddir)/bits/std_limits.h into
6055 $(myincludepfx)/bits. This was mistakenly omitted from yesterday's
6056 Makefile.am changes.
6057 * *Makefile*: Regenerate using automake.
6058
6059 * mkcheck (LOG_FILE): Fix filebuf directory oddness.
6060 * testsuite/27_io/filebuf.cc: Same.
6061
6062 1999-05-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6063
6064 * docs/17_intro/CHECKLIST: update.
6065 * docs/17_intro/TODO: update.
6066
6067 1999-05-17 Phil Edwards <pedwards@ball.com>
6068
6069 * docs/{17_intro,18_support,19_diagnostics,20_util,21_strings,
6070 22_locale,23_containers,24_iterators,25_algorithms,26_numerics,
6071 27_io}/howto.html: Created, with some initial entries.
6072 * docs/faq/index.html: Fixed some links.
6073 * docs/faq/index.txt: Regenerated.
6074
6075 1999-05-17 Benjamin Kosnik <bkoz@unhappy.cygnus.com>
6076
6077 * src/Makefile.am (myinstallheaders): Missed removing missing.h.
6078 * Makefile.in*: Regenerate.
6079
6080 1999-05-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
6081
6082 * bits/std_streambuf.h: Same.
6083
6084 * bits/loccore.h (_Bad_use_facet): Remove bits warned about.
6085 * bits/locfacets.h (std): Same.
6086 * bits/sstream.tcc: Same.
6087 * testsuite/27_io/stringstream.cc: Tweak.
6088
6089 * testsuite/27_io/filebuf.cc: Adjust.
6090 * testsuite/21_strings/capacity.cc (test01): Add more
6091 string::reserve tests.
6092
6093 * bits/c++config.h: Remove broken CCTYPE.
6094 * bits/std_cctype.h: Tweak, remove de-macroization, enable
6095 sequestered topper implementation.
6096 * bits/std_cwctype.h: Same.
6097
6098 * bits/missing.h: Remove.
6099 * bits/std_locale.h: Remove missing.h include.
6100
6101 * stl/bits/std_bitset.h (bitset::bitset(string): Tweak to compile.
6102
6103 * src/Makefile.am (headers): Add bits/std_cwctype.h.
6104 INCLUDES: Add top_builddir.
6105 * src/Makefile.in: Regenerate.
6106
6107 * Makefile.am: Add check and check-install as new targets.
6108 * testsuite/make_check_libfree++: Move to. . .
6109 * mkcheck: Here.
6110 * configure.in: Tweak versions.
6111 * mknumeric_limits: Set paths correctly.
6112
6113 1999-05-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6114
6115 * src/Makefile.in (myinstallheaders): add rule to install
6116 std_limits.h.
6117
6118 * bits/slice.h (class slice): don't const-qualify data members
6119 since the copy and assignment operator is implicitly used. The
6120 valarray specification is definitively a bad one.
6121
6122 * Makefile.in (generate-limits-sources): fix typo.
6123
6124 * docs/text/TODO: update.
6125 * docs/text/CHECKLIST: update.
6126
6127 * bits/gslice.h (gslice): fix bugglet.
6128 (gslice::gslice): set _M_index_size to 0 whenever given lengths
6129 (lj) of size zero.
6130
6131 * src/Makefile.am (libstdc___la_SOURCES): add gen-num-limits.
6132 * src/Makefile.in (libstdc___la_SOURCES): keep in sync.
6133 [Note: **/Makefile.in should be generated from the corresponding
6134 Makefile.am. The current situation is a litte chaotic. ]
6135
6136 1999-05-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6137
6138 * mknumeric_limits: tweak.
6139
6140 * Makefile.in (all): add target generate-limits-sources.
6141 (generate-limits-sources): make a directory bits/ in top_builddir
6142 where the generated std_limits.h is put; generate limitsMEMBERs.cc
6143 directly under $(top_builddir)/src. Remains to put the appropriate
6144 rule for installing std_limits.h.
6145
6146 * src/Makefile.in (headers): remove bits/std_limits.h to this list.
6147 (INCLUDES): add -I$(top_builddir) for bits/std_limits.h which is
6148 now generated at build-time in the build directory
6149 (libstdc___la_SOURCES): remove limitsMEMBERS.cc form this list
6150 * src/Makefile.am: reflect changes in src/Makefile.in
6151
6152 1999-05-12 Phil Edwards <pedwards@ball.com>
6153
6154 * docs/faq/index.html: Add more entries (5.4,5.5), finish
6155 all but one empty entry. Add links for HOWTOs, but no files yet.
6156 (Corrected HOWTO links are for bkoz's new scheme.)
6157 * docs/faq/index.txt: Regenerated.
6158
6159 1999-05-12 Benjamin Kosnik <bkoz@happy.cygnus.com>
6160
6161 * testsuite/17_intro/headers.cc: New file.
6162 * stl/bits/std_queue.h: Change stl_bvector.h include path.
6163 * bits/std_cwctype.h: New file.
6164
6165 * testsuite/27_io/filebuf.cc: Need to tweak directory structure.
6166
6167 1999-05-11 Benjamin Kosnik <bkoz@loony.cygnus.com>
6168
6169 * stl/bits/stl_config.h (__USE_MALLOC): Change underlying allocator.
6170 Check __USE_MALLOC before defining specializations containing
6171 __default_alloc_template.
6172 * src/stl-inst.cc: Here too.
6173
6174 * bits/basic_string.h: Change.
6175
6176 * testsuite/make_check_libfree++: More tweaks.
6177 * testsuite/21/capacity.cc: New file.
6178
6179 * src/string.cc: Rename to be consistent with other inst files.
6180 Rename to string-inst.cc.
6181 * src/string*.cc: Change include.
6182 * src/wstring.cc: Rename to wstring-inst.cc.
6183 * src/wstring*.cc: Ditto.
6184 * src/Makefile.in: Also here.
6185 * src/Makefile.am: Ditto.
6186
6187 * src/traits.cc: Remove.
6188 * src/wtraits.cc: Same.
6189
6190 Try a new way of organizing documentation, one with synchronicity
6191 between testsuites and docs subdirectories, and see who yelps.
6192 * docs/html: Remove, use chapter and subject specific directories
6193 instead of forcing things immediately into format of
6194 documentation.
6195 * docs/text: Same.
6196 * docs/image: Same.
6197 * docs/faq/text, docs/faq/html: Remove, put in the docs/faq
6198 directory and sort by filename and extension.
6199 * docs/17_intro, 18_support, 19_diagnostics, 20_util, 21_strings,
6200 22_locale, 23_containers, 24_iterators, 25_algorithms,
6201 26_numerics, 27_io: Add.
6202 * docs/17_intro/*: Populate with all the text files. . .
6203 * docs/index.html: Construct.
6204
6205 * testsuite/*: Update with same names as the docs subdir.
6206 * testsuite/results: Where to stash conformance results for the
6207 different snapshots, so that progress/size/speed issues can be
6208 tracked over time.
6209
6210 1999-05-10 Benjamin Kosnik <bkoz@loony.cygnus.com>
6211
6212 * src/string.cc: Add _S_copy_chars instantiation, as well as
6213 string::binary operators !=, ==, etc.
6214
6215 * src/Makefile.am (CXXFLAGS): Remove -fvtable-thunks.
6216 * src/Makefile.in (CXXFLAGS): Same here.
6217 * testsuite/make_check_libfree++ (CXX_FLAG): And here.
6218
6219 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
6220
6221 * src/string.cc: Add missing member functions to instantiation list.
6222
6223 1999-05-07 Benjamin Kosnik <bkoz@cygnus.com>
6224
6225 * src/misc-inst.cc: Remove unused string instantiations.
6226
6227 * bits/string.tcc: Tweak, fix.
6228 * bits/basic_string.h: Format. Fix reported error with c_str().
6229
6230 * testsuite/make_check_libfree++: Tweak for shared builds.
6231 * testsuite/21/operations.cc: New file for testing c_str() etc.
6232
6233 1999-05-06 Benjamin Kosnik <bkoz@cygnus.com>
6234 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6235
6236 * stl/bits/stl_vector.h: Fix the code of vector<> for usage with
6237 an iterator class. Delineate pointer versus iterator differences
6238 in implementation.
6239 * 23/vector_capacity.cc: New file, tests for above.
6240
6241 1999-05-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6242
6243 * mknumeric_limits: Fix typo. 'unsigned lont' should read
6244 'unsigned long'.
6245 * src/Makefile.am (libstdc___la_SOURCES): add limitsMEMBERS.cc,
6246 generated by mknumeric_limits to the list. Now std_limits.h is
6247 basically working.
6248 * src/Makefile.in (generate-numeric-limits): new target to handle
6249 automatic generation of bits/std_limits.h and src/limitsMEMBERS.cc.
6250 (all): add target generate-numeric-limits.
6251 (libstdc___la_OBJECTS): add limitsMEMBERS.lo
6252 (libstdc___la_SOURCES): add limitsMEMBERS.cc
6253
6254 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
6255
6256 Irix build issues.
6257 * bits/c++config.h (_G_USE_CTYPE_ISBIT): Defines new macro for
6258 mask values in ctype_base. Move hacks for _ISBit to locfacets.h.
6259 * bits/locfacts.h: Here.
6260
6261 1999-05-05 Benjamin Kosnik <bkoz@cygnus.com>
6262 Ulrich Drepper <drepper@cygnus.com>
6263
6264 Solaris build issues.
6265 * bits/c++config.h: Define new macros, _G_USE_STRTOF and
6266 _G_USE_STRTOLD.
6267
6268 * bits/locfacets.tcc (num_get::do_get): Tweak long double and
6269 float overloads to use the above macros. Account for the lack of
6270 strtold on some systems, and revert back to using sscanf.
6271
6272 1999-05-04 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6273
6274 * bits/locfacets.tcc (num_get::do_get): Check the errno variable.
6275 Use strtoul/strtoull for unsigned types. Check the ranges for
6276 short/unsigned short and if necessary for int/unsigned int.
6277
6278 1999-05-04 Benjamin Kosnik <bkoz@cygnus.com>
6279
6280 * src/gen-num-limits.cc (round_style): Need to use mknumericlimits
6281 to generate bits/std_limits.h now, as the SGI std_limits.h is
6282 being depricated. Not done, but should be done immediately: need
6283 to make sure this script is run as part of the configuration
6284 process, because without it "make" in a configured build directory
6285 will fail. Also tweaked: added a space for float_round_style, and
6286 used static_cast of zero to default-initialize, which should be ok
6287 according to the standard. (see 8.5 p5 and 20.1.3).
6288 * mknumeric_limits (OUT_C): Need this for x86 long
6289 double extensions.
6290
6291 * bits/basic_file.h: Include libio.h, not libioP.h.
6292 * src/basic_file.cc: And add libioP.h include here, so that
6293 _IO_init, et. al are well-declared.
6294
6295 * testsuite/make_check_libfree++ (LIB_PATH): Test installed
6296 headers, not source directory headers.
6297
6298 * src/Makefile.am (headers): Add stl_range_errors.h, also adjust
6299 for ext/*. Also add basic_file.h.
6300 * src/Makefile.in (headers): Same.
6301
6302 * bits/std_string.h: Reduce dependencies for faster
6303 pre-processing. Move istream and ostream specific defines into
6304 istream.tcc and ostream.tcc respectively.
6305 * bits/string.tcc: And here.
6306 * bits/basic_string.h: Move getline inline out-of-line, and to
6307 istream.tcc.
6308 * bits/istream.tcc: Move string::getline and operator>> here.
6309 * bits/ostream.tcc: And here too.
6310
6311 * bits/utility.h: Remove, as clashes with a standard header. Put
6312 __OUTOFRANGE and __LENGTHERROR macros into string.tcc for the time
6313 being, until this can be combined with SGI's approach.
6314 * bits/string.tcc: Add macros, as above.
6315 * bits/loccore.h: Add _Count_ones defines.
6316 * bits/std_string.h: And here too.
6317 * bits/std_locale.h: And here.
6318 * bits/std_ios.h: Take out include here.
6319 * src/Makefile.am (headers): Remove utility.h
6320 * src/Makefile.in (headers): Remove utility.h
6321
6322 * stl/bits/*: Update to SGI STL 3.20.
6323 * stl/ext/pthread_alloc: Delete this file.
6324
6325 1999-05-04 Phil Edwards <pedwards@ball.com>
6326
6327 * docs/faq/html/index.html: Add more entries
6328 * docs/faq/html/index.txt: regenerated.
6329
6330 1999-05-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6331
6332 * src/gen-num-limits.cc (DO_DEFINE_MIN_MAX): fix typo.
6333
6334 1999-04-29 Benjamin Kosnik <bkoz@haight.cygnus.com>
6335
6336 * bits/locfacets.tcc (num_get::do_get): Re-implement, with input
6337 from Ulrich and Nathan. Remove extraneous string class usage,
6338 tweak, clean, simplify and consolidate with a eye towards removing
6339 duplcate code. Use strto[l, ll, f, d, ld] instead of sscanf.
6340 Not done: dealing with leading zeros, wchar_t work.
6341 * bits/locfacets.h: And here too.
6342
6343 * doc: Remove.
6344
6345 1999-04-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6346
6347 * docs/: add a FAQ.
6348 * docs/faq/: New directory.
6349 * docs/faq/html/: Likewise.
6350 * docs/faq/text/: Likewise.
6351 * docs/faq/html/index.html: New file.
6352 * docs/faq/html/index.txt: Likewise. Generated from
6353 docs/faq/html/index.html by lynx.
6354
6355 1999-04-28 Benjamin Kosnik <bkoz@happy.cygnus.com>
6356 Ryszard Kabatek and Branko Cibej
6357
6358 * bits/locfacets.tcc: Modify.
6359
6360 1999-04-27 Benjamin Kosnik <bkoz@happy.cygnus.com>
6361
6362 * bits/sbuf_iter.h: Clean, fix istreambuf_iterator, make
6363 conformant to 14882, wrap non-standard extensions with
6364 _G_RESOLVE_LIB_DEFECTS, remove detritus and cruft, rennovate.
6365 * bits/locfacets.tcc (num_get::do_get(bool)): Return correct iterator.
6366
6367 * testsuite/27/istringstream_formatted.cc: Add tests.
6368
6369 * bits/locfacets.h: Remove cruft from _Format_cache, continue
6370 commenting, simplify.
6371 * bits/locfacets.tcc: Same.
6372
6373 1999-04-27 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6374 * bits/locfacets.tcc (num_get::do_get):
6375 Fix the sscanf format parameter
6376 for long long 'll' (as in C9X) instead of 'l'.
6377 Fix the order of sscanf format parameters: "%dl" --> "%ld".
6378 Change the type of the local variable '__conv' from 'string'
6379 to 'const char*' and adapt the change.
6380
6381 1999-04-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
6382
6383 * bits/locfacets.h: Document _Format_cache, and name data members
6384 after the corresponding functions in numpunct. For instance:
6385 _M_grsep -> _M_thousands_sep, and _M_decsep -> _M_decimal_point.
6386 Break apart _M_boolnames{2] into _M_truename and _M_falsename.
6387 * bits/locfacets.tcc: Same.
6388
6389 * bits/locfacets.h (num_get::_M_extract): Don't allow groupings to
6390 stop parsing--store for later analysis.
6391 * testsuite/27/istringstream_formatted.cc: Add cases.
6392
6393 1999-04-25 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6394
6395 * bits/valarray_meta.h: tweak.
6396 (_UnFunBase, _BinFunBase, _BinFunBase1, _BinFunBase2, _BinBase1,
6397 _BinFunBase2): rename typedef-name _Tp to _Vt to keep the compiler
6398 happy -- boggus warning.
6399 * bits/std_valarray.h: Fix.
6400 (valarray<T>::shift): Fix. Update comment.
6401 (valarray<T>::cshift): Fix.
6402
6403 1999-04-23 Benjamin Kosnik <bkoz@cygnus.com>
6404
6405 * testsuite/27filebuf-2.txt: Delete.
6406 * testsuite/27/filebuf.cc: Put output files directly into the
6407 correct subdirectory (27).
6408
6409 Alexandre Petit-Bianco <apbianco@cygnus.com>
6410 * testsuite/make_check_libfree++: Check generated (*.txt) file
6411 against stored results file (*.tst).
6412
6413 1999-04-22 Benjamin Kosnik <bkoz@nabi.net>
6414
6415 * bits/locfacets.tcc: Fix.
6416
6417 * bits/fstream.tcc (filebuf::seekoff): Output current out pointer.
6418 (filebuf::overflow): Simplify.
6419 (filebuf::xsputn): Correctly handle indeterminate state.
6420
6421 * testsuite/27/istringstream_formatted.cc: Tweak.
6422 * testsuite/27/filebuf.cc: Tweak.
6423 * testsuite/27/filebuf-3.tst: Correct: this is the canonical
6424 results file, please use this in the future to guarantee filebuf
6425 positioning accuracy.
6426 * testsuite/27/filebuf-2.tst: Same.
6427
6428 1999-04-21 Benjamin Kosnik <bkoz@cygnus.com>
6429
6430 * bits/fstream.tcc (filebuf::xsputn): Add.
6431 * bits/std_fstream.h: Declare.
6432
6433 * src/basic_file.cc (__basic_file::open): Add O_CREAT to open
6434 calls using ios_base::trunc.
6435
6436 * bits/sstream.tcc (streambuf::overflow): Fix crasher.
6437
6438 * testsuite/make_check_libfree++ (LOG_FILE): Ugh. Another fix.
6439 * testsuite/27/27stringstream.cc: Same.
6440 * testsuite/27/27stringbuf.cc: More tweaks.
6441 * testsuite/27/27filebuf-2.txt: Remove.
6442
6443 * testsuite/27/27filebuf-1.tst: Append, to force byte size over
6444 BUFSIZE so that overflows/underflow can be tested with default
6445 buffer setting.
6446 * testsuite/27/27filebuf-1.tst: Add.
6447
6448 * testsuite/*/*: Remove pre-pended chapter names, as they
6449 duplicate the chapter info contained in the enclosing directory
6450 anyway.
6451
6452 1999-04-20 Benjamin Kosnik <bkoz@cygnus.com>
6453
6454 * bits/streambuf.tcc (streambuf::xsputn): Re-implement to conform
6455 to sputc conditions.
6456
6457 * bits/ios_base.h: Define here.
6458 * src/ios.cc (ios_base::_M_clear): Remove hack.
6459 * bits/basic_ios.h: Fix rdstate().
6460
6461 * bits/sstream.tcc (streambuf::seekoff): Fix.
6462 * bits/fstream.tcc (filebuf::seekoff): Tweak comments.
6463
6464 * testsuite/make_check_libfree++ (LOG_FILE): More c-c-c-changes.
6465 * testsuite/24/24iterator.cc: Add/Fixes for DEBUG_ASSERT.
6466 * testsuite/27/27stringstream.cc: Same.
6467 * testsuite/27/27stringbuf.cc: Same.
6468 * testsuite/27/27istringstream_formatted.cc: Same.
6469 * testsuite/27/27filebuf.cc: Same.
6470
6471 * bits/locfacets.h: Remove specializations for messages<char> and
6472 messages<wchar_t> ctors. Same for moneypunct. Not required, not used.
6473 * src/locale.cc: Remove definitions for above.
6474 * src/misc-inst.cc: Revert, take out iomanip.h include.
6475 * bits/std_iomanip.h: Tweak, format.
6476
6477 1999-04-19 Benjamin Kosnik <bkoz@cygnus.com>
6478
6479 * bits/loccore.h: Format, move inline.
6480 * bits/locfacets.tcc: Same.
6481 * bits/locfacets.h: Same.
6482
6483 Ulrich Drepper <drepper@cygnus.com>
6484 * aclocal.m4: Re-generate.
6485 * configure, configure.in: Same.
6486 * m4/lc_messages.m4: New file.
6487
6488 1999-04-18 Benjamin Kosnik <bkoz@cygnus.com>
6489
6490 * bits/std_ostream.h: Fix typedef for wchar_t instantiations.
6491 * bits/sstream.tcc: Tweak.
6492
6493 * std/iostream: Put __ioinit inside macro guards.
6494
6495 * src/stlinst.cc: Delete and move to . . .
6496 * src/stl-inst.cc: New file, plus wrapping in namespace std.
6497 * src/Makefile.in: Change.
6498 * src/Makefile.am: Same.
6499 * src/misc-inst.cc: Add istringstream/ostringstream instantiations.
6500
6501 * testsuite/make_check_libfree++: Efficiently format for minimal
6502 space. Enforce stricter execution tests by enabling
6503 -DDEBUG_ASSERT.
6504
6505 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
6506
6507 * docs/text/RELEASE-NOTES: Fix include typo.
6508
6509 * src/Makefile.am (headers): Add istream.tcc.
6510 * src/Makefile.in (headers): Add istream.tcc.
6511
6512 * ltconfig, ltmain.sh, libtool: Update to libtool-1.2g.
6513
6514 1999-04-16 Benjamin Kosnik <bkoz@cygnus.com>
6515
6516 * bits/locfacets.tcc (num_get::do_get(long)): Finish roughing in.
6517 * bits/locfacets.h (num_get::_M_extract): New functin:
6518 consolidate logic for do_get(...) members.
6519
6520 * bits/sbuf_iter.h (istreambuf_iterator::operator++()): Fix.
6521 * testsuite/27/27istringstream_formatted.cc: Add.
6522
6523 1999-04-16 Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
6524
6525 * src/basic_file.cc (__basic_file::open): Fix thinko in
6526 _G_HAVE_IO_FILE_OPEN bits.
6527 * bits/std_istream.h (sentry::sentry(istream, bool)): Fix isspace bug.
6528 * bits/std_cmath.h: Add stdlib.h include for ldiv_t.
6529 * src/complex.cc (FCT): Qualify all functions with global namespace.
6530 * src/locale.cc: Don't qualify memcpy and setlocale.
6531 * src/stdexcept.cc (__out_of_range): Qualify out_of_range with std::.
6532 (__length_error): Likewise, for length_error.
6533 * src/stlinst.cc: Qualify instantiations with std::.
6534
6535 1999-04-15 Benjamin Kosnik <bkoz@cygnus.com>
6536
6537 * C++STYLE: Add ChangeLog guidelines for member functions.
6538
6539 * doc/* : Delete.
6540 * BADNAMES, BUGS, C++STYLE, CHECKLIST, COPYING,
6541 DESIGN, HEADER_POLICY, PROBLEMS, RELEASE-NOTES, TODO: Moved into
6542 docs/text and made less strident.
6543
6544 * bits/fstream.tcc: Change non-standard ctor to match Sun's sematics.
6545 * bits/std_fstream.h: Same.
6546 * src/ios.cc: Same.
6547
6548 * bits/locfacets.h: Touch.
6549
6550 1999-04-15 Ulrich Drepper <drepper@cygnus.com>
6551
6552 * math/cexp.c (cexp): Use NAN instead of nan("").
6553 Reported by joel reed <joelreed@yahoo.com>.
6554
6555 * libio/libioP.h: Define _IO_seek_fpos_t and _IO_seek_off_t based on
6556 _G_IO_IO_FILE_VERSION. Use these types in the prototypes.
6557 * libio/fileops.c: Use _IO_seek_fpos_t and _IO_seek_off_t types
6558 instead of #if cascades.
6559 * libio/genops.c: Likewise.
6560 * libio/ioseekoff.c: Likewise.
6561 * libio/ioseekpos.c: Likewise.
6562 * libio/strops.c: Likewise.
6563 Patch by Chip Salzenberg <chip@perlsupport.com>.
6564
6565 1999-04-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6566
6567 * docs: New directory.
6568 * docs/html: Likewise.
6569 * docs/text: Likewise.
6570 * docs/image: Likewise.
6571
6572 * bits/std_cmath.h: Add new functions.
6573 (abs): overload for long and double.
6574 (div): overload for long.
6575
6576 * bits/valarray_array.h: Fix.
6577 * bits/gslice.h: Adjust friend.
6578 * bits/slice_array.h: likewise.
6579 * bits/valarray_meta.h: likewise.
6580
6581 1999-04-13 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6582
6583 * bits/locfacets.h: More changes, for num_get for insertion
6584 operators for integral types. Comment fields in _Format_cache.
6585 * bits/locfacets.tcc: And here too: add preliminary long version.
6586 * testsuite/27/27istringstream_formatted.cc: Add cases.
6587
6588 1999-04-13 Mark Elbrecht <snowball3@usa.net>
6589
6590 * configure.in: Add locale.h to AC_CHECK_HEADERS argument. Call
6591 AC_LC_MESSAGES macro.
6592 * aclocal.m4 (AC_LC_MESSAGES): New. Determines if a target
6593 supports LC_MESSAGES.
6594 * config.h.in: Add entry for HAVE_LC_MESSAGES.
6595 * src/locale.cc (locale::_S_normalize_category): Use the
6596 HAVE_LC_MESSAGES macro to check for LC_MESSAGES support instead of
6597 _G_NO_CLOCALE_HAS_MESSAGES.
6598 * aclocal.m4 (AM_PROG_LD): For DOS style paths, simplify test to
6599 '?:' from '?:\\' so any path beginning with a drive name matches.
6600
6601 1999-04-12 Mark Elbrecht <snowball3@usa.net>
6602
6603 * src/basic_file.cc(sys_open) [O_BINARY]: Declare __testb.
6604
6605 1999-04-12 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6606
6607 * bits/locfacets.h: Tweak.
6608 * bits/locfacets.tcc(do_get): Clean/fix bool method.
6609
6610 * testsuite/21/21nonmember.cc: Same.
6611 * testsuite/21/21compare.cc: Fix license.
6612 * testsuite/27/27istringstream_formatted.cc: New file.
6613
6614 1999-04-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6615
6616 * bits/valarray_meta.h: _BinFunBase1, _BinFunBase2, _BinBase1,
6617 _BinBase2: new template classes; put in there to work around a
6618 compiler limitation. The whole valarray architecture is now
6619 working.
6620
6621 1999-04-08 Benjamin Kosnik <bkoz@haight.constant.com>
6622
6623 * bits/locfacets.tcc: Fix, format.
6624 * bits/locfacets.h: Fix.
6625 * src/locale.cc: Same, plus format.
6626
6627 * bits/basic_string.h: Re-add definition here.
6628 * src/string.cc: Take out.
6629
6630 1999-04-08 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6631
6632 * bits/std_valarray.h: tweak.
6633 * bits/valarray_array.h tweak. use _Expr.
6634 * bits/slice_array.h: likewise.
6635 * bits/gslice_array.h: likewise.
6636 * bits/mask_array.h: likewise.
6637 * bits/indirect_array.h: likewise.
6638 * bits/valarray_meta.h: tweak.
6639 _UnFunBase, _UnFunClos, _BinFunBase, _FunBase, _ValFunClos,
6640 _RefFunClos, _UnBase, _UnClos, _BinBase, _BinClos, _SClos, _GClos,
6641 _IClos: new template classes.
6642 _Meta: renamed to _Expr. Made template with args.
6643 _Constant: made template with two args.
6644
6645 1999-04-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6646
6647 * bits/valarray_array.h: tweak.
6648
6649 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
6650
6651 * bits/basic_string.h: Whoops--fix blip.
6652
6653 1999-04-06 Benjamin Kosnik <bkoz@cygnus.com>
6654
6655 Update to SGI STL 3.13
6656 * bits/basic_string.h: Add __get_c_string definition.
6657 * stl/bits/stl_range_errors.h: New file.
6658 * stl/bits/std_bvector.h: Same.
6659 * stl/bits/*: Update.
6660
6661 1999-04-04 1999 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6662
6663 * bits/slice_array.h: tweak.
6664 * bits/gslice_array.h: tweak.
6665 * bits/mask_array.h: tweak.
6666 * bits/indirect_array.h: tweak.
6667 * bits/valarray_array.h: tweak.
6668 (__valarray_copy): replace copy with memcpy.
6669 * bits/std_valarray.h: use __valarray_copy whenever possible.
6670 use __valarray_fill instead of fill.
6671
6672 1999-04-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6673
6674 * src/gen-num-limits.cc: new file
6675 * mknumeric_limits: Ditto.
6676
6677 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
6678
6679 * bits/locfacets.tcc: Do a stub version of num_get for short, int,
6680 and long types.
6681 * bits/locfacets.h: Add num_get::get methods overloaded for int
6682 and short, to resolve ambiguous overloads in istream insertion
6683 operators.
6684
6685 1999-03-30 Benjamin Kosnik <bkoz@cygnus.com>
6686
6687 * bits/std_istream.h: Fix.
6688 * bits/istream.tcc: Fix.
6689
6690 1999-03-30 Philip Martin <pm@corris.dircon.co.uk>
6691
6692 * testsuite/24/24iterator.cc: fix ++/-- tests
6693
6694 1999-03-29 Benjamin Kosnik <bkoz@cygnus.com>
6695
6696 * bits/std_ostream.h: Looks like this, actually: Fix up eh-isms.
6697 * bits/ostream.tcc: Same.
6698
6699 * bits/std_istream.h: Bring over ostream changes, implement member
6700 functions. Baseline.
6701 * bits/istream.tcc: New file.
6702
6703 1999-03-26 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6704
6705 * bits/gslice.h (class gslice): fix friends template.
6706
6707 1999-03-23 Benjamin Kosnik <bkoz@cygnus.com>
6708
6709 * bits/std_ostream.h: Fix sentry objects, implement seekp, tellp,
6710 delete cruft, etc.
6711 * bits/ostream.tcc: Same.
6712
6713 * bits/std_istream.h: Minor tweaks.
6714
6715 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
6716
6717 * src/locale-inst.cc: Remove duplicate instantiations.
6718 * bits/locfacets.tcc: Tweak definitions of static member.
6719
6720 1999-03-18 Benjamin Kosnik <bkoz@cygnus.com>
6721
6722 * bits/std_fstream.h: Format: prepend "__" in front of
6723 non-standard typedefs.
6724 * bits/fstream.tcc: Match.
6725 * bits/std_streambuf.h: Format: prepend "__" in front of
6726 non-standard typedefs.
6727
6728 * bits/sstream.tcc: Match.
6729 * bits/std_istream.h: Format.
6730 * src/locale-inst.cc: Add num_get instantiations.
6731
6732 * bits/std_sstream.h: Fix crash in stringstreams. Remove member
6733 _M_sb, a basic_stringbuf object, and use the basic_ios pointer
6734 _M_streambuf instead. Make initializations sane. Fix
6735 allocation/deallocation of _M_streambuf.
6736 * bits/std_ostream.h: Fix initialization code.
6737 (ctor): Eliminate redundant this->init(), let base class initialize.
6738 (default ctor): New. Assume base classes already initialzed.
6739 * bits/std_istream.h: Parallel work to ostream.
6740 (ctor): Eliminate redundant this->init(), let base class initialize.
6741 (default ctor): New. Assume base classes already initialzed.
6742 Fix initialization of basic_iostream.
6743
6744 * bits/std_fstream.h: While we're at it, make initializations sane
6745 here too. Now matches sstream.h.
6746
6747 * bits/string.tcc: Fix crash in basic_string::compare.
6748 * bits/basic_string.h: And here.
6749 * bits/c++config.h: Add comment about _G_USE_EXCEPTIONS.
6750
6751 * testsuite/make_check_libfree++: Check shared as well.
6752 * testsuite/27/27stringstream.cc: Add bits.
6753 * testsuite/27/27boolfmt.cc: Add bits.
6754 * testsuite/27/27octfmt.cc: Add bits.
6755
6756 1999-03-17 Benjamin Kosnik <bkoz@happy.cygnus.com>
6757
6758 * configure.in (USE_LONG_DOUBLE): signbitl link error.
6759
6760 * bits/locfacets.h: Fix errors that cause build problems
6761 with current egcs (template parameters have class scope).
6762 * bits/locfacets.tcc: Same.
6763 * src/locale-inst.cc: Same, clean.
6764 * src/misc-inst.cc: Same, clean.
6765
6766 1999-03-17 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
6767
6768 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
6769 standard. Re-apply this previous patch.
6770
6771 1999-03-17 Philip Martin <pm@corris.dircon.co.uk>
6772
6773 * bits/basic_string.h: Use __normal_iterator<> for iterators.
6774 * bits/std_sstream.h: Support __normal_iterator<> iterators.
6775 * bits/string.tcc: Ditto.
6776 * src/misc-inst.cc: Ditto.
6777 * src/locale-inst.cc: Ditto.
6778 * stl/bits/stl_iterator.h: Add __normal_iterator<>.
6779 * stl/bits/stl_vector.h: Use __normal_iterator<> for iterators.
6780 * testsuite/24/24iterator.cc: Add test cases for basic_string and
6781 vector iterators.
6782
6783 1999-03-16 Benjamin Kosnik <bkoz@cygnus.com>
6784
6785 * bits/locfacets.tcc: Remove macro hack.
6786 * bits/locfacets.h: Tweaks.
6787 * src/misc-inst.cc: Weed out locale-related instantiations.
6788 * src/locale-inst.cc: Same.
6789
6790 * RELEASE-NOTES: Make more changes.
6791 * bits/c++config.h: Bump version number.
6792
6793 * testsuite/make_check_libfree++: Collect diagnostics.
6794
6795 * bits/std_ostream.h: Fix ostream initialization/destruction
6796 problem, related to dtor cleanup and new cached facets, agggggggh.
6797 * bits/ostream.tcc: Tweak.
6798 * bits/locfacets.h: Remove all friends of iostream classes.
6799 * bits/ios_base.h: Same.
6800 * bits/streambuf.tcc: Tweak.
6801 * bits/std_streambuf.h: Tweak.
6802 * bits/std_fstream.h: Tweak.
6803 * bits/fstream.tcc: Tweak.
6804 * src/stdstreams.cc: Tweak.
6805 * src/ios.cc: Close streams.
6806
6807 * math/Makefile.in: Add missing files for shared link errors.
6808 * math/Makefile.am: Same.
6809
6810 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
6811
6812 * src/locale-inst.cc: More wchar_t instantiations.
6813 * src/misc-inst.cc: Missed a few bits.
6814 * testsuite/make_check_libfree++: Add static and shared runs.
6815 * src/ios.cc: Add clarity to ios_base::Init::~Init().
6816
6817 1999-03-15 Benjamin Kosnik <bkoz@cygnus.com>
6818
6819 * bits/std_ostream.h: Format, expunge, simplify. Add cached
6820 facets. Resolve link errors.
6821 * bits/ostream.tcc: Same.
6822 * src/misc-inst.cc: Add ostream, wostream instantiations.
6823 * src/Makefile.am: Add missing bits for stdstreams.cc.
6824 * src/Makefile.in: Same.
6825 * bits/std_iosfwd.h: Format.
6826 * bits/locfacets.h (num_put): Add basic_ostream as a friend to
6827 num_put so that cached _M_fnumput pointer can be deleted in
6828 basic_ostream's dtor. Now everybody plays nice.
6829
6830 1999-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
6831
6832 * bits/gslice.h (class gslice): Make friends valarray,
6833 gslice_array and _GliceExpression.
6834
6835 1999-03-11 Benjamin Kosnik <bkoz@cygnus.com>
6836
6837 * RELEASE-NOTES: Update.
6838 * src/ios.cc: Use do proper init.
6839 * bits/std_streambuf.h: Tweak.
6840 * bits/std_iostream.h: Take out static member.
6841 * std/iostream: Put here.
6842 * bits/std_ostream.h: Non-default ctor shouldn't smash _M_streambuf.
6843 * bits/std_istream.h: Ditto.
6844 * bits/basic_ios.h: Format.
6845 * bits/ostream.tcc(write): Fix.
6846 * bits/fstream.tcc: Fix stdstreams ctor to do a proper
6847 initialization of the fstream class.
6848 * src/stdstreams.cc: I'm baaaaaaaack.
6849
6850 1999-03-10 Benjamin Kosnik <bkoz@rhino.cygnus.com>
6851
6852 * bits/ios_base.h: Correct comments. Add ios_base::init()
6853 functionality. Format, tweak, expunge, clean, bathe, and hang to dry.
6854 * src/misc-inst.cc: Add instantiations here.
6855 * src/ios.cc: Clean.
6856 * bits/std_iostream.h: Add wrappers, global ios_base::Init object.
6857 * src/stdstreams.cc: Delete this file, as now unnecessary.
6858 * bits/fstream.tcc: Add missing initialization bits for ctor.
6859 * src/Makefile.am (libstdc___la_SOURCES): Delete here as well.
6860 * src/Makefile.in (libstdc___la_OBJECTS): And here.
6861
6862 * bits/streambuf.tcc: Tweak.
6863 * bits/sstream.tcc: Here too.
6864
6865 * bits/fstream.tcc: And change definition as well.
6866 * bits/std_fstream.h: Change ctor.
6867 * src/basic_file.cc (sys_open): Add call that opens a specific fileno.
6868 * bits/basic_file.h: Add declarations.
6869
6870 * testsuite/27/27hello.cc: New file.
6871
6872 * bits/std_ostream.h: Move flush() inline.
6873 * bits/ostream.tcc: From here.
6874
6875 * bits/char_traits.h: Add include of fpos.h for streamoff/streampos.
6876 * bits/std_ios.h: Change include libio to only when necessary.
6877 * bits/fpos.h: Like here.
6878 * ios_base.h: And here.
6879
6880 * bits/locfacets.h: Change _Iostate to _Ios_Iostate.
6881 * bits/locfacets.tcc: Same.
6882 * bits/std_locale.h: Include std_ios.h not std_iosfwd.h.
6883 * bits/std_iosfwd.h: Move _Ios_Iostate to ios_base.h
6884
6885 1999-03-09 Benjamin Kosnik <bkoz@rhino.cygnus.com>
6886
6887 * bits/basic_ios.h: Change _M_ctype to _M_fctype.
6888
6889 * bits/std_streambuf.h: Clean, tweak.
6890 * bits/std_fstream.h: Same.
6891 * bits/std_sstream.h: Same.
6892 * bits/streambuf.tcc: Move most member functions out-of-line.
6893 * bits/fstream.tcc: Same.
6894 * bits/streambuf.tcc: Same.
6895
6896 * bits/basic_file.h(filepos_cur): Set correctly.
6897 (filepos_beg): Same.
6898 (seekpos): Change to __c_streampos.
6899 * src/basic_file.cc (std): Change to __c_streampos.
6900
6901 * testsuite/27/27filebuf.cc: Round one is finished.
6902 * testsuite/27/27filebuf-2.tst: New file, final output should match.
6903 * testsuite/27/27filebuf-3.tst: Same.
6904
6905 1999-03-08 Benjamin Kosnik <bkoz@rhino.cygnus.com>
6906
6907 * bits/basic_file.h: Fix typo, add comments about what to expect
6908 from the various member functions in __basic_file.
6909
6910 * bits/std_fstream.h: Re-do sync/underflow to work
6911 together. Change from sys_read to xsgetn and from sys_write to
6912 xsputn. As it should have been from the beginning. . .
6913
6914 1999-03-06 Benjamin Kosnik <bkoz@haight.constant.com>
6915
6916 * bits/c++config.h (__GLIBCPP__): Add versioning macro.
6917
6918 * bits/basic_file.h(file_beg): New function.
6919 (file_cur): Ditto.
6920
6921 * testsuite/27/27filebuf.cc: Test in, out, in | out.
6922 * bits/std_fstream.h: More _M_mode refinements.
6923 (synch): Add bits for out mode only.
6924 * bits/std_streambuf.h(xsputn): Correct for filebufs.
6925 * bits/std_sstream.h: Ditto.
6926
6927 1999-03-03 Benjamin Kosnik <bkoz@cygnus.com>
6928
6929 * bits/std_fstream.h: Fix _M_mode AND with ios_base::openmode.
6930 * testsuite/27/27filebuf.cc: Modify.
6931 * bits/c++config.h: Fix.
6932
6933 1999-03-02 Benjamin Kosnik <bkoz@tintin.cygnus.com>
6934
6935 * bits/c++config.h: New macro, _G_RESOLVE_LIB_DEFECTS, used to put
6936 code in place that diverges from the final standard, but has been
6937 brought up on the library mailing list.
6938
6939 * bits/std_fstream.h(underflow): Position all three internal
6940 buffer pointers at the same initial position. Re-implement with
6941 basic_filebuf abstraction.
6942 (overflow): Ditto.
6943 (seekoff): Ditto.
6944 (seekpos): Ditto.
6945 * bits/std_sstream.h: Move _M_mode down into base class
6946 basic_streambuf.
6947 * bits/sstream.tcc: Ditto.
6948 * bits/std_streambuf.h: Ditto.
6949
6950 * testsuite/27/27filebuf.cc: Tweak.
6951
6952 1999-02-27 Benjamin Kosnik <bkoz@slap-happy.cygnus.com>
6953
6954 * bits/std_sstream.h: Ditto.
6955 * bits/std_fstream.h: Fix blip.
6956
6957 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
6958
6959 * C++STYLE: Add cases.
6960 * bits/std_fstream.h: Format.
6961 * bits/std_streambuf.h: Ditto.
6962 * bits/std_sstream.h: Ditto.
6963
6964 * src/basic_file.cc(sys_seek): Fix stack delirium, by keeping
6965 return type for _IO_file_seek and __basic_file::seek the same size.
6966 * bits/basic_file.h: Ditto.
6967
6968 1999-02-26 Benjamin Kosnik <bkoz@happy.cygnus.com>
6969
6970 * bits/fstream.tcc: Add include guards.
6971 * src/misc-inst.cc: Add instantiations for shared libes.
6972 * src/locale-inst.cc: Add instantiaions for use_facet.
6973 * bits/loccore.h: Remove specialization foward decls for
6974 use_facet<ctype>: perhaps add the whole lot of them later on.
6975 * bits/std_fstream.h: Fix.
6976 * bits/locfacets.h: Ditto.
6977 * src/stdstreams.cc: Disable wide streams for now.
6978
6979 * src/Makefile.am (CXXFLAGS): Change up.
6980 * src/Makefile.in (CXXFLAGS): Ditto.
6981
6982 1999-02-25 Benjamin Kosnik <bkoz@happy.cygnus.com>
6983
6984 * src/basic_file.cc: Change to ios_base::seekdir from int.
6985 * bits/basic_file.h: Ditto.
6986 * bits/locfacets.h : Fix blip with new guard macros.
6987
6988 1999-02-25 Benjamin Kosnik <bkoz@cygnus.com>
6989
6990 * stl/bits/stl_config.h (__STL_USE_STD_ALLOCATORS): Minor tweaking.
6991 * bits/c++config.h: Clean. Remove _G_NO_STREAMBUF_ITERATORS and
6992 _G_USE_NAMESPACE.
6993 * amm1/locale: Remove unused defines.
6994 * generic/locale: Ditto.
6995 * src/ios.cc: Ditto.
6996 * src/locale.cc: Ditto.
6997 * src/locale-inst.cc: Ditto.
6998 * src/localename.cc: Ditto.
6999 * src/stdstreams.cc: And here.
7000
7001 * bits/c++config.h (_G_USE_WCHAR_T): Fix.
7002 * bits/loccore.h: Simplify, clean, add wchar_t guards.
7003 * bits/loccore.tcc: Ditto.
7004 * bits/locfacets.h: Ditto.
7005 * src/locale-inst.cc: Ditto.
7006 * bits/locfacets.tcc: Add do_put long long here.
7007
7008 1999-02-24 Benjamin Kosnik <bkoz@cygnus.com>
7009
7010 * bits/std_streambuf.h: Add cached ctype facet, _M_ctype.
7011 * bits/basic_ios.h: Clean. Replace _M_strbuf with
7012 _M_streambuf. Use cached _M_cvt in basic_streambuf.
7013 * bits/std_istream.h: Replace _M_strbuf with _M_streambuf.
7014 * bits/std_fstream.h: Tweak.
7015
7016 * bits/char_traits.h: Remove fpos definitions from here. . .
7017 * bits/fpos.h: New file, put them here. Eventually, this may allow
7018 the severing of char_traits and fpos dependancies.
7019 * src/Makefile.in: Add fpos.h.
7020 * src/Makefile.am: Ditto.
7021 * bits/std_string.h: Add fpos.h include here.
7022 * bits/std_ios.h: And here.
7023
7024 * bits/std_streambuf.h: Change _M_init to _M_initialized.
7025 * bits/ios_base.h: Remove cstdio include.
7026 * bits/std_ios.h: ... Place here.
7027
7028 1999-02-23 Benjamin Kosnik <bkoz@loony.cygnus.com>
7029
7030 * src/Makefile.in (CXXFLAGS): Re-add -fvtable-thunks.
7031 * src/Makefile.am (CXXFLAGS): Re-add -fvtable-thunks.
7032
7033 * bits/basic_file.h: Comment, adjust arguments.
7034 * src/basic_file.cc: Ditto.
7035
7036 * bits/std_fstream.h(seekoff): Error is of fpos type, not integral
7037 type: check and convert accordingly. Re-interpet "resultant stream
7038 position" to indicate external byte sequence location, not internal
7039 buffer info.
7040
7041 1999-02-22 Benjamin Kosnik <bkoz@loony.cygnus.com>
7042
7043 * mkcshadow: And change copyright here.
7044 * src/Makefile.am (CXXFLAGS): Add -g -O2. Add new header
7045 dependencies for stl_pthread_alloc.h, pthread_allocimpl.h,
7046 stl_thread.h, and stl_iterator_base.h.
7047 * src/Makefile.in (CXXFLAGS): Ditto.
7048 * stl/backward/pthread_alloc.h: Remove.
7049
7050 1999-02-19 Benjamin Kosnik <bkoz@loony.cygnus.com>
7051
7052 * bits/std_streambuf.h (sungetc): Use standard defs for putback
7053 position.
7054 * bits/std_fstream.h (pbackfail): Correct.
7055 (sungetc): Test.
7056 (seekoff): Implement.
7057 (seekpos): Re-do.
7058 * testsuite/27/27filebuf.cc: Add test cases.
7059
7060 1999-02-18 Benjamin Kosnik <bkoz@loony.cygnus.com>
7061
7062 * bits/std_fstream.h: Go with basic_file's interfaces for dealing
7063 with the external buffers, and stop mucking around with setting
7064 and re-setting the external buf's pointers. Aka, clarity and
7065 simplicity rule the day.
7066 * src/locale.cc: Use memcpy in codecvt::do_in and codecvt::do_out.
7067 Remove partial result and support code.
7068
7069 1999-02-18 Ulrich Drepper <drepper@cygnus.com>
7070
7071 * configure.in: Add hypot, hypotf, atan2f, expf, and copysignf to
7072 list of function which have to be replaced.
7073 Remove expf from list of functions to test for.
7074 Define USE_LONG_DOUBLE in case the libm has partial support for long
7075 doubles.
7076 * Makefile.in: Regenerated.
7077 * config.h.in: Likewise.
7078 * configure: Likewise.
7079 * libio/Makefile.am (LIBIO_SRCS): Add missing backslash.
7080 * libio/Makefile.in: Regenerated.
7081 * src/Makefile.in: Regenerated.
7082 * string/Makefile.in: Regenerated.
7083 * math/Makefile.am (EXTRA_DIST): Add hypot.c, hypotf.c, hypotl.c,
7084 atan2f.c, expf.c, and $(EXTRA_yes).
7085 (EXTRA_yes): Add signbitl.c mycabsl.c.
7086 (libmath_la_LIBADD): Add $(EXTRA_$(USE_LONG_DOUBLE)).
7087 (libmath_la_SOURCES): remove long double versions.
7088 * math/Makefile.in: Regnerated.
7089 * math/atan2f.c: New file.
7090 * math/copysignf.c: New file.
7091 * math/expf.c: New file.
7092 * math/hypot.c: New file.
7093 * math/hypotf.c: New file.
7094 * math/hypotl.c: New file.
7095 * math/cargf.c: Use correct function and macro names.
7096 * math/ccos.c: Likewise.
7097 * math/ccosh.c: Likewise.
7098 * math/ccoshf.c: Likewise.
7099 * math/ccoshl.c: Likewise.
7100 * math/cexp.c: Likewise.
7101 * math/cexpf.c: Likewise.
7102 * math/cexpl.c: Likewise.
7103 * math/clog.c: Likewise.
7104 * math/clog10.c: Likewise.
7105 * math/clog10f.c: Likewise.
7106 * math/clog10l.c: Likewise.
7107 * math/clogf.c: Likewise.
7108 * math/clogl.c: Likewise.
7109 * math/copysignf.c: Likewise.
7110 * math/csin.c: Likewise.
7111 * math/csinf.c: Likewise.
7112 * math/csinh.c: Likewise.
7113 * math/csinhf.c: Likewise.
7114 * math/csinhl.c: Likewise.
7115 * math/csinl.c: Likewise.
7116 * math/csqrt.c: Likewise.
7117 * math/csqrtf.c: Likewise.
7118 * math/csqrtl.c: Likewise.
7119 * math/ctan.c: Likewise.
7120 * math/ctanf.c: Likewise.
7121 * math/ctanh.c: Likewise.
7122 * math/ctanhf.c: Likewise.
7123 * math/ctanhl.c: Likewise.
7124 * math/ctanl.c: Likewise.
7125
7126 1999-02-17 Benjamin Kosnik <bkoz@cygnus.com>
7127
7128 * testsuite/27/27filebuf.cc: Add cases.
7129 * testsuite/27/27filebuf-1.txt: Remove inadvertent garbage.
7130 * bits/std_streambuf.h: Simplify, always have one return statement.
7131 * bits/std_fstream.h: Tweak comments in underflow.
7132
7133 1999-02-17 Ulrich Drepper <drepper@cygnus.com>
7134
7135 * ltmain.sh: Update from libtool 1.2d and fix Solaris problems.
7136 * ltconfig: Likewise.
7137
7138 1999-02-16 Christophe Pierret <cpierret@businessobjects.com>
7139
7140 * src/locale.cc: Fix assert.
7141
7142 1999-02-16 Benjamin Kosnik <bkoz@cygnus.com>
7143
7144 FIXME: Still need some kind of solution for undefined math symbols.
7145 * src/Makefile.in (locale-inst.lo): Compile with
7146 -fimplicit-templates to fix Solaris link problem.
7147 * src/Makefile.am: Ditto.
7148 * libio/Makefile.in: Add stdfiles.c so that _IO_list_all is defined.
7149 * libio/Makefile.am: Ditto.
7150 * src/locale.cc: Provide some kind of def for _S_tolower.
7151 * bits/locfacets.h: Fix declarations of ctype<wchar_t> to
7152 match ctype<char> for _S_tolower, _S_toupper, _S_table.
7153
7154 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
7155
7156 * bits/loccore.tcc: Move member-template ctor inline...
7157 * bits/loccore.h: ...here.
7158 * src/locale-inst.cc: Add instantiation here.
7159
7160 * testsuite/27/27stringstream.cc: Tweak.
7161
7162 * bits/ostream.tcc: Include sbuf_iter.h.
7163
7164 * bits/ostream.tcc: Convert *this to ostreambuf_iterator before
7165 passing to num_put, as num_put's first argument is an interator,
7166 not basic_ostream.
7167
7168 * testsuite/make_check_libfree++: New file, runs through the
7169 existing test files in the testsuite directory and makes sure
7170 they link.
7171
7172 1999-02-10 Brendan Kehoe <brendan@cygnus.com>
7173
7174 * testsuite/21/21compare.cc: Fix typo.
7175 * src/locale.cc (ctype<wchar_t>::_S_{toupper,tolower,table}):
7176 Don't try to provide non-linux versions, since it's impossible to
7177 initialize their const references with the integer 0, no matter
7178 how we try to cast it.
7179
7180 1999-02-10 Benjamin Kosnik <bkoz@cygnus.com>
7181
7182 * bits/std_locale.h: Move std_vector.h dependency.
7183 * bits/std_ios.h: ...from here.
7184 * bits/std_string.h: ...and here.
7185 * src/locale.cc: ..to here.
7186 * bits/loccore.h: Ditto, add vector forward declaration,
7187 make locale::_Impl data members pointers not containers.
7188 * bits/loccore.tcc: Move out-of-line for now.
7189 * bits/locfacets.h: Move vector dependency from here...
7190 * bits/locfacets.tcc: ...to here.
7191 * src/localename.cc: ..and here.
7192 * src/locale-inst.cc: Add include of locfacets.tcc here.
7193
7194 * stl/bits/stl_string_fwd.h: Make __get_c_string non-static.
7195 * bits/basic_string.h: Can't use sizeof on an incomplete type.
7196 * bits/string.tcc: Tweak.
7197 * src/string.cc: And add __get_c_string def here.
7198
7199 * bits/std_fstream.h: Yeah, comment the fill_n idea out as impractical.
7200
7201 * src/stlinst.cc: Add include of stl_config.h.
7202
7203 1999-02-09 Benjamin Kosnik <bkoz@cygnus.com>
7204
7205 * stl/bits/std_bitset.h: Update to SGI STL 3.12.
7206 * stl/bits/stl_config.h: Tweak, update.
7207 * stl/bits/std_stdexcept.h: Ditto, change stl_exception to
7208 std_exception.
7209 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
7210 * stl/bits/std_functional.h: Ditto.
7211
7212 * stl/bits/stl_string.h: New file, SGI's string
7213 implementation. For reference only, corresponding to string in
7214 3.12 source.
7215 * stl/bits/stl_char_traits.h: As above.
7216
7217 * stl/bits/pthread_allocimpl.h: New file corresponding to
7218 pthread_alloc.
7219 * stl/bits/stl_pthread_alloc.h: New file corresponding to
7220 pthread_alloc.h
7221 * stl/bits/stl_threads.h: New file.
7222
7223 Note that SGI STL 3.12's file iterator.h is not used.
7224 * stl/bits/std_iterator.h: Ditto.
7225 * stl/bits/stl_iterator.h: Drop in replace.
7226 * stl/bits/stl_iterator_base.h: New file, drop in replace.
7227
7228 * stl/bits/stl_queue.h, stl_rope.h, stl_set.h, stl_stack.h,
7229 stl_string_fwd.h, stl_tempbuf.h, stl_tree.h, stl_vector.h,
7230 stl_pair.h, stl_multimap.h, stl_multiset.h, stl_list.h,
7231 stl_hashtable.h, stl_hash_set.h, stl_hash_map.h, stl_function.h,
7232 stl_deque.h, stl_alloc.h, stl_algo.h, stl_algobase.h, ropeimpl.h:
7233 Drop-in replace (ie, stop changing __SGI_STL_* to _CPP_BITS_* for
7234 preprocessor guards, but fixup include paths and names according
7235 to new directory layout).
7236
7237 1999-02-05 Benjamin Kosnik <bkoz@cygnus.com>
7238
7239 * bits/std_fstream.h: Remove _M_open data member.
7240 * bits/fstream.tcc: Ditto.
7241
7242 * src/locale.cc: Tweak.
7243
7244 * bits/std_sstream.h: Simplify.
7245
7246 * bits/std_streambuf.h: Simplify.
7247 (sputc): Use correct definition of "write area."
7248
7249 * bits/std_fstream.h: Fix uflow.
7250 * src/basic_file.cc: Tweak.
7251 * testsuite/27/27filebuf.cc: Add tests.
7252 * testsuite/27/27filebuf-3.txt: Rename to *-2.txt.
7253
7254 1999-02-02 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7255
7256 * bits/ios_base.h: Make protected.
7257
7258 1999-02-01 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7259
7260 * bits/ios_base.h: Changes in the class ios_base:
7261 Rename _M_exceptions member to _M_exceptions_data.
7262 Make the member functions rdstate(), clear(), exceptions()
7263 and exceptions(iostate) protected and add the "_M_" prefix.
7264 * src/ios.cc: Ditto.
7265 * bits/basic_ios.h: Adapt the changes from ios_base.
7266
7267 1999-01-29 Benjamin Kosnik <bkoz@cygnus.com>
7268
7269 * bits/std_fstream.h: Remove _M_flags, _M_equilibrate as unnecessary.
7270 * bits/fstream.tcc: Ditto.
7271
7272 * bits/std_fstream.h (underflow): Resize deallocates memory and
7273 resets pointers in the internal cache according to new _M_buf. . dooh!
7274 * src/locale.cc: Mas changes with codecvt::do_in, do_out.
7275
7276 1999-01-29 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7277
7278 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
7279 standard.
7280
7281 1999-01-28 Benjamin Kosnik <bkoz@cygnus.com>
7282
7283 * src/locale.cc (codecvt::do_in): Finer-grained tuning to take
7284 into account partial returns.
7285 (codecvt::do_out): Likewise.
7286
7287 * bits/char_traits.h: Change streamsize to be a signed type, as
7288 required by 27.4.1 Types p 2. (Changing to _IO_ssize_t.)
7289 * bits/std_streambuf.h: Make
7290 in_avail() and showmanyc() have streamsize as return types, so
7291 that showmanyc()'s return of eof won't underflow in_avail's return
7292 value and give a bogus result.
7293 * src/misc-inst.cc: And more changes. . .
7294
7295 * bits/std_streambuf.h (basic_streambuf): Add _M_buf_unified to keep
7296 track of joint in/out pointers into the internal buffer.
7297 (sbumpc): Add check for _M_buf_unified.
7298 (sputbackc): Ditto.
7299 (sungetc): Ditto.
7300
7301 * testsuite/27/27filebuf.cc: Add cases.
7302 * testsuite/27/27stringbuf.cc: Add showmanyc case.
7303
7304 * bits/std_fstream.h (close): Fix logic error.
7305 (open): Initialize internal pointers based on _M_buf and _M_buf_size.
7306 (showmanyc): Add underflow component, to match the standard.
7307
7308 * bits/fstream.tcc: Ditto.
7309
7310 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
7311
7312 * bits/basic_file.h: Match vtables w/ _IO_FILE_plus.
7313 * src/basic_file.cc: Ditto.
7314 * src/Makefile.in: Add -fvtable-thunks to CXXFLAGS: preferred
7315 format for dealing with _IO_file in libio.
7316
7317 1999-01-27 Ulrich Drepper <drepper@cygnus.com>
7318
7319 * src/basic_file.cc: Include fcntl.h.
7320
7321 1999-01-27 Benjamin Kosnik <bkoz@cygnus.com>
7322
7323 * libio/Makefile.in: Add fileops.lo, genops.lo to objects to debug
7324 libio calls.
7325 * bits/std_streambuf.h: Redefine read posion.
7326
7327 * bits/std_fstream.h: Temporary hack to get vtables working again.
7328 * bits/basic_file.h: Revert.
7329 * src/basic_file.cc: Ditto.
7330 * testsuite/27/27filebuf.cc: Tweak.
7331
7332 1999-01-26 Benjamin Kosnik <bkoz@cygnus.com>
7333
7334 * bits/basic_file.h: Add showmanyc, underflow. .
7335 * src/basic_file.cc: Ditto.
7336
7337 * bits/std_fstream.h (showmanyc): Add bits to ping libio to see if more
7338 chars can be read.
7339
7340 * testsuite/27/27filebuf.cc: Add testcases.
7341 * src/basic_file.cc: Add O_CREAT to open calls with
7342 ios_base::trunc as part of the open mode.
7343
7344 1999-01-26 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7345
7346 * bits/basic_ios.h: fix basic_ios::exceptions(iostate)
7347
7348 1999-01-25 Benjamin Kosnik <bkoz@nabi.net>
7349
7350 * src/ios.cc (clear): Correct typo.
7351 * bits/ios_base.h: Tweak spacing.
7352
7353 1999-01-25 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7354
7355 * bits/basic_ios.h: fix basic_ios::fail()
7356
7357 1999-01-25 Benjamin Kosnik <bkoz@loony.cygnus.com>
7358
7359 * bits/basic_file.h: Include libioP.h from libio instead of here.
7360 * bits/iolibio.h: Remove.
7361 * bits/libio.h: Remove.
7362
7363 1999-01-22 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
7364
7365 * bits/std_fstream.h: Tweak cvt-> in call for newer egcs compilers.
7366
7367 1999-01-22 Ulrich Drepper <drepper@cygnus.com>
7368
7369 * Makefile.am (SUBDIRS): Add libio.
7370 * configure.in: Add rule to test for glibc2.
7371
7372 * src/Makefile.am (INCLUDES): Add -I to libio subdir.
7373 (libstdc___la_LIBADD): Add libio.la.
7374
7375 1999-01-21 Benjamin Kosnik <bkoz@cygnus.com>
7376
7377 * bits/basic_file.h: Make new abstraction for underlying C library
7378 FILE, named __basic_file.
7379 * src/basic_file.cc: New file.
7380 * bits/os_raw.h: Delete.
7381 * src/os_raw.cc: Delete.
7382 * src/Makefile.in: Tweak.
7383 * src/Makefile.am: Tweak.
7384 * bits/iolibio.h: Add this here, for the time being.
7385 * bits/libioP.h: Ditto.
7386
7387 * bits/ios_base.h: Delete unused defines.
7388 * src/locale.cc (codecvt<char, char, mbstate_t>::do_in): Use
7389 strcpy to copy between the two buffers.
7390
7391 * testsuite/27/27stringbuf.cc: Change license, fix in_avail tests.
7392 * testsuite/27/27filebuf.cc: New file.
7393 * testsuite/27/27filebuf-1.txt: Data file for above test.
7394 * testsuite/27/27filebuf-2.txt: Ditto.
7395
7396 * bits/std_streambuf.h (uflow): Re-implement default.
7397 * bits/std_fstream.h: Set _M_buf_size based on cstdio's BUFSIZ.
7398 Re-implement virtual functions.
7399 * bits/fstream.tcc: Delete unused mf's.
7400
7401 1998-12-31 Benjamin Kosnik <bkoz@lunatic.cygnus.com>
7402
7403 * bits/fstream.tcc: Add fstream ctor for cin/cout/etc.
7404 * bits/std_fstream.h: Ditto.
7405 * src/stdstreams.cc: Ditto.
7406
7407 * math/cpowl.c: Fix header typo with last change.
7408
7409 1998-12-31 Benjamin Kosnik <bkoz@loony.cygnus.com>
7410
7411 * COPYING: New file (GPL v 2).
7412 * LICENSE.STD: Remove.
7413 * ./*: Change license.
7414
7415 1998-12-30 Benjamin Kosnik <bkoz@haight.constant.com>
7416
7417 * bits/std_streambuf.h (std): Remove static on _M_init.
7418 * bits/streambuf.tcc (std): Ditto.
7419
7420 * bits/std_fstream.h: Add changes as discussed with Nathan, including
7421 state_type and codecvt_type members, the allocation of an internal
7422 buffer, the streamlined codecvt calls, etc.
7423
7424 1998-12-21 Benjamin Kosnik <bkoz@haight.constant.com>
7425
7426 * bits/std_sstream.h: Tweak.
7427 * bits/fstream.tcc: Remove unused stubs.
7428 * bits/std_fstream.h: Tweak.
7429
7430 1998-12-17 Benjamin Kosnik <bkoz@tintin.cygnus.com>
7431
7432 * bits/std_streambuf.h: Move _IO_file_flags into basic_filebuf.
7433 Remove unused _IO_* members, possibly put into filebuf, which may
7434 need them.
7435 * bits/std_fstream.h: Add _M_flag.
7436 * bits/sbuf_iter.h: Tweak.
7437
7438 * bits/std_cstdio.h: Add SEEK_SET, SEEK_END, SEEK_CUR.
7439 * bits/ios_base.h: Use.
7440
7441 * src/stdstreams.cc: Modify to reflect standard ctors for
7442 filebuf.
7443 * src/misc-inst.cc: Ditto.
7444
7445 * bits/os_raw.h: Wrap in std namespace. Model parameters on
7446 underlying C library calls instead of the underlying unix
7447 filesystem.
7448 * src/os_raw.cc (_S_os_open): Use fopen, and compute a mode
7449 string as per p.659.
7450 (_S_os_close): Model on fopen.
7451 (_S_os_read): Model on fread.
7452 (_S_os_write): Model on fwrite.
7453 (_S_os_seek): Model on fseek.
7454
7455 * bits/ios_base.h: Tweak.
7456 * bits/std_iosfwd.h: Wrap libio.h include with extern "C".
7457 * bits/std_sstream.h: Tweak.
7458 * bits/sstream.tcc: Remove old, uncalled code.
7459 * bits/std_fstream.h: Major reconstruction.
7460 * bits/fstream.tcc: Disable for the time being.
7461
7462 1998-12-11 Benjamin Kosnik <bkoz@haight.constant.com>
7463
7464 * bits/basic_string.h: Fix insert method.
7465 * stl/bits/stl_iterator.h: Remove previous hack.
7466 * bits/std_streambuf.h (sbumpc): Correct increment/return oddness.
7467 * bits/std_sstream.h: Fix more regressions.
7468 * testsuite/27/27stringbuf.C: Add (almost) complete tests.
7469
7470 1998-12-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
7471
7472 * bits/basic_string.h: Tweak.
7473
7474 * stl/bits/stl_iterator.h: Specialize iterator_traits for int so
7475 that string::append can be instantiated. HACK--checkin
7476 basic_string::iterator class.
7477
7478 1998-12-07 Benjamin Kosnik <bkoz@haight.constant.com>
7479
7480 * bits/std_sstream.h: Tweak.
7481 * bits/sstream.tcc: Tweak ctors.
7482
7483 FIXME invalid friend defs. . WHERE ARE THEY??
7484
7485 * bits/sbuf_iter.h (istreambuf_iterator::equal): Change to new
7486 names for basic_streambuf data members.
7487
7488 * bits/std_streambuf.h: Add getloc() initialization bits.
7489 basic_streambuf(): Initialize with global locale data.
7490 imbue(): Set _M_init.
7491
7492 * bits/std_streambuf.h(seekoff, seekpos): Complete with invalid
7493 stream pos == pos_type(off_type(-1)).
7494 in_avail(): Complete default implementation.
7495 snextc, sbumpc, sputbackc, sungetc, sputc, setg, xsputn,
7496 underflow, uflow, xsgetn, showmany, sync: Ditto.
7497
7498 * bits/std_streambuf.h: _M_snextc_helper(): Remove.
7499
7500 * bits/streambuf.tcc (sputbackc): Temporarily remove, need to
7501 re-populate with in-line member functions that are too big. Add
7502 initialization for _M_init.
7503
7504 1998-12-03 Benjamin Kosnik <bkoz@cygnus.com>
7505
7506 * bits/sstream.tcc: Convert _Allocator to _Alloc. Add typedefs
7507 for basic_string and basic_streambuf. Scope _IO_buf_* pointers to
7508 streambuf_type.
7509
7510 * src/stdstreams.cc (std): Disable wchar_t instantiations.
7511
7512 * bits/c++config.h (_G_DEPRICATED): Add.
7513 (_G_USE_WCHAR_T): Add.
7514 * bits/std_streambuf.h: Radical reconstruction of basic_streambuf.
7515 Take out _Streambuf_base. Put _IO_FILE data member in basic_filebuf.
7516 * bits/streambuf.tcc (sputbackc): Remove ctor anti-def, Tweak.
7517 * bits/std_fstream.h: Add comment for implementation.
7518 * src/streambuf.cc: Remove.
7519 * src/Makefile.in: Remove streambuf.lo.
7520 * src/misc-inst.cc: Tweak.
7521
7522 1998-12-02 Benjamin Kosnik <bkoz@cygnus.com>
7523
7524 * bits/std_sstream.h: Add const_cast to rdbuf returns.
7525 * testsuite/27stringstream.C: Modify.
7526
7527 1998-11-25 Benjamin Kosnik <bkoz@haight.constant.com>
7528
7529 * src/Makefile.in (libstdc___la_OBJECTS): Add streambuf.lo.
7530 (libstdc___la_SOURCES): Ditto.
7531
7532 * bits/streambuf.tcc: Tweak.
7533
7534 * src/streambuf.cc: New file, add out-of-line definitions for
7535 _Streambuf_base.
7536
7537 * src/misc-inst.cc: Remove _Streambuf_base instantiations.
7538 Comment out wchar_t versions of the buffer instantiations, for now.
7539
7540 * bits/std_streambuf.h: Wrap libio.h include with extern "C".
7541 Remove template wrapper around _Streambuf_base.
7542 Move IO_* data members into _Streambuf_base.
7543 Move _Streambuf_base members into streambuf.tcc.
7544
7545 * bits/c++config.h (_G_USE_LIBIO): Enable.
7546
7547 1998-11-02 Nathan Myers <ncm@cantrip.org>
7548
7549 * CHECKLIST: downgrade iterator implementations
7550 * DESIGN: fill out notes about unimplemented features
7551
7552 1998-10-31 Nathan Myers <ncm@cantrip.org>
7553
7554 * CHECKLIST: itemized list of all interfaces, and status of each.
7555
7556 1998-10-30 Nathan Myers <ncm@cantrip.org>
7557
7558 * RELEASE-NOTES: add notes about optional includes, linking, running
7559 * src/Makefile.am: handle header installs properly
7560 * src/Makefile.in: regenerate from new src/Makefile.am
7561
7562 1998-10-30 Benjamin Kosnik <bkoz@loony.cygnus.com>
7563
7564 * bits/basic_string.h: Revert npos pending ciso646.
7565 * src/Makefile.am: Revert CXX flags for now.
7566 * src/Makefile.in: Ditto.
7567
7568 1998-10-30 Brendan Kehoe <brendan@cygnus.com>
7569
7570 * bits/std_sstream.h: Re-order ctors to put base before member
7571 inits.
7572
7573 1998-10-30 Ryszard Kabatek <kabatek@chemie.uni-halle.de>
7574
7575 * stl/bits/std_memory.h: Fix typo.
7576
7577 1998-10-30 Nathan Myers <ncm@cantrip.org>
7578
7579 * src/string[A-Z]+.cc: change back to include "string.cc".
7580 * src/Makefile.am: revert filename changes. We need a different
7581 way to keep filenames in std/ from confusing Make.
7582 * bits/basic_string.h: define _S_max_size right, return it from
7583 string::max_size(); churn definition of npos again.
7584 * bits/string.tcc: fix _S_frob_size to avoid uint overflow.
7585 * bits/ios.cc: remove #ifdef on ios_base locale member initialization
7586 * BUGS: clear cruft.
7587 * C++STYLE: Touchup for release.
7588 * CHECKLIST: Touchup for release.
7589 * DESIGN: New file.
7590 * LICENSE.STD: Add requirement to retain copyrights and to provide
7591 the license with any copies.
7592 * README: Update for release.
7593 * TODO: Minor touchup for release.
7594 * RELEASE-NOTES: prepare for release
7595
7596 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
7597
7598 * src/string[A-Z]+.cc: Include stdstring.cc, not string.cc.
7599
7600 * src/Makefile.am (CXXFLAGS): Define _GNU_SOURCE.
7601
7602 * src/Makefile.am (CXXLINK): New variable. Make sure we don't use
7603 CXX to generate the shared object.
7604
7605 * src/Makefile.am (headers): Remove duplicated char_traits.h.
7606
7607 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
7608
7609 * bits/basic_string.h (basic_string<>::max_size): Subtract 1, not
7610 2, from npos, solving infinite loop problems.
7611
7612 1998-10-29 18:41 Ulrich Drepper <drepper@cygnus.com>
7613
7614 * src/Makefile.am: Add rules to install headers.
7615
7616 1998-10-29 Nathan Myers <ncm@cantrip.org>
7617
7618 * bits/std_ostream.h: Remove #ifdef on operator<< for long double
7619 * bits/ostream.tcc: Remove #ifdef on operator<< for long double
7620 * shadow/libio.h:
7621 * shadow/unistd.h:
7622 * shadow/bits/wrap_libio.h:
7623 * shadow/bits/wrap_unistd.h: New files.
7624
7625 1998-10-29 Brendan Kehoe <brendan@cygnus.com>
7626
7627 * bits/ostream.tcc (operator<<): Wrap with #ifdef
7628 _G_HAVE_LONG_DOUBLE_IO, to match bits/std_ostream.h.
7629
7630 1998-10-29 Ulrich Drepper <drepper@cygnus.com>
7631
7632 * src/Makefile.am: Add temporarily rules to make sure misc-inst.cc
7633 is not compiled with -fno-implicit-templates in effect.
7634
7635 * src/Makefile.am (EXTRA_SOURCES): Add string.cc and wstring.cc here.
7636 (libstdc___la_SOURCES): Add all the string*.cc and wstring*.cc files.
7637 * src/stringADDCS.cc: Wrapper around string.cc to define individual
7638 function.
7639 * src/stringADDPS.cc: Likewise.
7640 * src/stringADDSC.cc: Likewise.
7641 * src/stringADDSP.cc: Likewise.
7642 * src/stringADDSS.cc: Likewise.
7643 * src/stringBIST.cc: Likewise.
7644 * src/stringBOST.cc: Likewise.
7645 * src/stringCHTR.cc: Likewise.
7646 * src/stringEQPS.cc: Likewise.
7647 * src/stringEQSP.cc: Likewise.
7648 * src/stringEQSS.cc: Likewise.
7649 * src/stringEXTRA.cc: Likewise.
7650 * src/stringGEPS.cc: Likewise.
7651 * src/stringGESP.cc: Likewise.
7652 * src/stringGESS.cc: Likewise.
7653 * src/stringGETLI.cc: Likewise.
7654 * src/stringGTPS.cc: Likewise.
7655 * src/stringGTSP.cc: Likewise.
7656 * src/stringGTSS.cc: Likewise.
7657 * src/stringINSER.cc: Likewise.
7658 * src/stringLEPS.cc: Likewise.
7659 * src/stringLESP.cc: Likewise.
7660 * src/stringLESS.cc: Likewise.
7661 * src/stringLTPS.cc: Likewise.
7662 * src/stringLTSP.cc: Likewise.
7663 * src/stringLTSS.cc: Likewise.
7664 * src/stringMAIN.cc: Likewise.
7665 * src/stringNEPS.cc: Likewise.
7666 * src/stringNESP.cc: Likewise.
7667 * src/stringNESS.cc: Likewise.
7668 * src/stringSCOPY.cc: Likewise.
7669 * src/wstringADDCS.cc: Wrapper around wstring.cc to define individual
7670 functions.
7671 * src/wstringADDPS.cc: Likewise.
7672 * src/wstringADDSC.cc: Likewise.
7673 * src/wstringADDSP.cc: Likewise.
7674 * src/wstringADDSS.cc: Likewise.
7675 * src/wstringBIST.cc: Likewise.
7676 * src/wstringBOST.cc: Likewise.
7677 * src/wstringCHTR.cc: Likewise.
7678 * src/wstringEQPS.cc: Likewise.
7679 * src/wstringEQSP.cc: Likewise.
7680 * src/wstringEQSS.cc: Likewise.
7681 * src/wstringEXTRA.cc: Likewise.
7682 * src/wstringGEPS.cc: Likewise.
7683 * src/wstringGESP.cc: Likewise.
7684 * src/wstringGESS.cc: Likewise.
7685 * src/wstringGETLI.cc: Likewise.
7686 * src/wstringGTPS.cc: Likewise.
7687 * src/wstringGTSP.cc: Likewise.
7688 * src/wstringGTSS.cc: Likewise.
7689 * src/wstringINSER.cc: Likewise.
7690 * src/wstringLEPS.cc: Likewise.
7691 * src/wstringLESP.cc: Likewise.
7692 * src/wstringLESS.cc: Likewise.
7693 * src/wstringLTPS.cc: Likewise.
7694 * src/wstringLTSP.cc: Likewise.
7695 * src/wstringLTSS.cc: Likewise.
7696 * src/wstringMAIN.cc: Likewise.
7697 * src/wstringNEPS.cc: Likewise.
7698 * src/wstringNESP.cc: Likewise.
7699 * src/wstringNESS.cc: Likewise.
7700 * src/wstringSCOPY.cc: Likewise.
7701 * src/string.cc: Remove now unneeded #defines now.
7702
7703 1998-10-29 Nathan Myers <ncm@cantrip.org>
7704
7705 * bits/locfacets.tcc: Define num_put::put(... const void*), improve
7706 integer formatting.
7707 * bits/ostream.tcc: Delete cruft, rewrite various op<< as members,
7708 add definitions for double, long double, const void*.
7709 * bits/std_ostream.h: Move op<<'s back into class ostream,
7710 define some in-line.
7711 * bits/string.tcc: fix unnecessary-copying bug in op[], typos in
7712 string construction from input iterators that Brendan reported.
7713
7714
7715 1998-10-28 Brendan Kehoe <brendan@cygnus.com>
7716
7717 * stl/bits/stl_pair.h (op!=, op>, p<=, op>=): Add missing definitions.
7718
7719 * bits/valarray_meta.h (class _Constant): Move declaration to the
7720 top, so the rest of the file can grok it.
7721 (_ApplyBinaryFunction::operator[]): Add missing parenthesis.
7722
7723 * bits/std_sstream.h (basic_ostringstream::str): Fix typo of extra
7724 semicolon.
7725 (basic_stringstream::str, both instances): Likewise.
7726
7727 1998-10-28 Nathan Myers <ncm@cantrip.org>
7728
7729 * bits/locfacets.h: fix num_put<>::falsename()
7730 * bits/locfacets.tcc: fix _Format_cache<>::_M_populate bool name init
7731 * testsuite/27/27octfmt.C, testsuite/27/27octfmt.C: new tests
7732 * bits/locfacets.tcc: touch up _S_group_digits.
7733 * src/misc-inst.cc: adjust _S_group_digits insts to match.
7734
7735 1998-10-27 Nathan Myers <ncm@cantrip.org>
7736
7737 * stl/bits/stl_config.h: Turn off long long support, for now.
7738 * src/locale-inst.cc: Instantiate num_put<> only for
7739 ostreambuf_iterator, num_get only for istreambuf_iterator.
7740 * src/misc-inst.cc: Delete duplicate locale-related instantiations,
7741 add lots of new instantiations for num_put support function templates;
7742 remove junk about __match_parallel for ostreambuf_iterator.
7743
7744 1998-10-27 Nathan Myers <ncm@cantrip.org>
7745
7746 * bits/locfacets.tcc: Make num_put's digit grouping work.
7747 * bits/string.tcc: More uglification.
7748 * src/ios.cc: initialize format cache right
7749
7750 1998-10-26 Nathan Myers <ncm@cantrip.org>
7751
7752 * bits/basic_string.h: Uglify more names.
7753 * bits/fstream.tcc: Rewrite some filebut output handling.
7754 * bits/ios_base.h: Cosmetic.
7755 * bits/locfacets.h: Changes to _Format_cache for support of num_put.
7756 Also, specialize its default ctor for optimal default case.
7757 #ifdef out "long long" prototypes for now.
7758 * bits/locfacets.tcc: Do complete, optimized num_put<>::do_put
7759 implementation for integer types. (Still needs optimized
7760 std::copy() applied to ostreambuf_iterator to be optimal.)
7761 * bits/ostream.tcc: Write operator<< for long, bool types.
7762 Make other operators<< non-members, per spec. (Many still
7763 not implemented.) Identify those that fail to create a sentry.
7764 * bits/sbuf_iter: Cosmetic.
7765 * bits/std_fstream.h: Add some filebuf members.
7766 * bits/std_locale.h: Include <limits> for use in bits/locfacets.h
7767 * bits/std_ostream.h: Make member operators<< global, per spec.
7768 (Should do the same in std_istream.h.)
7769 * bits/std_string.h: Include <limits> for use in bits/locfacets.h
7770 * bits/string.tcc: Uglify names
7771 * shadow/bits/std_cstdlib.h: Optimize std::div and std::ldiv.
7772 * src/ios.cc: Specialize _Format_cache<> for char and wchar_t,
7773 for optimal default behavior.
7774
7775 1998-10-26 Benjamin Kosnik <bkoz@loony.cygnus.com>
7776
7777 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc again.
7778
7779 1998-10-21 Nathan Myers <ncm@cantrip.org>
7780
7781 * src/locale.cc: make ctype operations actually work for glibc
7782 * CHECKLIST: add a comprehensive (i.e. huge) implementation
7783 checklist of stdlib facilities. Not filled in yet.
7784
7785 1998-10-20 Nathan Myers <ncm@cantrip.org>
7786
7787 * bits/string.tcc: fix patching NULs on string ends.
7788
7789 1998-10-19 Nathan Myers <ncm@cantrip.org>
7790
7791 * bits/std_iosfwd.h: eliminate "basic_" prefix on streambuf
7792 iterator forward declarations
7793 * bits/sbuf_iter.h: eliminate default template argument definitions
7794 on streambuf iterators (rely on <iosfwd> decls).
7795 * TODO: add note about lazy facet construction
7796 * bits/basic_ios.h: hit operator void* again. This should be the
7797 last time we need to touch it.
7798 * bits/basic_ios.h: copyfmt now returns *this.
7799 * bits/basic_string.h: fix npos again. npos cannot be defined as zero.
7800 * bits/basic_string.h: put back overloaded constructors; adjust
7801 behavior for default allocator on copy constructor.
7802 * bits/char_traits.h: make not_eof return correct type.
7803 * bits/loccore.h: remove call to bits/std_stdexcept.h; subincludes
7804 cannot be in non-standard headers or we get include loops (bad)
7805 * bits/loccore.h: delete ifdef'd out workarounds for old compiler bugs.
7806 * bits/loccore.h: add apparatus to support lazy construction of
7807 facets.
7808 * bits/locfacets.tcc: Uglify names in __match_parallel decl.
7809 * bits/std_ios.h: add include of <typeinfo> to get bad_cast for
7810 locale use_facet<> failure.
7811 * bits/std_locale.h: same.
7812 * bits/std_string.h: same.
7813 * bits/std_stdexcept.h: change exception member __msg from a
7814 reference to a regular object.
7815 * bits/string.tcc: add pasting a NUL on the end of strings after
7816 each operation. We had already left room for it, but previously
7817 plugged it only on a call to c_str(), but the WG changed the
7818 requirement when I wasn't looking. (Can't leave them alone for
7819 a second without they break something else.)
7820 * bits/valarray_meta.h: add Gaby's changes from 981018.
7821 * src/locale.cc: add new type _Bad_use_facet to be thrown on
7822 failure of use_facet<>().
7823 * src/stdexcept.cc: remove pragma, remove bkoz's #if 0,
7824 comment out leftover member definitions
7825
7826 1998-10-16 Ulrich Drepper <drepper@cygnus.com>
7827
7828 * string/Makefile.am: Revert last change.
7829 * math/Makefile.am: Likewise.
7830
7831 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
7832
7833 * bits/std_sstream.h: Fix typo.
7834
7835 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
7836
7837 * src/Makefile.am (libstdc___la_SOURCES): Add misc-inst.cc.
7838
7839 * bits/std_sstream.h: Add typedefs, member definitions. Clean.
7840 * bits/std_stdexcept.h: Remove.
7841
7842 1998-10-15 Benjamin Kosnik <bkoz@haight.constant.com>
7843
7844 * src/misc-inst.cc: Tweak again.
7845
7846 * bits/std_sstream.h: Move out-of-line definitions to sstream.tcc.
7847 * bits/sstream.tcc: New file.
7848
7849 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
7850
7851 * configure.in: Test for machine/param.h, sys/machine.h and fp.h.
7852 Don't run AC_C_BIGENDIAN if machine/param.h or sys/machine.h are
7853 available.
7854
7855 * math/mathconf.h: Include sys/machine.h, machine/param.h and fp.h
7856 if available.
7857 (INFINITE_P): Use IS_INF macro if available.
7858
7859 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
7860
7861 * math/Makefile.am (EXTRA_LTLIBRARIES): Renamed from
7862 noinst_LTLIBRARIES.
7863 * string/Makefile.am: Likewise.
7864
7865 1998-10-15 Ulrich Drepper <drepper@cygnus.com>
7866
7867 * configure.in (AC_CHECK_FUNCS): Add finite, qfinite, fpclass, and
7868 qfpclass.
7869 (AC_CHECK_HEADERS): Add machine/endian.h. If no header specifying
7870 endianess is available run AC_C_BIGENDIAN.
7871
7872 * math/clog10l.c: Add ugly hack around bug in Irix 6.2 header until
7873 fixincludes is fixed.
7874 * math/clogl.c: Likewise.
7875 * math/csqrtl.c: Likewise.
7876 * math/mycabsl.c: Likewise.
7877
7878 * math/mathconf.h: Include machine/endian.h if possible. If no
7879 header describing endianess is available rely on WORDS_BIGENDIAN
7880 macro.
7881 (FINITE_P, FINITEF_P, FINITEL_P): Use finite functino if available.
7882 (INFINITE_P, INFINITEF_P, INFINITEL_P): Use fpclass function if
7883 available.
7884
7885 * src/complex.cc (polar): Don't use sincos on OSF machines.
7886
7887 1998-10-09 Benjamin Kosnik <bkoz@loony.cygnus.com>
7888
7889 * src/locale-inst.cc: Don't instantiate time_get for
7890 ostreambuf_iterators as time_get::do_get_weekday and
7891 time_get::do_get_monthname use __match_parallel, which is illegal
7892 for ostreambuf_iterators to use, as they don't have operator== or
7893 operator!=.
7894 * bits/std_stdexcept.h: Add dtor definitions.
7895 Use stl/bits/std_stdexcept.h instead of this file?
7896 * bits/sbuf_iter.h : Tweak.
7897 * src/misc-inst.cc: Tweak.
7898
7899 1998-10-09 Benjamin Kosnik <bkoz@haight.constant.com>
7900
7901 * bits/std_stdexcept.h: New file.
7902 * src/stdexcept.cc: Define the following:
7903 logic_error::what()
7904 runtime_error::what()
7905
7906 * src/misc-inst.cc: New file.
7907 * src/Makefile.in (libstdc___la_SOURCES): Add misc-inst.cc.
7908 (libstdc___la_OBJECTS): Add misc-inst.lo.
7909
7910 * bits/basic_string.h: Disable non-standard ctor declarations.
7911 * bits/string.tcc: Disable definitions as well.
7912 * src/string.cc: Disable <ios> dependancies.
7913 * bits/sbuf_iter.h (std): Add default to template parameter for
7914 ostreambuf_iterator and istreambuf_iterator.
7915 * bits/std_iosfwd.h: Change istreambuf_iterator to
7916 basic_istreambuf_iterator. Likewise for ostreambuf.
7917 * bits/locfacets.tcc (__match_parallel): Fix typo.
7918 * src/ios.cc (imbue): Remove the _G_HAVE_LOCALE guards around
7919 ios_base::imbue.
7920 * bits/std_streambuf.h: Define _Streambuf_base::getloc().
7921 * bits/std_istream.h: Define the following:
7922 get (basic_streambuf<char_type,_Traits>& __sb, char_type __delim)
7923 get (char_type* __s, streamsize __n, char_type __delim);
7924 getline (char_type* __s, streamsize __n, char_type __delim)
7925 * bits/loccore.h : FIXME friend template code for use_facet.
7926 Add std_stdexcept.h include so that range_error will be defined.
7927 Add explicit conversion to string for range_error throws. (HACK?)
7928
7929 1998-10-8 Ulrich Drepper <drepepr@cygnus.com>
7930
7931 * configure.in: Check for sincos, sincosf, and sincosl.
7932 * src/complex.cc (polar): Use sincos if available.
7933
7934 * bits/c++config.h: Fix hack to get LONG_LONG* definitions on Linux.
7935 * stl/bits/std_limits.h: Include bits/c++config.h. HACK!!!
7936
7937 * math/clog10.c: Fix typo (FP_INIFITE_P -> INFINITE_P).
7938
7939 * math/cpow.c: Use c_log, not clog.
7940 * math/cpowf.c: Likewise.
7941 * math/cpowl.c: Likewise.
7942
7943 * math/cexp.c: Remove unused fpclassify calls. Use FINITE_P instead
7944 of isfinite call.
7945
7946 * math/mathconf.h (FINITE_P, FINITEF_P, FINITEL_P): Define using
7947 isfinite macro if it is available.
7948 (INFINITE_P, INFINITEF_P, INFINITEL_P): Define using isinf macro.
7949
7950 * math/ccosf.c: Use appropriate test macros for this type.
7951 * math/ccoshf.c: Likewise.
7952 * math/ccoshl.c: Likewise.
7953 * math/ccosl.c: Likewise.
7954 * math/cexpf.c: Likewise.
7955 * math/cexpl.c: Likewise.
7956 * math/clog10f.c: Likewise.
7957 * math/clog10l.c: Likewise.
7958 * math/clogf.c: Likewise.
7959 * math/clogl.c: Likewise.
7960 * math/csinf.c: Likewise.
7961 * math/csinhf.c: Likewise.
7962 * math/csinhl.c: Likewise.
7963 * math/csinl.c: Likewise.
7964 * math/csqrtf.c: Likewise.
7965 * math/csqrtl.c: Likewise.
7966 * math/ctanf.c: Likewise.
7967 * math/ctanhf.c: Likewise.
7968 * math/ctanhl.c: Likewise.
7969 * math/ctanl.c: Likewise.
7970
7971 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
7972
7973 * bits/basic_ios.h: Fix previous change.
7974
7975 1998-10-06 Benjamin Kosnik <bkoz@bliss.nabi.net>
7976
7977 * bits/basic_ios.h: Add const_cast<basic_ios&>
7978 (operator void*): As per 5.2.9 p 2, make sure static_cast is
7979 well-formed.
7980 * bits/char_traits.h: No _CharT for specialization, change to 0.
7981 * bits/basic_string.h: As per 9.4.2 p4, initialize with
7982 constant-initializer.
7983 * bits/locfacets.tcc: Add template parameter to initialization list.
7984
7985 1998-10-02 Benjamin Kosnik <bkoz@loony.cygnus.com>
7986
7987 * bits/basic_string.h: Should just be <, not <=.
7988
7989 1998-10-01 Benjamin Kosnik <bkoz@bliss.nabi.net>
7990
7991 * bits/string.tcc (compare): Fix for strings that are similar, but
7992 not the same length.
7993
7994 1998-09-04 Brendan Kehoe <brendan@cygnus.com>
7995
7996 * bits/c++config.h: For __linux__, define _GNU_SOURCE. This is
7997 required for us to get LONG_LONG_{MIN,MAX} out of gcc's limits.h.
7998 We can't check for __GLIBC__ here, since this header can be read
7999 before any system one (that would lead to features.h) being used.
8000
8001 * stl/bits/stl_config.h (__STL_LONG_LONG): Re-enabled
8002
8003 * stl/bits/std_limits.h [__STL_LONG_LONG]: Fix usage to use
8004 LONG_LONG_MIN, LONG_LONG_MAX, and ULONG_LONG_MAX.
8005
8006 * stl/bits/stl_config.h: Don't do __STL_LONG_LONG, it uses
8007 LONGLONG_{MIN,MAX} which I can't find the origin of.
8008
8009 1998-09-03 Brendan Kehoe <brendan@cygnus.com>
8010
8011 * stl/bits/stl_iterator.h: Add extern decl of cin for now; where
8012 should this come from, if not iostream.h?
8013 (class istream_iterator): Make the new operator!= a friend also.
8014
8015 * stl/bits/stl_config.h: Define __STL_HAS_WCHAR_T,
8016 __STL_MEMBER_TEMPLATE_CLASSES, and __STL_LONG_LONG. Don't include
8017 _G_config.h like the egcs one does.
8018
8019 1998-09-01 Brendan Kehoe <brendan@cygnus.com>
8020
8021 * bits/string.tcc: Call `_M_destroy' instead of `destroy'.
8022
8023 * bits/valarray_meta.h: Throughout, rename _Expr typedefs to be
8024 _Expr1 (or _Expr_def if it's taken), and change definitions.
8025 Avoids redecl of the template parm.
8026
8027 * bits/string.tcc (basic_string copy ctor): Fix typo in declaration.
8028 (operator>>): Initialize __ERROR with ios_base::goodbit, not 0.
8029
8030 * bits/std_streambuf.h (_POSIX_SOURCE): Only define if it's not
8031 already done.
8032
8033 * src/locale-inst.cc: New file, **TOTAL HACK**. There has GOT to
8034 be a better way to do this.
8035
8036 * src/stlinst.cc: New file.
8037
8038 * BUGS: New file, with various discovered bugs that need to be
8039 fixed.
8040
8041 * Makefile.in, math/Makefile.in, string/Makefile.in,
8042 src/Makefile.in: Reran automake.
8043
8044 Workarounds, these may not all be the final fixes:
8045
8046 * bits/basic_ios.h (class basic_ios): Make _M_strbuf be protected,
8047 not private, for basic_istream::get() in std_istream.h to be able
8048 to use it.
8049 (basic_ios::operator void*): Don't use static_cast for the false
8050 case.
8051 (basic_ios::copyfmt): Fix `rhs.except' to be `rhs.exceptions ()'.
8052 This appears to have been in sep94, but didn't get corrected
8053 afterwards.
8054
8055 * bits/basic_string.h (npos): Don't init here.
8056 * bits/string.tcc: Instead, do initialization here, to -1 instead
8057 of the size_type destructor.
8058
8059 * src/traits.cc, src/wtraits.cc: New files.
8060 * bits/char_traits.h: For char_traits<char> and
8061 char_traits<wchar_t>, declare static, but define over in the src
8062 files.
8063
8064 * bits/gslice.h: Comment out forward decls of _Array, valarray,
8065 gslice_array, and _GsliceExpression.
8066
8067 * bits/std_cstdio.h [__sparc__ && __svr4__]: #undef all of
8068 clearerr, feof, ferror, getc, getchar, putc, putchar, stdin,
8069 stdout, and stderr. Note we do get unresolved refs to stdin, but
8070 that'll get fixed by the "true" solution.
8071
8072 * bits/std_ios.h: Include <bits/std_streambuf.h> to get the
8073 definition of basic_streambuf.h, which is used in basic_ios.h to
8074 call pubimbue.
8075
8076 * bits/std_streambuf.h: Don't include libio.h for now.
8077 (class basic_streambuf): Define missing methods pubimbue and
8078 getloc.
8079
8080 * src/Makefile.am (libstdc___la_SOURCES): Add stdexcept.cc,
8081 ios.cc, os_raw.cc, stdstreams.cc, locale.cc, localename.cc,
8082 locale-inst.cc, stlinst.cc, traits.cc, wtraits.cc.
8083
8084 * src/ios.cc: Instantiate basic_ios<char> and basic_ios<wchar_t>.
8085
8086 * src/locale.cc: Come up with munged versions of _S_toupper,
8087 _S_tolower, and _S_table instead of the glibc-specific ones, so
8088 they're at least defined, if not necessarily usable. The glibc
8089 ones on any other system will yield unresolved refs to
8090 __ctype_{b,toupper,tolower}.
8091
8092 * src/string.cc: Define all of ADDCS, ADDPS, et al. Add
8093 basic_ios, basic_istream, basic_ostream. Don't do char_traits
8094 anymore cuz of the explicit specialization in char_traits.h.
8095 Also add _S_string_copy, but this doesn't fix it -- cf the BUGS
8096 file for the details.
8097
8098 * stl/bits/stl_algobase.h (equal): Fix to do `! (x==y)'.
8099 * stl/bits/stl_iterator.h (__distance): Likewise.
8100
8101 * stl/bits/stl_iterator.h: As with 8/18 set, define missing op!=,
8102 op>, op<=, and op>= for reverse_iterator. Also add op!= for
8103 istream_iterator.
8104
8105 1998-08-26 Brendan Kehoe <brendan@cygnus.com>
8106
8107 * bits/string.tcc (basic_string::compare (const char*)): Fix to
8108 return 0, not 1.
8109
8110 1998-08-25 Brendan Kehoe <brendan@cygnus.com>
8111
8112 This should really be fixed with __asm__ directives renaming the
8113 symbol, but keeping the function.
8114 * math/clogf.c (c_logf): Renamed from `clogf'.
8115 * math/clogl.c (c_logl): Renamed from `clogl'.
8116 * math/complex-stub.h (c_logf, c_logl): Change decls.
8117
8118 * bits/locfacets.h (class _Numeric_get): For friend decls, rename
8119 _CharT and _InIter parms, since they duplicate the enclosing ones.
8120
8121 1998-08-19 Brendan Kehoe <brendan@cygnus.com>
8122
8123 Deal with conflict of the iostreams `clog' and our internal
8124 complex number `clog'.
8125 * src/complex.cc: Call `c_log' instead of `clog'.
8126 * math/clog.c (c_log):: Renamed from clog.
8127 * math/complex-stub.h (c_log): Renamed from clog decl.
8128
8129 * bits/locfacets.h (class _Numeric_get): Tweak fwd decls of the
8130 get/put classes.
8131 (num_put::put): #if 0 long long version, since we don't declare or
8132 define the long long version of do_put.
8133
8134 1998-08-18 Nathan Myers <ncm@cantrip.org>
8135
8136 * bits/basic_string.h: add basic_string<>::push_back(), fix return
8137 type of get_allocator (thanks to Ryszard Kabatek).
8138 * bits/char_traits.h: make init order of fpos<> members
8139 match decl order.
8140 * bits/ios_base.h: fix decls of ios_base bitmask & enum types, add
8141 flags _S_fd_in etc. for special filebuf ctor.
8142 * bits/locfacets.h: make _Numeric_get and _Format_cache public
8143 to work around problems in friend declarations.
8144 * bits/locfacets.tcc: qualify _S_get_cache in num_get<>::get(..bool&),
8145 fix random type errors & typos
8146 * bits/std_fstream.h: major refitting to bypass libio (for now),
8147 instrument to use bits/fstream.tcc template definitions
8148 * bits/std_iosfwd.h: mess with wrappers
8149 * bits/std_istream.h: remove meaningless comment
8150 * bits/std_ostream.h: instrument to work with ostream.tcc.
8151 * bits/std_streambuf.h: instrument to work with streambuf.tcc
8152 * bits/fstream.tcc: template defs for <fstream>
8153 * bits/ostream.tcc: template defs for <ostream>
8154 * bits/streambuf.tcc: template defs for <streambuf>
8155 * bits/os_raw.h: thin OS interface wrapper, to bypass libio (for now).
8156 * Delete .cc files, replace with bits/*.tcc
8157 src/fstream.cc
8158 src/istream.cc
8159 src/ostream.cc
8160 src/streambuf.cc
8161 * Add files:
8162 src/os_raw.cc: thin interface to OS, to bypass libio (for now).
8163 src/stdstreams.cc: cout, cin, etc. definitions
8164 (these still need work: must be init'd before user statics.)
8165
8166
8167 1998-08-18 Brendan Kehoe <brendan@cygnus.com>
8168
8169 Sent to SGI before checkin:
8170 * stl/bits/stl_vector.h (operator!=, operator>, operator<=,
8171 operator>=): Define.
8172 * stl/bits/stl_bvector.h (vector<bool>::flip): Define method.
8173 * stl/bits/stl_deque.h (operator!=, operator>, operator<=,
8174 operator>=): Define.
8175 (operator==, operator<): Add inline.
8176 * stl/bits/stl_map.h (operator!=, operator<, operator<=,
8177 operator>=): Define.
8178 * stl/bits/stl_multimap.h (operator!=, operator<, operator<=,
8179 operator>=): Define.
8180 * stl/bits/stl_list.h (operator!=, operator<, operator<=,
8181 operator>=): Define.
8182 * stl/bits/stl_set.h (operator!=, operator<, operator<=,
8183 operator>=): Define.
8184 * stl/bits/stl_multiset.h (operator!=, operator<, operator<=,
8185 operator>=): Define.
8186
8187 * bits/std_valarray.h (_Shift_left, _Shift_right): Inherit from
8188 unary_function.
8189
8190 1998-08-15 Nathan Myers <ncm@cantrip.org>
8191
8192 * bits/ios_base.h: change nominal bitmask and enum types to real enums
8193 * bits/locfacets.h: make _Format_cache bool names usable by num_get
8194 * bits/locfacets.tcc: make num_get<>::get(... bool&) use _Format_cache
8195 * bits/std_fstream.h: minor cleanups: ctors delegate to open()
8196 * bits/std_iosfwd.h: more bitmask changes, for ios_base::iostate
8197 * bits/std_sstream.h: formatting cleanups
8198
8199 1998-08-14 Nathan Myers <ncm@cantrip.org>
8200
8201 * bits/locfacets.tcc: implement num_get<>::do_get(..., bool&)
8202 * bits/locfacets.tcc: implement time_get<>::do_get_weekday
8203 * bits/locfacets.tcc: implement time_get<>::do_get_monthname
8204 * bits/locfacets.h: fix missing argument in do_get_monthname
8205 (this is a bug in the standard, ref. 36 in my list.)
8206 * bits/locfacets.h: make month and day name caches mutable
8207 * bits/locfacets.tcc: various typos in get() functions
8208 * bits/sbuf_iter.h: fix omission in istreambuf_iterator::op++().
8209 * bits/std_streambuf.h: fix typo in sgetn (Brendan)
8210
8211 1998-08-12 Nathan Myers <ncm@cantrip.org>
8212 * move streambuf iterators to bits/sbuf_iter.h
8213 * optimize streambuf iterators
8214 * begin generalizing streambuf
8215 * begin implementing num_get<>::get (starting with bool)
8216 * patch stl/bits/stl_config.h so that relops operators are
8217 contained properly, out of the way.
8218
8219 1998-07-24 Nathan Myers <ncm@cantrip.org>
8220 * Fold in SGI 3.11 changes (uglified names, some algorithm
8221 improvements, very minor bug fixes.)
8222 * Uglify names elsewhere to match (s/_T/_Tp/).
8223 * Begin work on optimized streambuf
8224 * Put complex.cc in namespace std:: (thanks Martin)
8225
8226 1998-07-17 Nathan Myers <ncm@cantrip.org>
8227
8228 * bits/char_traits.h: add _Char_traits_match template.
8229 * bits/string.tcc: fix bugs in various find_last* members.
8230 * bits/basic_string.h: redeclare member _S_find.
8231 * stl/bits/stl_iterator.h: change member names in nonstandard
8232 templates bidirectional_reverse_iterator and
8233 random_access_reverse_iterator to match expected changes
8234 in upstream source.
8235 * src/string.cc: fix definitions of stream operators.
8236
8237 1998-07-14 16:06 Ulrich Drepper <drepper@cygnus.com>
8238
8239 * Makefile.am (SUBDIRS): Add string.
8240
8241 * configure.in: Test for long double functions separately. Test for
8242 ISO C 89 float functions. Test for endian.h and sys/isa_defs.h.
8243 Generate string/Makefile.
8244
8245 * bits/c++config.h: Define mbstate_t for Solaris.
8246
8247 * bits/char_traits.h: Remove unused #if.
8248
8249 * bits/std_cwchar.h: Declare wide char string functions.
8250
8251 * m4/stringfcts.m4: New file.
8252
8253 * math/complex-stub.h: Declare nan.
8254 * math/nan.c: New file.
8255
8256 * math/mathconf.h: Hack around missing endian.h file.
8257 Handle missing NAN definition.
8258 Handle missing float math functions.
8259
8260 * src/Makefile.am (libstdc___la_LIBADD): Add libstring.la.
8261 (libstdc___la_LDFLAGS): Set version information.
8262
8263 * src/complexl.cc: Don't compile any code if no long double functions
8264 are available.
8265
8266 * string/Makefile.am: New file.
8267 * string/dummy.c: New file.
8268 * string/wmemchr.c: New file.
8269 * string/wmemcmp.c: New file.
8270 * string/wmemcpy.c: New file.
8271 * string/wmemmove.c: New file.
8272 * string/wmemset.c: New file.
8273
8274 1998-07-14 10:45 Ulrich Drepper <drepper@cygnus.com>
8275
8276 * configure.in: Make it work.
8277 * install-sh: New file.
8278 * missing: New file.
8279 * mkinstalldirs: New file.
8280 * m4/mathfcts.m4: New file.
8281 * math/Makefile.am: New file.
8282
8283 * bits/std_complex.h (conj): Mark specializations as inline.
8284
8285 * math/carg.c: New file.
8286 * math/cargf.c: New file.
8287 * math/cargl.c: New file.
8288 * math/mycabs.c: New file.
8289 * math/mycabsf.c: New file.
8290 * math/mycabsl.c: New file.
8291 * math/signbit.c: New file.
8292 * math/signbitf.c: New file.
8293 * math/signbitl.c: New file.
8294
8295 * math/ccos.c: Avoid ISO C 9x functionality.
8296 * math/ccosf.c: Likewise.
8297 * math/ccosh.c: Likewise.
8298 * math/ccoshf.c: Likewise.
8299 * math/ccoshl.c: Likewise.
8300 * math/ccosl.c: Likewise.
8301 * math/cexp.c: Likewise.
8302 * math/cexpf.c: Likewise.
8303 * math/cexpl.c: Likewise.
8304 * math/clog.c: Likewise.
8305 * math/clog10.c: Likewise.
8306 * math/clog10f.c: Likewise.
8307 * math/clog10l.c: Likewise.
8308 * math/clogf.c: Likewise.
8309 * math/clogl.c: Likewise.
8310 * math/cpow.c: Likewise.
8311 * math/cpowf.c: Likewise.
8312 * math/cpowl.c: Likewise.
8313 * math/csin.c: Likewise.
8314 * math/csinf.c: Likewise.
8315 * math/csinh.c: Likewise.
8316 * math/csinhf.c: Likewise.
8317 * math/csinhl.c: Likewise.
8318 * math/csinl.c: Likewise.
8319 * math/csqrt.c: Likewise.
8320 * math/csqrtf.c: Likewise.
8321 * math/csqrtl.c: Likewise.
8322 * math/ctan.c: Likewise.
8323 * math/ctanf.c: Likewise.
8324 * math/ctanh.c: Likewise.
8325 * math/ctanhf.c: Likewise.
8326 * math/ctanhl.c: Likewise.
8327 * math/ctanl.c: Likewise.
8328
8329 * math/complex-stub.h: New file.
8330
8331 * math/mathconf.h: New file.
8332
8333 * src/Makefile.am: New file.
8334
8335 * src/complex.cc: Use mathconf.h instead of complex.h.
8336 Don't use cabs, always use __mycabs.
8337
8338 1998-02-13 Brendan Kehoe <brendan@cygnus.com>
8339
8340 * iterator (class reverse_iterator): Do some tweaks to be in sync
8341 w/ the FDIS.
This page took 0.451302 seconds and 6 git commands to generate.