diff options
| author | Jan Djärv | 2013-12-19 11:25:48 +0100 |
|---|---|---|
| committer | Jan Djärv | 2013-12-19 11:25:48 +0100 |
| commit | 1269a680862a9bc6cd65e3d26ef05f68c7521632 (patch) | |
| tree | 1160cb3afcd5b77d2240c276029289ce38feffc1 /src/ChangeLog | |
| parent | 680e6b8c5a28489733df544edb074fd29d0522a0 (diff) | |
| download | emacs-1269a680862a9bc6cd65e3d26ef05f68c7521632.tar.gz emacs-1269a680862a9bc6cd65e3d26ef05f68c7521632.zip | |
Make NS port use the normal dnd functions.
* lisp/term/ns-win.el: Require dnd.
(global-map): Remove drag items.
(ns-insert-text, ns-set-foreground-at-mouse)
(ns-set-background-at-mouse): Remove
(ns-drag-n-drop, ns-drag-n-drop-other-frame)
(ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame): New
functions.
* src/nsterm.h (KEY_NS_DRAG_FILE, KEY_NS_DRAG_COLOR, KEY_NS_DRAG_TEXT):
Remove.
* src/nsterm.m (Qfile, Qurl): New.
(EV_MODIFIERS2): New macro.
(EV_MODIFIERS): Use EV_MODIFIERS2.
(ns_term_init): Remove font and color from DND, does not work on
newer OSX, and other ports don't have them.
(performDragOperation:): Handle modifiers used during drag.
Use DRAG_N_DROP_EVENT instead of NS specific events.
Remove global Lisp variables used to communicate with ns-win.el.
Remove font and color handling.
(syms_of_nsterm): Defsym Qfile and Qurl.
Fixes: debbugs:8051
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e7f30f25800..283777cbcdf 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | 2013-12-19 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * nsterm.h (KEY_NS_DRAG_FILE, KEY_NS_DRAG_COLOR, KEY_NS_DRAG_TEXT): | ||
| 4 | Remove. | ||
| 5 | |||
| 6 | * nsterm.m (Qfile, Qurl): New. | ||
| 7 | (EV_MODIFIERS2): New macro. | ||
| 8 | (EV_MODIFIERS): Use EV_MODIFIERS2. | ||
| 9 | (ns_term_init): Remove font and color from DND, does not work on | ||
| 10 | newer OSX, and other ports don't have them. | ||
| 11 | (performDragOperation:): Handle modifiers used during drag. | ||
| 12 | Use DRAG_N_DROP_EVENT instead of NS specific events (Bug#8051). | ||
| 13 | Remove global Lisp variables used to communicate with ns-win.el. | ||
| 14 | Remove font and color handling. | ||
| 15 | (syms_of_nsterm): Defsym Qfile and Qurl. | ||
| 16 | |||
| 1 | 2013-12-19 Anders Lindgren <andlind@gmail.com> | 17 | 2013-12-19 Anders Lindgren <andlind@gmail.com> |
| 2 | 18 | ||
| 3 | * nsterm.m (NSTRACE_SIZE, NSTRACE_RECT): New macros. | 19 | * nsterm.m (NSTRACE_SIZE, NSTRACE_RECT): New macros. |