1. 15 Sep, 2020 1 commit
    • Eli Zaretskii's avatar
      Fix MS-Windows compilation of Gnulib with old versions of MinGW · 9d5b675f
      Eli Zaretskii authored
      * nt/inc/ms-w32.h (_WIN32_WINNT_WIN2K, _WIN32_WINNT_WINXP)
      (_WIN32_WINNT_WS03, _WIN32_WINNT_VISTA, _WIN32_WINNT_WIN7,
      _WIN32_WINNT_WIN8, _WIN32_WINNT_WINBLUE, _WIN32_WINNT_WIN10)
      [__MINGW32__]: Define if any of these is not defined.  Reported by
      martin rudalics <rudalics@gmx.at>.
      9d5b675f
  2. 11 Aug, 2020 1 commit
  3. 28 Jul, 2020 1 commit
  4. 28 Jun, 2020 1 commit
    • Eli Zaretskii's avatar
      MS-Windows fixes as followup to import of Gnulib 'getrandom' · 162f375b
      Eli Zaretskii authored
      * nt/mingw-cfg.site (gl_cv_lib_assume_bcrypt): Set to "no" to
      disable linking against bcrypt.dll.  (Bug#42095)
      
      * src/gnutls.c (gnutls_rnd) [WINDOWSNT]: Don't define a function
      pointer, and don't load it from GnuTLS DLL.
      (w32_gnutls_rnd) [WINDOWSNT]: Delete unused function.
      * src/fns.c (gnutls_rnd) [WINDOWSNT]: Don't redirect to
      w32_gnutls_rnd.
      162f375b
  5. 30 May, 2020 2 commits
  6. 19 Apr, 2020 1 commit
    • Eli Zaretskii's avatar
      Don't use Gnulib's explicit_bzero on MS-Windows · 3f8b771d
      Eli Zaretskii authored
      This is a preventive change, since Gnulib was recently changed
      its explicit_bzero to call SecureZeroMemory on MS-Windows,
      disregarding systems older than XP, which didn't have it.
      
      * src/w32.c (explicit_bzero): New function.
      
      * nt/mingw-cfg.site (ac_cv_func_explicit_bzero): Avoid using the
      Gnulib replacement for explicit_bzero.
      * nt/inc/ms-w32.h (explicit_bzero): Add prototype.
      3f8b771d
  7. 16 Apr, 2020 1 commit
  8. 23 Mar, 2020 1 commit
  9. 08 Mar, 2020 1 commit
    • Eli Zaretskii's avatar
      Fix the MinGW build as followup to recent "nofollow" changes · 66bc47d1
      Eli Zaretskii authored
      * src/w32.c (fdutimens): Call utimensat instead of utime.
      (set_file_times): Function deleted.
      (convert_from_timespec): Renamed from convert_from_time_t and
      modified to accept 'struct timespec' argument instead of 'time_t'.
      (utimensat): Renamed from utime and modified to accept 'struct
      timespec [2]' argument and an additional argument FLAG.  Emulate
      Posix 'utimensat'.  Call 'convert_from_timespec'.
      (w32_copy_file): Call 'utimensat' instead of 'set_file_times'.
      * src/fileio.c (Fcopy_file) [WINDOWSNT]: Make the error message be
      identical to that on Posix platforms.
      
      * nt/inc/sys/stat.h (utimensat): Provide prototype.
      * nt/mingw-cfg.site (ac_cv_func_futimens)
      (gl_cv_func_futimens_works, ac_cv_func_utimensat)
      (gl_cv_func_utimensat_works): Override Gnulib tests.
      * nt/gnulib-cfg.mk (OMIT_GNULIB_MODULE_futimens)
      (OMIT_GNULIB_MODULE_utimensat): Disable these Gnulib modules.
      66bc47d1
  10. 27 Feb, 2020 1 commit
  11. 24 Feb, 2020 1 commit
    • Eli Zaretskii's avatar
      Adapt the MS-Windows build to 'nofollow' changes · 7dfe90a6
      Eli Zaretskii authored
      * nt/gnulib-cfg.mk (OMIT_GNULIB_MODULE_fchmodat)
      (OMIT_GNULIB_MODULE_lchmod): Set to true to omit building these
      modules on MS-Windows.
      * nt/mingw-cfg.site (ac_cv_func_fchmodat)
      (gl_cv_func_fchmodat_works, ac_cv_func_lchmod): Disable tests on
      MS-Windows.
      
      * src/w32.c (chmod_worker, lchmod, fchmodat): New functions.
      (sys_chmod): Move most of the code to chmod_worker.
      * src/w32.h (fchmodat, lchmod): Add prototypes.
      7dfe90a6
  12. 28 Jan, 2020 1 commit
  13. 25 Jan, 2020 1 commit
  14. 15 Jan, 2020 1 commit
  15. 03 Jan, 2020 1 commit
  16. 01 Jan, 2020 2 commits
  17. 23 Dec, 2019 2 commits
    • Eli Zaretskii's avatar
      Bump Emacs version to 28.0.50 · 64fe67be
      Eli Zaretskii authored
      * README:
      * configure.ac:
      * nt/README.W32:
      * msdos/sed2v2.inp:
      * src/msdos.c (internal_terminal_init):
      * etc/refcards/ru-refcard.tex: Bump Emacs version to 28.0.50.
      
      * lisp/cus-edit.el (customize-changed-options-previous-release):
      Bump up the value to 26.3.
      
      * etc/NEWS.27: Renamed from NEWS.
      * etc/NEWS: New file for Emacs 28.
      64fe67be
    • Eli Zaretskii's avatar
      Cut the emacs-27 release branch · 9eb871c8
      Eli Zaretskii authored
      * lisp/cus-edit.el (customize-changed-options-previous-release):
      Change the value to 26.3.
      
      * README:
      * configure.ac:
      * nt/README.W32:
      * msdos/sed2v2.inp: Bump Emacs version to 27.0.60.
      9eb871c8
  18. 26 Nov, 2019 1 commit
    • Robert Pluim's avatar
      Extend network-interface-list to return IPv6 and network info · 650a514e
      Robert Pluim authored
      Bug#38218
      
      * src/process.c (Fnetwork_interface_list): Extend argument list to
      allow requesting full network info and/or IPv4/IPv6 info.
      (network_interface_list) [HAVE_GETIFADDRS]: Use getifaddrs to retrieve
      interface IP addresses.
      
      * src/process.h: Update prototype of network_interface_list.
      
      * src/w32.c (g_b_init_get_adapters_addresses): New init flag.
      (globals_of_w32): Initialize it.
      (GetAdaptersAddresses_Proc): New function typedef.
      (get_adapters_addresses): New wrapper function.
      (init_winsock): Load htonl and ntohl.
      (sys_htonl, sys_ntohl): New wrapper functions.
      (network_interface_list): Implement in terms of
      get_adapters_addresses.
      
      * nt/inc/sys/socket.h: Add sys_htonl and sys_ntohl prototypes.
      
      * etc/NEWS: Announce IPv4/IPv6 changes in network-interface-list.
      
      * doc/lispref/processes.texi (Misc Network): Document updated arglist
      and return values for network-interface-list.
      650a514e
  19. 09 Nov, 2019 1 commit
  20. 30 Aug, 2019 1 commit
  21. 21 Aug, 2019 1 commit
  22. 24 Jun, 2019 1 commit
    • Eli Zaretskii's avatar
      Fix MS-Windows build as followup to pdumper executable lookup · 9f5f5ae6
      Eli Zaretskii authored
      * src/w32.c (w32_my_exename): New function.
      * src/w32.h (w32_my_exename): Add prototype.
      * src/emacs.c (load_pdump_find_executable) [WINDOWSNT]: Find
      the actual file name of the program without looking along
      PATH, by calling w32_my_exename.
      
      * nt/mingw-cfg.site (ac_cv_func_canonicalize_file_name)
      (ac_cv_func_realpath, gl_cv_func_realpath_works): Disable
      testing.
      * nt/gnulib-cfg.mk (OMIT_GNULIB_MODULE_canonicalize-lgpl): Set
      to true.
      9f5f5ae6
  23. 12 Jun, 2019 1 commit
  24. 08 Jun, 2019 1 commit
  25. 07 Jun, 2019 2 commits
  26. 31 May, 2019 1 commit
  27. 14 May, 2019 1 commit
  28. 20 Apr, 2019 1 commit
  29. 14 Apr, 2019 1 commit
  30. 11 Apr, 2019 1 commit
  31. 20 Feb, 2019 1 commit
  32. 04 Feb, 2019 1 commit
    • Eli Zaretskii's avatar
      Support (locale-info 'paper) on MS-Windows · f37000ae
      Eli Zaretskii authored
      * src/w32proc.c (LOCALE_IPAPERSIZE): Define if undefined.
      (nl_langinfo): Support _NL_PAPER_WIDTH and _NL_PAPER_HEIGHT
      like glibc does.
      * src/fns.c (Flocale_info): Update the doc string.
      
      * nt/inc/langinfo.h: Add _NL_PAPER_WIDTH and _NL_PAPER_HEIGHT
      to the enumeration.
      (_NL_PAPER_WIDTH, _NL_PAPER_HEIGHT): Define namesake macros.
      * nt/mingw-cfg.site (emacs_cv_langinfo__nl_paper_width): Set
      to 'yes'.
      
      * doc/lispref/nonascii.texi (Locales): Update the
      documentation of 'locale-info' for the argument of 'paper'.
      
      * etc/NEWS: Update the locale-info entry.
      f37000ae
  33. 07 Jan, 2019 1 commit
  34. 01 Jan, 2019 2 commits
  35. 03 Dec, 2018 1 commit
    • Eli Zaretskii's avatar
      Fix WINDOWSNT/DOS_NT build · 2ff9dca1
      Eli Zaretskii authored
      Recent changes in sysdep.c and emacsclient unnecessarily
      removed useful code from DOS_NT builds.  This changeset
      reinstates that code.
      * nt/inc/ms-w32.h (tcdrain): Redirect to _commit.
      (fdatasync): No need to redirect anymore.
      
      * lib-src/emacsclient.c (flush_stdout): Don't avoid calling
      tcdrain on DOS_NT platforms.
      
      * src/sysdep.c (reset_sys_modes): Don't ifdef away the call to
      tcdrain on DOS_NT platforms.
      2ff9dca1