home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
d
/
djdev108.zip
/
CPLUSINC
/
CHANGELO
< prev
next >
Wrap
Text File
|
1992-03-29
|
7KB
|
178 lines
Tue Mar 10 18:21:34 1992 Per Bothner (bothner@cygnus.com)
* sys/wait.h: Don't include sys/resource.h;
use forward struct declaration instead.
Mon Mar 9 13:26:58 1992 Per Bothner (bothner@cygnus.com)
* sys/resource.h: Backed out recent change (until
after release) so to again include <sys/time.h>.
Sat Mar 7 18:42:08 1992 Per Bothner (bothner@rtl.cygnus.com)
* time.h, sys/time.h, sys/resource.h: Minor fixes.
(They allow tests/test_h.cc to compile on DECstation.)
Fri Mar 6 16:25:44 1992 Per Bothner (bothner@cygnus.com)
* signal.h: Protect signal() from conflicts.
* errno.h: Onlu declare errno if no errno macro.
* new.h (operator new): Don't make static inline, just inline.
Thu Mar 5 23:15:49 1992 Per Bothner (bothner@cygnus.com)
Second thoughts about the previous batch of changes to
handle '#if defined(__OPTIMIZE__) || defined(USE_LIBGXX_INLINES)'.
The problem was that this constrains how users compile their
programs: They have to use -O (or -DUSE_LIBGXX_INLINES).
They are likely not to, which will cause them (and us) trouble.
The new solution: Just remove the #if, and *always* compile
these functions inline. This is simple, consistent, and
understandable. The disadvantage is that debugging is harder,
but the answer is to work on being able to debug inline functions.
* gen/*.hP (almost): Removed all instances of:
#if defined(__OPTIMIZE__) || defined(USE_LIBGXX_INLINES),
thus inlining is independent on those flags, as discaussed above,
* Binomial.h BitSet.h BitString.h ChangeLog Complex.h CursesW.h
DiscUnif.h Erlang.h Fix.h Fix16.h Fix24.h Geom.h HypGeom.h
Integer.h LogNorm.h MLCG.h NegExp.h Normal.h Obstack.h Poisson.h
RNG.h Random.h Rational.h RndInt.h SmplHist.h SmplStat.h String.h
Uniform.h Weibull.h builtin.h compare.h ctype.h curses.h math.h
minmax.h: Undo change from earlier today, and make inlining
unconditional as above.
Thu Mar 5 16:51:10 1992 Per Bothner (bothner@cygnus.com)
* gen/{AVec.ccP,VHSet.ccP,Vec.ccP,Vec.hP}: Add casts and
other minor fixes to get rid of compiler warnings.
* sys/param.h: Put back #undef of setbit, because it
would conflict with Integer::Setbit().
* Binomial.h, BitSet.h, BitString.h, Complex.h, CursesW.h,
DiscUnif.h, Erlang.h, Fix.h, Fix16.h, Fix24.h, Geom.h, HypGeom.h,
Integer.h, LogNorm.h, MLCG.h, NegExp.h, Normal.h, Obstack.h,
Poisson.h, RNG.h, Random.h, Rational.h, RndInt.h, SmplHist.h,
SmplStat.h, String.h, Uniform.h, Weibull.h, builtin.h, compare.h,
ctype.h, curses.h, math.h, minmax.h: No longer use
USE_LIBGXX_INLINES. Instead Foo.cc defines _COMPILING_Foo,
which is used by Foo.h to turn off inlining, thus
forcing a non-inlined version of those inline functions.
This allows using libg++ without requiring users to
compile without -O or setting funny flags.
Tue Mar 3 17:23:53 1992 Per Bothner (bothner@cygnus.com)
* BitSet.h: Move BitSet::clear() from here to BitSet.cc,
and make non-inlined.
Sun Mar 1 16:08:49 1992 Per Bothner (bothner@cygnus.com)
* builtin.h: Error handler functions are now (again)
functions returning void, not volatle void, since
sometimes these error handlers *do* return.
* BitSet.h, BitString.h, Integer.h, Rational.h, String.h:
Make error() methods return void, not volatile void.
* gen/{PHPQ.ccP,PHPQ.hP,Plex.ccP,Plex.hP,VHBag.ccP,VHBag.hP,
VHMap.ccP,VHMap.hP,VHSet.hP,VOHSet.ccP,VOHSet.hP,VQueue.ccP,
VQueue.hP,VStack.ccP,VStack.hP,Vec.ccP,Vec.hP}:
As above, make error methods return void, not volatile void.
Also, update 'delete [size] foo' to 'delete [] foo'.
* _G_config.h: Fix typo in #define of _G_fpos_t.
Wed Feb 26 12:32:08 1992 Per Bothner (bothner at cygnus.com)
* _G_config.h: Add _G_va_list, _G_fpos_t, _G_FOPEN_MAX,
and _G_FILENAME_MAX.
* builtin.h: Use _VOLATILE_VOID macro to define
function as 'volatile void' only idef __GNUG__.
* unistd.h: Add SEEK_SET and F_OK and their friends.
* sys/mman.h: Fix typo.
* gen/SPlayPQ.hP: Make destructor virtual.
Thu Feb 20 21:47:43 1992 Per Bothner (bothner at cygnus.com)
* dirent.h: Re-write to follow standard pattern
(instead of just including sys/dir,h).
* osfcn.h: Also include sys/types.h.
Wed Feb 19 21:56:37 1992 Per Bothner (bothner at cygnus.com)
* stdio.h, time.h, sys/time.h: Renamed c_proto_foo to __hide_foo.
* _G_config.h: New file, to contain system-dependent
parameters. (Later, this might be a hist-dependent file.)
* stdio.h: Got rid of lots of old junk.
Added a #define new __hide_new, because AIX uses
'new' as a parameter name.
* time.h: Added some missing prototypes. Use _G_config.h.
Sat Feb 15 15:32:20 1992 Per Bothner (bothner at cygnus.com)
* builtin.h: Remove some obsolete functions (that have been
moved to ../iostream/stream.h).
Thu Feb 6 16:41:23 1992 Michael Tiemann (tiemann at cygnus.com)
* {errno,fcntl,grp,netdb,pwd,setjmp,signal,stdarg,stddef.h}: Make
these files work correctly with #include_next.
{stdio,time}.h: Ditto
Wed Feb 5 11:55:57 1992 Per Bothner (bothner at cygnus.com)
* time.h, sys/times.h, sys/fcntl.h: Just #include_next
the file with the same name; don't include some
other file (which could cause a loop).
Fri Jan 31 16:55:19 1992 Per Bothner (bothner at cygnus.com)
* gen/CHNode.{h,cc}P, gen/SplayNode.{h,cc}.P: New files.
Pulled shared definition of CHNode and SplayNode
classes into their own files, to avoid potential
linker problems (from duplicated definitions).
* gen/Splay{Bag,Set,PQ}.hP, gen/CH{Bag,Set}.hP:
Include {Ch,Splay}Node.hP.
Thu Jan 30 23:50:28 1992 Per Bothner (bothner at cygnus.com)
* stdio.h, sys/time.h: Protect against more function
prototype conflicts using macro re-naming.
* stdio.h: Use size_t (actually __SIZE_TYPE__) where
appropriate.
Fri Jan 24 15:59:37 1992 Per Bothner (bothner at cygnus.com)
* pwd.h, sys/time.h: Turn #include_next feature on.
* stdio.h: Undefine and then redefine NULL, in case
/usr/include/stdio.h defines NULL without checking
for an existing definition.
* sys/signal.h: Don't just #include <signal.h>;
instead include the system (or _next) <sys/signal.h>,
Fri Jan 17 14:12:54 1992 Per Bothner (bothner at cygnus.com)
Merge in Doug Lea's latest version; plus other changes.
* sys/fcntl.h: Just include <fcntl.h>.
* Most sys/*.h files, grp.h, setjmp.h, stdio.h, signal.h,
stdarg.h, stddef.h: Use new #include_next feature of cpp
if using gcc-2. If so, most of the system-dependent junk
in stdio.h goes away.
* dir.h, netdb.h, typemacros.h, sys/dir.h, sys/mman.h: New files.
* Various files: Remove #pragma once (not used by gcc-2).
* Various files: Removed #define KERNEL.
* sys/resources.h, sys/socket.h, sys/wait.h, curses.h,
fcntl.h: Add prototypes.
* BitString.h, String.h: (int)->(unsigned int) changes (to fix
some gcc-2 warnings).
* assert.h, compare.h: Minor improvements.
* Integer.h: Re-do Integer::operator<< to exploit
new iostream facilities.
* builtin.h, minmax.h: Moved min/max from former to latter.
* builtin.h: Moved hex/oct/dec to ../old-stream/itoa.cc.
* regex.h: New version (from FSF).
* std.h; bstring.h, memory.h, errno.h, string.h, stdlib.h,
unistd.h: Move prototypes into separate include files,
mostly split up the way ANSI C does.
* abs.h, file.h, malloc.h, max.h, min.h, random.h: Removed.