⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changelog

📁 早期freebsd实现
💻
📖 第 1 页 / 共 3 页
字号:
Wed Dec  9 14:48:38 1992  Per Bothner  (bothner@cygnus.com)	* streambuf.h:  #undef open and close, in case some header	file defines these as macros.Thu Dec  3 19:40:07 1992  Per Bothner  (bothner@cygnus.com)	* Makefile.in (distclean, realclean): Don't delete	Makefile until *after* recursing.Mon Nov 23 14:05:47 1992  Per Bothner  (bothner at cygnus.com)	* filebuf.C (filebuf::open):  Fix typo ios::app -> ios::out.Tue Nov 17 21:52:55 1992  Per Bothner  (bothner@rtl.cygnus.com)	* filebuf.C (filebuf::open):  ios::app implies ios::out.	* igetline.C (istream::getline, istream::get):  Slightly more	complicated to handle empty lines without setting error state.Thu Nov  5 18:08:48 1992  Per Bothner  (bothner@rtl.cygnus.com)	* streambuf.h:  Add _S_IS_APPENDING flag.	* filebuf.C:  Handle append mode better.  (Seek to end when	opening. File position is unpredictable before and after a write.)	* streambuf.h:  Fix semi-typo for value of ios:fixed.Mon Nov  2 22:25:53 1992  Per Bothner  (bothner@cygnus.com)	* strstream.h (strstream):  Fix broken default constructor.	* stdstrbufs.C:  Don't include unneeded <stdiostream.h>	(which caused mips assembler to complain about a conflict).	* stdiostream.C (stdiobuf::sync):  Don't call fflush()	on read-only files.Sun Nov  1 14:54:26 1992  Per Bothner  (bothner@cygnus.com)	* floatconv.C:  Renamed from dtoa.C, to avoid conflicts	with ../src/dtoa.cc.	* Makefile.in:  Update as appropriate.	* filebuf.C, indstream.{h,C}, stdiostream.{h,C}, streambuf.{h,C}:	Rename sputn/sgetn virtual methods to xsputn/xsgetn.	Add sputn/sgetn inlined non-virtual that just call  xsputn/xsgetn.	This change is to be compatible with ANSI and AT&T.	* stdstrbufs.C:  Make sure all standard stdiobufs are unbuffered.Wed Oct 21 17:48:03 1992  Per Bothner  (bothner at PersSony)	* outfloat.C (__outfloat): If no error, return value is	number of characters printed.	* sbufvform.C (streambuf::vform):  Fix a number of buglets.Tue Oct 20 15:20:17 1992  Per Bothner  (bothner@cygnus.com)	* streambuf.h, sbufvscan.C, sbufvform.C : Add streambuf::scan	and streambuf::form.	* sbufvform.C:  Fix handling of precision for integer formats.	* iostream.texi: Document the various form & scan methods.Fri Oct 16 15:42:15 1992  Per Bothner  (bothner@rtl.cygnus.com)	Many changes here and there, many to bring closer to ANSI draft.	* streambuf.h:  Fill character is now wchar_t.	Add some (unused) hooks for raising exceptions.	* sbufvscan.C (streambuf::vscan):  Set error state using an	to (ios*) parameter instead of an (ios::iostate*).	* iostream.C:  Change usages of streambuf::vscan().	* iostream.C:  Slightly changed interpretations of basefield.	* iostream.h:  Add some missing methods (signed and	unsigned char versions of put(), get(), and getline()).	* streambuf.{ch], indstream.[Ch]:  Removed ungetfail virtual,	following latest ANSI draft:  Use pbackfail virtual instead.	* filebuf.C: Moved streambuf::_un_link and streambuf::_link_in	to streambuf.C.	* filebuf.C (filebuf::attach):  Do *not* set _S_DELETE_DONT_CLOSE	flag, for compatibily with AT&T.	* filebuf.C (filebuf::seekoff):  Don't move any pointers	if mode is 0.	* fstream.h:  Add fstreambase::setbuf() and fstreambase::is_open().	* fstream.[Ch] (fstreambase::close):  Set failbit if close fails.	* fstream.C (fstreambase constructors), strstream.C (various	constructors):  Use new ios::init() method.	* fstream.C (fstreambase::open):  Do a clear() first.	* strstream.[hC]:  Add strsteambuf constructors with (const char*)	buffer.  These call new method init_const(), which sets the	_NO_WRITE flag.  New strstreambuf::pbackfail() method fails	if _NO_WRITE flag is set.  Needed for ANSI.	* strstream.[hC]:  Add support for user-supplied allocation	and free routines (from ANSI).  (New methods init_static	and init_dynamic now used by constructors.)	* strstream.C (strstreambuf::init_static):  Try new mechanism	for when the buffer is "assumed to continue indefinitely."	* iostream.C, stdstrbufs.C:  Remove not_open_filebuf.	* stdstrbufs.C: Rename _{cin,cout,cerr}_sbuf to	__std_filebuf_{0,1,2}.  Also define __std{in,out,err}_stdiobuf	as standard stdiobufs.  Chain all 6 standard streambufs together.	* stdstreams.C:  Use the __std{in,out,err}_stdiobuf rather	than __std_filebuf_{0,1,2} by default for {cin,cout,cerr}	- unless _STDIO_USES_IOSTREAM or USE_FILEBUF are defined.	* streambuf.h, stdstreams.C:  New function ios::sync_with_stdio	to switch between using __std_filebuf_{0,1,2} and	__std{in,out,err}_stdiobuf for standard streams.  This is	normally not needed, but is provided for AT&T compatibility.	* iomanip.h: Rename template classes to be lower-case (following	ANSI).  Don't declare anything if _G_NO_TEMPLATES is defined in	<_G_config.h>.  Rename DEFINE_IOMANIP_FN1 -> __DEFINE_IOMANIP_FN1.	* stdiostream.[hC]:  Re-implement:  Make stdiobuf sub-class	of filebuf, and use the virtual sys_ functions (e.g. sys_read)	to call stdio function (e.g. fread).  This simpifies stdiobuf,	and gives us filebuf features automatically.Sun Oct 11 19:12:20 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)	* Makefile.in: make info files at 'info' time, not install-infoThu Sep  3 16:23:00 1992  Per Bothner  (bothner@rtl.cygnus.com)	* filebuf.C:  Remove #include of <sys/file.h>.  It is not	standard (not in Posix), and doesn't seem to be needed.Tue Sep  1 13:10:20 1992  Per Bothner  (bothner@rtl.cygnus.com)	* filebuf.C (filebuf::sys_write):  Set error flag appropriately.	* procbuf.C (procbuf::sys_close):  Add Posix support.	* stdstrbufs.C: Make cerr be unbuffered.	* iostream.h (ostream::opfx), streambuf.h (streambuf::sputc):	Cosmetic changes; may help cfront to inline.	* iostream.C (istream::ignore), streambuf.C (streambuf::seekmark),	strstream.C (strstreambuf::overflow, strstreambuf::seekoff),	parsestream.C (string_parsebuf::string_parsebuf), editbuf.C	(edit_streambuf::seekoff), indstream.C (indirectbuf::overflow):	Comment out default argument specifications that duplicate	earlier definitions (to placate cfront).	* streambuf.h, filebuf.C:  New static member filebuf::openprot	(Non-ANSI AT&T-ism).	* streambuf.h:  Add ios::bin enum flag, for binary I/O	on non-Unix systems.  Unused so far.Wed Aug 12 11:43:55 1992  Per Bothner  (bothner@cygnus.com)	* Makefile.in: 'install-info' should install iostream.info*.Tue Aug 11 23:46:38 1992  Per Bothner  (bothner@cygnus.com)	* Makefile.in:  Bump to VERSION 0.85.	* iostream.[hC], fstream.[hC], strstream.[hC]:  Convert to using	multiple inheritance, with ios as a virtual base class.  I think	this is slightly more cumbersome and inefficient, but it improves	compatibility 	with other implementation (such as AT&T), and	will probably be required by ANSI.  (It also allows removing some	duplicate methods.)  Also (for compatibilty), convert operator<<	and operator>> binary functions to unary methods.	* stdstreams.C:  Chaneg initialization using fake_?stream	classes to match new use of virtual base classes.	* streambuf.h:  Make ios::~ios be virtual.	* iostream.C (ostream::operator<<(const char* S):  Allow S	to be NULL (in which case print "(null)").	* igetline.C:  Set eofbit when appropriate.	* sbufvscan .C:  Remove silly optimzation that depends on	size_t being unsigned.	* streambuf.h (ios::ios):  Set ios::dec initially.	* streambuf.h, filebuf.C:  Add filebuf::setbuf(), to make sure	that get and put areas are set up (as empty start of reserve).	* streambuf.C (streambuf::set_column):  Don't call overflow(EOF).	* filebuf.C (filebuf::sputn):  Fix/optimizatian for	line-buffered files.	* Makefile.in:  Add stdiostream.?.	Make sure 'check' makes libio.a (since 'make all' in .. does	not), since some tests in ./test assume libio.a.	* iostream.texi:  Add some notes on indirectbufs and	the new stdiobufs.	* stdiostream.[hC]:  New files.  Defines new class stdiobuf:	A streambuf that forwards all requests to a stdio (FILE*)	Concept follows AT&T man pages.	* iomanip.[hC]:  Minor improvements.Mon Jul 27 18:24:29 1992  Per Bothner  (bothner@rtl.cygnus.com)	* dtoa.C:  Rename strtod() -> _Xstrtod(), to avoid conflicts	with strtod() versions in shared libraries.	* ioprivate.h: #define strtod() as _Xstrtod() (for sbufvscan.C).Wed Jul 15 21:21:38 1992  Heinrich G. Seidl  (hgs@rtl.cygnus.com)	* iomanip.h: added parametrized manipulators.	  iomanip.C: contains the functions, which are called by 	  the manipulators.Fri Jul 10 15:49:03 1992  Per Bothner  (bothner@rtl.cygnus.com)	* filebuf.C (filebuf::sys_write):  Don't use gcc-specific	extension:  increment of a (void*) pointer.	* igetline.C (_sb_readline):  Don't drop the last character	of non-terminal chunks.	* strstream.[hC]:  Remove _size, _buffer, and _frozen fields	of a strstreambuf.  Instead, use the plethora of flags and	fields already available in streambuf (blen(), base(), and	_S_USER_BUF).  This makes things more consistent and simpler.	* streambuf.h:  Add streambuf::blen() method.	* outfloat.C (__outfloat):  Various fixes, including calculation	of trailing_zeroes and whether to print decimal point.	* iostream.C:  Various stylistic improvements to Mike's	long long support:  Avoid code duplication by always using	long long if __GNUG__ (only needed in a few places); remove	global variable 'uppercase';  use loop to extract digits,	rather than recursion; other optimization tweaks.Thu Jul  2 13:59:55 1992  Mike Stump  (mrs at cygnus.com)	* iostream.[Ch]: Implement << and >> for long long and	unsigned long long.Fri Jun 26 12:10:45 1992  Per Bothner  (bothner@rtl.cygnus.com)	* Makefile.in:  Increase to version 0.81.  Add a .NOEXPORT.	* dtoa.C:  Remove some grunge.	* iostream.h:  Add appropriate const-ness to various casts.	* sbufvform.C, sbufvscan.C:  More const-ness fixes.	* outfloat.C:  Different algorithm for formatting exponent.	* parsestream.C:  Kludge to avoid warning.	* streambuf.h:  Fix ios::operator void * to avoid	const-ness-removing cast.	* streambuf.C:  Kludge for Linux.Mon Jun 22 14:45:58 1992  Per Bothner  (bothner@cygnus.com)	* sbufvform.C:  If prec is -1, use DEFPREC.Sun Jun 21 00:33:10 1992  Per Bothner  (bothner@cygnus.com)	* streambuf.h (ios::ios):  Fix thinko.Fri Jun 19 23:27:27 1992  Per Bothner  (bothner@cygnus.com)	* streambuf.h, iostream.[Ch]:  Remove istream/ostream/iostream	destructors, and do the cleanup in (new) ios::~ios instead.	Make default constructor and destructors be inline.	* iostream.C, fstream.C:  No longer set ios::dont_close flag	on default constructors.  In addition to being more efficient,	this also fixes an embarassing memory leak ...	* procbuf.C:  Remove (union wait) kludge (for NeXT).Wed Jun 17 17:05:37 1992  Per Bothner  (bothner@rtl.cygnus.com)	* dtoa.C:  New file, derived from dtoa.h by David M. Gay	of AT&T.  This does guaranteed accurate conversion between	floating-pointer numbers and their string representations.	It exports strtod() (string->double) and dtoa (double->string).	* outfloat.C:  New file.  Exports __outfloat(), a higher-level	interface to dtoa().	* ioprivate.h:  Declare these new functions.	* sbufvscan.C:  Use new strtod() to convert floats.	* iostream.C, sbufvform.C:  Use new __outfloat function.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -