1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-28 07:50:48 -08:00
emacs/test/lisp
Po Lu 11f44ec6dd Enable DND handlers to receive more than one URI at a time
* doc/lispref/frames.texi (Drag and Drop): Illustrate the effect
of the dnd-multiple-handler property and how convergent handlers
are reconciled.

* etc/NEWS (Lisp Changes in Emacs 30.1): Announce this change.

* lisp/dnd.el (dnd-protocol-alist): Bring doc string up to date.
(dnd-handle-one-url): Obsolete this function.
(dnd-handle-multiple-urls): New function.

* lisp/pgtk-dnd.el (pgtk-dnd-handle-uri-list)
(pgtk-dnd-handle-file-name):

* lisp/term/android-win.el (android-handle-dnd-event):

* lisp/term/haiku-win.el (haiku-drag-and-drop):

* lisp/term/ns-win.el (ns-drag-n-drop):

* lisp/term/w32-win.el (w32-handle-dropped-file):

* lisp/x-dnd.el (x-dnd-handle-uri-list, x-dnd-handle-file-name):
Reimplement in terms of `dnd-handle-multiple-uris'.

* lisp/term/pgtk-win.el (pgtk-drag-n-drop)
(pgtk-drag-n-drop-other-frame, pgtk-drag-n-drop-as-text): Efface
detritus that remained after the removal of the old PGTK drag
and drop implementation.

* test/lisp/dnd-tests.el (ert-x, dnd-tests-list-1)
(dnd-tests-list-2, dnd-tests-list-3, dnd-tests-list-4)
(dnd-tests-local-file-function, dnd-tests-remote-file-function)
(dnd-tests-http-scheme-function, dnd-tests-browse-url-handler)
(dnd-tests-receive-multiple-urls): New tests.
2023-10-26 11:38:18 +00:00
..
align-resources Support lua-ts-mode in align.el 2023-10-21 12:25:25 +02:00
auth-source-resources
bookmark-resources
calc Actually check the result of equal comparisons in tests 2023-08-14 17:03:44 +02:00
calendar Revert "Mark two tests as expensive" 2023-09-16 19:09:04 +02:00
cedet Split up tests in bovine/gcc-tests.el 2023-08-28 22:07:23 +02:00
custom-resources
dired-resources/insert-directory
emacs-lisp Move lexical-binding warning from checkdoc to byte-compiler 2023-10-21 15:12:55 +02:00
emulation
epg-resources
erc ; Fix my last commit 2023-10-23 15:10:37 +02:00
eshell Add a new Eshell special reference type for markers 2023-10-24 12:28:00 -07:00
faces-resources
files-resources
gnus Remove useless unwind-protect forms, or make them useful as intended 2023-04-07 19:08:33 +02:00
hfy-cmap-resources
image Revert "Fix image-dired-utils-tests after 83b6a8a514 (bug#61394)" 2023-08-03 11:40:44 +03:00
international Merge from origin/emacs-29 2023-09-23 09:32:57 -04:00
loadhist-resources
mail
mh-e
minibuffer-resources
net ; Fix webjump test after recent change 2023-10-25 23:26:33 +02:00
nxml
obsolete
org
pcmpl-linux-resources
play
progmodes Various improvements to lua-ts-mode (Bug#66159) 2023-10-23 10:07:52 +02:00
saveplace-resources
so-long-tests
term
textmodes Fix font locking of booleans in conf-toml-mode 2023-08-01 14:39:30 +02:00
time-resources
url
use-package Fix use-package :vc keyword when byte-compiled 2023-06-03 10:27:46 +03:00
vc Use new ERT skip-when macro in tests 2023-09-04 18:25:18 +02:00
xdg-resources
abbrev-tests.el
align-tests.el ; * test/lisp/align-tests.el: Pacify warning. 2023-10-23 12:59:13 +02:00
allout-tests.el
allout-widgets-tests.el
ansi-color-tests.el
ansi-osc-tests.el
apropos-tests.el
arc-mode-tests.el Clean up files created by arc-mode-tests 2023-05-10 14:48:34 +02:00
auth-source-pass-tests.el
auth-source-tests.el Fix auth-source-macos-keychain (bug#64977) 2023-08-13 18:31:47 +02:00
autoinsert-tests.el
autorevert-tests.el Use new ERT skip-when macro in tests 2023-09-04 18:25:18 +02:00
battery-tests.el
bookmark-tests.el
buff-menu-tests.el
button-tests.el
calculator-tests.el Add test for calculator-exp 2023-08-16 21:27:50 +02:00
char-fold-tests.el
color-tests.el
comint-tests.el
completion-tests.el
cus-edit-tests.el ; * test/lisp/cus-edit-tests.el: remove unused var (bug#63290) 2023-08-21 17:05:53 +02:00
custom-tests.el
dabbrev-tests.el
delim-col-tests.el
descr-text-tests.el
desktop-tests.el
dired-aux-tests.el
dired-tests.el ; * test/lisp/dired-tests.el (dired-test-bug27243-03): fix unwind 2023-08-14 17:03:44 +02:00
dired-x-tests.el
dnd-tests.el Enable DND handlers to receive more than one URI at a time 2023-10-26 11:38:18 +00:00
dom-tests.el
edmacro-tests.el
electric-tests.el
elide-head-tests.el
env-tests.el
epg-config-tests.el
epg-tests.el Skip hanging EasyPG tests on GnuPG 2.4 2023-08-29 00:48:54 +02:00
faces-tests.el
ffap-tests.el
filenotify-tests.el New filenotify tests 2023-10-12 11:02:53 +02:00
files-tests.el Merge from origin/emacs-29 2023-10-16 09:02:39 +02:00
files-x-tests.el
find-cmd-tests.el Avoid using rx any for not-newline 2023-05-30 17:44:53 +02:00
font-lock-tests.el
format-spec-tests.el
help-fns-tests.el Make describe-keymap tests more robust 2023-08-08 03:54:02 +02:00
help-mode-tests.el
help-tests.el Rename describe-map-tree to help--describe-map-tree 2023-09-17 22:56:00 +02:00
hfy-cmap-tests.el
hi-lock-tests.el
hl-line-tests.el Remove useless unwind-protect forms, or make them useful as intended 2023-04-07 19:08:33 +02:00
htmlfontify-tests.el
ibuffer-tests.el Use new ERT skip-when macro in tests 2023-09-04 18:25:18 +02:00
ido-tests.el
image-file-tests.el
image-tests.el
imenu-tests.el
info-tests.el
info-xref-tests.el
isearch-tests.el
jit-lock-tests.el
json-tests.el
jsonrpc-tests.el
kmacro-tests.el
loadhist-tests.el
lpr-tests.el
ls-lisp-tests.el
man-tests.el
md4-tests.el
minibuffer-tests.el Correctly handle common prefixes in substring completion 2023-09-05 17:16:57 -04:00
misc-tests.el Add duplicate-region-final-position (bug#64185) 2023-07-01 12:41:09 +02:00
mouse-tests.el
mwheel-tests.el
newcomment-tests.el
obarray-tests.el
paren-tests.el
password-cache-tests.el
pcmpl-linux-tests.el
pcomplete-tests.el
proced-tests.el ; Fix copyright year in proced-tests.el 2023-08-29 21:40:38 +02:00
ps-print-tests.el
register-tests.el
repeat-tests.el
replace-tests.el
rot13-tests.el
saveplace-tests.el
scroll-lock-tests.el
server-tests.el Skip hanging tests on Cygwin (bug#65325) 2023-08-19 14:21:34 -04:00
ses-tests.el
shadowfile-tests.el Use new ERT skip-when macro in tests 2023-09-04 18:25:18 +02:00
shell-tests.el ; * test/lisp/shell-tests.el: Add tests for shell-dirtrack-mode (bug#64311) 2023-07-08 19:30:06 +03:00
simple-tests.el Revert "Mark two tests as expensive" 2023-09-16 19:09:04 +02:00
sort-tests.el
soundex-tests.el
startup-tests.el
subr-tests.el Fix condition-case-unless-debug with :success 2023-07-08 12:14:57 +01:00
tab-bar-tests.el
tabify-tests.el
tar-mode-tests.el
tempo-tests.el
term-tests.el Use new ERT skip-when macro in tests 2023-09-04 18:25:18 +02:00
thingatpt-tests.el
thread-tests.el Use new ERT skip-when macro in tests 2023-09-04 18:25:18 +02:00
time-stamp-tests.el
time-tests.el
timezone-tests.el
uniquify-tests.el ; * test/lisp/uniquify-tests.el (uniquify-home): Delete (bug#62621). 2023-08-03 17:04:41 +03:00
version-tests.el
wdired-tests.el
whitespace-tests.el
wid-edit-tests.el Avoid errors when a restricted-sexp widget is empty 2023-09-16 12:56:34 +03:00
x-dnd-tests.el
xdg-tests.el
xml-tests.el
xt-mouse-tests.el
yank-media-tests.el