1. 02 Aug, 2012 2 commits
    • Paul Eggert's avatar
      Use C99-style 'extern inline' if available. · f162bcc3
      Paul Eggert authored
      * lib-src/profile.c (SYSTIME_INLINE): Define.
      * nt/config.nt: Sync with autogen/config.in.
      (_GL_INLINE, _GL_EXTERN_INLINE, _GL_INLINE_HEADER_BEGIN)
      (_GL_INLINE_HEADER_END): New macros.
      * src/buffer.h (BUFFER_INLINE):
      * src/category.h (CATEGORY_INLINE):
      * src/character.h (CHARACTER_INLINE):
      * src/charset.h (CHARSET_INLINE):
      * src/composite.h (COMPOSITE_INLINE):
      * src/dispextern.h (DISPEXTERN_INLINE):
      * src/lisp.h (LISP_INLINE):
      * src/systime.h (SYSTIME_INLINE):
      New macro, replacing 'static inline' in this header.
      * src/buffer.h, src/category.h, src/character.h, src/charset.h:
      * src/composite.h, src/dispextern.h, lisp.h, systime.h:
      Use INLINE_HEADER_BEGIN, INLINE_HEADER_END.
      * src/alloc.c (LISP_INLINE):
      * src/buffer.c (BUFFER_INLINE):
      * src/category.c (CATEGORY_INLINE):
      * src/character.c (CHARACTER_INLINE):
      * src/charset.c (CHARSET_INLINE):
      * src/composite.c (COMPOSITE_INLINE):
      * src/dispnew.c (DISPEXTERN_INLINE):
      * src/sysdep.c (SYSTIME_INLINE):
      Define to EXTERN_INLINE, so that the corresponding functions
      are compiled into code.
      * src/conf_post.h (INLINE, EXTERN_INLINE, INLINE_HEADER_BEGIN)
      (INLINE_HEADER_END): New macros.
      * src/lisp.h (PSEUDOVECTOR_FLAG): Now a macro as well as a constant,
      since it's used in non-static inline functions now.
      f162bcc3
    • Glenn Morris's avatar
      Move NT-specific include file to the NT include directory · 837b365b
      Glenn Morris authored
      * nt/inc/ms-w32.h: Move here from ../src/s.
      * nt/config.nt (config_opsysfile): Change to <ms-w32.h>.
      
      * s/ms-w32.h: Move to ../nt/inc.
      * src/makefile.w32-in (TAGS, TAGS-gmake, MS_W32_H):
      Update for new ms-w32.h location.
      
      * lib-src/makefile.w32-in (MS_W32_H): Update for new ms-w32.h location.
      
      * lib/makefile.w32-in (MS_W32_H): Update for new ms-w32.h location.
      
      * lisp/emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
      837b365b
  2. 01 Aug, 2012 2 commits
    • Juanma Barranquero's avatar
      Sync Windows port with autogen/config.in changes. · c90acc54
      Juanma Barranquero authored
      * nt/config.nt: Sync with autogen/config.in.
      (DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
      (INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP):
      New macros.
      
      * src/s/ms-w32.h (DEVICE_SEP, IS_DIRECTORY_SEP, IS_ANY_SEP):
      Remove; moved to nt/config.nt.
      c90acc54
    • Juanma Barranquero's avatar
      Adapt Windows port to recent changes in autogen/config.in. · 552a99b4
      Juanma Barranquero authored
      * lib-src/makefile.w32-in (CONFIG_H): Update dependencies.
      (CONF_POST_H): New macro.
      
      * lib/makefile.w32-in (CONFIG_H): Update dependencies.
      (CONF_POST_H): New macro.
      
      * nt/config.nt: Sync with autogen/config.in.
      Remove code moved to conf_post.h and include <conf_post.h>
      (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
      (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
      
      * src/makefile.w32-in (CONFIG_H): Update dependencies.
      (CONF_POST_H): New macro.
      
      * src/s/ms-w32.h (SEPCHAR, NULL_DEVICE): Remove; moved to nt/config.nt.
      552a99b4
  3. 29 Jul, 2012 1 commit
  4. 28 Jul, 2012 1 commit
    • Paul Eggert's avatar
      Use Gnulib stdalign and environ modules (Bug#9772, Bug#9960). · e32a5799
      Paul Eggert authored
      * .bzrignore: Add lib/stdalign.h.
      * config.bat: Do not set NO_DECL_ALIGN; no longer needed.
      Copy lib/stdalign.in.h to lib/stdalign.in-h as needed.
      * configure.ac (HAVE_ATTRIBUTE_ALIGNED): Remove the code that
      fiddles with this, as gnulib now does this for us.
      * admin/merge-gnulib: Add environ, stdalign.
      * m4/environ.m4: New file, from gnulib.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      * lib/stdalign.in.h, m4/stdalign.m4: New files, from gnulib.
      * sed2v2.inp (HAVE_ATTRIBUTE_ALIGNED): Remove edit.
      * sedlibmk.inp (STDALIGN_H, @GL_GENERATE_STDALIGN_H_TRUE@)
      (GL_GENERATE_STDALIGN_H_FALSE): New edits.
      * nt/config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
      * src/alloc.c (XMALLOC_BASE_ALIGNMENT, GC_POINTER_ALIGNMENT, pure_alloc):
      Simplify by using alignof.
      (pure_alloc) [! USE_LSB_TAG]: Don't over-align EMACS_INT values.
      * src/lisp.h: Include <stdalign.h>.
      (GCALIGNMENT): New macro and constant.
      (DECL_ALIGN): Remove.  All uses replaced by alignas (GCALIGNMENT).
      (USE_LSB_TAG): ifdef on alignas, not on DECL_ALIGN.
      (stdalign): New macro, if not already defined.
      e32a5799
  5. 14 Jul, 2012 1 commit
  6. 13 Jul, 2012 1 commit
    • Juanma Barranquero's avatar
      * nt/config.nt: Sync with autogen/config.in. · ef099b57
      Juanma Barranquero authored
      (BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME)
      (BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL)
      (BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS)
      (FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS)
      (HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT)
      (NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION
      (PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
      (SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE)
      (UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros.
      (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
      Set in src/s/ms-w32.h, not here.
      
      * src/s/ms-w32.h (FIRST_PTY_LETTER, HAVE_SOCKETS): Move to nt/config.nt.
      (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
      Set here, not in nt/config.nt.
      ef099b57
  7. 11 Jul, 2012 1 commit
  8. 10 Jul, 2012 1 commit
  9. 09 Jul, 2012 2 commits
  10. 08 Jul, 2012 1 commit
  11. 07 Jul, 2012 1 commit
  12. 06 Jul, 2012 1 commit
  13. 04 Jul, 2012 1 commit
    • Juanma Barranquero's avatar
      Remove obsolete configuration options (Windows port). · 95f61aa2
      Juanma Barranquero authored
      * admin/CPP-DEFINES (LISP_FLOAT_TYPE): Remove, obsolete.
      
      * nt/config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES)
      (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
      (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET)
      (HAVE_MEMCMP): Remove, obsolete.
      
      * src/s/ms-w32.h (LISP_FLOAT_TYPE, HAVE_MEMCMP, HAVE_MEMCPY)
      (HAVE_MEMMOVE, HAVE_MEMSET): Don't set, obsolete.
      95f61aa2
  14. 24 Jun, 2012 2 commits
  15. 11 Jun, 2012 1 commit
    • Glenn Morris's avatar
      Move SYSTEM_TYPE from src/s to configure · a9be7d2b
      Glenn Morris authored
      * 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.
      a9be7d2b
  16. 01 Jun, 2012 1 commit
  17. 28 May, 2012 1 commit
  18. 22 May, 2012 1 commit
    • Paul Eggert's avatar
      Remove src/m/*. · 34374650
      Paul Eggert authored
      * 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.
      34374650
  19. 19 May, 2012 2 commits
    • Paul Eggert's avatar
      Remove unused HAVE_* symbols for functions. · 9232a6d9
      Paul Eggert authored
      * 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.
      9232a6d9
    • Paul Eggert's avatar
      Remove no-longer-used macro HAVE_FTIME. · 003fdae2
      Paul Eggert authored
      * 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.
      003fdae2
  20. 17 May, 2012 1 commit
  21. 01 May, 2012 1 commit
    • Glenn Morris's avatar
      Remove HAVE_LIBNCURSES; it is required to be true · 9311dcff
      Glenn Morris authored
      Also, it was a confusing name, since it does not necessarily mean that
      we literally have libncurses; rather that we have tputs etc.
      
      * configure.in (HAVE_LIBNCURSES): Remove; it is required to be true.
      
      * src/dispnew.c: Remove HAVE_LIBNCURSES test;
      it is always true on relevant platforms.
      
      * nt/config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
      9311dcff
  22. 27 Apr, 2012 1 commit
  23. 07 Apr, 2012 1 commit
    • Glenn Morris's avatar
      Bump trunk version to 24.1.50. · f3774f20
      Glenn Morris authored
      * README, configure.in (AC_INIT): Bump version to 24.1.50.
      
      * doc/emacs/emacsver.texi (EMACSVER): Bump version to 24.1.50.
      
      * doc/man/emacs.1: Bump version to 24.1.50.
      
      * msdos/sed2v2.inp: Bump version to 24.1.50.
      
      * nextstep/Cocoa/Emacs.base/Contents/Info.plist:
      * nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings:
      * nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist:
      * nextstep/GNUstep/Emacs.base/Resources/Emacs.desktop:
      Bump version to 24.1.50.
      
      * nt/config.nt, nt/makefile.w32-in, nt/emacs.rc, nt/emacsclient.rc:
      Bump version to 24.1.50.
      f3774f20
  24. 02 Apr, 2012 1 commit
  25. 29 Mar, 2012 1 commit
  26. 27 Feb, 2012 1 commit
  27. 29 Jan, 2012 1 commit
  28. 11 Jan, 2012 1 commit
  29. 05 Jan, 2012 1 commit
  30. 30 Nov, 2011 1 commit
  31. 27 Nov, 2011 1 commit
    • Eli Zaretskii's avatar
      Fix MS-Windows build with MSVC compiler. · 8c9afb46
      Eli Zaretskii authored
      Parts of the changes by Fabrice Popineau  <fabrice.popineau@supelec.fr>.
      
       lib-src/makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS).
       lib-src/emacsclient.c (main) <environ>: Remove declaration, already
       pulled in by unistd.h on Posix hosts and stdlib.h on MS-Windows.
       nt/inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
       (UINT64_MAX) [_WIN64]: Fix definition.
       (uintmax_t, intmax_t): Fix definitions.
       nt/inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]: Provide
       correct definitions.
       nt/config.nt (HAVE_DECL_STRTOLL): Define.
       (va_copy) [_WIN64]: Provide a better definition.
       src/s/ms-w32.h (utimbuf) [_MSC_VER]: Don't define.
       (snprintf) [_MSC_VER]: Redirect to _snprintf.
       (strtoll) [_MSC_VER]: Redirect to _strtoi64.
       (malloc, free, realloc, calloc): Redirect to e_* only when
       compiling Emacs.
       src/lisp.h (GCTYPEBITS): Move before first use.
       (ALIGN_GCTYPEBITS) [_MSC_VER]: Define.
       (DECL_ALIGN) [_MSC_VER]: Use it, as MSVC doesn't like bit ops in
       this macro definition.
       (tzname): Redirect to _tzname for all values of _MSC_VER.
      
      Fixes: debbugs:9960
      8c9afb46
  32. 05 Nov, 2011 3 commits
  33. 31 Oct, 2011 1 commit