aboutsummaryrefslogtreecommitdiffstats
path: root/nt (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-06-28MS-Windows fixes as followup to import of Gnulib 'getrandom'Eli Zaretskii1-0/+3
* 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.
2020-05-30Remove private prototype for 'execve' and its uses in MinGW buildEli Zaretskii1-11/+0
* src/sysdep.c (emacs_exec_file): Don't compile this function anymore on WINDOWSNT, since it is not used there. This function was the only reason for having 'execve' prototype in ms-w32.h. * nt/inc/ms-w32.h (execve): Remove prototype and the MinGW64 vs ming.org mess that it causes.
2020-05-30Fix mingw.org's MinGW GCC 9 warning about 'execve'Eli Zaretskii1-0/+5
* nt/inc/ms-w32.h (execve) [__GNUC__ > 9]: Provide a different prototype for mingw.org's MinGW as well, to match the GCC builtin.
2020-04-19Don't use Gnulib's explicit_bzero on MS-WindowsEli Zaretskii2-0/+2
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.
2020-04-16Bump Emacs version to 27.0.91Nicolas Petton1-1/+1
* README: * configure.ac: * msdos/sed2v2.inp: * nt/README.W32: Bump Emacs version.
2020-03-23Don't build the Gnulib 'utimens' module on MinGWEli Zaretskii1-0/+1
* nt/gnulib-cfg.mk (OMIT_GNULIB_MODULE_utimens): Omit the 'utimens' module in the MinGW build: 'utimens' is not used by Emacs, and 'fdutimens' is implemented in w32.c.
2020-03-08Fix the MinGW build as followup to recent "nofollow" changesEli Zaretskii3-0/+11
* 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.
2020-02-27Bump Emacs version to 27.0.90Nicolas Petton1-1/+1
* README: * configure.ac: * msdos/sed2v2.inp: * nt/README.W32: Bump Emacs version.
2020-02-24Adapt the MS-Windows build to 'nofollow' changesEli Zaretskii2-0/+5
* 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.
2020-01-28Revert "Fix MS-Windows build broken by "Install C source code""Eli Zaretskii1-4/+0
This reverts commit 31efd1cea8d692a0b77101ec161a8cf290471ade, since the commit a02b179242a55aba20158aa245e5643a04d07576, which triggered the former commit, has been reverted.
2020-01-25Fix MS-Windows build broken by "Install C source code"Eli Zaretskii1-0/+4
* nt/epaths.nt (PATH_EMACS_SOURCE): Add definition.
2020-01-15; Fix wording of a comment.Eli Zaretskii1-2/+2
* nt/inc/ms-w32.h (BROKEN_DATAGRAM_SOCKETS): Fix wording of commentary.
2020-01-03Fix the MS-Windows build broken by "Let the OS clear large new objects"Eli Zaretskii1-0/+3
* src/w32heap.c (sys_calloc): New function, implements calloc in terms of our private implementations of malloc. * nt/inc/ms-w32.h (calloc): Redirect to sys_calloc.
2020-01-01Fix copyright years by handPaul Eggert4-5/+5
These are dates that admin/update-copyright did not update.
2020-01-01Update copyright year to 2020Paul Eggert24-24/+24
Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
2019-12-23Bump Emacs version to 28.0.50Eli Zaretskii1-1/+1
* 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.
2019-12-23Cut the emacs-27 release branchEli Zaretskii1-1/+1
* 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.
2019-11-26Extend network-interface-list to return IPv6 and network infoRobert Pluim1-0/+4
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.
2019-11-09Avoid compiler warnings in addpm.c and ddeclient.cEli Zaretskii2-6/+6
* nt/ddeclient.c (DdeCallback): * nt/addpm.c (DdeCallback): Modify types of the last 2 arguments to avoid compiler warnings in 64-bit builds. (Bug#38040)
2019-08-30; Bump Emacs version to 26.3.50Eli Zaretskii1-1/+1
* README: * etc/NEWS: * configure.ac: * msdos/sed2v2.inp: * nt/README.W32: Bump Emacs version to 26.3.50.
2019-08-22Bump Emacs version to 26.3Nicolas Petton1-1/+1
* README: * configure.ac: * msdos/sed2v2.inp: * nt/README.W32: Bump Emacs version.
2019-06-24Fix MS-Windows build as followup to pdumper executable lookupEli Zaretskii2-0/+5
* 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.
2019-06-12Bump Emacs version to 26.2.90Nicolas Petton1-1/+1
* README: * configure.ac: * msdos/sed2v2.inp: * nt/README.W32: Bump Emacs version.
2019-06-08* nt/addpm.c (main): Fix buffer overflowJuanma Barranquero1-2/+3
2019-06-07Fix typoPhillip Lord1-1/+1
* nt/README.W32:
2019-06-07Avoid compiler warning in copy-file-range.c on MS-WindowsEli Zaretskii1-0/+5
* nt/mingw-cfg.site (gl_cv_func_copy_file_range): Set to "yes", to avoid compiling lib/copy-file-range.c on MS-Windows.
2019-05-31Unbreak MinGW64 build with pthreads.h installedEli Zaretskii1-0/+1
* nt/mingw-cfg.site (gl_cv_func_pthread_sigmask_macro): Set to "no", to avoid compiling Gnulib's pthread_sigmask.c. Reported by Richard Copley <rcopley@gmail.com>.
2019-05-13Default to disabling ImageMagick (Bug#33587)Paul Eggert1-3/+3
ImageMagick has continuing stability and security problems, suggesting that 'configure' should disable it by default. See Glenn Morris's notes at: https://lists.gnu.org/r/emacs-devel/2018-12/msg00036.html * INSTALL, etc/NEWS, nt/INSTALL.W64: Mention this. * configure.ac (imagemagick): Default to off.
2019-04-20; Bump Emacs version to 26.2.50Glenn Morris1-1/+1
2019-04-14Update for Emacs-26Phillip Lord1-49/+28
* nt/README.W32: Update details about packaging which changed for Emacs-26.
2019-04-11Bump Emacs version to 26.2emacs-26.2Nicolas Petton1-1/+1
* README: * configure.ac: * msdos/sed2v2.inp: * nt/README.W32: Bump Emacs version to 26.2.
2019-02-20Bump Emacs version to 26.1.92emacs-26.1.92Nicolas Petton1-1/+1
* README: * configure.ac: * msdos/sed2v2.inp: * nt/README.W32: Bump Emacs version to 26.1.92.
2019-02-04Support (locale-info 'paper) on MS-WindowsEli Zaretskii2-0/+5
* 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.
2019-01-07Bump Emacs version to 26.1.91emacs-26.1.91Nicolas Petton1-1/+1
* README: * configure.ac: * msdos/sed2v2.inp: * nt/README.W32: Bump Emacs version to 26.1.91.
2019-01-01Fix copyright years by handPaul Eggert4-5/+5
These are dates that admin/update-copyright did not update, or updated incorrectly.
2019-01-01Update copyright year to 2019Paul Eggert24-24/+24
Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
2018-12-03Fix WINDOWSNT/DOS_NT buildEli Zaretskii1-1/+1
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.
2018-11-25; Remove wrongly committed file nt/gnulib.mkStephen Berman1-1153/+0
2018-11-25Handle narrowing when marking entries of included diary filesStephen Berman1-0/+1153
* lisp/calendar/diary-lib.el (diary-mark-entries): Widen before marking entries (bug#33423).
2018-11-12Bump Emacs version to 26.1.90Nicolas Petton1-1/+1
* README: * configure.ac: * msdos/sed2v2.inp: * nt/README.W32: Bump Emacs version to 26.1.90.
2018-08-18Avoid compilation warning in nt/addpm.cEli Zaretskii1-2/+5
* nt/addpm.c [!MINGW_W64]: Undefine _WIN32_IE before redefining it, to avoid compilation warnings.
2018-07-29Avoid gettimeofday deprecation warnings with MinGWEli Zaretskii1-0/+5
* nt/inc/ms-w32.h (__POSIX_2008_DEPRECATED) [__MINGW32_VERSION >= 5001000L]: Define to nothing, to avoid deprecation warnings about gettimeofday with mingw.org's MinGW runtime 5.1 and later.
2018-07-28; Fix last change: only MinGW runtime 5.0.2 and later needs that.Eli Zaretskii2-2/+2
2018-07-28Fix compilation with mingw.org's MinGW 5.x headersEli Zaretskii2-1/+11
2018-05-28Bump Emacs version to 26.1.50Eli Zaretskii1-1/+1
* msdos/sed2v2.inp: * nt/README.W32: * configure.ac: * README: Bump Emacs version to 26.1.50.
2018-04-30Advise CFLAGS= operand, not in environment, when configuringPaul Eggert1-2/+4
Backport from master.
2018-04-29Advise CFLAGS= operand, not in environment, when configuringPaul Eggert1-2/+4
2018-04-05Bump Emacs version to 26.1Nicolas Petton1-1/+1
* README: * configure.ac: * msdos/sed2v2.inp: * nt/README.W32: Bump Emacs version to 26.1.
2018-01-12Bump Emacs version to 26.0.91Nicolas Petton1-1/+1
* README: * configure.ac: * msdos/sed2v2.inp: * nt/README.W32: Bump Emacs version.
2018-01-01Fix copyright years by handPaul Eggert4-5/+5
These are dates that admin/update-copyright did not update, or updated incorrectly.