1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
Commit graph

174722 commits

Author SHA1 Message Date
Michael Albinus
7744119025 Use a persistent directory as default directory in diff
* lisp/vc/diff.el (diff-no-select): Use `temporary-file-directory'
as default directory.  Set default file permissions temporarily to
#o600.  (Bug#69606)

(cherry picked from commit ae439cc1b9)
2025-02-23 20:47:34 +01:00
Stefan Kangas
ac7f2054b5 Sync build-aux/update-copyright from Gnulib
* build-aux/update-copyright: Copy from Gnulib.  This fixes a bug
where troff markers were introduced in ChangeLog files.
(Do not merge to master.)
2025-02-23 20:47:34 +01:00
Stefan Kangas
e9c9ed1f46 Minor refactoring in admin/admin.el
* admin/admin.el (admin--read-root-directory):
(admin--read-version): New functions.
(add-release-logs, set-version, set-copyright, make-manuals)
(make-manuals-dist, make-news-html-file): Use above new function.
2025-02-23 20:47:34 +01:00
Stefan Kangas
a8b1726487 ; * admin/make-tarball.txt: Copy edits. 2025-02-23 20:47:34 +01:00
Stefan Kangas
2db182ce0b Bump Emacs version to 30.1.50
* README:
* configure.ac:
* etc/NEWS:
* exec/configure.ac:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version to 30.1.50.
2025-02-23 20:39:42 +01:00
Stefan Kangas
8ac894e224 Release Emacs 30.1
* ChangeLog.5: New file.
* Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump.
* etc/HISTORY: Add Emacs 30.1.
2025-02-23 17:30:57 +01:00
Stefan Kangas
bcba098505 ; * ChangeLog.4: Update. 2025-02-23 17:19:47 +01:00
Stefan Kangas
1cda0967b4 Mention CVE-2025-1244 in NEWS
* etc/NEWS: Document CVE-2025-1244.

For anyone looking to backport this, the fix is in commit
820f0793f0.
2025-02-23 16:31:03 +01:00
Yuan Fu
2dbf7d0b1b
Use character position for ranges in treesit_sync_visible_region
* src/treesit.c (treesit_sync_visible_region): Use character position
instead of byte position when comparing to ranges, because the
ranges are in character position.
2025-02-23 00:08:56 -08:00
Eli Zaretskii
9c1d13c89a ; * admin/authors.el (authors-aliases): Add Vladimir Nikishkin. 2025-02-22 12:07:16 +02:00
Eli Zaretskii
443df12edd ; * INSTALL.REPO: Minor copyedits. 2025-02-22 09:16:05 +02:00
Ulrich Müller
76b938fc1d ; Don't fail image tests if jpeg is supported via imagemagick
* test/lisp/image-tests.el (image-supported-file-p/optional):
Consider also the imagemagick case.  (Bug#76465)
2025-02-21 13:02:58 +01:00
Ulrich Müller
f8ff9592be ; Skip autorevert test when notify support is missing
* test/lisp/autorevert-tests.el
(auto-revert-test07-auto-revert-several-buffers): Skip if file
notification support is not available.  (Bug#76459)
2025-02-21 13:02:58 +01:00
Ulrich Müller
230ecb1e27 ; Skip shr-test/zoom-image test if png or libxml support is missing
* test/lisp/net/shr-tests.el (shr-test/zoom-image): Skip if png
images or libxml are not supported.  (Bug#76464)
2025-02-21 12:58:20 +01:00
Ulrich Müller
cc51bd5698 ; Skip image type test if support is missing
* test/lisp/image-tests.el (image-type-from-file-name): Skip if
image types are not available.  (Bug#76462)
2025-02-21 12:58:20 +01:00
Po Lu
25ba253609 Fix reported Haiku build error in emacs-30.1-rc1
* src/haiku_support.cc (keysym_from_raw_char): Don't define
duplicate cases on the previous release.
2025-02-21 13:28:55 +08:00
Stefan Kangas
92e96a1175 ; Delete troff markers from ChangeLog files 2025-02-20 02:46:43 +01:00
Stefan Kangas
5e9c027e20 ; * Update 'ldefs-boot.el' (do not merge) 2025-02-20 02:36:41 +01:00
Stefan Kangas
f255b8854a Bump Emacs version to 30.1
* README:
* configure.ac:
* exec/configure.ac:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version to 30.1.
2025-02-20 00:47:07 +01:00
Stefan Kangas
3515ff95bc Update files for Emacs 30.1
* ChangeLog.4:
* etc/AUTHORS: Update for Emacs 30.1.
2025-02-20 00:46:32 +01:00
Stefan Kangas
375c3622e2 ; Fix typo introduced in "* ChangeLog.4: Reformat down to 28 March 2024." 2025-02-20 00:30:15 +01:00
Po Lu
ded77fefff Fix remaining Android bugs reported over the past months
* java/org/gnu/emacs/EmacsActivity.java (attachWindow):
Guarantee that child windows promoted to toplevels receive
layout parameters that direct them to receive their parents'
dimensions.  Otherwise, the size of the window as a child is
retained on Huawei HarmonyOS 4.2 and possibly other Android
distributions.

* java/org/gnu/emacs/EmacsService.java (updateCursorAnchorInfo):
Run anchor updates on the UI thread, as
`InputMethodManager#updateCursorAnchorInfo' is liable to call
`View#requestLayout'.

* java/org/gnu/emacs/EmacsView.java (onMeasure): Always call
`measureChildren', or child frames' onLayout handlers might not
be invoked after they request a layout cycle and are duly
processed in `onLayout'.
(swapBuffers): Delete erroneous commentary.

* java/org/gnu/emacs/EmacsWindow.java (viewLayout): If
overrideRedirect, don't inadvertently clear rect.left and
rect.top by recording the window's WM window-relative position.
Fix typos.
(reparentTo): Invalidate focus after transferring frame.
(translateCoordinates): Account for override-redirect windows.
Mostly important for mouse-drag-and-drop-region.
2025-02-19 20:40:12 +08:00
Po Lu
e97be722d3 Properly move existing tooltips on Android
* java/org/gnu/emacs/EmacsWindow.java (requestViewLayout): If an
override redirect window, additionally notify the window manager
of layout changes.
2025-02-19 15:34:51 +08:00
Po Lu
0cf3d34152 ; * ChangeLog.4: Reformat down to 28 March 2024. 2025-02-19 15:33:59 +08:00
Po Lu
ccaa0be8e7 ; * ChangeLog.4: Check in ommitted change. 2025-02-18 20:51:31 +08:00
Po Lu
b5410cbea2 ; * ChangeLog.4: Fix log entries down to the 1 May 2024. 2025-02-18 20:47:32 +08:00
Stefan Kangas
be7625cae7 ; Fix typos 2025-02-18 05:42:12 +01:00
Stefan Kangas
d447cd9fcc ; * ChangeLog.4: Update. 2025-02-18 05:42:12 +01:00
Stefan Kangas
5dc2a57375 ; * admin/authors.el (authors-ignored-files): Ignore gnus-nocem.el. 2025-02-18 05:42:12 +01:00
Po Lu
e3dc0ea254 Fix crash in frame deletion on Android
* java/org/gnu/emacs/EmacsWindow.java (destroyHandle):
Invalidate the input focus in the UI thread, as is proper.
2025-02-17 11:33:50 +08:00
Po Lu
e34ea5db5f * src/pgtkterm.c (pgtk_enumerate_devices): Circumvent bug#76239. 2025-02-17 10:56:45 +08:00
Michael Albinus
48f9d6aafe * lisp/man.el (Man-shell-file-name): Ensure a Bourne shell. (Bug#75308) 2025-02-16 11:00:46 +01:00
Eli Zaretskii
7016c13e5e ; Update etc/AUTHORS (bug#76319). 2025-02-16 02:03:06 -05:00
Eli Zaretskii
0bc7b5a389 ; * admin/authors.el (authors-aliases): Add "Elías Gabriel Pérez" (bug#76319). 2025-02-16 08:49:12 +02:00
Eli Zaretskii
e9c4f642b9 ; * doc/emacs/package.texi (Package Installation): Add omitted index entry. 2025-02-15 12:12:30 +02:00
Eli Zaretskii
8c4294f370 ; Move index entries in user manual
* doc/emacs/package.texi (Packages): Move index entries from here...
(Package Installation): ...to here.  Index entries should be where
the main description of the subject can be found.
2025-02-15 12:08:41 +02:00
Po Lu
58e4bfe340 Add two missing NULL checks of malloc'd values on Android
* src/android.c (sendDndUri, sendDndText): Verify that allocated
string memory is non-nil before writing to it.
2025-02-15 16:58:18 +08:00
Po Lu
81ca9c75f1 ; * etc/PROBLEMS: Document how to grant storage permissions on Wear OS. 2025-02-15 14:46:40 +08:00
Stefan Kangas
d82d468979 ; * etc/TODO: Rethink finder-known-keywords. 2025-02-13 22:09:44 +01:00
Stefan Kangas
b9b9c33dcb Fix (Non)GNU ELPA description in manual
* doc/emacs/package.texi (Packages): Move detailed (Non)GNU ELPA
description...
(Package Installation): ...here, and fix incorrect information.
2025-02-13 16:42:01 +01:00
Stefan Kangas
87a61eba1b Move 'package-archives' documentation to emacs manual
* doc/lispref/package.texi (Package Archives): Move documentation
of package-archives variable from here...
* doc/emacs/package.texi (Package Installation): ...to here.
(Bug#76266)
2025-02-13 16:40:15 +01:00
Eli Zaretskii
316e47c5af ; * src/fns.c (Fmapconcat): Doc fix (bug#76242). 2025-02-13 11:03:26 +02:00
Stefan Kangas
3cfbeb3fca ; Fix >72 character long lines in docstring 2025-02-13 08:45:42 +01:00
Stefan Kangas
c68886ddb7 ; Change "virus" to "malicious" in lispref
* doc/lispref/functions.texi (Function Safety): Replace 'virus' with
'malicious' to ensure broader accuracy, as 'malicious' encompasses all
harmful software types.
2025-02-13 03:04:30 +01:00
Stefan Kangas
6701866be4 Document (Non-)GNU ELPA in emacs manual
* doc/emacs/package.texi (Packages): Document GNU ELPA and NonGNU
ELPA.  (Bug#59609)
2025-02-12 16:40:04 +01:00
Stefan Kangas
02851768b7 ; * .mailmap: Add entry for Thuna. (Bug#76221)
Note that this is deliberately different from the display in
AUTHORS, on request from the author.
2025-02-12 15:33:32 +01:00
Robert Pluim
2d7a8cbf4c Fix author name
* admin/authors.el (authors-aliases): Fix entry for
"thuna.cing@gmail.com"  (Bug#76221).
2025-02-12 14:03:49 +01:00
Yuan Fu
1931425748
Use c-ts-common's comment setup in go-ts-mode (bug#75978)
c-ts-common-comment-setup sets up fill-paragraph-function, which
enables filling for comments.

* lisp/progmodes/go-ts-mode.el (go-ts-mode):
(go-mod-ts-mode): Use c-ts-common-comment-setup.
2025-02-11 20:39:33 -08:00
Robert Brown
316893ca38 Add java-language-server to eglot-server-programs
* lisp/progmodes/eglot.el (eglot-server-programs): Add support for Java
server <https://github.com/georgewfraser/java-language-server>.
(Bug#59138)

Copyright-paperwork-exempt: yes
2025-02-12 04:20:51 +01:00
Po Lu
ea3a937176 ; Add a utility script for retrieving Android port dependencies
* admin/download-android-deps.sh: New file.
2025-02-12 11:14:37 +08:00