aboutsummaryrefslogtreecommitdiffstats
path: root/m4 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-08-022-3/+3
| | | | * lib/sys-limits.h: New file.
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-07-292-3/+8
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-06-277-52/+196
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-05-081-2/+2
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-05-083-8/+24
| | | | | | | | | | | | The following changes were made by hand, so that admin/merge-gnulib could succeed instead of failing because the diff didn’t match. * admin/gnulib-patches/lib/getloadavg.c.diff: Remove, as it is no longer needed now that recent Gnulib has been merged. * admin/merge-gnulib (GNULIB_TOOL_FLAGS): Remove the --local-dir="$src"admin/gnulib-patches option, as it is no longer needed either.
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-04-1911-51/+122
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-02-073-13/+33
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-01-181-4/+7
|
* Let Gnulib deal with malloc/realloc 0Paul Eggert2025-01-171-33/+10
| | | | | | | | | | | Instead of worrying about whether malloc and realloc yield a non-null pointer when given size 0 (the traditional behavior recommended by Doug McIlroy, and the only behavior that makes sense for Emacs), let Gnulib arrange for the traditional behavior. * admin/merge-gnulib (GNULIB_MODULES): Add malloc-gnu (which we were already depending on indirectly) and realloc-posix. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate by running admin/merge-gnulib.
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-01-171-1/+9
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-01-161-0/+1
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-01-153-21/+38
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-01-0126-67/+130
|
* Update copyright year to 2025Paul Eggert2025-01-01146-154/+171
| | | | Run "TZ=UTC0 admin/update-copyright".
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2024-12-262-25/+32
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2024-12-17140-219/+583
| | | | | | * admin/merge-gnulib (AVOIDED_MODULES): Avoid gnulib-i18n. * lib/stdlib.c, m4/selinux-selinux-h.m4: New files, taken from Gnulib.
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2024-09-172-6/+16
|
* ; Update from GnulibPo Lu2024-09-0516-46/+482
| | | | | | | * configure.ac: * src/conf_post.h: Remove workarounds now rendered redundant by Gnulib.
* Port to Android 35Po Lu2024-09-041-6/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Temporary workaround for Gnulib bug. Verify that the provided android.jar corresponds to Android 35, or any later version. * cross/ndk-build/Makefile.in (NDK_BUILD_SO_LDFLAGS): New variable. * cross/ndk-build/ndk-resolve.mk (NDK_LOCAL_A_NAMES_$(LOCAL_MODULE)): Define to NDK_BUILD_SO_LDFLAGS by default to enable building binaries with support for 16 kb page sizes. * java/AndroidManifest.xml.in: Target SDK 35. * java/INSTALL (16KB PAGE SIZES): New section. Replace references to Android 34 with 35. * java/org/gnu/emacs/EmacsActivity.java (onCreate): Restore pre-SDK 35 inset-relative placement. * java/org/gnu/emacs/EmacsFillPolygon.java (perform): Suppress deprecation warnings, and document why. * m4/ndk-build.m4 (ndk_INIT, ndk_LATE): Check for and enable toolchain support for 16 KB page sizes, if available. (ndk_CONFIG_FILES): Export linker options so derived. * src/conf_post.h [__ANDROID_API__ < 35]: Include system time.h and redefine timezone_t to rpl_timezone_t, so that the Gnulib replacement may not conflict with the useless OS type.
* Merge from origin/emacs-30Eli Zaretskii2024-08-311-2/+2
|\ | | | | | | | | | | | | | | | | | | | | 4b60267d832 Make Python skeletons available in 'python-ts-mode' as well 62dcbfb776f Merge branch 'emacs-30' of git.savannah.gnu.org:/srv/git/... 1baa62b2ac1 ; * etc/NEWS: Fix typos. dfcfaa0ef58 More accurate documentation of 'equal' in ELisp Reference baaf97ce1a1 ; Fix some ungrammatical uses of "allows to" # Conflicts: # etc/NEWS
| * ; Fix some ungrammatical uses of "allows to"Sean Whitton2024-08-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | * doc/emacs/anti.texi (Antinews): * etc/NEWS: * etc/NEWS.29: * lib/cdefs.h: * lisp/tab-bar.el (tab-bar-select-restore-windows): * lisp/vc/vc-git.el (vc-git-print-log-follow): * m4/gnulib-common.m4 (gl_CHECK_FUNCS_SET_RESULTS): (gl_CHECK_FUNCS_ANDROID): Fix ungrammatical uses of "allows to".
* | Update from Gnulib by running admin/merge-gnulibPaul Eggert2024-07-166-24/+86
| |
* | Enable caching values generated by the Android build systemPo Lu2024-06-301-29/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * build-aux/ndk-build-helper-1.mk: * build-aux/ndk-build-helper-2.mk: * build-aux/ndk-build-helper.mk: Do not generate file names with redundant directory separators, to port to systems where the semantics of this are undefined. * configure.ac: Provide a cache file to the recursive invocation of configure if one is specified for the initial. * cross/ndk-build/Makefile.in (my-dir): Better conform to the original ndk-build by generating directory names with no trailing separator. * m4/ndk-build.m4 (ndk_resolve_import_module, ndk_SEARCH_MODULE): Cache the names of Android.mk files and the commands produced from them.
* | Update from Gnulib by running admin/merge-gnulibPaul Eggert2024-06-3011-56/+43
| | | | | | | | * m4/wchar_t.m4: Remove; no longer needed.
* | Remove unused m4/printf-posix-rpl.m4Paul Eggert2024-06-291-26/+0
|/ | | | | | * m4/printf-posix-rpl.m4: Remove unused file. This is leftover from an old Android branch, and the m4 macros are no longer needed in the master branch.
* Minor enhancements to the Android build systemPo Lu2024-06-061-0/+1
| | | | | | | | | | | | | | | | | | | | | * build-aux/ndk-build-helper-1.mk: * build-aux/ndk-build-helper-2.mk: * cross/ndk-build/ndk-build-shared-library.mk: * cross/ndk-build/ndk-build-static-library.mk: * cross/ndk-build/ndk-resolve.mk (NDK_SO_EXTRA_FLAGS_$(LOCAL_MODULE)): (NDK_LOCAL_SO_NAMES_$(LOCAL_MODULE)): (NDK_LOCAL_A_NAMES_$(LOCAL_MODULE)): Reinforce tests for string prefixes. * m4/ndk-build.m4 (ndk_INIT): Guarantee that a module's dependencies are recorded. * configure.ac (XCONFIGURE): Prepare for building librsvg.
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2024-06-038-40/+275
| | | | | * lib/endian.c, lib/endian.in.h, m4/endian_h.m4, m4/sys_cdefs_h.m4: New files, copied from Gnulib.
* Sync m4/byteswap.m4 from GnulibPaul Eggert2024-05-201-2/+6
| | | | | * m4/byteswap.m4: Copy from Gnulib. This fixes a configure glitch on macOS reported by Mattias Engdegård
* Prefer stdbit.h to count-one-bits.h etcPaul Eggert2024-05-182-9/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | C23's <stdbit.h> in the long run should be better supported than Gnulib's count-one-bits.h and similar headers, so switch to the C23 primitives, with a Gnulib fallback for platforms lacking C23. * admin/merge-gnulib (GNULIB_MODULES): Remove count-leading-zeros, count-one-bits, count-trailing-zeros. Add stdc_bit_width, stdc_count_ones, stdc_trailing_zeros. * lib/count-leading-zeros.c, lib/count-leading-zeros.h: * lib/count-one-bits.c, lib/count-one-bits.h: * lib/count-trailing-zeros.c, lib/count-trailing-zeros.h: Remove. * lib/stdbit.c, lib/stdbit.in.h, lib/stdc_bit_width.c: * lib/stdc_count_ones.c, lib/stdc_leading_zeros.c: * lib/stdc_trailing_zeros.c, m4/stdbit_h.m4: New files, copied from Gnulib. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate. * src/data.c: Do not include count-one-bits.h, count-trailing-zeros.h. Instead, rely on lisp.h including stdbit.h. (Flogcount, Fbool_vector_count_population) (Fbool_vector_count_consecutive): Use stdbit.h macros instead of count-one-bits.h and count-trailing-zeros.h macros. (shift_right_ull, count_one_bits_word, pre_value) (count_trailing_zero_bits): Remove; no longer needed. * src/lisp.h: Include stdbit.h instead of count-leading-zeros.h. (elogb): Use stdbit.h macro instead of count-leading-zeros.h macro.
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2024-05-184-6/+28
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2024-05-11136-299/+479
|
* Generate Android shared library list automaticallyPo Lu2024-04-221-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | * .gitignore: Ignore new generated files. * cross/Makefile.in (src/Makefile): Remove leftover specification of the source Gnulib directory. * cross/ndk-build/ndk-build.mk.in (NDK_BUILD_READELF): New variable. * java/Makefile.in (CONFIG_FILE, ALL_DEPENDENCIES, READELF) (cf-stamp-1, cf-stamp): New variables and rules; compute the set of library files in the order of loading and generate a file with this information. (ALL_CLASS_FILES): New variable; if builddir is not srcdir, $($(CONFIG_FILE), $(CLASS_FILES)): Depend on EmacsConfig.java. add generated files in the build directory. (classes.dex): Adjust to match. * java/org/gnu/emacs/EmacsNative.java (EmacsNative) <static initializer>: Load shared libraries from EMACS_SHARED_LIBRARIES rather than a hard-coded list. * m4/ndk-build.m4 (ndk_INIT): Search for readelf... (ndk_CHECK_MODULES): ...and substitute its path as NDK_BUILD_READELF.
* Always enable native JSON support and remove Jansson referencesMattias Engdegård2024-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | * src/json.c (Fjson__available_p): Remove. * lisp/subr.el (json-available-p): Always return t. * admin/nt/dist-build/build-dep-zips.py: * configure.ac: * doc/lispref/text.texi (Parsing JSON): * java/INSTALL: * java/org/gnu/emacs/EmacsNative.java (EmacsNative): * lisp/term/w32-win.el (dynamic-library-alist): * m4/ndk-build.m4 (ndk_INIT): * msdos/sed1v2.inp: * nt/INSTALL: * nt/INSTALL.W64: * src/Makefile.in: * src/emacs.c (main): * src/lisp.h: Remove JSON configuration options and references to it and Jansson from documentation and build files. * etc/NEWS: Announce.
* Improve C++ standard library detection on AndroidPo Lu2024-03-171-91/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Stop relaying --with-ndk-cxx-shared to the nested invocation of configure. * build-aux/ndk-build-helper-1.mk (SYSTEM_LIBRARIES): * build-aux/ndk-build-helper-2.mk (SYSTEM_LIBRARIES): Insert all of the C++ libraries available on Android. * configure.ac: Call ndk_LATE and ndk_LATE_EARLY within if statement at toplevel, averting needless calls to AC_PROG_CXX. * cross/ndk-build/Makefile.in (NDK_BUILD_CXX_STL) (NDK_BUILD_CXX_LDFLAGS): * cross/ndk-build/ndk-build.mk.in (NDK_BUILD_CXX_STL) (NDK_BUILD_CXX_LDFLAGS): New variables. * cross/ndk-build/ndk-resolve.mk (NDK_SYSTEM_LIBRARIES): Introduce several other C++ libraries sometimes present on Android. (NDK_SO_EXTRA_FLAGS_$(LOCAL_MODULE)): Insert NDK_BUILD_CXX_STL when any of these new C++ libraries are requested. * m4/ndk-build.m4: Completely rewrite C++ compiler and library detection. * java/org/gnu/emacs/EmacsNative.java (EmacsNative): Attempt to load more libraries from static initializer. * java/INSTALL: Remove obsolete information.
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2024-02-146-49/+61
| | | | * lib/strftime.c: New file, copied from Gnulib.
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2024-01-307-23/+41
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2024-01-2056-211/+229
|
* ; Add 2024 to copyright yearsPo Lu2024-01-0245-55/+58
|
* Merge from savannah/emacs-29Po Lu2024-01-0297-97/+109
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dc4e6b13296 ; Update copyright years in more files 64b37776318 ; Run set-copyright from admin.el 8e1c56ae467 ; Add 2024 to copyright years # Conflicts: # doc/misc/modus-themes.org # doc/misc/texinfo.tex # etc/NEWS # etc/refcards/ru-refcard.tex # etc/themes/modus-operandi-theme.el # etc/themes/modus-themes.el # etc/themes/modus-vivendi-theme.el # lib/alloca.in.h # lib/binary-io.h # lib/c-ctype.h # lib/c-strcasecmp.c # lib/c-strncasecmp.c # lib/careadlinkat.c # lib/cloexec.c # lib/close-stream.c # lib/diffseq.h # lib/dup2.c # lib/filemode.h # lib/fpending.c # lib/fpending.h # lib/fsusage.c # lib/getgroups.c # lib/getloadavg.c # lib/gettext.h # lib/gettime.c # lib/gettimeofday.c # lib/group-member.c # lib/malloc.c # lib/md5-stream.c # lib/md5.c # lib/md5.h # lib/memmem.c # lib/memrchr.c # lib/nanosleep.c # lib/save-cwd.h # lib/sha1.c # lib/sig2str.c # lib/stdlib.in.h # lib/strtoimax.c # lib/strtol.c # lib/strtoll.c # lib/time_r.c # lib/xalloc-oversized.h # lisp/auth-source-pass.el # lisp/emacs-lisp/lisp-mnt.el # lisp/emacs-lisp/timer.el # lisp/info-look.el # lisp/jit-lock.el # lisp/loadhist.el # lisp/mail/rmail.el # lisp/net/ntlm.el # lisp/net/webjump.el # lisp/progmodes/asm-mode.el # lisp/progmodes/project.el # lisp/progmodes/sh-script.el # lisp/textmodes/flyspell.el # lisp/textmodes/reftex-toc.el # lisp/textmodes/reftex.el # lisp/textmodes/tex-mode.el # lisp/url/url-gw.el # m4/alloca.m4 # m4/clock_time.m4 # m4/d-type.m4 # m4/dirent_h.m4 # m4/dup2.m4 # m4/euidaccess.m4 # m4/fchmodat.m4 # m4/filemode.m4 # m4/fsusage.m4 # m4/getgroups.m4 # m4/getloadavg.m4 # m4/getrandom.m4 # m4/gettime.m4 # m4/gettimeofday.m4 # m4/gnulib-common.m4 # m4/group-member.m4 # m4/inttypes.m4 # m4/malloc.m4 # m4/manywarnings.m4 # m4/mempcpy.m4 # m4/memrchr.m4 # m4/mkostemp.m4 # m4/mktime.m4 # m4/nproc.m4 # m4/nstrftime.m4 # m4/pathmax.m4 # m4/pipe2.m4 # m4/pselect.m4 # m4/pthread_sigmask.m4 # m4/readlink.m4 # m4/realloc.m4 # m4/sig2str.m4 # m4/ssize_t.m4 # m4/stat-time.m4 # m4/stddef_h.m4 # m4/stdint.m4 # m4/stdio_h.m4 # m4/stdlib_h.m4 # m4/stpcpy.m4 # m4/strnlen.m4 # m4/strtoimax.m4 # m4/strtoll.m4 # m4/time_h.m4 # m4/timegm.m4 # m4/timer_time.m4 # m4/timespec.m4 # m4/unistd_h.m4 # m4/warnings.m4 # nt/configure.bat # nt/preprep.c # test/lisp/register-tests.el
| * ; Add 2024 to copyright yearsPo Lu2024-01-02133-133/+133
| |
* | Don't use // substitution in `ndk_resolve_import_module'Po Lu2023-08-151-2/+1
| | | | | | | | | | * m4/ndk-build.m4 (ndk_resolve_import_module): Stop testing if ndk_commands is empty; just eval it. (bug#65292)
* | ; Update from GnulibPo Lu2023-08-142-4/+11
| | | | | | | | | | | | | | | | | | * lib/boot-time-aux.h (get_linux_uptime): * lib/boot-time.c (UT_USER): * lib/nproc.c (num_processors_ignoring_omp): * lib/readutmp.h (WTMP_FILE): * m4/readutmp.m4 (gl_READUTMP): * m4/stdint.m4: Update from Gnulib.
* | Improve boot-time gatheringPaul Eggert2023-08-122-0/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplify Emacs proper by using Gnulib’s boot-time module instead of doing it all by hand. This should port Emacs better to obscurish hosts, as Bruno Haible has merged the best of Emacs’s and Gnulib’s boot-time gathering. * lib/boot-time-aux.h, lib/boot-time.c, lib/boot-time.h: * lib/readutmp.h, m4/readutmp.m4: New files, copied from Gnulib. * admin/merge-gnulib (GNULIB_MODULES): Add boot-time. * configure.ac: Do not check for utmp.h; the boot-time module now does this. (BOOT_TIME_FILE): Remove; no longer used. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate. * src/filelock.c [__FreeBSD__]: Do not include <sys/sysctl.h>. [HAVE_UTMP_H]: Do not include utmp.h. Include boot-time instead: boot-time does the work now. (BOOT_TIME) [HAVE_ANDROID && !ANDROID_STUBIFY]: Don’t undef. (WTMP_FILE): Don’t define. (boot_time, boot_time_initialized, get_boot_time_1, get_boot_time): Remove. (get_boot_sec): New function that simply calls Gnulib get_boot_time. (lock_file_1, current_lock_owner): Use get_boot_sec instead of get_boot_time.
* | Avoid stpncpyPaul Eggert2023-08-122-118/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | It’s not worth the porting hassle, and as the glibc manual says, “this function is generally a poor choice for processing strings”. * admin/merge-gnulib (GNULIB_MODULES): Remove stpncpy. * exec/configure.ac: Do not check for stpncpy. * exec/exec.c (rpl_stpncpy, stpncpy): Remove this replacement. (exec_0): Properly clear buffer1. Use memcpy instead of stpncpy to add the trailing name. This code is clearly still suboptimal but efficiency is not that important here and I tried to minimize the change. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
* | Update from Gnulib by running admin/merge-gnulibPaul Eggert2023-08-127-43/+50
| |
* | Update from Gnulib, remove printf-posixPo Lu2023-08-0728-5831/+0
| | | | | | | | | | | | | | | | | | | | * m4, lib: Update from Gnulib. * msdos/sedlibmk.inp: Remove variables deleted as part of previous change. * admin/merge-gnulib (GNULIB_MODULES): Remove vasprintf and printf-posix.
* | ; Update from GnulibPo Lu2023-07-102-52/+152
| | | | | | | | | | | | | | * lib/vasnprintf.c (VASNPRINTF): * m4/printf.m4 (gl_SWPRINTF_WORKS): (gl_SWPRINTF_DIRECTIVE_LA): * m4/vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE):
* | Merge remote-tracking branch 'origin/master' into feature/androidPo Lu2023-07-104-265/+33
|\ \
| * | Simplify ‘configure’ check for MB_CUR_MAXPaul Eggert2023-07-091-300/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * admin/merge-gnulib: Remove m4/locale-fr.m4. * configure.ac (gt_LOCALE_FR_UTF8): Replace Gnulib’s definition with a near no-op, as Emacs doesn’t care about the Solaris 10 MB_CUR_MAX bug. * lib/gnulib.mk.in: Regenerate. * m4/locale-fr.m4: Remove; no longer needed due to above changes.
| * | Update from Gnulib by running admin/merge-gnulibPaul Eggert2023-07-094-54/+122
| | |