📄 changelog
字号:
Wed Dec 9 14:36:37 1992 Per Bothner (bothner@cygnus.com) * gen/Bag.hP, gen/List.hP: #undef remove, in case some version of stdio.h defines remove as a macro. * gen/MPlex.ccP, gen/RPlex.ccP: Use ANSI memset/memcpy instead of bzero/bcopy.Thu Dec 3 15:37:17 1992 Per Bothner (bothner@cygnus.com) * BitSet.cc (operator ==): Fixed version from karplus@cse.ucsc.edu (Kevin Karplus). * Integer.cc (compare, operator>>): Two small patches from Doug Lea. * regex.cc, BitString.cc, Fix.cc, Obstack.cc, GetOpt.cc: Replace bcopy/bzero/cmp by ANSI functions memcpy/memset/memcmp. * gen/List.ccP: Use <T>EQ macro instead of ==, as appropriate. * SLList.h, DLList.h: Fix destructors so that clear() is called directly in the SLList<T>/DLList<T> destructor, not in the BaseSLList/BaseDLList destructor, since the vtable pointer gets reset by the time the latter is called.Thu Nov 19 17:54:43 1992 Per Bothner (bothner@cygnus.com) * BitString.cc, BitSet.cc: Use ANSI byte-string functions instead of BSD ones: bcmp->memcmp, bzero->memset, bcopy->memcpy.Tue Nov 17 21:50:09 1992 Per Bothner (bothner@rtl.cygnus.com) * Complex.cc: Use standard fabs() in preference to inline overloaded function abs() defined in builtin.h. * DLList.h, SLList.h: Make destructors virtual, to shut up a warning.Thu Oct 29 16:06:38 1992 Per Bothner (bothner@rtl.cygnus.com) * GetOpt.h (GetOpt): Make GetOpt::ordering be a regular field, not a static member. (No reason it should be static.) * GetOpt.cc: Remove no-longer-needed dedinition of GetOpt::ordering (- which had visibility problems).Tue Oct 27 14:50:52 1992 Per Bothner (bothner@rtl.cygnus.com) * Integer.cc, Sample.cc, SmplStat.cc, SmplHist.cc: Replace non-ANSI HUGE by standard HUGE_VAL or DBL_MAX as appropriate.Wed Oct 21 15:22:32 1992 Per Bothner (bothner@cygnus.com) * BitSet.cc (BitSetalloc, BitSetresize): Merged in a bug fix from Kevin Karplus <karplus@cse.ucsc.edu>. * BitSet.ccANSI-fy: bcopy -> memcpy, bzero -> memset. * Integer.h: Un-optimize non-working operator %=.Fri Oct 16 15:35:51 1992 Per Bothner (bothner@rtl.cygnus.com) * Obstack.h: ANSI-fy: bcopy -> memcpy. * builtin.h: Supposedly, HPUX defines __hpux, not hpux.Fri Sep 25 11:13:53 1992 Per Bothner (bothner@rtl.cygnus.com) * Obstack.cc (Obstack::_free): Use delete [], not plain delete. * {SLList,DLList}.{h,cc}: New template-based versions derived from gen/{SLList,DLList}.{h,cc}P. * Makefile.in: Make {SLList,DLList}.o.Thu Sep 10 22:48:49 1992 Ian Lance Taylor (ian@cygnus.com) * CursesW.h, CursesW.cc: don't do anything if the new configuration flag _G_HAVE_CURSES is zero.Mon Aug 31 22:52:17 1992 Brendan Kehoe (brendan@rtl.cygnus.com) * BitString.h (BitPattern::BitPatterntoa): Fix comments around default parameters.Mon Aug 31 15:44:07 1992 Per Bothner (bothner@rtl.cygnus.com) * gen/Vec.ccP (<T>Vec::index): Use EQ instead of ==. * BitString.h (BitPatterntoa friend of BitPattern): Comment out default parameters to avoid duplication (that cfront -and ANSI- frown on). * String.h (SubString::contains) Fix parameter list passed to String::search. * generic.h: Comment out genericerror() declaration, since we don't support it.Mon Aug 10 15:05:42 1992 Per Bothner (bothner@cygnus.com) * gen/defs.hP: New macro HASHTABLE_TOO_CROWDED to decide when to rehash a hash table (specifically, when 7/8 full). * gen/{VHSet.ccP,VHBag.ccP,vHMap.ccP}: Use HASHTABLE_TOO_CROWDED to control when hash table needs to grow. * GetOpt.cc (GetOpt::operator()): Replace index() -> strchr(). * Integer.{h,cc}: Add Integer::Integer(unsigned long) constructor in addition to Integer::Integer(long). * Rational.h: Add Rational constructors taking (unsigned long). * Makefile.in (XTRAFLAGS): Fix.Mon Jul 13 06:52:57 1992 Michael Tiemann (tiemann@rtl.cygnus.com) * Regex.cc (Regex::Regex): Cast malloc calls, since G++ no longer freely converts void* to char* (in accordance with dpANSI spec).Fri Jun 26 11:23:32 1992 Per Bothner (bothner@rtl.cygnus.com) * BitString.cc: Replace bcopy->memmove; add const to cast; remove two unused variables. * CursesW.h, builtin.h: Kludges for hpux. * Integer.cc: Replace MAXLONG/MINLONG by ANSI standard LONG_MAX/LONG_MIN. * Integer.h, Integer.cc, builtin.h: Protect setbit function name from macro-expansion (on systems that define setbit as a macro is sys/param.h) by putting parentheses around it. * Obstack.h, regex.cc: Use proper const-ness in casts, * std.h: #include <_G_config.h>, since it may not be included otherwise if we're not using ../g++-include.Sat Jun 13 20:05:24 1992 Per Bothner (bothner@rtl.cygnus.com) * gen/List.ccP: Remove redundant 'inline'. * gen/{SLList,DLList}.{hP,ccP}: Make 'copy-ee' arg of copy constructors and 2nd arg of operator= be const. * CursesW.h: Make more robust wrt const vs. non-const formal parameters to support SVR4. * EH.cc, EH2.c: Removed (since currently not used). * GetOpt.cc: alloca() kludges. * {BitSet,BitString}.{cc,h}, Integer.cc, String.cc: Remove dependence on non-standard <values.h> in favor of standard CHAR_BIT from <limits.h> * Makefile.in: Fix *clean stuff. * math-68881.h: Updated versions form gcc2. * timer.cc: #include <sys/param.h> before <sys/times.h>. Use !_G_HAVE_SYS_RESOURCE, not !defined(_G_HAVE_SYS_RESOURCE).Mon Jun 15 19:57:45 1992 Mike Stump (mrs at cygnus.com) * regex.cc (re_compile_pattern): Add const to p, p1, pend and p1.Wed Jun 3 16:49:51 1992 Per Bothner (bothner@rtl.cygnus.com) * Fix.cc (Fix::printon): Fix fmtflags -> ios::fmtflags. * Makefile.in: Hook (for Linux) for not putting regex.o into lib. * Regex.cc (Regex::Regex): Replace cast. * regex.h (RE_DUP_MAX): Gross hack for AIX. * regex.h, regex.cc, Regex.c: Change 2nd arg of re_compile_pattern from (char*) to (const char*). * timer.cc: Use explicit USE_TIMES to control use of times() instead of getrusage(). Supposedly, some systems have <sys/resource.h>, but not getrusage().Fri May 29 11:51:44 1992 Per Bothner (bothner@rtl.cygnus.com) * Fix.cc (Fix::printon):: Re-write to use operator<< instead of the non-standard ostream::form. * builtin.h: Removed redundant declarations of min() and max() (available in minmax.h). * malloc.c, regex.cc: Replace #ifdef USG by #ifdef _G_SYSV. * math-68881.h: Update from gcc (should be removed!), * minmax.h: Removed redundant 'signed' qualifiers. Add (char) versiosn of min and max, and made the (signed char) version conditional #ifndef _G_BROKEN_SIGNED_CHAR. * regex.cc: Better definitions of SIGN_EXTEND_CHAR. * new.cc: Change //-comment to /*comment*/ for old cpp-s. * Binomial.h, DiscUnif.h, Erlang.h, Geom.h, HypGeom.h, LogNorm.h, NegExp.h, Normal.h, Poisson.h, Uniform.h, Weibull.h, gen/{AVLMap.hP,AVec.hP,RAVLMap.hP,SplayMap.hP}: Replace anachronistic base constructor syntax :(args) with :Base(args). * gen/stdlib.h (_do_treeify): #include <stdlib.h> (for abort()). * gen/{CHNode,SplayNode,Vec}.hP: Include <T>.defs.h. * gen/{FPlex,RPlex,XPlex}.{h,cc}P: Remove redundant (and conflicting - according to cfront) append and prepend methods. * gen/SkipBag.ccP (SKipBag::seek): Add cast (for cfront's sake). * gen/SkipMap.hP: Fixed visibilty bug. * gen/Vec.ccP (operator==): Use EQ macro, instead of !=.Thu May 14 00:07:29 1992 Per Bothner (bothner@rtl.cygnus.com) * String.cc (operator>> and readline): Clean up setting of ios::flags(). * osfcn.h: Only #include sys/socket.h and sys/resource.h if these are available (according to _G_config.h). * timer.cc: If HZ is undefined, define it as CLK_TCK (Posix, sort of). * gen/Lisp.hP: #include "<T>.defs.h", as done elsewhere.Sat May 9 12:34:09 1992 Per Bothner (bothner@rtl.cygnus.com) * std.h: Add strcasecmp().Wed May 6 01:33:05 1992 Per Bothner (bothner@rtl.cygnus.com) * gen/SLList.{hP,ccP}: Make argument of copy constructor be const. * CursesW.h: Add more kludges to convert macros into inline functions. This is so we can use /usr/include/curses.h. * CursesW.h: Replace uses of old cbool typedef by int. * bool.h: Add a comment deprecating its use.Tue May 5 15:19:24 1992 Per Bothner (bothner@rtl.cygnus.com) * CursesW.h: Fix typo.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -