aboutsummaryrefslogtreecommitdiffstats
path: root/nt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix compilation errors with MinGW64 GCC 11Eli Zaretskii2021-10-246-5/+6
| | | | | | | | | | | | | * lib-src/ntlib.c (IS_DIRECTORY_SEP): Remove redundant macro. * lib-src/ntlib.c (DEFER_MS_W32_H): * nt/addpm.c (DEFER_MS_W32_H): * nt/cmdproxy.c (DEFER_MS_W32_H): * nt/ddeclient.c (DEFER_MS_W32_H): * nt/preprep.c (DEFER_MS_W32_H): * nt/runemacs.c (DEFER_MS_W32_H): Fix a typo. * nt/Makefile.in (BASE_CFLAGS): Add -I switches to pick up config.h and lib/attribute.h.
* Include <config.h> first in MS-Windows sourcePaul Eggert2021-10-245-0/+16
|
* ; * nt/INSTALL: Fix a typo.Eli Zaretskii2021-10-221-1/+1
|
* Fix WebP support on MS-WindowsEli Zaretskii2021-10-222-1/+10
| | | | | | | | | | | | | | | | * src/image.c (WebPDecodeRGBA, WebPDecodeRGB, WebPFree): Use correct names and argument lists in DEF_DLL_FN; fix typos. (WebPGetFeaturesInternal): Load this instead of WebPGetFeatures, which is a static inline function in webp/decode.h. (WebPGetFeatures): Redirect to call WebPGetFeaturesInternal. * lisp/term/w32-win.el (dynamic-library-alist): Fix the name of the WebP symbol. * configure.ac (HAVE_WEBP): Fix detection of libwebp on MinGW. * nt/INSTALL.W64: * nt/INSTALL: Update information about libwebp availability.
* Add WebP image format support (Bug#51296)Stefan Kangas2021-10-221-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (--with-webp): New option. (HAVE_WEBP): New variable. (emacs_config_features): Add webp. * src/image.c (enum webp_keyword_index) [HAVE_WEBP]: New enum. (webp_format) [HAVE_WEBP]: New variable. (webp_image_p, init_webp_functions, webp_load) [HAVE_WEBP]: New functions for WebP support. (image_types) [HAVE_WEBP]: Define WebP format. (syms_of_image) <Qwebp> [HAVE_WEBP]: New DEFSYM. Add image type Qwebp. * src/Makefile.in (LIBIMAGE): Add WEBP_LIBS. * lisp/files.el (auto-mode-alist): * lisp/image-file.el (image-file-name-extensions): * lisp/image.el (image-type-header-regexps) (image-type-file-name-regexps, image-type-auto-detectable): Add WebP support. * lisp/term/w32-win.el (dynamic-library-alist): Add the libwebp DLL. * INSTALL: * admin/CPP-DEFINES: * doc/lispref/display.texi (Image Formats, Other Image Types): * nt/INSTALL: Document WebP support. * test/lisp/image-tests.el (image-find-image) (image-type-from-file-name): Expand tests. * test/src/image-tests.el (image-tests--files): Add WebP. (image-tests-image-size/webp, image-tests-image-mask-p/webp) (image-tests-image-metadata/webp): New tests. * test/data/image/black.webp: New file.
* Merge from origin/emacs-28Glenn Morris2021-10-111-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1a1b206a8b Adapt the recent 'num_processors' change to MS-Windows 7cb4637923 Minor fix to clarify a sentence in emacs-lisp-intro ab60144ea3 ; Pacify recent shorthand unused lexarg warnings. e9df86004f Make tty-run-terminal-initialization load the .elc file (i... 07edc28bdb Fix ert errors when there's a test that binds `debug-on-er... 96278de8ac New function num-processors 575e626105 Add symbol property 'save-some-buffers-function' (bug#46374) a3e10af95c Keep reading when typed RET in read-char-from-minibuffer a... 013e3be832 * lisp/userlock.el (ask-user-about-supersession-threat): A... ae61d7a57d Fix point positioning on mouse clicks with non-zero line-h... 4c7e74c386 Complete shorthands to longhands for symbol-completing tables c2513c5d0d Add new failing test for bug#51089 1d1e96377c ; * lisp/emacs-lisp/shortdoc.el: Fix typo. 6bf29072e9 Avoid mapping file names through 'substring' bcce93f04c Update to Org 9.5-46-gb71474 5d408f1a24 Expanded testing of MH-E with multiple MH variants b497add971 Fix Seccomp filter for newer GNU/Linux systems (Bug#51073). 75d9fbec88 Tramp code cleanup # Conflicts: # etc/NEWS # test/lisp/progmodes/elisp-mode-tests.el
| * Adapt the recent 'num_processors' change to MS-WindowsEli Zaretskii2021-10-111-0/+1
| | | | | | | | | | | | | | * nt/gnulib-cfg.mk (OMIT_GNULIB_MODULE_nproc): Omit nproc. * src/w32.c (num_processors): New function. * src/w32proc.c (Fw32_get_nproc): Remove.
* | Merge from origin/emacs-28Glenn Morris2021-10-051-0/+4
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 63abe976ce (origin/emacs-28) Document minibuffer-default-prompt-forma... b5afbedc90 Backward compatibility option for 'nobreak-char-display' ea1b728a06 ; * lisp/dired.el: Fix typo. 984eafeb98 Unbreak the build after Gnulib update 5946370cd1 Check, whether an FUSE mount has been broken in Tramp 90575a6c0c Disable 'nobreak-char-display' in Eldoc buffers 570e2c9a17 Fix small error in comint-send-input fd7bb31412 Update documentation of search-whitespace-regexp 1f4ced47a1 Fix cc-compat.el syntax error b431f54c1b Mention `seq-uniq' in `delete-dups' documentation 0a7bab689c ; Minor stylistic fixes found by checkdoc e2861e2d08 ; * etc/NEWS: Fix typo. 1a65d49931 Port recent Gnulib changes to MS-Windows 68a256c892 Update from Gnulib 63cb65dcce * Fix mh tests for native comp builds (bug#50975) e606cc6f40 * Fix `batch-native-compile' not to spawn a subprocess 894dfe70da Fix native-compilation build from tarball on Cygwin 2ce5e08058 Remove U+FE0F from script-representative-chars # Conflicts: # etc/NEWS
| * Port recent Gnulib changes to MS-WindowsPaul Eggert2021-10-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | * nt/gnulib-cfg.mk (OMIT_GNULIB_MODULE_free-posix) (OMIT_GNULIB_MODULE_malloc-posix) (OMIT_GNULIB_MODULE_realloc-gnu) (OMIT_GNULIB_MODULE_realloc-posix): New macros, since we don’t want these modules on MS-Windows. * src/w32heap.c (heap_alloc, heap_realloc): New functions. (malloc_after_dump, realloc_after_dump, realloc_before_dump): Use them.
| * Cut the emacs-28 release branchEli Zaretskii2021-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | * README: * configure.ac: * nt/README.W32: * msdos/sed2v2.inp: Bump Emacs version to 28.0.60. * lisp/cus-edit.el (customize-changed-options-previous-release): Update the last released version of Emacs.
* | Bump Emacs version to 29.0.50Eli Zaretskii2021-09-301-1/+1
|/ | | | | | | | | | | | | | * README: * configure.ac: * nt/README.W32: * msdos/sed2v2.inp: * src/msdos.c (internal_terminal_init): * etc/refcards/ru-refcard.tex: * etc/NEWS: Bump Emacs version to 29.0.50. * etc/NEWS.28: New file. * lisp/cus-edit.el (customize-changed-options-previous-release): Update the reference version of Emacs.
* ; Update some links to HTTPS and note some broken linksStefan Kangas2021-09-271-1/+1
|
* MS-Windows followup to recent emacsclient changesEli Zaretskii2021-07-231-0/+1
| | | | | * nt/gnulib-cfg.mk (OMIT_GNULIB_MODULE_file-has-acl): Set to true to avoid compiling file-has-acl.c on MS-Windows.
* Fix resolution of symlinks during dumpingEli Zaretskii2021-05-271-2/+3
| | | | | | | | | | | | | * src/comp.c (Fcomp_el_to_eln_rel_filename): Don't use 'file-truename', as it is only available once files.el is loaded, which doesn't work during dumping, until loadup loads files.el. Instead, use 'realpath'. (Bug#48578) * src/w32.c (realpath): New function. * src/w32.h (realpath): Add prototype. * nt/mingw-cfg.site (ac_cv_func_realpath) (gl_cv_func_realpath_works): Define to "yes", as this function is now implemented in w32.c.
* Base the "extraclean" Make rule on "maintainer-clean"Glenn Morris2021-05-091-4/+1
| | | | | | | | | | | | | | | | * Makefile.in (FIND_DELETE): New, set by configure. (extraclean_dirs): Remove. (extraclean): Make it just a small variation on maintainer-clean. * admin/charsets/Makefile.in (extraclean): * admin/grammars/Makefile.in (extraclean): * admin/unidata/Makefile.in (extraclean): * leim/Makefile.in (extraclean): * lib-src/Makefile.in (extraclean): * lisp/Makefile.in (extraclean): * lwlib/Makefile.in (extraclean): * nt/Makefile.in (extraclean): * src/Makefile.in (extraclean): Remove target. * lib/Makefile.in (extraclean): Merge into maintainer-clean.
* Merge remote-tracking branch 'savannah/master' into native-compAndrea Corallo2021-03-121-17/+2
|\
| * Simplify silent-rules build machineryGlenn Morris2021-03-061-17/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/verbose.mk.in: New file. * configure.ac (AM_V, AM_DEFAULT_V): Remove output variables. (src/verbose.mk): New output file. * Makefile.in, admin/charsets/Makefile.in: * admin/grammars/Makefile.in, admin/unidata/Makefile.in: * doc/emacs/Makefile.in, doc/lispintro/Makefile.in: * doc/lispref/Makefile.in, doc/misc/Makefile.in, leim/Makefile.in: * lib-src/Makefile.in, lib/Makefile.in, lisp/Makefile.in: * lwlib/Makefile.in, nt/Makefile.in, oldXMenu/Makefile.in: * src/Makefile.in, src/verbose.mk.in, test/Makefile.in: Include src/verbose.mk rather than repeatedly defining AM_V_at etc.
* | Merge remote-tracking branch 'savannah/master' into HEADAndrea Corallo2021-01-0227-29/+29
|\ \ | |/
| * Merge from origin/emacs-27Paul Eggert2021-01-014-5/+5
| |\ | | | | | | | | | 33d159c36f Fix copyright years by hand
| | * Fix copyright years by handPaul Eggert2021-01-014-5/+5
| | | | | | | | | | | | These are dates that admin/update-copyright did not update.
| | * Update copyright year to 2021Paul Eggert2021-01-0124-24/+24
| | | | | | | | | | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
| | * Update files for the 27.1.90 pretestemacs-27.1.90Eli Zaretskii2020-12-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * README: * configure.ac: * nt/README.W32: * msdos/sed2v2.inp: Bump Emacs version to 27.1.90. * lisp/ldefs-boot.el: Update from loaddefs.el
| * | Update copyright year to 2021Paul Eggert2021-01-0124-24/+24
| | | | | | | | | | | | Run "TZ=UTC0 admin/update-copyright".
* | | Merge remote-tracking branch 'savannah/master' into HEADAndrea Corallo2020-12-271-0/+6
|\ \ \ | |/ /
| * | Don't compile Gnulib's 'free' on MinGWEli Zaretskii2020-12-251-0/+4
| | | | | | | | | | | | | | | * nt/mingw-cfg.site (gl_cv_func_free_preserves_errno): Set to "yes" to avoid compiling Gnulib's free.c in the MinGW build.
| * | Fix the MinGW build broken by Gnulib updateEli Zaretskii2020-12-241-0/+2
| | | | | | | | | | | | | | | | | | * nt/mingw-cfg.site (gl_cv_func_readlink_trailing_slash) (gl_cv_func_readlink_truncate): Define to "yes" to avoid compiling readlink.c.
* | | Fix --with-nativecomp Windows build (bug#45303)Liāu, Kiong-Gē 廖宮毅2020-12-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Liāu, Kiong-Gē 廖宮毅 <gongyi.liao@gmail.com> * src/comp.c (eln_load_path_final_clean_up): Fix argument order. * nt/mingw-cfg.site (ac_cv_func_strsignal): Force `ac_cv_func_strsignal' to no. Copyright-paperwork-exempt: yes
* | | * nt/epaths.nt (PATH_REL_LOADSEARCH): Define macro (bug#45303).Andrea Corallo2020-12-171-0/+5
|/ /
* | Merge from origin/emacs-27Glenn Morris2020-11-162-5/+25
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | 75723ec212 (origin/emacs-27) ; * lisp/emacs-lisp/benchmark.el (benchm... 53e2a612ad ; * lib-src/make-fingerprint.c: Update commentary. 286c632772 Reformat argument commentary in etags.c 4ec740866a Make the invocation of combine-change-calls in comment-reg... 66bcec8838 * lisp/progmodes/cc-langs.el (c-<>-notable-chars-re): Fix ... 03eeab469e ; Update the expected result files in test/manual/etags. d875a22bc6 Update the various INSTALL files # Conflicts: # INSTALL
| * Update the various INSTALL filesEli Zaretskii2020-11-142-5/+25
| | | | | | | | | | | | | | * nt/INSTALL.W64: * nt/INSTALL: * INSTALL: Update the installation information, in particular the fact that HarfBuzz is now preferred as the shaping library.
| * ; Bump Emacs version to 27.1.50Eli Zaretskii2020-08-111-1/+1
| | | | | | | | | | | | | | | | * configure.ac: * README: * nt/README.W32: * msdos/sed2v2.inp: * etc/NEWS: Bump Emacs version to 27.1.50.
| * Bump Emacs version to 27.1Nicolas Petton2020-07-281-1/+1
| | | | | | | | | | | | | | * README: * configure.ac: * msdos/sed2v2.inp: * nt/README.W32: Bump Emacs version.
| * Fix mingw.org's MinGW GCC 9 warning about 'execve'Eli Zaretskii2020-05-301-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.
| * Bump Emacs version to 27.0.91Nicolas Petton2020-04-161-1/+1
| | | | | | | | | | | | | | * README: * configure.ac: * msdos/sed2v2.inp: * nt/README.W32: Bump Emacs version.
* | ; Prefer https to http in more URLsStefan Kangas2020-10-241-1/+1
| | | | | | | | These were all tested and confirmed working.
* | Fix MS-Windows compilation of Gnulib with old versions of MinGWEli Zaretskii2020-09-151-0/+26
| | | | | | | | | | | | | | | | * 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>.
* | MS-Windows fixes as followup to import of Gnulib 'getrandom'Eli Zaretskii2020-06-281-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.
* | Remove private prototype for 'execve' and its uses in MinGW buildEli Zaretskii2020-05-301-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.
* | Don't use Gnulib's explicit_bzero on MS-WindowsEli Zaretskii2020-04-192-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.
* | Merge from origin/emacs-27Glenn Morris2020-03-231-0/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | d66331aea4 (origin/emacs-27) Don't build the Gnulib 'utimens' module ... f2351a689b Add Harfbuzz dependency 8944310d7c Don't signal during backtrace unrewind (Bug#40088) 8709aaddd8 Fix a couple of problems in changelog generating functions 9ab85f087f Fix cl-concatenate (Bug#40180) 561e9fb91b Improve documentation of project.el commands b28a9a6cc3 Make svg images with links valid 7515252cce * lisp/tab-line.el (tab-line-new-button-show): New defcustom. # Conflicts: # etc/NEWS # nt/gnulib-cfg.mk
| * Don't build the Gnulib 'utimens' module on MinGWEli Zaretskii2020-03-231-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.
| * Bump Emacs version to 27.0.90Nicolas Petton2020-02-271-1/+1
| | | | | | | | | | | | | | * README: * configure.ac: * msdos/sed2v2.inp: * nt/README.W32: Bump Emacs version.
* | Fix the MinGW build as followup to recent "nofollow" changesEli Zaretskii2020-03-083-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.
* | Adapt the MS-Windows build to 'nofollow' changesEli Zaretskii2020-02-242-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.
* | Revert "Fix MS-Windows build broken by "Install C source code""Eli Zaretskii2020-01-281-4/+0
| | | | | | | | | | | | This reverts commit 31efd1cea8d692a0b77101ec161a8cf290471ade, since the commit a02b179242a55aba20158aa245e5643a04d07576, which triggered the former commit, has been reverted.
* | Fix MS-Windows build broken by "Install C source code"Eli Zaretskii2020-01-251-0/+4
| | | | | | | | * nt/epaths.nt (PATH_EMACS_SOURCE): Add definition.
* | Merge from origin/emacs-27Glenn Morris2020-01-161-2/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 52080b5778 (origin/emacs-27) * lisp/minibuffer.el (read-file-name-def... e4cec1fd10 ; * etc/NEWS: Fix some file name quotations. 13995f31a2 Make emacs prefer an existing ~/.emacs.d to an existing XD... 91cac24952 ; etc/NEWS minor edits 5505babc07 Describe --with-cairo non-support for bitmapped fonts. caf00066ee Mention GTK font chooser changes in NEWS 23b87db628 ; Unmaintain fortran elisp 3b0d1a50aa f90: handle F2008 module function 55803cc189 Move shell-related menu items to "Shell Commands" submenu ... 2be48605c0 * admin/notes/font-backend: Remove outdated file. (Bug#34663) f07a470124 Declare the ftx font backend driver obsolete 6c08a430fb ; Fix wording of a comment. # Conflicts: # admin/notes/font-backend # etc/NEWS
| * ; Fix wording of a comment.Eli Zaretskii2020-01-151-2/+2
| | | | | | | | | | * nt/inc/ms-w32.h (BROKEN_DATAGRAM_SOCKETS): Fix wording of commentary.
* | Fix the MS-Windows build broken by "Let the OS clear large new objects"Eli Zaretskii2020-01-031-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.
* | Merge from origin/emacs-27Paul Eggert2020-01-0127-29/+29
|\ \ | |/ | | | | | | | | | | | | | | | | | | 186152ba40 Pacify gcc -Wunused-function on Ubuntu 18.04.3 4cd143aded Fix copyright years by hand 365e01cc9f Update copyright year to 2020 cd2c156163 ; * etc/NEWS: Make the description of XDG fallback more ac... # Conflicts: # etc/NEWS # etc/refcards/ru-refcard.tex