summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Rebuild for athena's apt repositorydebian/29_git20220317.1_bpo11+1_athena1Sean Whitton2022-03-17
|
* Merge branch 'athena/unstable' into athena/bullseye-backportsSean Whitton2022-03-17
|\
| * Rebuild for athena's apt repositorydebian/29_git20220317.1Sean Whitton2022-03-17
| |
| * changelogSean Whitton2022-03-17
| |
| * Merge remote-tracking branch 'origin/master' into athena/unstableSean Whitton2022-03-17
| |\
| | * Put bytecode stack frame metadata in a structMattias Engdegård2022-03-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using a plain C struct instead of type-punning Lisp_Object stack slots makes the bytecode interpreter code more type-safe and potentially faster (from better alias analysis), and the special-purpose accessors are no longer needed. It also reduces the stack requirements when using 64-bit Lisp_Object on 32-bit platforms. * src/bytecode.c (enum stack_frame_index) (sf_get_ptr, sf_set_ptr, sf_get_lisp_ptr, sf_set_lisp_ptr, sf_get_saved_pc, sf_set_saved_pc): Remove. (BC_STACK_SIZE): Now in bytes, not Lisp words. (struct bc_frame): New. (init_bc_thread, mark_bytecode, Finternal_stack_stats, valid_sp) (exec_byte_code): * src/lisp.h (struct handler, get_act_rec, set_act_rec): Adapt to new struct bc_frame.
| | * Restore HOME after mailcap-parsing-and-mailcap-mime-infoLars Ingebrigtsen2022-03-17
| | | | | | | | | | | | | | | | | | * test/lisp/net/mailcap-tests.el (mailcap-parsing-and-mailcap-mime-info): Restore HOME after the test (bug#54435).
| | * Enable Tramp reloadingMichael Albinus2022-03-17
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-file-name): Add ;;;###tramp-autoload cookie. (Bug#50869) * test/lisp/net/tramp-tests.el (tramp-test47-unload): Do not skip. Test reload.
| | * * lisp/emacs-lisp/cl-generic.el (cl-defgeneric): Warn suspicious argsStefan Monnier2022-03-17
| | |
| | * Avoid repeated prompts in `M-x shell' if using ~/.emacs_bashLars Ingebrigtsen2022-03-17
| | | | | | | | | | | | | | | * lisp/shell.el (shell): Use `shell-eval-command' to avoid repeated prompts (bug#9961).
| | * Make shell-resync-dirs work with zshLars Ingebrigtsen2022-03-17
| | | | | | | | | | | | | | | | | | * lisp/shell.el (shell-resync-dirs): Use shell-eval-command to avoid getting confused by zsh (bug#54384). (shell-eval-command): New function.
| | * (seq-contains-p): Refine the non-nil returned valueStefan Monnier2022-03-17
| | | | | | | | | | | | | | | * lisp/emacs-lisp/seq.el (seq-contains-p): Like `cl-some` return the value returned by the test function rather than t.
| | * Fix a use of 'cl-defgeneric'.Philipp Stephani2022-03-17
| | | | | | | | | | | | | | | * lisp/progmodes/xref.el (xref-match-length): Use 'cl-defmethod' instead of 'cl-defgeneric'.
| | * Make `?' work again in read-multiple-choiceLars Ingebrigtsen2022-03-17
| | | | | | | | | | | | | | | * lisp/emacs-lisp/rmc.el (read-multiple-choice): Make the `?' key work again to show the help text.
| | * Format long help texts better in read-multiple-choiceFelician Nemeth2022-03-17
| | | | | | | | | | | | | | | * lisp/emacs-lisp/rmc.el (rmc--show-help): Format long help texts better (bug#54430).
| | * Improve propagation of gnus/nnselect group infoAndrew G Cohen2022-03-17
| | | | | | | | | | | | | | | * lisp/gnus/nnselect.el (nnselect-push-info): Speed up pushing the nnselect info back to the originating groups.
| | * Fix bug in nnselect fetching new articles in a threadAndrew G Cohen2022-03-17
| | | | | | | | | | | | | | | * lisp/gnus/nnselect.el (nnselect-request-thread): Ignore the Retrieval Status Value in comparing whether articles are the same.
| | * Don't use the original sender's address as the envelope-fromSean Whitton2022-03-17
| | | | | | | | | | | | | | | | | | * lisp/gnus/message.el (message-resend): Avoid setting the envelope-from to the original sender's address rather than the resender's (bug#54429).
| | * Improve LaTeX symbol prettificationArash Esbati2022-03-17
| | | | | | | | | | | | | | | * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Support macros which used to be part of textcomp package.
| | * Prevent invisible frames from acting as drag sourcesPo Lu2022-03-17
| | | | | | | | | | | | | | | | | | * src/xterm.c (x_dnd_begin_drag_and_drop): Error out if f is invisible. It makes no sense for an invisible frame to be a drag source, so the function just hangs.
| | * * src/haikuselect.c (Fhaiku_drag_message): Clear display grab after drag ends.Po Lu2022-03-17
| | |
| | * Fix creating frames with an initial value of `fullscreen' on HaikuPo Lu2022-03-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | * src/haikufns.c (haiku_create_frame): Set configury_done and do pending fullscreen change if any. * src/haikuterm.c (haiku_fullscreen): Defer actually setting fullscreen until configury_done is set. * src/haikuterm.h (struct haiku_output): New field `configury_done'.
| | * Do not cache directories with Tramp sshfsMichael Albinus2022-03-17
| | | | | | | | | | | | | | | * lisp/net/tramp-sshfs.el (tramp-methods) <sshfs>: Add "-o dir_cache=no" to `tramp-mount-args'. (Bug#54126)
| | * Fix mouse movement on HaikuPo Lu2022-03-17
| | | | | | | | | | | | | | | * src/haiku_support.cc (MouseMoved): Make sure grab view exists before comparing against it.
| | * Display drag-and-drop messages in echo area on non-graphics displaysPo Lu2022-03-17
| | | | | | | | | | | | | | | | | | | | | * lisp/mouse.el (mouse-drag-and-drop-region-display-tooltip) (mouse-drag-and-drop-region-hide-tooltip): New functions. (mouse-drag-and-drop-region): Use them instead of calling `x-hide-tip' and `x-show-tip' directly.
| | * Fix compilation error of xterm.cEli Zaretskii2022-03-17
| | | | | | | | | | | | | | | * src/xterm.c (x_dnd_begin_drag_and_drop): Use current_count only if defined. Reported by Tassilo Horn <tsdh@gnu.org>.
| | * Prevent delivery of duplicate events when window is grabbed on HaikuPo Lu2022-03-17
| | | | | | | | | | | | | | | | | | | | | * src/haiku_support.cc (grab_view, grab_view_locker): New variables. (MouseMoved, MouseDown, MouseUp): Keep track of the grab and don't deliver motion events to any other view.
| | * * src/xterm.c (x_dnd_begin_drag_and_drop): Always initialize hold_quit.Po Lu2022-03-17
| | |
| | * Restore old PGTK scrolling codePo Lu2022-03-17
| | | | | | | | | | | | | | | * src/pgtkterm.c (pgtk_copy_bits): Restore old code using cairo_surface_create_similar. (bug#54040)
| | * Make GTK inspector available on PGTKPo Lu2022-03-17
| | | | | | | | | | | | | | | * src/pgtkfns.c (Fx_gtk_debug): New function. (syms_of_pgtkfns): Define new subr.
| | * ; * lisp/term/haiku-win.el (x-begin-drag): Fix compiler warning.Po Lu2022-03-17
| | |
| | * * lisp/term/haiku-win.el (x-begin-drag): Fix type code of B_MIME_TYPE.Po Lu2022-03-17
| | |
| | * Implement cross-program drag-and-drop on HaikuPo Lu2022-03-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/frames.texi (Drag and Drop): Fix documentation of `x-begin-drag' to match actual function arity. * lisp/term/haiku-win.el (haiku-dnd-selection-value): New variable. (haiku-dnd-selection-converters): New variable. (haiku-dnd-convert-string): New function. (gui-backend-get-selection, gui-backend-set-selection): Handle XdndSelection specially. (x-begin-drag): New function. * src/haiku_select.cc (be_create_simple_message) (be_add_message_data): New functions. * src/haiku_support.cc (WAIT_FOR_RELEASE): New message type. (class EmacsView, MouseUp): If waiting for release, reply and drop event. (be_drag_message, be_drag_message_thread_entry): New functions. * src/haiku_support.h: Update prototypes. * src/haikuselect.c (lisp_to_type_code, haiku_lisp_to_message) (Fhaiku_drag_message): New functions. (syms_of_haikuselect): Define new subr. * src/haikuselect.h: Update prototypes.
| | * Improve GTK support for X11 drag-n-dropPo Lu2022-03-17
| | | | | | | | | | | | | | | * src/xterm.c (x_dnd_begin_drag_and_drop): Run nested GTK event loop instead, so GTK gets the correct events.
| | * Simplify generate-new-buffer-name randomnessPaul Eggert2022-03-16
| | | | | | | | | | | | | | | | | | * src/buffer.c (Fgenerate_new_buffer_name): Simplify by calling get_random instead of Frandom; that’s random enough here.
| | * Improve random bignum generationPaul Eggert2022-03-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/bignum.c (get_random_limb, get_random_limb_lim) (get_random_bignum): New functions, for more-efficient generation of random bignums without using Frem etc. * src/fns.c (get_random_fixnum): New function. (Frandom): Use it, and get_random_bignum. Be consistent about signalling nonpositive integer arguments; since zero is invalid, Qnatnump is not quite right here. * src/sysdep.c (get_random_ulong): New function.
| | * Strip positions from symbols before the eval in eval-{when,and}-compile.Alan Mackenzie2022-03-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes bug #54079. * lisp/emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment): Change the position of 'byte-run-strip-symbol-positions' in the eval-when-compile entry. Add a call to `byte-run-strip-symbol-positions' in the eval-and-compile entry.
| | * Report buffer-name when local mode-line is invalidRobert Pluim2022-03-16
| | | | | | | | | | | | | | | * lisp/files.el (hack-local-variables-prop-line): Add '(buffer-name)' to the message reporting the malformed mode-line.
| | * Guard against custom entries that can contain NULsRobert Pluim2022-03-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are custom entries that contain lambda's as values by default, which can result in them containing embedded NULs after byte-compilation, which wreaks havoc when they are saved to .emacs and later read in. (Bug#52554) * lisp/cus-edit.el (custom-save-all): Bind print-escape-control-characters to t. * lisp/startup.el (startup--load-user-init-file): Bind inhibit-null-byte-detection to t.
| | * Improve error message for 'not running' processesRobert Pluim2022-03-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | The current error message is simply 'not running', but 'status_message' can give information about why the process is in that state, such as network errors, so return that as well. (Bug#53762) * src/process.c (send_process, Fprocess_send_eof): Add the output of 'status_message' to the error string.
| | * * lisp/net/tramp-sh.el (tramp-find-file-exists-command): Fix comment.Manuel Giraud2022-03-16
| | |
| | * Link with libdl when using pgtkRobert Pluim2022-03-16
| | | | | | | | | | | | | | | * configure.ac: Define LIBMODULES on GNU/Linux when using pgtk, even when not using modules, since pgtkterm.c uses dlsym. (Bug#54378)
| | * * doc/lispref/frames.texi (x-begin-drag): Improve wording.Po Lu2022-03-16
| | |
| | * Fix 32-bit Haiku buildPo Lu2022-03-16
| | | | | | | | | | | | | | | * src/haikuselect.h (be_enum_message): Fix declaration for 32-bit types.
| | * Add support for dropping plain text on HaikuPo Lu2022-03-16
| | | | | | | | | | | | | | | * haiku-win.el (haiku-dnd-handle-drag-n-drop-event): Handle `text/plain'.
| | * Redo Haiku DND supportPo Lu2022-03-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/term/haiku-win.el (haiku-dnd-handle-drag-n-drop-event): Update for new DND event format. * src/haiku_io.c (haiku_len): Handle DRAG_AND_DROP_EVENTs. * src/haiku_select.cc (be_enum_message, be_get_refs_data) (be_get_message_data): New function. * src/haiku_support.cc (class Emacs): Remove `RefsReceived'. (MessageReceived): Generate new kind of drag-n-drop events. * src/haiku_support.h (enum haiku_event_type): Rename `REFS_EVENT' to `DRAG_AND_DROP_EVENT'. (struct haiku_refs_event): Delete struct. (struct haiku_drag_and_drop_event): New struct. * src/haikuselect.c (haiku_message_to_lisp): New function. (syms_of_haikuselect): New symbols. * src/haikuselect.h: Update prototypes. * src/haikuterm.c (haiku_read_socket): Handle new type of drag-and-drop events by serializing drop message to Lisp and letting Lisp code do the processing. * src/haikuterm.h: Update prototypes.
| | * Fix last change in frames.texiEli Zaretskii2022-03-16
| | | | | | | | | | | | | | | * doc/lispref/frames.texi (Drag and Drop): Improve and clarify the wording.
| | * Pacify compiler warning in handle_one_xeventPo Lu2022-03-16
| | | | | | | | | | | | | | | | | | * src/xterm.c (x_dnd_get_target_window): Set proto_out even if it won't be used because target is None. Reported by Lars Ingebrigtsen <larsi@gnus.org>.
| | * Correct last change for return-frame dragsPo Lu2022-03-16
| | | | | | | | | | | | | | | * src/xterm.c (handle_one_xevent): Use `x_any_window_to_frame' to determine `x_dnd_return_frame_object'.
| | * Fix minor bugs with XDND supportPo Lu2022-03-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/mouse.el (mouse-drag-and-drop-region): Report more selection targets for the benefit of Qt and Mozilla. * lisp/select.el (xselect--encode-string) (selection-converter-alist): Add new selection targets. * src/xterm.c (x_dnd_get_window_proxy): New function. (x_dnd_get_target_window): New argument proto_out, and return first window with XdndAware instead of bottommost window. (handle_one_xevent): Use new argument `proto_out'.