aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use a simple struct to implement compile time checks for the Lisp_Object typeAndreas Schwab2012-06-131-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Rename --enable-use-lisp-union-type to --enable-check-lisp-object-type and define CHECK_LISP_OBJECT_TYPE instead of USE_LISP_UNION_TYPE. * admin/make-emacs: Rename --union-type to --check-lisp-type. Define CHECK_LISP_OBJECT_TYPE insted of USE_LISP_UNION_TYPE. * admin/CPP-DEFINES (DEBUG_LISP_OBJECT_TYPE): Renamed from USE_LISP_UNION_TYPE. * src/lisp.h (Lisp_Object) [CHECK_LISP_OBJECT_TYPE]: Define as struct instead of union. (XLI, XIL): Define. (XHASH, XTYPE, XINT, XUINT, make_number, XSET, XPNTR, XUNTAG): Use them. * src/emacs.c (gdb_use_struct): Renamed from gdb_use_union. * src/.gdbinit: Check gdb_use_struct instead of gdb_use_union. * src/alloc.c (widen_to_Lisp_Object): Removed. (mark_memory): Use XIL instead of widen_to_Lisp_Object. * src/frame.c (delete_frame): Remove outdated comment. * src/w32fns.c (Fw32_register_hot_key): Use XLI instead of checking USE_LISP_UNION_TYPE. (Fw32_unregister_hot_key): Likewise. (Fw32_toggle_lock_key): Likewise. * src/w32menu.c (add_menu_item): Likewise. (w32_menu_display_help): Use XIL instead of checking USE_LISP_UNION_TYPE. * src/w32heap.c (allocate_heap): Don't check USE_LISP_UNION_TYPE. (init_heap): Likewise. * src/w32term.c (w32_read_socket): Update comment.
* Remove src/s/sol2-10.hGlenn Morris2012-06-121-0/+3
| | | | | | | | | * configure.in (HAVE_PROCFS, _STRUCTURED_PROC): New AC_DEFINEs. (opsysfile): Set specially for sol2-10. * src/s/gnu-linux.h (HAVE_PROCFS): Move to configure. * src/s/sol2-10.h: Remove file.
* Remove src/s/hpux11.hGlenn Morris2012-06-121-0/+6
| | | | | | | * configure.in (BROKEN_SA_RESTART, USG_SUBTTY_WORKS): New AC_DEFINEs. (opsysfile): Set specially for hpux11. * src/s/hpux11.h: Remove file.
* Remove a couple of src/s filesGlenn Morris2012-06-121-0/+2
| | | | | | * configure.in (opsysfile): Set specially for gnu-kfreebsd, openbsd. * src/s/gnu-kfreebsd.h, src/s/openbsd.h: Remove files.
* Move NO_TERMIO, BROKEN_SIGIO from src/s to configureGlenn Morris2012-06-121-0/+2
| | | | | | | | | | * configure.in (NO_TERMIO, BROKEN_SIGIO): New AC_DEFINEs. * src/s/bsd-common.h, src/s/darwin.h, src/s/gnu-kfreebsd.h, src/s/hpux10-20.h: Remove NO_TERMIO. * src/s/hpux10-20.h, src/s/openbsd.h, src/s/usg5-4-common.h: Remove BROKEN_SIGIO.
* * configure.in: Coalesce some function checking.Paul Eggert2012-06-121-0/+6
| | | | | This makes 'configure' a bit smaller. Prefer AC_CHECK_FUNCS_ONCE for functions that we always check for.
* * configure.in: Anticipate platforms with no src/s file.Glenn Morris2012-06-121-0/+4
| | | | This is based on the previous treatment of src/m files.
* Handle availability of MagickMergeImageLayers and MagickExportImagePixelsChong Yidong2012-06-121-0/+4
| | | | | | | | | | * configure.in: Check for MagickMergeImageLayers. * src/image.c (imagemagick_load_image): Use MagickFlattenImage if MagickMergeImageLayers is undefined. Use pixel pusher loop if MagickExportImagePixels is undefined. Fixes: debbugs:11678
* Move SYSTEM_TYPE from src/s to configureGlenn Morris2012-06-111-0/+4
| | | | | | | | | | | | | * configure.in (SYSTEM_TYPE): New AC_DEFINE. * msdos/sed2v2.inp (SYSTEM_TYPE): Set it. * nt/config.nt (SYSTEM_TYPE): Define it. * src/s/aix4-2.h, src/s/bsd-common.h, src/s/cygwin.h, src/s/darwin.h: * src/s/gnu-kfreebsd.h, src/s/gnu-linux.h, src/s/gnu.h, src/s/hpux10-20.h: * src/s/irix6-5.h, src/s/ms-w32.h, src/s/msdos.h, src/s/template.h: * src/s/usg5-4-common.h: Remove SYSTEM_TYPE.
* * configure.in (dbus_type_is_valid): Check for library function.Michael Albinus2012-06-091-1/+5
|
* Remove lib-src/vcdiffGlenn Morris2012-06-051-0/+4
| | | | | | | | | | * lib-src/vcdiff: Remove file. * lib-src/Makefile.in (SCRIPTS, STAMP_SCRIPTS): Remove vcdiff. (stamp-vcdiff): Remove. * INSTALL, make-dist: Remove vcdiff. * lisp/emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
* Remove lib-src/rcs-checkinGlenn Morris2012-06-031-0/+4
| | | | | | | | | | | | | | | | | | | This script isn't used by Emacs, and I can't imagine anyone else is using it any more either... From the commentary: "This script is intended to be used to convert files with an old-Emacs-style version history for use with VC (the Emacs 19 version-control interface), which likes to use RCS as its back end." * lib-src/rcs-checkin: Remove file. * lib-src/Makefile.in (INSTALLABLE_SCRIPTS, STAMP_INST_SCRIPTS): Remove rcs-checkin. (stamp-rcs-checkin): Remove. * INSTALL, make-dist: Remove rcs-checkin. * admin/quick-install-emacs (PUBLIC_LIBSRC_SCRIPTS): Remove rcs-checkin. * doc/man/rcs-checkin.1: Remove.
* Workaround dumping problem on PaX-enabled Linux kernelsUlrich Müller2012-06-031-0/+4
| | | | | | | | | | | | * configure.in (PAXCTL): Check for paxctl. * src/Makefile.in (PAXCTL): Define. (temacs$(EXEEXT)): Disable memory randomization for the temacs binary via PaX flags if the paxctl utility is available. (emacs$(EXEEXT), bootstrap-emacs$(EXEEXT)): Restore PaX flags to their default. Fixes: debbugs:11398
* Remove --disable-maintainer-mode option from 'configure'. (Bug#11555)Paul Eggert2012-06-011-0/+10
| | | | | | | | | | | It is confusingly named and rarely useful. See, for example, <http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00089.html>. * INSTALL.BZR: Don't mention --disable-maintainer-mode. * Makefile.in (MAINTAINER_MODE_FLAG): Remove; all uses removed. * configure.in: Remove --disable-maintainer-mode. (USE_MAINTAINER_MODE, MAINT): Remove. * admin/make-tarball.txt: Don't worry about maintainer mode. * etc/NEWS: Mention this.
* Make 'configure' a bit smaller and faster.Paul Eggert2012-05-271-3/+17
| | | | | | | | | | | | | | * configure.in (INSTALL_INFO): Set it with one call to AC_PATH_PROG, not three. (PKG_CONFIG): Hoist this out of PKG_CHECK_MODULES, since it's so likely that it'll be needed. (AC_CHECK_HEADERS_ONCE): Prefer to AC_CHECK_HEADERS where either works. (AC_PROG_MAKE_SET): Remove; Automake does this. (sysinfo): Do not check for this function, as it's never used. (tzset): Check for this function just once. * admin/CPP-DEFINES: Remove HAVE_SYSINFO. * m4/manywarnings.m4: Sync from gnulib, incorporating the following: 2012-05-27 manywarnings: remove duplicate -Wmultichar entry
* Fix the MSDOS build following gnulib update.Eli Zaretskii2012-05-271-0/+3
| | | | | | | | | | | | | | | config.bat (lib): Create/update lib/stdalign.in-h and lib/sys_types.in-h. msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT) (GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM) (GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R) (HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H) (NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE) (REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R) (REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T) (WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE) (GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP. (cat FOO): Edit into "sed -e '' FOO >>".
* Fix the MS-Windows build broken by 1995-02-25T20:57:45Z!rms@gnu.org.Eli Zaretskii2012-05-271-0/+10
| | | | | | | | | | | | lib/makefile.w32-in ($(BLD)/md5.$(O)): ($(BLD)/sha1.$(O)): ($(BLD)/sha256.$(O)): ($(BLD)/sha512.$(O)): Depend on $(EMACS_ROOT)/nt/inc/stdalign.h. Suggested by Christoph Scholtes <cschol2112@googlemail.com>. lib/getopt_.h: Regenerate. nt/inc/stdalign.h: New file. Fixes: debbugs:11527
* Assume gnulib does largefile.Paul Eggert2012-05-271-0/+8
| | | | | | | | Gnulib does the largefile configuration anyway, so when configure.in invokes AC_SYS_LARGEFILE, that bloats 'configure' unnecessarily. * admin/merge-gnulib (GNULIB_MODULES): Add largefile. * configure.in (AC_SYS_LARGEFILE): Remove. * lib/gnulib.mk: Autoupdate.
* Merge from gnulib.Paul Eggert2012-05-261-0/+74
| | | | Fixes: debbugs:11527
* Remove src/m/*.Paul Eggert2012-05-221-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Remove all mention of src/m/*. (machine, machfile, M_FILE, config_machfile, and_machfile): Remove. All uses removed. (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG) (BITS_PER_LONG_LONG): Move to src/lisp.h. * lib/makefile.w32-in: Remove dependencies on $(EMACS_ROOT)/src/m/intel386.h. * make-dist: Don't make links to src/m. * admin/CPP-DEFINES: Do not mention src/m/*.h. (BITS_PER_EMACS_INT, BITS_PER_LONG, BITS_PER_CHAR) (BITS_PER_SHORT, BITS_PER_INT): Remove. * admin/MAINTAINERS: Remove src/m/. * lib-src/makefile.w32-in: Remove dependencies on $(EMACS_ROOT)/src/m/intel386.h. * msdos/mainmake.v2 (TAGS tags): Don't look at $(CURDIR)/src/m/intel386.h. * nt/config.nt: Do not include "m/intel386.h"; file was removed. (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG): Move to src/lisp.h. (EMACS_INT_MAX): New macro. This directory predates autoconf and is no longer needed nowadays. Move its few remaining bits of functionality to where they're needed. * src/m/README, src/m/alpha.h, src/m/amdx86-64.h, src/m/ia64.h, src/m/ibmrs6000.h: * src/m/ibms390x.h, src/m/intel386.h, src/m/m68k.h, src/m/macppc.h: * src/m/sparc.h, src/m/template.h: Remove. * src/Makefile.in (M_FILE): Remove. All uses removed. * src/alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): * src/lisp.h (USE_LSB_TAG): * src/mem-limits.h (EXCEEDS_LISP_PTR): Use VAL_MAX, not VALBITS, in #if. * src/lisp.h (EMACS_INT_MAX): New macro, useful in #if. (EMACS_UINT): Define unconditionally now. (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG) (BITS_PER_EMACS_INT): New constants, replacing what used to be in config.h, but not useful in #if. (GCTYPEBITS, VALBITS): Define unconditionally, since m/* files don't define them any more. (VAL_MAX): New macro. (VALMASK): Use it. * src/puresize.h (PURESIZE_RATIO): Use EMACS_INT_MAX, not BITS_PER_EMACS_INT, in #if. * src/s/aix4-2.h (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGPTY) (BROKEN_SIGPOLL): Move here from m/ibmrs6000.h, which was removed. * src/s/gnu-linux.h (ULIMIT_BREAK_VALUE) [__i386__]: * src/s/ms-w32.h (DATA_START): Move here from removed file m/intel386.h. * src/s/gnu.h (NLIST_STRUCT): Remove undef; 'configure' does this. * src/s/irix6-5.h (_LP64): Remove; lisp.h no longer needs this.
* * Makefile.in (ACLOCAL_INPUTS): Fix up gnulib-comp.m4 name. (Bug#11529)Paul Eggert2012-05-211-0/+5
| | | | Without this further fix, aclocal was being invoked unnecessarily.
* More small tweaks for Makefile.inGlenn Morris2012-05-211-0/+6
| | | | | | * Makefile.in (blessmail, install-arch-dep, uninstall): Check cd lib-src works. (install-arch-dep, uninstall): Remove unneeded subshells.
* * update-subdirs: Move to build-aux/.Glenn Morris2012-05-211-0/+3
| | | | | | | | * make-dist: * Makefile.in (install-arch-indep): * lisp/Makefile.in (update-subdirs): * lisp/makefile.w32-in (update-subdirs-SH): Update for this change.
* Let the top-level Makefile install leimGlenn Morris2012-05-211-0/+5
| | | | | | | | | | | * Makefile.in (leimdir): New, set by configure. (COPYDIR, COPYDESTS): Add leim directories. (install-leim): Remove. (install-arch-indep): Handle leim installation directly. * leim/Makefile.in (install): Remove, let top-level do it. (version, prefix, datarootdir, datadir, ns_appresdir, leimdir): (MKDIR_P, GZIP_PROG): Remove, no longer used.
* Remove vpath.sed; unused for literally decades AFAICSGlenn Morris2012-05-211-0/+5
| | | | | * vpath.sed: Remove unused file. * make-dist: No more vpath.sed.
* Use full name for m4/gnulib-comp.m4. (Bug#11529)Paul Eggert2012-05-211-0/+9
| | | | | | | | | | | Previously the file was named m4/gl-comp.m4 due to DOS 8+3 restrictions, even though the file's name in gnulib is m4/gnulib-comp.m4. This had a problem when merging from gnulib, as the code temporarily renamed it to the full name, causing problems when interrupted. Now the file has its full name, with the idea that we will find a solution for MS-DOS that does not affect the rest of Emacs. * m4/gnulib-comp.m4: Rename from m4/gl-comp.m4. * admin/merge-gnulib: Leave m4/gnulib-comp.m4's name alone.
* Assume C89 or later.Paul Eggert2012-05-211-5/+9
| | | | | | | | | | | | | | | | | | | * configure.in (AC_C_PROTOTYPES, AC_C_VOLATILE, AC_C_CONST) (POINTER_TYPE, PROTOTYPES): Remove. * admin/CPP-DEFINES: Remove NULL, const. * lib-src/etags.c (static, const): Remove macros. (PTR): Remove; all uses replaced with void *. Omit needless casts. * src/alloc.c, src/buffer.c, lisp.h: Replace POINTER_TYPE with void. * alloc.c (overrun_check_malloc, overrun_check_realloc, xmalloc) (xrealloc): * buffer.c (mmap_free_1, mmap_enlarge): Omit needless casts. * editfns.c, fns.c, gmalloc.c, insdel.c, sysdep.c, termcap.c (NULL): * textprop.c, tparam.c (NULL): Remove. * ralloc.c, vm-limit.c (POINTER): Assume void * works. * regex.c (SIGN_EXTEND_CHAR): Assume signed char works. * regex.h (_RE_ARGS): Remove. All uses rewritten to use prototypes. * unexelf.c (ElfBitsW): Assume c89 preprocessor or better. * xterm.c (input_signal_count): Assume volatile works.
* Rename LEIM_INSTALLDIR to leimdir, treat consistently with lispdirGlenn Morris2012-05-211-0/+5
| | | | | | | | * configure.in (LEIM_INSTALLDIR): Rename to leimdir, treat like lispdir. * leim/Makefile.in (install_prefix): Remove. (LEIM_INSTALLDIR): Rename to leimdir. (install): Update for this change.
* Make merging from gnulib a script, not a makefile action.Paul Eggert2012-05-201-0/+10
| | | | | | | | | | | Putting it in a makefile has some problems with reflection, as merging from gnulib updates 'configure', which can update the makefile. Putting it in a standalone script breaks this loop. * Makefile.in (gnulib_srcdir, $(gnulib_srcdir), DOS_gnulib_comp.m4) (GNULIB_MODULES, GNULIB_TOOL_FLAGS, sync-from-gnulib): Remove, moving the actions to the script admin/merge-gnulib. * admin/merge-gnulib: New script, with actions moved here from ../Makefile.in.
* Command substitution already runs in a subshellGlenn Morris2012-05-201-0/+5
| | | | | | | | | * Makefile.in (install-arch-indep, install-doc, install-info, uninstall): * leim/Makefile.in (leim-list.el, install): * lib-src/Makefile.in (insrcdir, $(DESTDIR)${archlibdir}): * lisp/Makefile.in (setwins, setwins_almost, setwins_for_subdirs): * test/automated/Makefile.in (setwins): Scrap superfluous subshells.
* * Makefile.in (install-etc): Respect DESTDIR.Ulrich Mueller2012-05-191-0/+4
| | | | Fixes: debbugs:11518
* Undo part of previous change, in case it makes command line too longGlenn Morris2012-05-191-1/+0
|
* Remove unused HAVE_* symbols for functions.Paul Eggert2012-05-191-0/+4
| | | | | | | | | | | | * configure.in (AC_CHECK_FUNCS): Remove XSetWMProtocols, getdomainname, mblen (twice), mbrlen (twice), mbsinit, ualarm, getsockopt, setsockopt, mremap, mempcpy. * admin/CPP-DEFINES (HAVE_GETDOMAINNAME): Remove. * msdos/sed2v2.inp (HAVE_MBLEN): Remove. * msdos/sed2x.inp (HAVE_XSETWMPROTOCOLS): Remove. * nt/config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS) (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed. * src/s/ms-w32.h (HAVE_GETDOMAINNAME): Remove; not needed.
* Remove no-longer-used macro HAVE_FTIME.Paul Eggert2012-05-191-0/+6
| | | | | | | | | | * configure.in (machine): Do not set to 'vax', since src/m/vax.h is being removed. (AC_CHECK_FUNCS): Remove ftime. * admin/CPP-DEFINES (HAVE_FTIME): Remove. * nt/config.nt (HAVE_FTIME): Remove undef; not needed. * src/m/vax.h: Remove; no longer needed since HAVE_FTIME is being removed. * src/s/ms-w32.h (HAVE_FTIME): Remove; not needed.
* * Makefile.in (install-arch-indep): Remove unneeded subshell.Glenn Morris2012-05-191-0/+3
| | | | Combine some rm commands.
* * Makefile.in (install-arch-indep): Remove unneeded chmod.Glenn Morris2012-05-181-0/+3
| | | | Set permissions of lisp/subdirs.el.
* * Makefile.in (SUBDIR): Add leim. Update users.Glenn Morris2012-05-181-0/+2
|
* * Makefile.in (lib, lib-src, lisp): Check cd return value.Glenn Morris2012-05-181-0/+2
|
* * Makefile.in (leim): No need to set PARALLEL.Glenn Morris2012-05-181-0/+4
| | | | | | This predates the use of changed.misc etc to serialize the leim build. The leim Makefile used to set .NO_PARALLEL/.NOTPARALLEL for the same reason, but has not done so for many years.
* Further small Makefile install simplificationsGlenn Morris2012-05-181-0/+3
| | | | | * Makefile.in (install-arch-indep, install-info, install-man): Simplify some one-sided ifs.
* * Makefile.in: Install only the relevant DOC file.Glenn Morris2012-05-181-0/+4
| | | | | | | | This only affects in-tree builds where you have several versions emacs-24.1.50.1, .2, etc lying around. * Makefile.in: (install-arch-indep): Delete etc/DOC*. (install-doc): No more need to delete etc/DOC.
* * Makefile.in (install-arch-indep): Split into several rules.Glenn Morris2012-05-181-0/+3
| | | | (install-doc, innstall-info, install-man): New rules.
* * configure.in (mandir): May as well include it in the NS app bundle.Glenn Morris2012-05-181-0/+2
|
* Avoid installation followed by immediate deletion for self-contained nsGlenn Morris2012-05-181-0/+4
| | | | | | * configure.in (INSTALL_ARCH_INDEP_EXTRA): New output variable. * Makefile.in (INSTALL_ARCH_INDEP_EXTRA): New, set by configure. (install-arch-indep): Don't install-etc for self-contained ns builds.
* Stop adding Fink directories to search path on OS XGlenn Morris2012-05-181-0/+3
| | | | | | | | | * configure.in (GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS) <darwin>: No longer unconditonally add /sw directories. * etc/NEWS: Mention this. Fixes: debbugs:2280
* Tweak dependencies in top-level install rulesGlenn Morris2012-05-181-0/+4
| | | | | | * Makefile.in (install-arch-dep): Depend on install-arch-indep. (install-arch-indep): Depend on install-leim. (install): Remove explicit install-leim dependence.
* Remove the mkdir rule from the top-level MakefileGlenn Morris2012-05-171-0/+4
| | | | | * Makefile.in (install-arch-indep): Move last element of mkdir rule here. (mkdir): Remove rule.
* * Makefile.in (install-arch-indep): Remove unneeded chmods.Glenn Morris2012-05-171-0/+3
| | | | INSTALL_DATA does this for us.
* Makefile simplifications related to creating installation directoriesGlenn Morris2012-05-171-0/+6
| | | | | | | | | | A separate mkdir rule is not needed, since MKDIR_P is thread-safe. * Makefile.in (install-arch-dep): Ensure bindir exists. Drop mkdir dependency. (install-arch-indep): Ensure docdir, infodir, mandir exist. (install-leim): Drop mkdir dependency. (mkdir): Remove most directories, now made in relevant rules.
* * Makefile.in (install-arch-indep): Combine adjacent loops.Glenn Morris2012-05-171-0/+4
|