1. 15 Aug, 2012 1 commit
  2. 01 Jun, 2012 1 commit
  3. 29 May, 2012 1 commit
    • Eli Zaretskii's avatar
      Fix bug #11405 with MSVC build of emacsclientw. · 06523364
      Eli Zaretskii authored
       lib-src/makefile.w32-in ($(BLD)/emacsclientw.exe): Use $(MWINDOWS)
       instead of a literal -mwindows, which is not supported by MSVC.
       nt/nmake.defs (MWINDOWS): Define as "-subsystem:windows -entry:mainCRTStartup".
       Suggested by Fabrice Popineau <fabrice.popineau@supelec.fr>.
       nt/gmake.defs (MWINDOWS): Define as "-mwindows".
      06523364
  4. 28 May, 2012 1 commit
    • Eli Zaretskii's avatar
      Fix subtle problem with redirection in nt/configure.bat. · e383e32d
      Eli Zaretskii authored
       nt/configure.bat (genmakefiles): Move the redirection away from the
       end of the command, to avoid excess whitespace at the end of Make
       variables created at configure time, and also avoid things like
       "FOO1>>config.settings", where "1" gets interpreted as the file
       descriptor and eaten up.  This fixes breakage introduced by the
       last change, without reintroducing the bug fixed by that change.
      e383e32d
  5. 18 May, 2012 1 commit
  6. 11 Apr, 2012 1 commit
  7. 29 Mar, 2012 1 commit
  8. 25 Mar, 2012 1 commit
    • Eli Zaretskii's avatar
      Fix parallel "make install" on MS-Windows. · e5a69fd0
      Eli Zaretskii authored
       nt/makefile.w32-in (install-bin): Don't copy addpm.exe here.  Use
       $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping
       on other (parallel) Make job's toes.
       (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'.
       (install-shortcuts): Depend on $(INSTALL_DIR)/bin.  Copy addpm.exe
       here.
       (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist): Depend
       on create-tmp-dist-dir.
       nt/nmake.defs (DIRNAME): New variable.
       (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
       same-dir.tst.
       nt/gmake.defs (DIRNAME): New variable.
       (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of
       same-dir.tst, to avoid conflicts between several (parallel) Make
       jobs.
       lisp/makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
       of same-dir.tst, to avoid stepping on other (parallel) Make job's
       toes.
       leim/makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
       of same-dir.tst, to avoid stepping on other (parallel) Make job's
       toes.
      e5a69fd0
  9. 24 Feb, 2012 1 commit
    • Eli Zaretskii's avatar
      Fix bug #10674 with infinite re-spawning of cmdproxy.exe. · 58b65bf5
      Eli Zaretskii authored
       nt/cmdproxy.c (main): Bypass conversion of the file name in argv[0]
       and our own module name to short 8+3 aliases, if the original file
       names compare equal.  If GetShortPathName fails, compare the base
       names of the two file names, and only re-spawn the command line if
       the base-name comparison also fails.
      58b65bf5
  10. 23 Feb, 2012 1 commit
  11. 06 Feb, 2012 1 commit
  12. 05 Feb, 2012 4 commits
  13. 04 Feb, 2012 1 commit
  14. 31 Jan, 2012 1 commit
  15. 19 Jan, 2012 1 commit
  16. 11 Jan, 2012 1 commit
  17. 05 Jan, 2012 1 commit
  18. 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
  19. 26 Nov, 2011 1 commit
  20. 25 Nov, 2011 2 commits
  21. 16 Nov, 2011 1 commit
  22. 15 Nov, 2011 1 commit
  23. 13 Nov, 2011 1 commit
  24. 05 Nov, 2011 4 commits
    • Christoph Scholtes's avatar
      * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX) · c4c32b97
      Christoph Scholtes authored
      (UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN, UINT32_MIN, UINT32_MAX)
      (INT32_MIN, UINTMAX_MAX, UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN)
      (intmax_t, INT64_MAX): Add for MSVC.
      c4c32b97
    • Christoph Scholtes's avatar
    • Eli Zaretskii's avatar
      Fix compilation with MSVC in lib/. · 955f3b13
      Eli Zaretskii authored
       nt/config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
      955f3b13
    • Eli Zaretskii's avatar
      Support MSVC build with newer versions of Visual Studio. · a6fc3b5c
      Eli Zaretskii authored
      Small portions of the changes by Fabrice Popineau <fabrice.popineau@supelec.fr>.
      
       src/makefile.w32-in (TAGS-gmake): Don't use $(patsubst ...), as
       Nmake barfs on that.  Use $(OBJ*_c) variables instead, defined on
       nt/gmake.defs.
       src/lisp.h (ENUM_BF): New macro, for enumerated types in bitfields,
       which are not supported by MSVC.
       (Lisp_Symbol, Lisp_Misc_Any, Lisp_Marker, Lisp_Misc_Overlay)
       (Lisp_Save_Value, Lisp_Free): Use ENUM_BF for enumerated types in
       bitfields.
       (Lisp_Object) [USE_LISP_UNION_TYPE]: Use ENUM_BF for enumerated
       types in bitfields.
       (DEFUN) [_MSC_VER]: Define in a different way for MSVC.
       src/w32fns.c [_MSC_VER]: DECLARE_HANDLE for any MSVC version.
       src/w32.c: Don't include w32api.h for MSVC.
       (init_environment) [_MSC_VER]: Call sys_access, not _access.
       src/s/ms-w32.h <sigset_t, ssize_t> [_MSC_VER]: Typedefs for MSVC.
       [_MSC_VER]: Include sys/timeb.h, sys/stat.h, and signal.h.
       (fstat, stat, utime) [_MSC_VER]: Redirect to their sys_* cousins.
       (malloc, free, realloc, calloc) [_MSC_VER]: Always redirect to the
       e_* cousins.
       (alloca) [_MSC_VER]: Define to _alloca.
       src/lisp.h (DECL_ALIGN) [_MSC_VER]: Define for MSVC.
       src/regex.c <re_char> [_MSC_VER]: A separate definition for MSVC.
       nt/makefile.w32-in (clean-other-dirs-nmake)
       (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake):
       Update for current structure of doc/ subdirectories.
       nt/gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables.
       nt/INSTALL: Update for newer versions of MSVC.
       lib/makefile.w32-in (FRC): New dummy target.
       (TAGS): Depend on FRC.
      
      Fixes: debbugs:9960
      a6fc3b5c
  25. 04 Nov, 2011 1 commit
  26. 28 Oct, 2011 1 commit
  27. 25 Oct, 2011 2 commits
  28. 22 Oct, 2011 1 commit
  29. 31 Aug, 2011 1 commit
  30. 07 Jul, 2011 1 commit
  31. 07 Jun, 2011 2 commits