aboutsummaryrefslogtreecommitdiffstats
path: root/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2026-01-1939-118/+111
|
* Merge Gnulib save-cwd.c changesPaul Eggert2026-01-191-8/+9
| | | | | * lib/save-cwd.c: Propagate changes from Gnulib sibling. This doesn’t affect behavior.
* ; Add 2026 to copyright years.Sean Whitton2026-01-01232-250/+266
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-12-253-52/+71
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-12-1260-743/+668
|
* Garbage-collect Gnulib sourcesPaul Eggert2025-12-093-181/+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-0716-135/+262
| | | | | | * 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.
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-11-2515-251/+29
|
* * lib/strnlen.c (strnlen): Fix syntax error in Gnulib module.Po Lu2025-11-211-1/+2
|
* Prefer C23 support if availablePaul Eggert2025-11-201-1/+2
| | | | | | | | | | | 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-2026-257/+237
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-11-061-1/+1
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-11-061-0/+50
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-11-063-11/+27
| | | | | * admin/merge-gnulib (GNULIB_MODULES): Add stdio-windows. Also, sort and remove duplicates.
* A better fix for recent changes in Gnulib's acl_entries.cEli Zaretskii2025-11-061-1/+1
| | | | | | | | | | See https://lists.gnu.org/archive/html/emacs-devel/2025-11/msg00145.html for the related discussions. * nt/mingw-cfg.site (ac_cv_func_acl_entries): Set to "yes" to disable compilation of lib/acl_entries.c on MinGW. * lib/acl_entries.c (acl_entries): Revert last change, as it is no longer needed.
* Unbreak MinGW build broken by Gnulib mergeEli Zaretskii2025-11-051-1/+1
| | | | | | | | * lib/acl_entries.c (acl_entries): Make it no-op for MinGW, as it was before. Without this, acl_entries doesn't compile on MinGW. * nt/gnulib-cfg.mk (OMIT_GNULIB_MODULE_issymlink) (OMIT_GNULIB_MODULE_issymlinkat): Disable these Gnulib modules.
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-11-0472-717/+1431
| | | | | | | | | | | | | * 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-023-20/+96
| | | | * lib/sys-limits.h: New file.
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-07-298-69/+219
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-06-291-0/+4
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-06-2718-212/+503
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-05-082-24/+46
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-05-089-26/+117
| | | | | | | | | | | | 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.
* Render lib/getloadavg.c patches more permanentPo Lu2025-04-211-0/+1
| | | | | | | | | * admin/gnulib-patches/lib/getloadavg.c.diff: New file. * admin/merge-gnulib (GNULIB_TOOL_FLAGS): Set --local-dir to admin/gnulib-patches. * lib/gnulib.mk.in: Update from Gnulib.
* Temporary fix for compilation on Android API levels <= 13Po Lu2025-04-201-1/+2
| | | | | | * lib/getloadavg.c (getloadavg): Don't use sysinfo on Android API levels <= 13. This will be resolved in Gnulib shortly, with any luck.
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-04-1925-115/+371
|
* Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-02-074-15/+28
|
* Merge branch 'scratch/no-purespace' into 'master'Stefan Kangas2025-02-011-8/+2
|\
| * Unexec removal: Remove HYBRID_MALLOC supportPip Cet2024-12-121-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/gmalloc.c (gdefault_morecore): Remove HYBRID_MALLOC code. (allocated_via_gmalloc, hybrid_malloc, hybrid_calloc, hybrid_free_1) (hybrid_free, hybrid_aligned_alloc, hybrid_realloc): Remove functions. * msdos/sed1v2.inp: * msdos/sedlibmk.inp: * src/alloc.c (GC_MALLOC_CHECK, USE_ALIGNED_ALLOC) (refill_memory_reserve, aligned_alloc): * src/emacs.c (main): * src/lastfile.c (my_edata): * src/lisp.h: * src/ralloc.c: * src/sysdep.c (get_current_dir_name_or_unreachable): * src/xdisp.c (decode_mode_spec): Remove HYBRID_MALLOC conditions. * configure.ac (hybrid_malloc, HYBRID_MALLOC): Remove variables and dependent code. * src/conf_post.h (hybrid_malloc, hybrid_calloc, hybrid_free) (hybrid_aligned_alloc, hybrid_realloc): Remove conditional prototypes. * src/Makefile.in (HYBRID_MALLOC): Remove variable. (base_obj): Remove sheap.o (LIBEGNU_ARCHIVE): * lib/Makefile.in (libgnu_a_OBJECTS): Remove libegnu.a support.
* | Remove unnecessary stdalign.in.hPaul Eggert2025-01-181-49/+0
| | | | | | | | | | | | | | | | * lib/stdalign.in.h: Remove. This file was already removed in commit b429274c5b4b2b511d2d351111dea2d354498e0f (2023-02-04) but was brought back mistakenly by a merge from emacs-29 in commit ecf08f0621c25ad1dfadd96399e204c389ab1695 (2024-01-02). * nt/inc/stdalign.h: Don’t mention removed file in comment.
* | Let Gnulib deal with malloc/realloc 0Paul Eggert2025-01-171-6/+2
| | | | | | | | | | | | | | | | | | | | | | 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-172-0/+20
| |
* | Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-01-163-10/+14
| |
* | Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-01-158-50/+136
| |
* | Update from Gnulib by running admin/merge-gnulibPaul Eggert2025-01-0138-123/+125
| |
* | Update copyright year to 2025Paul Eggert2025-01-01227-245/+262
| | | | | | | | Run "TZ=UTC0 admin/update-copyright".
* | Update from Gnulib by running admin/merge-gnulibPaul Eggert2024-12-2611-23/+30
| |
* | Update from Gnulib by running admin/merge-gnulibPaul Eggert2024-12-1730-439/+949
|/ | | | | | * 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-1715-106/+125
|
* Revert "Fix MinGW build broken by recent update from Gnulib"Eli Zaretskii2024-09-061-15/+0
| | | | | This reverts commit b737c6125d69497ad5d2a29d4b5a2b17698992e5. It is no longer needed with the introduction of nt/inc/signal.h.
* Revert "; Fix last change in lib/sig2str.h."Eli Zaretskii2024-09-061-5/+0
| | | | | This reverts commit 91e7b47d6c56e7963be232de8057e1a3f710f1b5. It is no longer needed with the introduction of nt/inc/signal.h.
* Revert "; Another fix for str2sig.h"Eli Zaretskii2024-09-061-2/+2
| | | | | This reverts commit df57e44a08fd5c7dc159254a40f5d2e4d008e8df. It is no longer needed with introduction of nt/inc/signal.h.
* ; Another fix for str2sig.hEli Zaretskii2024-09-051-2/+2
|
* ; Fix last change in lib/sig2str.h.Eli Zaretskii2024-09-051-0/+5
|
* Fix MinGW build broken by recent update from GnulibEli Zaretskii2024-09-051-0/+15
| | | | | | | | | Gnulib moved the prototypes of 'sig2str' and 'str2sig' from sig2str.h to signal.h, but MinGW does not use the Gnulib signal.h header, and doesn't have these functions in its own signal.h. * lib/sig2str.h (SIG2STR_MAX, sig2str, str2sig): Define and prototype if not already defined.
* ; Update from GnulibPo Lu2024-09-0535-680/+982
| | | | | | | * configure.ac: * src/conf_post.h: Remove workarounds now rendered redundant by Gnulib.
* Merge from origin/emacs-30Eli Zaretskii2024-08-311-1/+1
|\ | | | | | | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | | | | | | | | | | | | | | | * 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-164-30/+194
| |
* | * lib/timespec-sub.c: Copy manually from Gnulib.Paul Eggert2024-07-101-1/+1
| |