home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 7 / FreshFishVol7.bin / bbs / gnu / libg++-2.6-fsf.lha / libg++-2.6 / libio / ChangeLog < prev    next >
Text File  |  1994-07-18  |  34KB  |  851 lines

  1. Mon Jul 18 18:02:34 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  2.  
  3.     * gen-params (VTABLE_LABEL_PREFIX):  Remove filename sppearing
  4.     by itself.  Add comment explaining what is going on.
  5.  
  6. Tue Dec 21 13:02:48 1993  H.J. Lu  (hjl@jalod)
  7.  
  8.     * libio.h: define _IO_uid_t and _IO_HAVE_ST_BLKSIZE
  9.       as _G_xxxxxxxx.
  10.  
  11. Tue Dec 21 13:02:48 1993  H.J. Lu  (hjl@jalod)
  12.  
  13.     * iopopen.c:  Don't include <errno.h>. It is included in "libioP.h".
  14.  
  15.     * iopopen.c (_IO_proc_close) : check if fp is on the list
  16.       before close it.
  17.  
  18. Thu Jul 14 16:38:47 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  19.  
  20.     * gen-params (CONFIG_NM):  Make sed scripts to find vtable name
  21.     mangling more robost for different forms of nm output.
  22.  
  23. Tue Dec 21 13:02:48 1993  H.J. Lu  (hjl@jalod)
  24.  
  25.     * iofopen.c (_IO_fopen): don't check [redundantly] fp == NULL after
  26.       IO_file_init(&fp->_file).
  27.  
  28.     * iomanip.h (template<class TP> class iapp):
  29.       change ostream to istream.
  30.  
  31. Tue Jul 12 14:09:02 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  32.  
  33.     * Makefile.in (VERSION):  Increase to 0.65.
  34.     * libioP.h (builtinbuf_vtable):  Only define #ifdef __cplusplus.
  35.  
  36.     * gen-params (_G_int8_t):  Only define if defined(__STDC__),
  37.     because K&R C compilers don't have signed char.
  38.     (_G_int64_t, _G_uint64_t):  Only define if defined(__GNUC__)
  39.     because other compilers may not have long long.
  40.  
  41. Sun Mar 06 13:10:21 1994  H.J. Lu  (hjl@nynexst.com)
  42.  
  43.     * floatconv.c (_IO_dtoa ()): fix a small memory leak, set the
  44.       "on_stack" field to be 0 if "result" is not NULL.
  45.  
  46. Sat Mar 05 13:18:20 1994  H.J. Lu  (hjl@nynexst.com)
  47.  
  48.     * floatconv.c (_IO_dtoa ()): if the number of digits of the
  49.       floating point number is more than the previous one, free the
  50.       old string and allocate a new one.
  51.       [Minor optimization to avoid Bcopy. -PB]
  52.  
  53. Mon Jul 11 10:53:41 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  54.  
  55.     * fileops.c (_IO_file_underflow):  'count' should be unsigned,
  56.     since it contains the return value of read.  Reported by
  57.     Teemu Torma <tot@trema.fi>.
  58.  
  59. Tue Dec 21 13:02:48 1993  H.J. Lu  (hjl@nynexst.com)
  60.  
  61.     * floatconv.c (_IO_strtod ()): make "+" and "-" as error.
  62.  
  63. Sat Jul  9 15:09:21 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  64.  
  65.     Make sure _IO_FILE::_flags is always initialized correctly, for the
  66.     C functions (fopen, fdopen, popen), and not just the C++ functions.
  67.     * fileops.c (_IO_file_init):  Set _flags to CLOSED_FILEBUF_FLAGS.
  68.     * fileops.c (_IO_file_fopen):  Remove bogus assignment.
  69.     * filebuf.cc (filebuf constructors):  Don't pass CLOSED_FILEBUF_FLAGS
  70.     to streambuf constructor - _IO_file_init does it instead.
  71.     * filebuf.cc (CLOSED_FILEBUF_FLAGS):  Removed.
  72.     * iopopen.c (_IO_proc_open):  Use _IO_mask_flags.
  73.  
  74. Thu Jun 30 08:49:53 1994  Jason Merrill  (jason@deneb.cygnus.com)
  75.  
  76.     * dbz/Makefile.in (mostlyclean): Add target.
  77.  
  78. Wed Jun 29 09:30:12 1994  Jason Merrill  (jason@deneb.cygnus.com)
  79.  
  80.     * gen-params: Woops, can't run a C program to determine target
  81.         characteristics.  Sigh.
  82.  
  83. Tue Jun 28 03:11:33 1994  Jason Merrill  (jason@deneb.cygnus.com)
  84.  
  85.     * gen-params: Add _G_{,u}int{8,16,64}_t, use a short C program to
  86.         determine what all these should be rather than trying to compare
  87.         the MAX numbers in the shell.
  88.  
  89. Sun Jun 26 21:04:24 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  90.  
  91.     * stdiostream.h, stdiostream.cc (stdiobuf::xsgetn):  Removed.
  92.     Too hairy.  If we want to optimize it, we should do so in
  93.     filebuf::xsgetn (or rather _IO_file_xsgetn).
  94.  
  95.     * stdiostream.h (class stdiobuf), stdiostream.cc:  Fix parameter
  96.     and return types of virtual function to matcher base types (Oops!).
  97.     * streamstream.cc (stdiobuf::xsgetn, stdiobuf::xsputn):
  98.     Optimize to call fread.fwrite directly if !buffered.
  99.     * fileops.c:  Fix comment.
  100.  
  101. Fri Jun 24 11:28:18 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  102.  
  103.     * stdiostream.h (istdiostream, ostdiostream):  New classes.
  104.  
  105.     More robust final cleanup.
  106.     * cleanup.c (_IO_register_cleanup):  Register _IO_cleanup,
  107.     rather than _IO_flush_all.
  108.     * filedoalloc.c: Update comment.
  109.     * genops.c (_IO_unbuffer_all):  New.  Makes all files unbuffered.
  110.     * genops.c (_IO_cleanup), libioP.h:  New function.  Call
  111.     _IO_flush_all, and then _IO_unbuffer_all.  This is in case C++
  112.     destructors try to do output *after* _IO_cleanup is called.
  113.  
  114.     Construct standard stdiobufs statically (using type punning).
  115.     * stdstrbufs.c;  Unless _STDIO_USES_IOSTREAM declare standard
  116.     stdiobufs (for stdin, stdout, and stderr), using type punning
  117.     (struct _IO_fake_stdiobuf).  This avoids constructor-time problems.
  118.     * stdstreams.cc:  Remove the declarations of the stdiobufs.
  119.     Instead use the new (fake) ones in stdstrbufs.cc.  We no longer
  120.     have to call ios::sync_with_stdio at constructor time.
  121.  
  122.     Preliminary support for new ANSI streambuf::uflow virtual.
  123.     * libioP.h (struct _IO_jump_t):  Add __uflow field.
  124.     * genops.c (_IO_default_uflow), libioP.h:  New function.
  125.     * fileops.c (_IO_file_jumps), iopopen.c (IO_proc_jumps),
  126.     iovfprintf.c (_IO_helper_jumps), strops.c (_IO_str_jumps),
  127.     streambuf.cc (_IO_streambuf_jumps):  Add _IO_default_uflow.
  128.     * genops.c (__uflow):  New function.
  129.     (save_for_backup):  New function.  Some code shared by
  130.     __underflow and __uflow, moved out from the former.
  131.     (_IO_default_uflow):  New function.
  132.     * libio.h (_IO_getc):  Call __uflow, not __underflow.
  133.  
  134. Wed Jun 22 20:22:49 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  135.  
  136.     Make sure that the vtable of a streambuf is always valid,
  137.     which makes ios::rdbuf simpler and faster.
  138.     * gen-params:  Add code to determine _G_VTABLE_LABEL_HAS_LENGTH,
  139.     _G_VTABLE_LABEL_PREFIX, _G_VTABLE_LABEL_PREFIX_ID, and
  140.     _G_USING_THUNKS, which describe how virtual function tables are named.
  141.     * stdfiles.c (FILEBUF_LITERAL):  Moved to libioP.h.
  142.     * libioP.h (builtinbuf_vtable):  New (complicated) declaration.
  143.     * filebuf.cc (filebuf::__new), strstream.cc (SET_STR_JUMPS):
  144.     Initialize vtable to builtinbuf_vtable, not NULL.
  145.     * stdstrbufs.cc:  New file.  Same as stdfiles.c, except that
  146.     vtable is initialized to builtinbuf_vtable, not NULL.
  147.     * streambuf.h (ios::rdbuf):  Can now simplify/optimize, due to
  148.     above changes.  Always, just return _strbuf.
  149.     * builtinbuf.h, builtinbuf.cc (builtinbuf::vtable,
  150.     builtinbuf::get_builtin_vtable):  Removed.  No longer needed.
  151.     * streambuf.h, builtinbuf.cc (ios::_IO_fix_vtable):  No longer needed.
  152.     Only defined #ifdef _STREAM_COMPAT, for binary compatibility.
  153.     * Makefile.in:  Move stdfiles.o from IO_OBJECTS to STDIO_WRAP_OBJECTS.
  154.     (IOSTREAM_OBJECT):  Add stdstrbufs.o.
  155.     * Makefile.in (_G_config.h):  Pass $(CXXFLAGS) as part of $(CXX).
  156.  
  157. Fri Feb 11 11:08:01 1994  SBPM Marc GINGOLD (marc@david.saclay.cea.fr)
  158.  
  159.     * iovfprintf.c (helper_vfprintf): add
  160.       hp->_IO_file_flags = _IO_MAGIC|(_IO_IS_FILEBUF+_IO_NO_READS);
  161.     [This is needed because _IO_vfprintf checks for _IO_UNBUFFERED. -PB]
  162.     [Actually:  don't set _IO_IS_FILEBUF. -PB]  
  163.  
  164. Wed Jun 22 13:49:22 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  165.  
  166.     * stdiostream.cc, stdiostream.h (stdiobuf::buffered):  New methods.
  167.  
  168.     * iofdopen.c (_IO_fdopen):  Various minor improvements.
  169.  
  170.     * iovfscanf.c:  Don't return EOF on control_failure.
  171.  
  172. Tue Dec 21 13:02:48 1993  H.J. Lu  (hjl@nynexst.com)
  173.  
  174.     * iovfscanf.c:  Enforce the sequence of the conversion specifications.
  175.  
  176. Fri Jun 17 20:57:22 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  177.  
  178.     * iofdopen.c:  Use fcntl to check that requested access mode is
  179.     compatible with existing access mode, and to change the
  180.     O_APPEND file status flag if need be.
  181.  
  182. Thu Jun 16 17:33:50 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  183.  
  184.     * streambuf.h (ios::init):  Initialize all the fields.
  185.     This may be overkill, but the current ANSI working paper requires it.
  186.     * streambuf.h (ios::ios):  Reimplement in terms of ios::init.
  187.     * iostream.cc (Non-default constructors istream::istream,
  188.     ostream::ostream, iostream::iostream):  Cannot use a mem-initializer,
  189.     because it is ignored if initializing a derived class.  Instead,
  190.     call ios::init.
  191.  
  192. Wed Jun 15 13:35:37 1994  Per Bothner  (bothner@kalessin.cygnus.com)
  193.  
  194.     * stdstreams.cc (ISTREAM_DEF):  Fix typo (it's a _fake_istream, not
  195.     a _fake_ostream).  Reported by Jason Shirk <jshirk@gomez.intel.com>.
  196.  
  197.     * stdiostream.h, stdiostream.cc (stdiobuf::~stdiobuf):  New.
  198.     Call _IO_do_flush.
  199.     *