forked from gcc-mirror/gcc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog-1999
3549 lines (2619 loc) · 122 KB
/
ChangeLog-1999
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
* docs/gentop/status: Add snapshot version column, update
for Solaris 7.
* docs/status.html: Regenerated.
1999-12-26 Phil Edwards <pme@sourceware.cygnus.com>
* docs/faq/index.html: Turn README and RELEASE-NOTES into links
from installation FAQ, and specify location of text files.
* docs/faq/index.txt: Regenerated.
1999-12-23 Phil Edwards <pme@sourceware.cygnus.com>
* docs/gentop/download: Add links to prebuilds for Cygwin/Mingw32.
* docs/download.html: Regenerated.
1999-12-22 Phil Edwards <pme@sourceware.cygnus.com>
* docs/faq/index.html: Update 'what works' for .7 snapshot,
clean up various links.
* docs/faq/index.txt: Regenerated.
* docs/gentop/gentop: Smarter regeneration script.
* docs/gentop/{head,foot}chunk.html: Updated with new
contributors link and mod date.
* docs/gentop/index: Snapshot relase date.
* docs/gentop/thanks: New contributors page added.
* docs/{download,how,index,links,mail,status,thanks}.html:
Regenerated from gentop; thanks.html created.
1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
* bits/c++config.h.in (__GLIBCPP__): 19991221.
* docs/index.html: Add correct information.
* config/irix: New directory.
* config/irix/ctype.cc: Add irix-6.5 info. Not tested.
* config/irix/bits/ctype_base.h: And here.
* config/aix: New directory.
* config/aix/ctype.cc: Add aix-4.2 info. Not tested.
* config/aix/bits/ctype_base.h: And here.
1999-12-21 Philip Martin <pm@corris.dircon.co.uk>
* bits/basic_string.h: Add special case handling for integral
"iterators".
* bits/std_string.h: include type_traits.h
* testsuite/21_strings/ctor_copy_dtor.cc: Tweak.
1999-12-21 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
* bits/fstream.tcc (seekoff): Output buffer based on _M_*_in and
_M_*_end now.
* bits/std_fstream.h (sync): And here.
* testsuite/27_io/filebuf.cc: Revisions.
* testsuite/27_io/filebuf-2.tst: Correct, remove weird character
at the end of the file.
* testsuite/27_io/filebuf-3.tst: Correct.
1999-12-21 Phil Edwards <pedwards@jaj.com>
* docs/gentop/index: Hold off on .7 announcement date.
* docs/index.html: Regenerate.
1999-12-21 Benjamin Kosnik <bkoz@kcygnus.com>
* bits/std_fstream.h (sync): Move _M_file->sync() to
_M_really_overflow().
* bits/fstream.tcc (seekoff): Call sync, not _M_really_overflow so
as to get the _M_file->sync action, which forces the external
buffer to update itself.
(underflow): Same here.
1999-12-21 Phil Edwards <pedwards@jaj.com>
* bits/c++config.h.in: Uncomment _GLIBCPP_USE_NAMESPACES and move...
* acconfig.h: ...to here.
* config.h.in: Regenerate from aclocal.
* acinclude.m4: Add GLIBCPP_ENABLE_DEBUG, GLIBCPP_ENABLE_NAMESPACES.
* aclocal.m4: Regenerate from acinclude.
* configure.in: Use ENABLE macros here.
* configure: Regenerate.
* src/Makefile.am: Use results from ENABLE macros.
* src/Makefile.in: Regenerate.
1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
* mkcheck (SRC_DIR): Now have to include config/* dir if "make
check" and not "make check-install." Temporarily hack in linux
support.
* bits/std_streambuf.h: Tweaks.
* bits/streambuf.tcc (xsgetn): Tweaks.
* bits/std_fstream.h (sync): Make _M_really_overflow consistent.
* bits/fstream.tcc (filebuf::underflow): Simplify.
* bits/std_sstream.h (streambuf::underflow): Minor change to make
checks for read position precisely implement the standard.
* bits/basic_file.h (filepos_cur): Base this on _offset.
* testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.
* testsuite/27_io/filebuf.cc: Tweak.
1999-12-20 Benjamin Kosnik <bkoz@cygnus.com>
* docs/17_intro/RELEASE-NOTES: Fix typos.
* bits/locale_facets.h (ctype): Modify, use __to_type to abstract
out platform-specific bits.
* config/default/ctype.cc: And here.
* config/defaults/bits/ctype_base.h: And here.
* config/linux/ctype.cc: And here.
* config/linux/bits/ctype_base.h (ctype_base): And here.
* config/solaris/bits/ctype_base.h (ctype_base): Add
__to_type. Comment, as it looks like this is for solaris2.6 and
above: solaris2.5.1 doesn't seem to have the same definitions.
* config/solaris/ctype.cc: And here.
1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
Ulrich Drepper <drepper@cygnus.com>
* acconfig.h: Remove _GLIBCPP_USE_CTYPE_ISBIT.
* src/locale.cc: Take out platform-specific hacks.
* config/linux/ctype.cc: Put here.
* config/solaris/ctype.cc: Put here.
* config/default/ctype.cc: Put here.
* bits/locale_facets.h: Take out platform-specific hacks.
* config/linux/bits/ctype_base.h: Put here.
* config/solaris/bits/ctype_base.h: Put here.
* config/default/bits/ctype_base.h: Put here.
* configure.in: Bump version.
Add tests for top-level config directory.
* configure: Regenerated.
* src/Makefile.am (INCLUDES): Add platform-specific dir.
* src/Makefile: Regenerate.
1999-12-19 Benjamin Kosnik <bkoz@cygnus.com>
Ulrich Drepper <drepper@cygnus.com>
* bits/locale_facets.h: Hack in solaris support.
* src/locale.cc: Here too.
1999-12-18 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* docs/17_intro/TODO: Update
* docs/17_intro/RELEASE-NOTES (New): Update.
1999-12-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
* bits/c++config.h.in (__GLIBCPP__): Bump.
* docs/17_intro/RELEASE-NOTES: Update, Gaby please add your stuff.
* docs/17_intro/TODO: Update.
* bits/locale_facets.h: Touch this too.
* bits/localefwd.h: Add typedefs for loooooong vector names.
* bits/locale_facets.tcc (locale::operator()): Need parens.
(has_facet): Simplify.
* src/locale-inst.cc: Add instantiations.
* src/locale.cc: Tweaks.
* bits/std_streambuf.h: Move indeterminates into. .
* bits/std_fstream.h: Here.
* bits/fstream.tcc (underflow): Rewind just for ios_base::out
streams.
* bits/sstream.tcc: Very minor formatting tweaks.
* bits/std_streambuf.h (_M_set_determinate): If exclusively an
input buffer, set _M_buf to offset.
* bits/istream.tcc (std): Tweaks.
* testsuite/27_io/istream_unformatted.cc (test05): More tweaks,
include fstream.
* testsuite/27_io/filebuf.cc: Tweaks.
1999-12-17 Phil Edwards <pedwards@jaj.com>
* configure.in: Add OPTLEVEL, -O2 for gcc 2.96+, nothing otherwise.
* configure: Regenerate.
* src/Makefile.am: Use OPTLEVEL in CXXFLAGS.
* src/Makefile.in: Regenerate. Also picks up OTHER_CXXFLAGS rename
to OPTIMIZE_CXXFLAGS from a previous revision (1.96) to Makefile.am.
1999-12-17 Phil Edwards <pedwards@jaj.com>
* docs/21_strings/stringtok_std_h.txt: New algorithm
suggested by Chris King.
* docs/21_strings/howto.html: Link to new version.
1999-12-16 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* bits/valarray_array.h (__valarray_sum): Use operator+=, not
operator+.
* docs/17_intro/TODO: Update.
1999-12-15 Phil Edwards <pme@sourceware.cygnus.com>
* docs/gentop/footchunk.html: Updated, fixed CRLFs.
* docs/gentop/gentop: Ditto.
* docs/gentop/headchunk.html: Ditto.
* docs/*.html: Regenerated from gentop.
* docs/*/howto.html: Updated as test.
* docs/faq/index.html: Updated, fixed CRLFs.
* docs/faq/index.txt: Regenerated.
1999-12-15 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* mknumeric_limits (OUT_C): restart only if $OUT_C is present.
* bits/std_complex.h
(complex<float>::complex(const complex<double>&),
complex<float>::complex(const complex<long double>&)): Define.
* docs/17_intro/TODO: Update.
1999-12-13 Benjamin Kosnik <bkoz@cygnus.com>
* bits/istream.tcc (seekg): Don't set _M_gcount.
(tellg): Same.
* bits/fstream.tcc (filebuf::underflow): Re-sync
external byte sequence's input buffer only. . .
* testsuite/27_io/istream_unformatted.cc (test04): New tests for
tellg, seekg and filebufs.
(test05): Same for stringbufs.
* testsuite/27_io/istream_unformatted-2.tst: New file.
* testsuite/27_io/istream_unformatted-1.tst: New file.
* testsuite/27_io/istream_unformatted-1.txt: New file.
* testsuite/21_strings/inserters_extractors.cc (test05): Change
output file.
1999-12-13 Phil Edwards <pedwards@jaj.com>
* docs/gentop/*: New directory, containing bits for the homepages.
* docs/*.html: Regenerated from gentop.
* docs/*/*.html: Entries added and regenerated.
1999-12-13 Benjamin Kosnik <bkoz@gnu.org>
Efforts to get -O2 to work with -Winline -Werrors.
* bits/valarray_array.h (__valarray_fill(_Tp*, size_t, const
_Tp&): Remove inline declaration, as cannot be inlined and
-Winline -Werror complains. An interesting question is why this
cannot be inlined, as I can see no real reason to disqualify it.
(__valarray_product(const _Tp*, const _Tp*)): Same here.
* bits/std_valarray.h (valarray::operator[](size_t)): Same here.
* docs/17_intro/TODO: Update.
1999-12-12 Benjamin Kosnik <bkoz@gnu.org>
* bits/std_fstream.h (seekpos): Tweaks, fixes. Move definition to
fstream.tcc.
* bits/basic_file.h (filepos_cur()): Make pointers themselves be
the resultant position.
* bits/fstream.tcc (seekoff): Explicitly set return value to
resultant external byte sequence position, not value returned from
_M_file->seekoff. Need to make
(seekpos): New definition.
* bits/istream.tcc (seekg): As per Library Issues List 136, set to
just istream. Necessary, or else tellg will give an invalid stream
position, but seekg will return a valid stream position, which is
not groovy: see testcase addition.
* bits/ostream.tcc (seekp): Same.
* bits/streambuf.tcc (_S_copy_streambufs): Simplify.
* bits/sstream.tcc: Tweaks.
* bits/locale_facets.tcc: Tweaks.
(num_put::do_put(iter_type, ios_base, char_type, const void*)):
Re-write in a way that is easier for the inliner to work with.
* bits/ios_base.h: Use explicit static_cast<int>(...) notation.
1999-12-10 Benjamin Kosnik <bkoz@cygnus.com>
* bits/locale_facets.tcc: Tweaks.
* bits/locale_facets.h (use_facet): Can't inline, remove inline
from declaration.
* bits/localefwd.h: And here.
* bits/std_ostream.h: Tweaks, sentry ctor can't be inlined.
* bits/ostream.tcc: Put here.
Frank Ch. Eigler <fche@cygnus.com>
* src/Makefile.am: Adjust CXXFLAGS, add AM_CXXFLAGS.
1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
* bits/sstream.tcc (stringbuf::seekoff): Long overdue revamp. Make
in and out buffers update independently.
* bits/basic_ios.h: Minor formatting.
* bits/fstream.tcc (std): Fix indentation.
1999-12-08 Chip Salzenberg <chip@valinux.com>
* bits/char_traits.h (char_traits<>): Move not_eof() functions
after corresponding eof() functions, so they're easier for the
compiler to inline.
* bits/locale_facets.h (money_base::__default_pattern): Move
static variable out of inline functions.
(_Moneypunct<>::do_{pos,neg}_format): Use it.
* src/locale-inst.cc (money_base::__default_pattern): Define it.
1999-12-08 Benjamin Kosnik <bkoz@cygnus.com>
* bits/std_fstream.h (filebuf::open): Tweak.
* bits/fstream.tcc (filebuf::seekoff): Simplify, fix.
* bits/std_ios.h: Minor tweaks for headers.
1999-12-06 Benjamin Kosnik <bkoz@gnu.org>
* bits/c++config.h.in (_GLIBCPP_FULLY_COMPLIANT_HEADERS): New macro.
* src/string-inst.cc: Add guards . . .
* src/misc-inst.cc: And here.
* bits/std_sstream.h: And here.
* bits/std_fstream.h: And here.
* bits/std_streambuf.h: And here.
* bits/std_istream.h: And here.
* bits/std_ostream.h: And here.
1999-12-06 Scott Snyder <snyder@fnal.gov>
* bits/istream.tcc (basic_istream::read): Try to handle __n == 0
case.
(basic_istream::readsome): And here as well.
* testsuite/27_io/istream_unformatted.cc: Test a zero-length
read().
1999-12-06 Mumit Khan <khan@xraylith.wisc.edu>
* bits/istream.tcc (basic_istream::ignore): streamsize is not
necessarily an `int'.
1999-12-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* mknumeric_limits: Don't use $CXXFLAGS when building
gen-num-limits. It's definitely wrong to use it since $CXXFLAGS
generally instructs the compiler not to emit template
instantiations and we end up with undefined symbols. Sigh.
1999-12-05 Benjamin Kosnik <bkoz@gnu.org>
* bits/locale_facets.tcc: Tweak.
(_S_format_long): Adjust showpos formatting for hex and oct.
* bits/std_ostream.h (operator<<(short)): Correctly deal with hex
and oct by formatting as unsigned.
(operator<<(int)): Same here.
* bits/ostream.tcc (operator<<(long)): Same.
(operator<<(long long)): Same.
(_S_pad_char): Actually treat ios_base::internal as something
worth doing correctly. Remove const designation on ios argument.
* testsuite/27_io/ios_manip_basefield.cc (test02): Add tests.
* testsuite/27_io/ostream_inserter_arith.cc (test03): Add tests.
1999-12-04 Benjamin Kosnik <bkoz@gnu.org>
* bits/std_sstream.h (streambuf::underflow): Check for mode == in.
1999-12-03 Benjamin Kosnik <bkoz@gnu.org>
* bits/locale_facets.tcc (num_put::do_put(bool): Fix.
* bits/sstream.tcc (streambuf::seekoff): Add parens.
* bits/istream.tcc (istream::get(sb)): Handle exceptional events.
(operator>>(istream, _CharT*)): Change streamsize to int_type.
(operator>>(istream, _CharT&)): Fix typedef'd type to be _CharT.
* bits/ostream.tcc (ostream::operator<<(const char*)): Stub out
unused argument.
(ostream::operator<<(_CharT)): Fix.
* bits/std_sstream.h: Temporarily disable including sstream.tcc to
see if this will increase compile speed.
* bits/std_ostream.h: Likewise. . .
* bits/std_istream.h: And here.
* bits/std_fstream.h: And here.
* src/misc-inst.cc: Add relevant header file includes for
instantiation purposes.
* src/string-inst.cc: And here.
* testsuite/27_io/ostream_inserter_arith.cc: Add test case.
1999-12-02 Benjamin Kosnik <bkoz@gnu.org>
* testsuite/27_io/istream_unformatted.cc (test03): Add tests.
* bits/istream.tcc (get(streambuf)): More fixes.
(istream::ignore): Get specific about numeric_limits<int>::max()
requirements.
* bits/fstream.tcc (filebuf::open): Tweaks for _M_last_overflowed.
(filebuf::close): Same.
* testsuite/27_io/filebuf.cc: Add tests for ios_base::ate.
1999-12-01 Phil Edwards <pedwards@jaj.com>
* mkcheck: Support for compilation/execution timing.
* testsuite/printnow.c: New file.
1999-12-01 Phil Edwards <pedwards@jaj.com>
* bits/std_cwchar.h: Test for _GLIBCPP_USE_WCHAR_T.
* configure.in: Test for presence of wchar.h before testing
for any of its features.
* configure: Regenerate.
1999-11-30 Benjamin Kosnik <bkoz@gnu.org>
Preliminary istream validations complete.
* bits/istream.tcc (istream::getline): Fixes. Tweaks to make
formatting more consistent. Removal of if-statements inside of for
loops.
(ignore): Fix.
(get): Same.
(putback): Same.
* bits/std_istream.h: Same.
* bits/sstream.tcc (stringbuf::pbackfail): Fix.
* testsuite/27_io/stringbuf.cc: Tweak.
* testsuite/27_io/istream_unformatted.cc (test02): Mo' tests.
* bits/ostream.tcc (ostream::operator<<(arith)): Set badbit, not
failbit on failure, as per 27.6.2.5.2.
* stl/bits/std_vector.h: Allow bool specializations. Should move
ext/std_bvector to bits, not ext, maybe.
1999-11-30 Mumit Khan <khan@xraylith.wisc.edu>
* configure.in: Fix checks for mbstate_t and WCHAR_MIN/MAX.
* configure: Regenerate.
1999-11-29 Benjamin Kosnik <bkoz@gnu.org>
* bits/istream.tcc (get(streambuf, char)): Fix.
* testsuite/27_io/istream_unformatted.cc (test03): Add tests.
1999-11-29 Scott Snyder <snyder@fnal.gov>
* bits/basic_string.h (append(const _Char*, size_type)): The
length of the appended string is given exactly by the second arg,
regardless of the data in the character array.
* bits/string.tcc (basic_string(const _CharT*, size_type, const
_Alloc&)): Likewise.
* testsuite/21_strings/append.cc (test01): Remove erroneous test
of basic_string::append.
1999-11-29 Chip Salzenberg <chip@valinux.com>
* Makefile.in: Tweaks for CXXFLAGS.
* */Makefile.in: Same.
1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
* conficd bgure.in: Check for wide character support.
* bits/c++config.h.in (_GLIBC_USE_WCHAR_T): Move from here ...
* acconfig.h (_GLIBC_USE_WCHAR_T): to here.
* bits/string.tcc (wstring::_S_find): Guard wchar_t specialization.
1999-11-29 Mumit Khan <khan@xraylith.wisc.edu>
* acinclude.m4: Fix typo.
* src/complex.cc: Fix macro line continuation.
1999-11-29 Petter Urkedal <petter@matfys.lth.se>
* src/Makefile.am (CXXFLAGS): Add -Wno-format to allow non-
string literals in format, as used in locale-facets.tcc.
1999-11-28 Benjamin Kosnik <bkoz@gnu.org>
* testsuite/27_io/istream_unformatted.cc (test03): Add tests.
* bits/istream.tcc (istream::get): Extract to argument minus one.
Various tweaks and fixes.
1999-11-22 Mumit Khan <khan@xraylith.wisc.edu>
* bits/locale_facets.tcc: Workaround for compiler crash on
ix86-*-mingw32.
1999-11-21 Mumit Khan <khan@xraylith.wisc.edu>
* acinclude.m4: New file. New _GLIBCPP_CHECK_FLOAT_SUPPORT macro.
* configure.in: Use.
* acconfig.h: New _GLIBCPP_BUGGY_FLOAT_COMPLEX macro.
* src/complexf.cc: New _GLIBCPP_FLOAT_SPECIALIZATION macro.
* bits/std_complex.h: Use.
* src/complex.cc: Use.
1999-11-19 Mumit Khan <khan@xraylith.wisc.edu>
* testsuite/18_support/numeric_limits.cc: Add missing std:: prefix.
* testsuite/21_strings/inserters_extractors.cc: Likewise.
* testsuite/22_locale/ctype.cc: Likewise.
* testsuite/23_containers/multiset.cc: Likewise.
* testsuite/23_containers/vector_ctor.cc: Likewise.
* testsuite/26_numerics/binary_closure.cc: Likewise.
* testsuite/27_io/fpos.cc: Likewise.
* testsuite/27_io/ios_base_callbacks.cc: Likewise.
* testsuite/27_io/istream_extractor_arith.cc: Likewise.
* testsuite/27_io/istream_extractor_char.cc: Likewise.
* testsuite/27_io/istream_extractor_other.cc: Likewise.
* testsuite/27_io/istream_sentry.cc: Likewise.
* testsuite/27_io/ostream_inserter_char.cc: Likewise.
* testsuite/27_io/ostream_inserter_other.cc: Likewise.
* testsuite/27_io/streambuf.cc: Likewise.
* testsuite/27_io/stringstream.cc: Likewise.
1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* bits/valarray_meta.h: Don't forget to define tanh
1999-11-18 Philip Martin <pm@corris.dircon.co.uk>
* src/stl-inst.cc: Use typedef to refer to iterator
* stl/bits/stl_algobase.h: Add traits based dispatch for
__normal_iterator in the copy()algorithm
* stl/bits/type_traits.h: Add _Is_normal_iterator trait support
1999-11-18 Kevin Ediger <kediger@licor.com>
* src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
constructors for locale::_Impl exception safe.
1999-11-18 Scott Snyder <snyder@fnal.gov>
* stl/bits/stl_queue.h: The C++ standard gives the default for the
_Sequence template argument of priority_queue<> as vector<>, not
deque<>.
1999-11-18 Benjamin Kosnik <bkoz@gnu.org>
* bits/std_sstream.h (stringbuf::_M_really_sync): Add __iend as a
parameter.
* bits/sstream.tcc: Adjust here too.
1999-11-17 Benjamin Kosnik <bkoz@gnu.org>
* bits/sbuf_iter.h (istreambuf_iter::equal): Tweak.
* bits/istream.tcc (operator>>): Replace iostate(0) with
iostate(ios_base::goodbit), which is the same thing, but hopefully
a bit clearer.
* bits/locale_facets.tcc (do_get(bool)): Streamline, deal with
libraries issue list 17.
(do_gets): Don't set goodbit explicitly, instead only set on
failures as good bit is the default setting.
* bits/ios_base.h (setf): Set correctly.
* bits/fstream.tcc: Tweak.
* bits/std_sstream.h (_M_really_sync): Fix ibuffer positioning for
in|out bufs that are empty. . .
* testsuite/27_io/istream_extractor_arith.cc (test03): Add.
1999-11-16 Benjamin Kosnik <bkoz@gnu.org>
* testsuite/27_io/streambuf.cc (class testbuf): Don't set _M_buf_size.
* bits/std_streambuf.h (setp): Set _M_buf_size, _M_mode.
Add comments "all about _M_buf."
(setg): Set _M_mode.
1999-11-16 Kevin Ediger <kediger@licor.com>
* bits/locale_facets.tcc (_S_build_float_format): New function.
(_S_output_float): New function.
(num_put::do_put(double)): Use 'em.
(num_put::do_put(long double)): Use 'em.
* testsuite/27_io/ostream_inserter_arith.cc: New file.
1999-11-15 Scott Snyder <snyder@fnal.gov>
* bits/basic_file.h: Type of __off parm should be __c_streampos, to
match how libio is calling us.
* src/basic_file.cc (sys_seek): Likewise.
* bits/std_fstream.h (basic_filebuf::sync): Restore sync call.
1999-11-15 Benjamin Kosnik <bkoz@gnu.org>
* docs/17_intro/contribute.html: Add link to assignment form.
* docs/17_intro/libstdc++-assign.txt: New file.
* mkcheck (TESTS_FILE): Move a copy of test files as well as
output files.
* bits/std_streambuf.h (_M_buf_bump): New function.
* bits/streambuf.tcc: Mods to support _M_buf_bump.
(xsputn): Here. Also add checks for output valid.
(xsgetn): Add checks for input valid.
(sputc): Here.
(sgetc): Set _M_in_end to _M_buf + _M_buf_end.
* bits/std_sstream.h (_M_really_sync): Set _M_buf.
Set _M_out_end to variable-length-end.
* bits/sstream.tcc (overflow): Use _M_buf_bump.
(seekpos): Same.
(seekoff): Same.
* bits/fstream.tcc (std): Tweak formatting.
(filebuf::overflow): Simplify.
(filebuf::showmanyc): Same.
(filebuf::underflow): Same.
* testsuite/27_io/filebuf.cc: Fix.
* testsuite/27_io/ostream_inserter_other.cc: Fix.
* testsuite/27_io/ostream_inserter_other-2.tst: New file.
* testsuite/27_io/stringbuf.cc: Tweak.
* testsuite/27_io/streambuf.cc: Tweak.
* testsuite/27_io/istream_extractor_other.cc: Fix.
1999-11-11 Matthias Klose <doko@cs.tu-berlin.de>
* stl_deque.h: Use static_casts<size_type>(signed_type).
1999-11-11 Benjamin Kosnik <bkoz@gnu.org>
Cleanups for callbacks, more regression hunting. Remaining
failures (1) due to last unresolved stringstream issues, not
regressions per se.
* bits/std_fstream.h: Revert. Disable call to _M_file->sync as
killing 27_io/filebuf.cc tests. . . need another solution.
* bits/streambuf.tcc (_S_copy_streambufs): Fix.
* testsuite/27_io/istream_extractor_other.cc: Tweak comments.
* bits/basic_ios.h: Add cached facets here. UGH. The standard
foils all attempts at a graceful, minimal implementation.
* bits/basic_ios.tcc: Tweaks.
* bits/istream.tcc: Fix.
* bits/ostream.tcc: Fix.
* bits/std_istream.h: Fix.
* bits/std_ostream.h: Fix.
* src/ios.cc (ios_base::imbue): Set _M_locale_ios before calling
callbacks.
* bits/locale_facets.tcc (std): Minor, minor formatting tweak.
(_S_pad_numeric): Make comprehensible.
1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
* bits/std_ostream.h: Add callbacks for _M_fnumput.
(_S_ostream_fcache): New function.
Move functions out-of-line.
* bits/ostream.tcc: Put here.
* bits/std_istream.h: Add callbacks for _M_fnumget.
(_S_istream_fcache): New function.
Move functions out-of-line.
* bits/istream.tcc: Put here.
* bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
_M_call_callbacks(), as ios_base::imbue does this already.
* src/ios.cc (register_callback): Clean.
(_M_call_callbacks): Same.
* bits/ios_base.h: Callback work.
* testsuite/27_io/ios_base_callbacks.cc (test01): New file.
1999-11-10 Benjamin Kosnik <bkoz@cygnus.com>
Matthias Klose <doko@cs.tu-berlin.de>
* stl/ext/stl_rope.h: Fix initialization order.
1999-11-09 Scott Snyder <snyder@fnal.gov>
* bits/std_fstream.h (basic_filebuf::sync): Unconditionally call
_M_file->sync() so that redirection works correctly.
1999-11-09 Benjamin Kosnik <bkoz@gnu.org>
* bits/istream.tcc: Re-order.
* bits/std_istream.h: Fix getline problems.
* testsuite/27_io/istream_unformatted.cc: New tests.
Clean up regressions.
* bits/std_sstream.h: Set initial stringbufs correctly.
1999-11-09 Scott Snyder <snyder@fnal.gov>
* stl_vector.h (_M_range_insert): Fix mixing pointers and
vector::iterator.
* testsuite/23_containers/vector_modifiers.cc (test01): New file,
tests.
1999-11-09 Benjamin Kosnik <bkoz@cygnus.com>
* src/Makefile.am (CXXFLAGS): Add -Winline.
* src/Makefile.in: Regenerate.
1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* bits/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
building meta-expressions don't forget to take the contained
closures.
1999-11-02 Benjamin Kosnik <benjamin@cygnus.com>
* configure: Regenerate.
1999-11-02 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* bits/valarray_meta.h (_Expr<>::sum): Tweak. Use copy-initialization
syntax.
* bits/valarray_meta.h (min): Likewise.
* bits/valarray_meta.h (max): Likewise.
1999-11-01 Benjamin Kosnik <bkoz@cygnus.com>
* bits/std_sstream.h (_M_really_sync): Take into account in | out bufs.
* bits/std_streambuf.h (_S_copy_streambufs): New function.
* bits/streambuf.tcc: Define.
* bits/istream.tcc (istream::operator>>(streambuf)): Rewrite.
* bits/ostream.tcc (ostream::operator<<(streambuf)): Rewrite.
* testsuite/27_io/ostream_inserter_other.cc: Add tests.
* testsuite/27_io/ostream_inserter_other-1.tst: New file.
* bits/basic_string.h: Explicitly cast npos to unsigned type,
reported by Richard Atterer.
* bits/char_traits.h: For consistency's sake, here too.
* configure.in: Bump version to 2.90.7.
1999-10-31 Benjamin Kosnik <bkoz@cygnus.com>
* testsuite/27_io/ostream_inserter_char-1.tst: Check file output.
* testsuite/27_io/ostream_inserter_char.cc (test05, test01): Add tests.
* bits/streambuf.tcc (xsputn): Treat--size const char for long loops.
(xsgetn): Same.
* bits/sstream.tcc (seekpos): Tricks, mostly: check _M_mode before
writing into buffer.
(seekoff): Same.
1999-10-29 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* bits/valarray_array.h (__valarray_sum): New function.
* bits/valarray_array.h (__valarray_product): Same.
* bits/std_valarray.h (valarray<T>::product): Comment out.
* bits/std_valarray.h (valarray<T>::sum): Use __valarray_sum
instead of accumulate.
* src/valarray-inst.cc: Remove explicit intantiation of
class multiplies<size_t>, accumulate, valarray<size_t>::product.
* src/valarray-inst.cc (__valarray_product): Instantiate
explicitly.
* src/valarray-inst.cc (__valarray_product(const
valarray<size_t>&)): New function.
* src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't use
valarray<size_t>::product. Use __valarray_product instead.
1999-10-25 Benjamin Kosnik <bkoz@cygnus.com>
* bits/std_ostream.h (ostream.inserters.char): Correctly pad output.
(_S_pad_char): New function. Not done: ios_base::internal.
* bits/ostream.tcc: Clean for above.
* bits/locale_facets.tcc (_S_fill): Remove ostreambufiterator
specialization that was commented out, as ostreams now have to
correctly deal with padding.
* testsuite/27_io/ostream_inserter_char.cc (main): Add tests.
* testsuite/21_strings/ctor_copy_dtor.cc(test02): Add test case
from mailing list. This is a bug, and should be fixed.
* testsuite/21_strings/inserters_extractors.cc (main): Tweak, fix typo.
1999-10-22 Petter Urkedal <petter@matfys.lth.se>
* stl/bits/stl_numeric.h (__power): Replaced argument name `__opr'
to avoid conflict with gcc name mangling.
* stl/bits/stl_algo.h (__transform): Same.
1999-10-21 Benjamin Kosnik <bkoz@cygnus.com>
* bits/ios_base.h: Change argument names.
* docs/17_intro/BADNAMES: Add __opr.
1999-10-20 Benjamin Kosnik <bkoz@decepticon.cygnus.com>
Work on compilation slowdowns from 10-5 to 10-12, which are
related to the _Callback_list inlining/merge-ifcation, which is
still a pending issue, but this stuff is necessary cleanup anyway.
* src/ios.cc: Re-arrange.
* bits/ios_base.h: Tweak.
* bits/basic_ios.tcc: Move out of line definitions here, move
small out-of-line definitions inline.
* bits/basic_ios.h: From here.
* bits/streambuf.tcc (pbackfail, overflow): Move back inline.
* bits/std_streambuf.h: From here.
1999-10-19 Benjamin Kosnik <bkoz@cygnus.com>
* testsuite/27_io/istream_extractor_char.cc: Add tests.
* bits/std_istream.h: Tweaks--set eofbit on eof condition.
* bits/istream.tcc (operator>>(istream&, string&): Remove
vestigial issspace hacks and use ctype::is instead.
(getline): Remove unnecessary loops, fortify and pasteurize.
(ws): Same.
1999-10-18 Benjamin Kosnik <bkoz@cygnus.com>
* bits/istream.tcc (operator>>): Tweak.
* bits/std_istream.h: Fix according to library issues list 68.
Add typedefs.
* bits/locale_facets.h: Fix table_size to be non-zero.
1999-10-18 Vadim Egorov <egorovv@HotPOP.com>
* src/basic_file.cc: ifdef instead of comment for binary mode
1999-10-18 Russell Davidson <russell@qed.econ.queensu.ca>
* bits/std_sstream.h: Stringbuf initialization based on actual,
not allocated, size.
* testsuite/21_strings/inserters_extractors.cc (test06): Add test
case.
1999-10-17 Benjamin Kosnik <bkoz@cygnus.com>
* testsuite/26_numerics/c_math.cc (test03): Tweak.
* testsuite/27_io/istream_manip.cc (test01): Corrections due to
sentry change.
* testsuite/21_strings/inserters_extractors.cc (test01): Same.
1999-10-14 Benjamin Kosnik <bkoz@cygnus.com>
* bits/std_istream.h: Tweaks.
* bits/istream.tcc (istream::sentry::sentry()): Simplify, correct
as per issues list addition--set failbit, eof on empty buffers.
* testsuite/27_io/istream_sentry.cc: New file.
1999-10-12 Chris Prince <prince@wcug.wwu.edu>
* bits/std_cstdio.h: Remove Solaris hacks.
1999-10-12 Phil Edwards <philip.edwards@sn.wpafb.af.mil>
* docs/index.html: Fix minor typos and tweaks.
* docs/17_intro/contribute.html: Ditto.
* docs/*/howto.html: Ditto. More "EGCS"->"GCC" conversion, notes on
thread safety and binary I/O, links to external sites.
* docs/faq/index.html: EGCS/GCC cleanup, new entries for Cygwin
and MT.
1999-10-12 Petter Urkedal <petter@matfys.lth.se>
* bits/std_cmath.h (abs(float)): When ::absf is not present, call
::fabs(double) rather than ::abs(int).
1999-10-11 Benjamin Kosnik <bkoz@milou.cygnus.com>
* bits/std_streambuf.h: Fix minor blip--should explicitly return
*gptr(), not the result of underflow.
(pbackfail): Conform to default behavior.
(overflow): Same.
* bits/streambuf.tcc: Add out-of-line streambuf members.
(xsputn): Tweak.
(xsgetn): Tweak.
* testsuite/27_io/streambuf.cc: New file.
* testsuite/27_io/filebuf.cc: Correct test.
1999-10-08 Benjamin Kosnik <bkoz@haight.constant.com>
* bits/std_cmath.h: Correctly cast int to double.
* testsuite/26_numerics/c_math.cc: Add test.
* mknumeric_limits (OUT_C): Tweaks.
* src/gen-num-limits.cc: Checks for WCHAR_MIN, WCHAR_MAX before
trying to instantiate type_traits<wchar_t>.
* acconfig.h: Add _GLIBCPP_HAS_WCHAR_MIN_MAX.
* configure.in (LIBS): Plus checks for WCHAR_MIN, WCHAR_MAX.
* configure: Regenerate.
1999-10-06 Benjamin Kosnik <bkoz@milou.cygnus.com>
* bits/streambuf.tcc (streambuf::xsgetn): Rewrite.
(streambuf::xsputn): Put in break.
Aiming for parity between these two (mostly) similar functions.
Need to re-write tests.
* bits/ios_base.h (ios_base::_M_copy_base): Remove declaration.
Make data members protected, not private.
* src/ios.cc (ios_base::_M_copy_base): Move _Callback_list into
ios_base.h. As called only once, collapse into . . .
* bits/basic_ios.h (basic_ios::copyfmt): Fix.
(basic_ios::clear): Throw ios_base::failure on occasion.
(basic_ios::exceptions): Fix.
* testsuite/27_io/ios_members.cc (test02): Add tests.
* bits/fpos.h: Default initialize.
* testsuite/27_io/fpos.cc (test03): Add test.
1999-10-04 Russell Davidson <russell@qed.econ.queensu.ca>
* src/basic_file.cc: Fix open modes.
1999-10-04 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* bits/locale_facets.tcc (num_get<>::do_get): Fix typo.
1999-09-23 Benjamin Kosnik <bkoz@milou.cygnus.com>
* bits/streambuf.tcc: Yea. Fix this for real.
* testsuite/27_io/ostream_inserter_other.cc: Add file.
* src/Makefile.*: Regenerate.
1999-09-22 Benjamin Kosnik <bkoz@milou.cygnus.com>
* bits/std_cstdlib.h: Add more linux-specif hacks to the header
files so that stdtof and strtold will be declared. Some hacks
already exits in bits/std_cctype.h -- these should all be removed
at a later date.
* bits/locale_facets.tcc: Add cstring.h include.
_S_format_long: Use long, not int.
Add std_limits.h include, for numeric_limits.
* testsuite/27_io/istream.cc: Make instantiations work when using
-fhonor-std.
* testsuite/27_io/ostream.cc: Same.
1999-09-21 Benjamin Kosnik <bkoz@milou.cygnus.com>
* bits/fpos.h (fpos::operator streamoff): Make const, don't return
a reference. Same for operators == and !=.
* testsuite/27_io/fpos.cc: Add tests.
1999-09-21 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* bits/valarray_array.h: Fix typo.
* mknumeric_limits: Make sure we are regenerating things from
scratch. Otherwise things get redefined. Not good.
1999-09-20 Benjamin Kosnik <bkoz@milou.cygnus.com>
* bits/std_ostream.h: Fix typo.
* bits/std_istream.h: Same.
* bits/std_iomanip.h: Same.
* bits/istream.tcc (sentry::sentry()): Remove optional tie with
ostream, as happens with underflow anyway.
* testsuite/27_io/istream.cc (main): New file.
* testsuite/27_io/ostream.cc (main): New file.
* testsuite/27_io/istream_unformatted.cc: Add tests.
* src/Makefile.am (headers): Add new file.
* src/Makefile.in (headers): Regenerated.
* bits/basic_ios.h: Remove local-related files.
* bits/basic_ios.tcc: New file, add locale-related items.
* src/misc-inst.cc: Add include of basic_ios.tcc, as a hack for now.
* testsuite/27_io/ios_members_static.cc: Change to
* testsuite/27_io/ios_base_members_static.cc: This.
* testsuite/27_io/ios_members.cc: New file.
* testsuite/27_io/stdios_basefield_manip: Change to
* testsuite/27_io/ios_manip_basefield.cc: This.
* testsuite/27_io/stdios_fmtflags_manip: Change to
* testsuite/27_io/ios_manip_fmtflags.cc: This.
* bits/fpos.h: Fix discarding qualifiers on this when
using _M_position with a const fpos.
* bits/std_iosfwd.h: Tweak.
* testsuite/27_io/fpos.cc: New file.
1999-09-17 Benjamin Kosnik <bkoz@milou.cygnus.com>
* bits/streambuf.tcc (streambuf::xsputn): Tweak.
* bits/ostream.tcc: Tweak.
* testsuite/21_strings/inserters_extractors.cc (test04, test05):
Add new regressions.
1999-09-16 Benjamin Kosnik <bkoz@milou.cygnus.com>
* bits/basic_ios.h: Inline, tweak.
* bits/fstream.tcc (basic_filebuf::_M_really_overflow): Tweak,
pass back accurate return value to basic_filebuf::overflow.
* bits/streambuf.tcc (streambuf::xsputn): Fix overflow accounting.
This fixes sstream problems reported in libstdc++/9, but screws up
filebufs. That solution is pending.
1999-09-15 Vadim Egorov <egorovv@1c.ru>
* bits/streambuf.tcc (basic_streambuf::xsputn): Add check for
zero count puts.
* testsuite/21_strings/inserters_extractors.cc (test01): Add test.
1999-09-08 Benjamin Kosnik <bkoz@milou.cygnus.com>
* bits/c++config.h.in: Add emacs hints.
* stl/bits/stl_range_errors.h: Don't define here, for now define
in stdexcept.cc along with string inlines __length_error, etc.
* src/stdexcept.cc: Define here.
* stl/bits/stl_config.h (__STL_CAN_THROW_RANGE_ERRORS): Enable, so
at(size_t) will be declared/defined.
(__STL_THREADS): Fix mess surrounding use of this, enable.
1999-08-31 Benjamin Kosnik <bkoz@milou.cygnus.com>
* testsuite/27_io/istream_extractor_arith.cc: Fix.
* src/localename.cc: Tweak formatting, fix assignment to
const compiler errors.
1999-08-25 Benjamin Kosnik <bkoz@cygnus.com>
* acconfig.h: Add absf, cosf.
* configure.in (use_builtin_sinf): Same.
* configure: Regenerate.
* bits/std_cmath.h: Add mess of defines.
* testsuite/26_numerics/modf_float.cc: Change to
* testsuite/26_numerics/c_math.cc: This.
* src/locale.cc: Change.
* bits/locale_facets.h: Fix.