X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/48dcd48260a2e6c3dc3b02ff71df9b62d7830600..ccded26c1e57045a8941dd69b2566ac9a49cfe4b:/ChangeLog diff --git a/ChangeLog b/ChangeLog index e00254b23a..d75ec5150f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,261 @@ +2011-02-09 Stefan Monnier + + * .bzrignore: Ignore globals.h and related stamp. + +2011-02-09 Paul Eggert + + * lib/Makefile.in, lib/gnulib.mk: Regenerate. + This merges the following fix from gnulib: + + 2011-02-08 Bruno Haible + + Split large sed scripts, for HP-UX sed. + +2011-02-08 Tom Tromey + + * configure: Rebuild. + * configure.in (NS_OBJC_OBJ): New subst. + +2011-02-06 Paul Eggert + + gnulib: allow multiple gnulib generated replacements to coexist + This defines a few preprocessor symbols that should not affect Emacs. + * lib/getopt.in.h, lib/time.in.h, lib/unistd.in.h: Regenerate + via "make sync-from-gnulib". + + gnulib: undo previous change + The upstream _HEADERS change was backed out of gnulib (see the + same thread). Stay in sync with gnulib. + + gnulib: adjust to upstream _HEADERS change + * lib/Makefile.am (EXTRA_HEADERS, nodist_pkginclude_HEADERS): + New empty macros, to accommodate recent changes to gnulib. See + . + * c++defs.h, lib/Makefile.in, lib/ftoastr.h, lib/getopt.in.h: + * lib/gnulib.mk, lib/ignore-value.h, lib/stdbool.in.h, lib/stddef.in.h: + * lib/time.in.h, lib/unistd.in.h: + Regenerate. + +2011-02-05 Paul Eggert + + sync from gnulib to remove HAVE_STDBOOL_H + * m4/stdbool.m4 (AC_CHECK_HEADER_STDBOOL): Renamed from + AC_HEADER_STDBOOL. All uses changed. Do not define + HAVE_STDBOOL_H, as gnulib does not need this. This change is + imported from the latest Autoconf git. It was motivated by Emacs, + which uses gnulib but does not need HAVE_STDBOOL_H. + * configure, src/config.in: Regenerate. + * config.guess, config.sub: Sync to 2011-02-02 versions (whitespace) + +2011-02-03 Paul Eggert + + allow C code to suppress warnings about ignored return values + * Makefile.in (GNULIB_MODULES): Add ignore-value. + * configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4: Regenerate. + * lib/ignore-value.h: New file. + +2011-01-31 Chong Yidong + + * configure.in: Test existence of xaw3d library, not just the + header (Bug#7642). + +2011-01-31 Eli Zaretskii + + * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/strftime.$(O) and + $(BLD)/time_r.$(O). + ($(BLD)/dtoastr.$(O)): Depend on $(EMACS_ROOT)/src/s/ms-w32.h and + $(EMACS_ROOT)/src/m/intel386.h. + ($(BLD)/strftime.$(O)): + ($(BLD)/time_r.$(O)): Define prerequisites. + +2011-01-31 Paul Eggert + + src/emacs.c now gets version number from configure.in + * configure.in (version): Set this from $PACKAGE_VERSION, + which is set from AC_INIT, rather than scouting through src/emacs.c. + * configure: Regenerate. + * make-dist (version): Get it from configure.in, not src/emacs.c. + +2011-01-30 Paul Eggert + + strftime: import from gnulib + * Makefile.in (GNULIB_MODULES): Add strftime. + * configure.in (AC_FUNC_STRFTIME, my_strftime): Remove; no longer + needed. + * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4: + Regenerate. + * lib/strftime.c, lib/strftime.h, lib/stdbool.in.h: New files, + imported from gnulib. + * m4/strftime.m4, m4/stdbool.m4, m4/tm_gmtoff.m4: Likewise. + This incorporates many changes from gnulib, including simpler + handling of multibyte formats, porting to mingw32 and other + platforms, and support for higher-resolution time stamps. + Emacs does not yet use the higher-resolution interface. + +2011-01-30 Paul Eggert + + gnulib: import mktime and move-if-change fixes from gnulib + + * configure: Regenerate from the following. + + 2011-01-30 Paul Eggert + + mktime: clarify long_int width checking + * lib/mktime.c (long_int_is_wide_enough): Move this assertion to + the top level, to make it clearer that the assumption about + long_int width is being checked. See + . + + 2011-01-29 Paul Eggert + + TYPE_MAXIMUM: avoid theoretically undefined behavior + * lib/intprops.h (TYPE_MINIMUM, TYPE_MAXIMUM): Do not shift a + negative number, which the C Standard says has undefined behavior. + In practice this is not a problem, but might as well do it by the book. + Reported by Rich Felker and Eric Blake; see + . + * m4/mktime.m4 (AC_FUNC_MKTIME): Likewise. + * lib/mktime.c (TYPE_MAXIMUM): Redo slightly to match the others. + + mktime: #undef mktime before #defining it + * lib/mktime.c (mktime) [DEBUG]: #undef mktime before #defining it. + + mktime: systematically normalize tm_isdst comparisons + * lib/mktime.c (isdst_differ): New function. + (__mktime_internal): Use it systematically for all isdst comparisons. + This completes the fix for libc BZ #6723, and removes the need for + normalizing tm_isdst. See + + (not_equal_tm) [DEBUG]: Use isdst_differ here, too. + + mktime: fix some integer overflow issues and sidestep the rest + + This was prompted by a bug report by Benjamin Lindner for MinGW + . + His bug is due to signed integer overflow (0 - INT_MIN), and I + I scanned through mktime.c looking for other integer overflow + problems, fixing all the bugs I found. + + Although the C Standard says the resulting code is still not safe + in the presence of integer overflow, in practice it should be good + enough for all real-world two's-complement implementations, except + for debugging environments that deliberately trap on integer + overflow (e.g., gcc -ftrapv). + + * lib/mktime.c (WRAPV): New macro. + (SHR): Also check that long_int and time_t shift right in the + usual way, before using the fast-but-unportable method. + (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove, no longer + used. The code already assumed two's complement, so there's + no need to test for alternatives. All uses removed. + (TYPE_MAXIMUM): Don't rely here on overflow behavior not defined by + the C standard. Problem reported by Rich Felker in + . + (twos_complement_arithmetic): Also check long_int and time_t. + (time_t_avg, time_t_add_ok, time_t_int_add_ok): New functions. + (guess_time_tm, ranged_convert, __mktime_internal): Use them. + (__mktime_internal): Avoid integer overflow with unary subtraction + in two instances where -1 - X is an adequate replacement for -X, + since the calculations are approximate. + + 2011-01-29 Eric Blake + + mktime: avoid infinite loop + * m4/mktime.m4 (AC_FUNC_MKTIME): Avoid overflow on possibly-signed + type; behavior is still undefined but portable to all known targets. + Reported by Rich Felker. + + 2011-01-28 Paul Eggert + + mktime: avoid problems on NetBSD 5 / i386 + * lib/mktime.c (long_int): New type. This works around a problem + on NetBSD 5 / i386, where 'long int' and 'int' are both 32 bits + but time_t is 64 bits, and where I expect the existing code is + wrong in some cases. + (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it. + (ydhms_diff): Bring back the compile-time check for wide-enough + year and yday. + + mktime: fix misspelling in comment + * lib/mktime.c (__mktime_internal): Fix misspelling in comment. + This merges all recent glibc changes of importance. + + 2011-01-28 Ralf Wildenhues + + move-if-change: cope with concurrent mv of identical file. + * move-if-change (CMPPROG): Accept environment + variable as an override for `cmp'. + (usage): Document CMPPROG. + Adjust comparison to drop stdout. Cope with failure of mv if + the target file exists and is identical to the source, for + parallel builds. + Report from H.J. Lu against binutils in PR binutils/12283. + +2011-01-29 Eli Zaretskii + + * lib/makefile.w32-in: + * lib/getopt_.h: New files. + +2011-01-28 Paul Eggert + + improve fix for MS-DOS file name clash + * Makefile.in (DOS_gnulib_comp.m4): Renamed from DOS-gnulib-comp.m4, + for portability to POSIX make. Reported by Bruno Haible. + (sync-from-gnulib): Copy gl-comp.m4 (if present) back to + gnulib-comp.m4 before running gnulib-tool, to prevent old gnulib + files from accumulating as garbage. Also reported by Bruno Haible. + +2011-01-27 Paul Eggert + + fix two m4/gnulib-*.m4 file names that clashed under MS-DOS + * Makefile.in (DOS-gnulib-comp.m4): New macro. + (sync-from-gnulib): Rename m4/gnulib-comp.m4 to m4/gl-comp.m4 to avoid + problems with MS-DOS 8+3 file name restrictions. + Remove m4/gnulib-cache.m4, as we can live without it. If we kept + it, it would also cause problems when extracting Emacs distribution + tarballs on MS-DOS hosts. + (ACLOCAL_INPUTS): Adjust to file renaming. + * aclocal.m4, configure, lib/Makefile.in, src/config.in: Regenerate. + * config.guess, config.sub: Sync from gnulib. + * m4/gnulib-cache.m4: Remove from repository. + * m4/gl-comp.m4: Rename from m4/gnulib-comp.m4. + +2011-01-25 Glenn Morris + + * README: Add a note about ranges in copyright years. + + * configure.in: Set CANNOT_DUMP on ia64 hpux (port from emacs-23). + +2011-01-25 Peter O'Gorman (tiny change) + + * configure.in: Add HP-UX on IA64 (Bug#6811). + +2011-01-24 Paul Eggert + + Remove HAVE_RAW_DECL_CHOWN etc. from config.h + * Makefile.in (sync-from-gnulib): Remove m4/warn-on-use.m4, + as it is no longer needed. + * aclocal.m4, configure, lib/Makefile.in, src/config.in: Regenerate. + * configure.in: Invoke the new gnulib macro + gl_ASSERT_NO_GNULIB_POSIXCHECK, which removes the need for + warn-on-use.m4 and for the HAVE_RAW_DECL_* symbols in config.h. + * m4/getopt.m4: Sync from gnulib; this removes the need for + HAVE_DECL_OPTRESET and HAVE_DECL_GETOPT_CLIP from config.h. + * m4/gnulib-common.m4 (gl_ASSERT_NO_GNULIB_POSIXCHECK): + New macro, synced from gnulib. + * m4/warn-on-use.m4: Remove. + +2011-01-22 Paul Eggert + + aclocal.m4: put this file back into repository + This way, we don't have to assume that the maintainer has + the automake package installed. See + . + * .bzrignore: Remove aclocal.m4, undoing the previous change. + * Makefile.in (top_maintainer_clean): Do not remove aclocal.m4, + undoing the previous change. + * aclocal.m4: New file (actually, resurrected). + 2011-01-22 Miles Bader * configure.in: Don't zero-out FONTCONFIG_CFLAGS and @@ -8882,9 +9140,7 @@ ;; coding: utf-8 ;; End: - Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, - 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 - Free Software Foundation, Inc. + Copyright (C) 1993-1999, 2001-2011 Free Software Foundation, Inc. This file is part of GNU Emacs.