51 Commits

Author SHA1 Message Date
Garrett Kajmowicz
d45c506094 Have string use some of the base class insert functions to be more complete
Change map::operator[] to not create unnecessary temp objects.
2009-04-03 13:51:00 +00:00
Garrett Kajmowicz
686369818a Make sure that map and multimap properly export the swap() function. 2009-04-01 22:54:12 +00:00
Garrett Kajmowicz
017f87df21 Apply patch for limits<bool> implementation.
Correct implementation of ios_base::width() support.
Add to test suite to verify implementation of ios_base::width()
2008-06-18 23:53:48 +00:00
Garrett Kajmowicz
b544421bca Fix string.compare() to do math on the correct variables. 2007-05-30 00:00:54 +00:00
Garrett Kajmowicz
54d73ea7c3 basic_ios::init now sets format flags. 2007-05-27 22:03:58 +00:00
Garrett Kajmowicz
2180360c91 Fixed segfault when attempting to read from a closed file descriptor. 2007-04-28 00:48:50 +00:00
Garrett Kajmowicz
a3c70d853f Don't have find() attempt to dereference end() under certain circumstances. 2007-04-12 01:56:19 +00:00
Garrett Kajmowicz
ab4f7f9076 Fixed post-operation increment on map and set iterators.
Added test to test suite to catch this problem in the future.
2007-04-03 23:50:10 +00:00
Garrett Kajmowicz
57b6ca63cf Change map, set, and associative_base containers to handle
construct-from-iterator-range correctly.
2007-04-02 00:26:32 +00:00
Garrett Kajmowicz
3cc0bc563d Add thank you comment. 2007-03-18 21:44:00 +00:00
Garrett Kajmowicz
24e4143897 Don't flush ostream in destructor - let subclasses flush as they see fit. 2007-03-08 02:04:50 +00:00
Garrett Kajmowicz
2762d7ddae Removed variable name in function implementation to avoid unused variable warning
Updated ranking for Peter Schueller for bug finding.
2006-12-15 02:02:23 +00:00
Garrett Kajmowicz
d4105c962a Added implementation of deque::swap. Move code from std::swap(deque) and then call this code.
Added tests for deque swapping.  More slow conversion to the TestFramework code for automatic testing.
2006-12-15 01:27:52 +00:00
Garrett Kajmowicz
3c27233dbf basic_ostream objects now flush on destruction. 2006-11-28 13:16:02 +00:00
Garrett Kajmowicz
4a204526c3 Fix embarassing equality instead of comparison oversight. 2006-10-06 13:14:51 +00:00
Garrett Kajmowicz
8680f21939 Implementation of locale::name 2006-09-04 19:53:54 +00:00
Garrett Kajmowicz
9cc68b42a4 Change default formating flags for ios_base to comply with the standard. 2006-09-04 19:45:15 +00:00
Garrett Kajmowicz
0a648b1dde Apply a fix which elliminates possible memory leak in vector. 2006-08-20 17:26:41 +00:00
Garrett Kajmowicz
96ba903e80 Fix bug in list.
Add debugging code to be able to discover problems like this in the future more easily.
2006-07-04 17:19:19 +00:00
Garrett Kajmowicz
0936f57c77 Fixed problem where iod_base::app wasn't being respected. 2006-06-23 01:22:45 +00:00
Garrett Kajmowicz
7e12ceb36c Convert string::resize() to allow users to specify the filler character 2006-03-08 02:02:39 +00:00
Garrett Kajmowicz
b85d52d2da Implement string::find_last_not_of
Convert to traits::eq for some string functions in compliance with spec
Add more tests to test suite for added code
2006-03-08 01:53:17 +00:00
Garrett Kajmowicz
507e0e20db Implement std::ws
Implement istream>> (*pf)(istream)
Implement istream>> (*pf)(ios_base)
Add testsuite code to check above 2 items
Refactor whitespace-eating code so it's shared by sentry and ws
2006-03-08 01:10:42 +00:00
Peter S. Mazinger
2cb863fa08 another typo pointed out by pkj 2006-03-01 17:35:40 +00:00
Peter S. Mazinger
536b366890 typos, Garrett, I hope you don't mind 2006-03-01 11:19:20 +00:00
Garrett Kajmowicz
4eb6e5b555 Long double support now depends on float support in config 2006-02-10 05:26:29 +00:00
Garrett Kajmowicz
ebd3117ee2 Fix to functional binder using wrong type.
Fix to map output.
2006-02-09 05:12:35 +00:00
Garrett Kajmowicz
473911b8b0 - Added fixed to std::map / std::multimap
-       Clean up test suite
-       Map test now tests for some additional error conditions
-       Map iterators still invalidated improperly
2006-02-09 04:37:07 +00:00
Garrett Kajmowicz
c0d7cf7047 Can now take operator* on const iterator 2005-12-22 00:34:02 +00:00
Garrett Kajmowicz
038165bca6 Fix implementation of biner2nd
Make code smaller for exceptions (Thanks tommi)
2005-07-20 16:39:02 +00:00
Garrett Kajmowicz
8cefd641d6 Implemented streambuf::xsputn() according to spec. 2005-07-20 16:20:02 +00:00
Garrett Kajmowicz
bd09de4027 IStream now sets flags correctly in certain functions 2005-07-13 13:58:02 +00:00
Garrett Kajmowicz
d1676f5d15 Fix certain implementations of exception classes. 2005-07-12 22:45:58 +00:00
Garrett Kajmowicz
631dc9eee8 Implementation of istreambuf_iterator::equal() provided by tommi() 2005-07-12 22:37:20 +00:00
Garrett Kajmowicz
5612ea1a03 Ostream fixed to set eofbit, call flush() less often.
Char_traits fixed to copy characters correctly.
2005-07-12 22:14:14 +00:00
Garrett Kajmowicz
6179adf51d Fix to default implementation of uflow() 2005-07-11 19:20:40 +00:00
Garrett Kajmowicz
556d7ebc4c Update to exception code 2005-07-09 19:58:13 +00:00
Garrett Kajmowicz
b599fdaf11 Make sure streambuf uses buffering more often to dramatically improve performance. 2005-07-08 17:05:09 +00:00
Garrett Kajmowicz
93b41c61b9 Resolve issue in ostream where a certain ostream call resulted in an ininite loop. 2005-07-08 16:59:51 +00:00
Garrett Kajmowicz
3ad1b87cef Correct bug finder name. 2005-07-04 18:02:41 +00:00
Garrett Kajmowicz
d708de2506 Re-institute basic_ios::basic_ios(). Subclasses now call basic_ios::init() with the streambuf they are using. 2005-07-04 18:00:17 +00:00
Garrett Kajmowicz
49adf17772 Change in string::compare code 2005-07-04 17:32:21 +00:00
Garrett Kajmowicz
593d555741 Fixed wrong addition of points 2005-07-02 19:34:34 +00:00
Garrett Kajmowicz
ca9666873a Fix list::swap code to properly change the number of elements as well 2005-07-02 19:33:43 +00:00
Garrett Kajmowicz
babbfc0289 Fix functionality of lower_bound and upper_bound for map 2005-07-02 19:20:45 +00:00
Garrett Kajmowicz
467ba2a5d3 Added const modifier to operator== and operator!= in multiple containers 2005-07-02 18:27:57 +00:00
Garrett Kajmowicz
5f051f3581 Fix implemementation of bind2nd
Fix implementation of fstream::sync()
2005-05-22 17:34:52 +00:00
Garrett Kajmowicz
077e2c4ead Assorted fixes 2005-03-02 21:08:45 +00:00
Garrett Kajmowicz
ba726c545b Fix additional wchar problems. 2005-02-12 03:28:49 +00:00
Garrett Kajmowicz
28e5087c72 Wchar issue fix when wchar is not in use
test Makefile cleanup
Addition of wchartest.cpp
2005-02-01 21:44:41 +00:00