summaryrefslogtreecommitdiff
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Import getloadavg module from gnulib.Paul Eggert2011-02-071-0/+21
|
* gnulib: allow multiple gnulib generated replacements to coexistPaul Eggert2011-02-061-0/+5
| | | | | | 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 changePaul Eggert2011-02-061-0/+4
|
* gnulib: adjust to upstream _HEADERS changePaul Eggert2011-02-061-0/+11
|
* sync from gnulib to remove HAVE_STDBOOL_HPaul Eggert2011-02-041-0/+11
|
* * lib/ignore-value.h: New file.Paul Eggert2011-02-031-0/+1
|
* allow C code to suppress warnings about ignored return valuesPaul Eggert2011-02-031-0/+6
|
* Merge changes from emacs-23 branchChong Yidong2011-01-311-1/+6
|\
| * * configure.in: Test existence of xaw3d library, not just the header (Bug#7642).Chong Yidong2011-01-271-0/+5
| | | | | | | | * configure: Regenerate.
* | Fix the MS-Windows build broken by 2011-01-30T23:34:18Z!eggert@cs.ucla.edu ↵Eli Zaretskii2011-01-311-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and 2011-01-31T08:15:13Z!eggert@cs.ucla.edu. 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. src/makefile.w32-in (OBJ2): Remove strftime.$(O). ($(BLD)/strftime.$(O)): Remove prerequisites. lib-src/makefile.w32-in (VERSION): Don't define, defined on nt/config.nt. (ECLIENT_CFLAGS): Remove -DVERSION. ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in. nt/config.nt (VERSION): Uncomment definition. (restrict): Define. nt/inc/stdbool.h: New file. admin/admin.el (set-version): Remove lib-src/makefile.w32-in. Add nt/config.nt.
* | src/emacs.c now gets version number from configure.inPaul Eggert2011-01-311-0/+8
| |
* | strftime: import from gnulibPaul Eggert2011-01-301-0/+16
| |
* | gnulib: import mktime and move-if-change fixes from gnulibPaul Eggert2011-01-301-0/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure: Regenerate from the following. 2011-01-30 Paul Eggert <eggert@cs.ucla.edu> 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 <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00554.html>. 2011-01-29 Paul Eggert <eggert@cs.ucla.edu> 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 <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00493.html>. * 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 <http://sourceware.org/bugzilla/show_bug.cgi?id=6723> (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 <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00472.html>. 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 <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00488.html>. (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 <eblake@redhat.com> 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 <eggert@cs.ucla.edu> 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 <Ralf.Wildenhues@gmx.de> 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.
* | Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu ↵Eli Zaretskii2011-01-291-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and emacs-23/2010-05-21T19:51:48Z!acm@muc.de. lib/makefile.w32-in: lib/getopt_.h: New files. src/s/ms-w32.h (HAVE_MKTIME): Remove. src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib. (GNULIB): New variable. (LIBS): Add $(GNULIB). $(TEMACS): Depend on $(GNULIB). <top-level>: Fix font-lock disrupted by a lone `"'. src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib. (GETOPTOBJS, GETOPTDEPS): Remove targets. (MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A). ($(BLD)/movemail.exe): Depend on ../lib/getopt.h. (ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o and getopt1.o with ../lib/$(BLD)/libgnu.$(A). (clean): Don't remove getopt.h. (getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets. ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with $(EMACS_ROOT)/lib/getopt.h. nt/makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake) (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake) (bootstrap-clean-gmake, clean-other-dirs-nmake) (clean-other-dirs-gmake, cleanall-other-dirs-nmake) (cleanall-other-dirs-gmake, distclean-other-dirs-nmake) (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake) (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well. nt/configure.bat: Create lib/makefile. nt/config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove. (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV) (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline) (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
* | improve fix for MS-DOS file name clashPaul Eggert2011-01-271-0/+9
| | | | | | | | | | | | | | | | * 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.
* | fix two m4/gnulib-*.m4 file names that clashed under MS-DOSPaul Eggert2011-01-261-0/+15
| |
* | Refill some long/short copyright headers.Glenn Morris2011-01-261-2/+1
| |
* | Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
| |
* | * README: Add a note about ranges in copyright years.Glenn Morris2011-01-241-0/+2
| | | | | | | | (See current maintain.info.)
* | * configure.in: Set CANNOT_DUMP on ia64 hpux (port from emacs-23).Glenn Morris2011-01-241-0/+4
| |
* | Merge from emacs-23.Glenn Morris2011-01-241-0/+4
|\ \ | |/ | | | | Note setting of CANNOT_DUMP on ia64 hpux is still to be merged manually.
| * Two more hunks from the HP-UX patch at Bug#6811.Peter O'Gorman2011-01-231-0/+4
| | | | | | | | | | * configure.in: Add HP-UX on IA64 (Bug#6811). * src/s/hpux11.h: Set CANNOT_DUMP on IA64 (Bug#6811).
| * Distinguish between terminfo and termcap on NetBSD (Bug#7642).Chong Yidong2011-01-111-0/+5
| | | | | | | | | | | | | | | | * configure.in [netbsd systems]: Check for tputs definition. * src/config.in (TERMINFO): New definition. * src/s/netbsd.h: Use it to choose between terminfo and termcap.
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
| |
| * [Backport from trunk]: * make-dist: Exclude etc/*.pyc.Glenn Morris2010-12-101-0/+4
| |
| * Backport fix for Bug#6170 from trunk.Dan Nicolaescu2010-11-131-0/+6
| | | | | | | | | | | | Fix alloca definition when using gcc on non-gnu systems. * configure.in: Use the code sequence indicated by "info autoconf" for alloca (bug#6170).
* | Remove HAVE_RAW_DECL_CHOWN etc. from config.hPaul Eggert2011-01-231-0/+15
| |
* | aclocal.m4: put this file back into repositoryPaul Eggert2011-01-211-0/+11
| | | | | | | | | | | | | | | | | | | | This way, we don't have to assume that the maintainer has the automake package installed. See <http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00746.html>. * .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).
* | configure.in: Don't zero-out FONTCONFIG_CFLAGS and FONTCONFIG_LIBSMiles Bader2011-01-221-0/+7
| | | | | | | | | | when building with XFT (doing so is incorrect, as Emacs directly uses fontconfig, and breaks building when using a strict linker).
* | src/config.in: shrink slightlyPaul Eggert2011-01-211-0/+10
| | | | | | | | | | | | | | | | | | | | | | * configure.in: Invoke the new gnulib macro gl_ASSERT_NO_GNULIB_TESTS. This makes src/config.in a bit smaller, by removing identifiers like GNULIB_TEST_MKTIME that Emacs does not need. * m4/getopt.m4, m4/gnulib-common.m4, m4/include_next.m4: * m4/multiarch.m4, m4/stddef_h.m4, m4/time_h.m4, m4/unistd_h.m4: Sync from gnulib. This removes a few more unnecessary symbols from src/config.in, such as AA_APPLE_UNIVERSAL_BUILD and HAVE_STDDEF_H. * configure, src/config.in: Regenerate.
* | aclocal.m4: tweaks to regenerate more convenientlyPaul Eggert2011-01-211-0/+8
| | | | | | | | | | | | | | This attempts to act better when the source is in a weird state. See <http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00734.html>. * Makefile.in (am--refresh): Add aclocal.m4, configure, config.in. * .bzrignore: Add aclocal.m4.
* | aclocal.m4: omit auto-generated file from repositoryPaul Eggert2011-01-191-0/+9
| |
* | Minor Makefile.in tweaks to build from gnulib better.Paul Eggert2011-01-191-0/+7
| | | | | | | | | | | | <http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00673.html> * Makefile.in (sync-from-gnulib): Also run autoreconf -I m4. (top_maintainer_clean): Don't remove aclocal.m4.
* | Minor cleanups for 'bzr status'Paul Eggert2011-01-171-0/+5
| | | | | | | | | | | | * .bzrignore: Add emacs-*/, the output of make-dist, and stamp-h1, the output of config.guess. * Makefile.in (top_distclean): Remove stamp-h1 too.
* | Improve performance on non-GCC hosts with __aligned__.Paul Eggert2011-01-171-0/+7
| |
* | Makefile.in: tidy up the building of libPaul Eggert2011-01-171-0/+8
| | | | | | | | | | | | | | | | | | * Makefile.in (am--refresh): Mark as .PHONY. (top_maintainer_clean): Don't remove lib/gnulib.mk m4/gnulib-cache.m4, as they're not rebuilt unless you do a "make sync-from-gnulib" and the former is needed for "configure". (maintainer-clean): Don't recurse into lib, as "make bootstrap-clean" has already removed lib/Makefile.
* | Merge from mainline.Paul Eggert2011-01-171-3/+12
|\ \
| * | * Makefile.in (epaths-force): No more arch-tag to edit.Glenn Morris2011-01-151-2/+7
| | |
| * | * configure: Bump min libxml2 version to 2.6.17 (Bug#7603).Chong Yidong2011-01-141-0/+4
| | |
* | | Merge from mainline.Paul Eggert2011-01-141-3/+9
|\ \ \ | |/ /
| * | * make-dist: Distribute test/ files too.Paul Eggert2011-01-141-0/+8
| | | | | | | | | | | | | | | | | | | | | Distribute every file under test/ that is under version control, using patterns like *.el to capture files that are added later. Without this change, "configure" would fail, because it would attempt to build from a Makefile.in that was not distributed.
* | | Merge from mainline.Paul Eggert2011-01-131-1/+10
|\ \ \ | |/ /
| * | Add ERT, a tool for automated testing in Emacs Lisp.Christian Ohler2011-01-131-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in, configure.in, doc/misc/Makefile.in, doc/misc/makefile.w32-in: Add ERT. Make "make check" run tests in test/automated. * doc/misc/ert.texi, lisp/emacs-lisp/ert.el, lisp/emacs-lisp/ert-x.el: New files. * test/automated: New directory.
* | | * Makefile.in (GNULIB_MODULES): Change ftoastr to dtoastr.Paul Eggert2011-01-111-5/+9
| | | | | | | | | | | | | | | This avoids building ftoastr and ldtoastr, which aren't needed. See <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00199.html>.
* | | * .bzrignore: Add .h files that are host-dependent.Paul Eggert2011-01-091-0/+6
| | | | | | | | | | | | | | | | | | | | | Add lib/.deps/, lib/arg-nonnull.h, lib/c++defs.h, lib/getopt.h, lib/time.h, lib/unistd.h, lib/warn-on-use.h. These are host-dependent and are built as part of an ordinary 'make', and should not be checked in.
* | | * lib/Makefile.in: Regenerate.Paul Eggert2011-01-081-0/+2
| | |
* | | * lib/COPYING: New file, a copy of COPYING.Paul Eggert2011-01-081-0/+1
| | |
* | | * configure: Regenerate.Paul Eggert2011-01-081-0/+1
| | |
* | | * configure.in (AC_USE_SYSTEM_EXTENSIONS): Remove: gnulib does this.Paul Eggert2011-01-081-0/+2
| | |
* | | Regenerate.Paul Eggert2011-01-081-0/+8
| | |