aboutsummaryrefslogtreecommitdiffstats
path: root/m4 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update from Gnulib by running admin/merge-gnulibPaul Eggert8 days4-18/+33
| | | | | | | | * admin/merge-gnulib (GNULIB_MODULES): Add memeq, streq and remove stringeq, to adjust to a module splitup in Gnulib. * lib/memeq.c, lib/streq.c, lib/strnul.c, m4/memeq.m4, m4/streq.m4: New files. * lib/string.c, m4/stringeq.m4: Remove.
* Add SHA-3 support to secure-hashCollin Funk2026-02-232-0/+22
| | | | | | | | | | | | | | | | | | | | | | | * admin/merge-gnulib (GNULIB_MODULES): Add crypto/sha3-buffer. * lib/sha3.c: New file, imported by running admin/merge-gnulib. * lib/sha3.h: Likewise. * m4/sha3.m4: Likewise. * lib/gnulib.mk.in: Updated by admin/merge-gnulib. * m4/gnulib-comp.m4: Likewise. * src/fns.c: Include sha3.h (Fsecure_hash_algorithms): Add Qsha3_224, Qsha3_256, Qsha3_384, and Qsha3_512. (secure_hash): Likewise. (Fsecure_hash): List the SHA-3 algorithms in the docstring. (syms_of_fns): Define Qsha3_224, Qsha3_256, Qsha3_384, and Qsha3_512. * test/lisp/net/gnutls-tests.el (gnutls-tests-internal-macs-upcased): Filter out the new SHA-3 algorithms since they are currently not implemented in gnutls. * test/src/fns-tests.el (test-secure-hash): Add test cases for the new algorithms. * doc/lispref/text.texi (Checksum/Hash): List the SHA-3 algorithms. Mention that they are considered secure. * etc/NEWS: Mention the new feature.
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2026-02-231-1/+2
|
* Remove vla.hPaul Eggert2026-02-131-2/+0
| | | | | | | | Uses of <vla.h>’s macro VLA_ELEMS were removed some time ago. * admin/merge-gnulib (GNULIB_MODULES): Remove vla. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate. * lib/vla.h: Remove. * src/fns.c, src/lread.c: Do not include <vla.h>.
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2026-02-133-54/+46
|
* Adjust Android build system for recent changes to package requirementsPo Lu2026-01-251-1/+1
| | | | * m4/ndk-build.m4 (ndk_package_map): Map libwebp to webp.
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2026-01-1928-61/+64
|
* ; Add 2026 to copyright years.Sean Whitton2026-01-01146-163/+170
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-12-252-29/+67
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-12-121-27/+31
|
* Garbage-collect Gnulib sourcesPaul Eggert2025-12-094-211/+0
| | | | | | | | | | | Remove Gnulib sources no longer needed or used. admin/merge-gnulib is typically not smart enough to do that. * configure.ac: Do not call gl_EEMALLOC, as it is no longer supplied or needed. * lib/explicit_bzero.c, lib/malloc/scratch_buffer_dupfree.c: * lib/xalloc-oversized.h, m4/eealloc.m4, m4/explicit_bzero.m4: * m4/st_dm_mode.m4, m4/year2038.m4: Remove.
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-12-077-41/+90
| | | | | | * admin/merge-gnulib (AVOIDED_MODULES): Add strncpy, as Emacs is not likely to exercise the FreeBSD 15 strncpy bug that this module fixes. * lib/issymlinkat.h: New file, taken from Gnulib.
* Prefer C23 support if availablePaul Eggert2025-11-203-847/+748
| | | | | | | | | | | This merges in changes that were made to Autoconf master in April 2024. It causes ‘configure’ to prefer the C compiler to enable C23 features if possible; otherwise, ‘configure’ behaves as before, using C11 if available and C99 if not. * admin/merge-gnulib (GNULIB_MODULES): Add std-gnu23. (AVOIDED_MODULES): Add (i.e., start avoiding) std-gnu11. * m4/std-gnu11.m4: Remove. * m4/std-gnu23.m4: Add.
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-11-201-3/+3
|
* Port Android build system to Autoconf < 2.70Po Lu2025-11-101-1/+7
| | | | | | * m4/ndk-build.m4 (ndk_INIT): Don't suppose that $ac_aux_dir will be terminated with a trailing slash on Autoconf 2.69 and earlier.
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-11-061-0/+1
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-11-063-15/+26
| | | | | * admin/merge-gnulib (GNULIB_MODULES): Add stdio-windows. Also, sort and remove duplicates.
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-11-0437-319/+260
| | | | | | | | | | | | | * admin/merge-gnulib (GNULIB_MODULES): Add stringeq. With current Gnulib it is already present as in indirect dependency; listing it here because Emacs now depends on it directly. * lib-src/ebrowse.c, lib-src/etags.c: (streq): Remove, as Gnulib defines this now. * lib/fseterr.c, lib/fseterr.h, lib/issymlink.c, lib/issymlink.h: * lib/issymlinkat.c, lib/stdio-consolesafe.c, lib/string.c: * m4/fseterr.m4, m4/gettext_h.m4, m4/stringeq.m4: New files from Gnulib. * src/conf_post.h (tzfree) [__ANDROID_API__ >= 35]: Remove.
* 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.