aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | ; * src/term.c (term_mouse_position): Fix 'fp' pointer.Juri Linkov2025-01-111-1/+1
| | |
* | | Fix handling of 'minibuffer' frame parameter for tty framesMartin Rudalics2025-01-111-4/+49
| | | | | | | | | | | | | | | | | | * src/frame.c (make_terminal_frame): Fix handling of 'minibuffer' frame parameter for tty child frames. Support 'minibuffer-only' child frames.
* | | ; * src/term.c (tty_frame_at, term_mouse_position): Fix last change.Eli Zaretskii2025-01-111-2/+6
| | |
* | | Merge from origin/emacs-30Eli Zaretskii2025-01-111-5/+5
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d66b8d4becb Fix checkbox's child creation 26c5fadf474 Document that 'package-vc' doesn't support built-in packages ee61b9a050b ; Fix documentation of completion commands ce43d13593a ; Simplify admin/run-codespell fa1470d0699 ; Remove duplicated word in files.el Commentary dabaea97465 Improve checkdoc-common-verbs-wrong-voice docstring 6de2ee5663d Document string-as-{unibyte,multibyte} as obsolete in manual 7f76f872ebf Fix go-ts-mode var spec indentation (Bug#75362) 01464fc882d Add "text" as a thing in tsx-ts-mode 59c57337923 Improve doc string of 'package-delete' 313a191d047 ; * admin/MAINTAINERS: Remove Kelvin White. 002960ceabf Clarify that 'mac' line ending convention is not used on ... 4210e065648 Add language server for Odin ee1034422b0 ; Improve documentation of function-type display 1c49edc4080 Modernize "Commentary" section of files.el 505c1123e18 * INSTALL: Add advice how to invoke 'make install'. (Bug... 82e16cae9cc Improve the documentation of 'key-valid-p' # Conflicts: # etc/NEWS # lisp/progmodes/typescript-ts-mode.el
| * | ; Fix documentation of completion commandsEli Zaretskii2025-01-111-5/+5
| | | | | | | | | | | | | | | | | | * src/minibuf.c (Fcompleting_read): Move part of doc string of 'read-from-minibuffer' to doc string of this function. Suggested by Eshel Yaron <me@eshelyaron.com>.
* | | Support TTY child frames with GPM mouseJared Finder2025-01-112-13/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/frame.el (x-list-fonts): Delete `frame-at', to move to C implementation. * lisp/xt-mouse.el (xterm-mouse-event): Call new `tty-frame-at'. * src/term.c (tty_frame_at, Ftty_frame_at): New C function, replacing `frame-at' only for TTYs. (term_mouse_position): Use last_mouse_frame when it is set. (handle_one_term_event): Call tty_frame_at to get frame under mouse, store it in last_mouse_frame. Alter event coordinates based on mouse frame. (syms_of_term): Add tty-frame-at, last_mouse_frame. * src/termhooks.h: Make Gpm_Event parameter const.
* | | Protect Vframe_list updating from interruptionsRobert Pluim2025-01-101-0/+2
| | | | | | | | | | | | | | | | | | * src/frame.c (delete_frame): When deleting the frame from Vframe_list, block input, since input can arrive whilst we're running lisp (Bug#74902).
* | | Have 'split-window' optionally resurrect deleted windowsMartin Rudalics2025-01-101-95/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/window.c (Fwindow_old_buffer): Handle deleted window as argument. (make_parent_window): Remove function. (Fsplit_window_internal): New argument REFER for resurrecting deleted windows. Incorporate functionality of defunct make_parent_window. (Fdelete_window_internal, delete_all_child_windows): Store any deleted window's buffer in the window's old_buffer slot. (window_dead_windows_table): Make it a 'value' type hash table so the sequence number cannot affect its weakness. * lisp/window.el (split-window): New argument REFER. * doc/lispref/windows.texi (Resurrecting Windows): New section. (Splitting Windows): Explain new argument REFER. (Window Hooks): Rewrite description of 'window-old-buffer'. * etc/NEWS: Mention new REFER argument for 'split-window'.
* | | Use the treesit thing 'list' with symbol property 'treesit-thing-symbol'Juri Linkov2025-01-101-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/parsing.texi (User-defined Things): Mention new functions 'treesit-forward-list', 'treesit-down-list', 'treesit-up-list', 'treesit-show-paren-data' that use the thing 'list' with the symbol property 'treesit-thing-symbol' (bug#73404). * lisp/treesit.el: Put the property 'treesit-thing-symbol' on the symbol 'list'. (treesit--forward-list-with-default, treesit-down-list) (treesit-up-list, treesit-navigate-thing) (treesit-show-paren-data--categorize, treesit-major-mode-setup): Replace 'sexp-list' with 'list'. * lisp/progmodes/c-ts-mode.el (c-ts-mode--thing-settings): * lisp/progmodes/js.el (js-ts-mode): * lisp/progmodes/ruby-ts-mode.el (ruby-ts-mode): * lisp/progmodes/typescript-ts-mode.el (typescript-ts-base-mode) (tsx-ts-mode): * lisp/textmodes/html-ts-mode.el (html-ts-mode): Replace 'sexp-list' with 'list'. * src/treesit.c (treesit_traverse_validate_predicate) (treesit_traverse_match_predicate): Check if the 'pred' symbol has the property 'Qtreesit_thing_symbol'. (syms_of_treesit): New symbol 'Qtreesit_thing_symbol'.
* | | In xt_action_hook don't act on deleted window's scroll bar (Bug#75120)Martin Rudalics2025-01-092-2/+2
| | | | | | | | | | | | | | | | | | | | | * src/xterm.c (xt_action_hook): Make sure window_being_scrolled is live (Bug#75120). * src/pdumper.c (dump_subr): Update pertinent hash of HASH_Lisp_Subr.
* | | ; Fix indentation in itree.cStefan Kangas2025-01-091-10/+10
| | |
* | | Improve 'gethash' docstringStefan Kangas2025-01-091-1/+4
| | | | | | | | | | | | | | | * src/fns.c (Fgethash): Improve docstring. Avoid exposing the C identifier 'dflt' to Lisp by providing a "usage:" string.
* | | ; * src/lisp.h (struct Lisp_Subr): Fix comment (again).Eli Zaretskii2025-01-081-2/+2
| | |
* | | ; * src/lisp.h (struct Lisp_Subr): Fix comment.Eli Zaretskii2025-01-081-2/+2
| | |
* | | Fix store_function_docstring for native subrs (Bug#74966)Pip Cet2025-01-083-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since native subrs can have either etc/DOC indexes or vector indexes, we use the sign bit of the 'doc' field to distinguish the two cases. * src/comp.c (native_function_doc, make_subr): Use one's complement of doc index for native subrs. * src/doc.c (store_function_docstring): Add assertion. * src/lisp.h (struct Lisp_Subr): Document 'doc' sign bit.
* | | ; Fix indentation in src/nsterm.hStefan Kangas2025-01-081-16/+16
| | | | | | | | | | | | Reduce the diff between master and scratch/igc.
* | | Move define_error declaration and docstringStefan Kangas2025-01-082-5/+4
| | | | | | | | | | | | | | | | | | * src/lisp.h (define_error): Move declaration to its proper place, make external, and move its docstring... * src/eval.c (define_error): ...to its function definition.
* | | ; Fix indentationStefan Kangas2025-01-081-2/+2
| | |
* | | Allow to remap 'header-line' faceEli Zaretskii2025-01-051-3/+19
| | | | | | | | | | | | | | | | | | | | | * src/xfaces.c (realize_basic_faces): Bind 'face-remapping-alist' to nil while realizing basic faces. (lookup_basic_face): Force realizing a face whose 'inherit' attribute is non-nil. (Bug#73862)
* | | Fix setup of coding-systems on MS-WindowsEli Zaretskii2025-01-052-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | * src/emacs.c (main) [HAVE_PDUMPER] [WINDOWSNT]: Call 'w32_init_file_name_codepage' again after loading the pdumper file. * src/w32.c (w32_init_file_name_codepage) [HAVE_PDUMPER]: Reinitialize additional variables. (Bug#75207)
* | | Merge from origin/emacs-30Eli Zaretskii2025-01-041-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6468c3f7a74 Update doc string of 'insert' 6d8c3c0cbe4 Use `keymap*-set' over `global-set-key'/`define-key' in e... 4b2bb63b7ac Fix documentation and prompt in 'package-isolate' 55f43f5b220 ; Fix typo in treesit-explore-mode 921f454f508 Update fontification for attribute values in heex-ts-mode ae2589ea7a5 Add expression handling to heex-ts-mode 0cacf806391 ; * etc/NEWS: Document change of 'make-cursor-line-fully-... f47a29da5c4 * lisp/man.el (Man-mode): Improve docstring. # Conflicts: # etc/NEWS
| * | Update doc string of 'insert'Ulrich Müller2025-01-041-2/+2
| | | | | | | | | | | | | | | * src/editfns.c (Finsert): Mention 'decode-coding-string' instead of the obsolete 'string-as-multibyte' in doc string. (Bug#75345)
| * | Update copyright year to 2025Stefan Kangas2025-01-02278-286/+297
| | | | | | | | | | | | Run "TZ=UTC0 admin/update-copyright".
* | | Automatically redraw frames for filtered facesDaniel Colascione2025-01-032-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatically redraw frames when we detect that a window parameter used in a face filter is changed. (Bug#75291) * src/window.c (Fset_window_parameter): redraw window, actually whole frame in this implementation, on face-relevant parameter change (syms_of_window): add window_auto_redraw_on_parameter_change * src/xfaces.c (evaluate_face_filter): record properties
* | | Update copyright year to 2025Paul Eggert2025-01-01279-287/+292
| | | | | | | | | | | | Run "TZ=UTC0 admin/update-copyright".
* | | ; * src/doc.c (store_function_docstring): Fix typo.Pip Cet2024-12-301-1/+1
| | |
* | | Make browser windows pop up when browsing URLs on WaylandDaniel Colascione2024-12-281-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a user invokes browse-url, the browser window viewing the URL should be raised in the user's desktop environment. On X11, running xdg-open as a subprocess does the job. However, on Wayland, this approach doesn't work: xdg-open makes the web browser browse a URL all right, but doesn't raise the browser window in the GUI. Therefore, if the browser window is behind Emacs, browse-url appears to do nothing. Repeated invocations of browse-url cause the browser to load multiple tabs in the background, surprising the user when he gives up in frustration and manually switches to the browser window. There's no subprocess we can run to make the right thing happen. Wayland requires that we pass along event activation information to the browser using the xdg_activation_v1 protocol. This change adds x-gtk-launch-uri to invoke GTK-native URL-dispatch machinery. This machinery DTRT on both X11 and Wayland. We fall back to the default browser machinery if we're not on a GTK frame. The logic is more complicated than it has to be because the GTK URI launch mechanism requires that we launch with respect to a specific GTK window, and in some environments (e.g., running emacs -nw in a PGTK Emacs) we don't have a GTK window. We also want to preserve the effect of customizing browse-url-browser-function, so adding an entry to browse-url-default-handlers that preempts URI open when we happen to be on a GTK frame is the wrong thing to do. * lisp/net/browse-url.el (browse-url--browser-defcustom-type): (browse-url--inhibit-pgtk): avoid infinite recursion (browse-url-default-browser): use pgtk launch (x-gtk-launch-uri): new function (browse-url-default-gtk-browser): ues it * src/pgtkfns.c (unwind_gerror_ptr): new function (Fx_gtk_launch_uri): new function (syms_of_pgtkfns): register it * etc/NEWS: mention the new feature
* | | Merge from origin/emacs-30Eli Zaretskii2024-12-281-0/+5
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2ba6387d1d6 ; Fix inaccuracy in ELisp Reference manual 8ac6a178804 ; * etc/PROBLEMS: Mention problems with XPM support in GD... 624322d5f6a Add missing fontification matches for elixir-ts-mode 5bafb11b400 ; Fix copyright year 186ea407326 Don't start docstrings with "This function" or similar cb8ce2e68bb Enable indent-tabs-mode in obj-c-mode 54f35137096 Fix comment indent in 'lua-ts-mode' and old grammar 8b95549e908 * admin/nt/dist-build/build-dep-zips.py: (deps src) handl... 8064b2a6798 Document undocumented completion commands c29b798537e ; etc/w32-feature.el (harfbuzz): improve test 0e43e35f96e * admin/nt/dist-build/emacs.nsi: (Uninstall) delete only ... b83cd8a8fb0 ; * etc/tutorials/TUTORIAL.ko: Fix the beginning. 41caccc488b ; * etc/publicsuffix.txt: Update from upstream. e6fb18406ee ; Fix refcards 14e791f9ba2 ; Update acknowledgments for Emacs 30 861b7864fc4 ; Fix node name in emacs-lisp-intro.texi 77243ba5be8 ; Update version tags of defcustoms fe2ac33bae8 ;* doc/misc/efaq.texi (New in Emacs 30): Mention 'trusted... 8fb884f0dc0 ; * etc/NEWS: Fix wording. e281355a5e8 Improve D-Bus and Tramp manual # Conflicts: # doc/emacs/emacs.texi # etc/NEWS # lisp/erc/erc-log.el # lisp/eshell/esh-mode.el # lisp/which-key.el
| * | Document undocumented completion commandsEli Zaretskii2024-12-241-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/minibuf.c (Fread_from_minibuffer): * lisp/minibuffer.el (minibuffer-complete-history) (minibuffer-complete-defaults): Doc fixes. * doc/emacs/mini.texi (Completion Commands): Fix markup, style of describing commands, and indexing. Document 'C-x UP' and 'C-x DOWN'.
* | | Make image cache aware of image-scaling-factor (bug#74725)Alan Third2024-12-282-11/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/dispextern.h (struct image): Add scale so it can be compared in search_image_cache. * src/image.c (search_image_cache): Calculate the scale factor and compare with the cached value. (image_compute_scale): Compute the image's scale factor and optionally store it in the image struct. (compute_image_size): Move scale calculation code into image_compute_scale and use it.
* | | Don’t include stdlib.h from conf_post.hPaul Eggert2024-12-264-56/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is brittle, as evinced by the recent problem with lib/stdlib.c. * src/conf_post.h: Move potential inclusion of stdlib.h and redefinitions of malloc, free, realloc, aligned_alloc, and calloc from here ... * src/lisp.h: ... to here. Do not redefine the symbols if UNEXMACOS_C is defined. * src/unexmacosx.c: Do not undef malloc, realloc, free. (UNEXMACOS_C): New symbol, to prevent lisp.h from defining them.
* | | Let Gnulib deal with MB_CUR_MAXPaul Eggert2024-12-261-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recent Gnulib should work around the Android NDK 16 MB_CUR_MAX bug, so Emacs no longer needs to worry about it. * configure.ac (gl_STDLIB_H): Remove, to stop overriding Gnulib. * configure.ac (__ctype_get_mb_cur_max) (emacs_cv_broken_mb_cur_max, REPLACEMENT_MB_CUR_MAX): * src/conf_post.h (MB_CUR_MAX): Remove, as Gnulib does this now.
* | | Fix format specifier warnings in nsterm.mCharalampos Mitrodimas2024-12-261-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve warnings caused by mismatched format specifiers in `NSLog` and `fprintf` calls. This was observed when compiled with Clang version 19.1.6 (arm64-apple-darwin). Warnings fixed: - "format specifies type 'unsigned int' but the argument has type 'IOReturn' (aka 'int')" * src/nsterm.m: Cast `IOReturn` (aka `int`) to `unsigned int` for `%x` format specifiers in `NSLog`. (Bug#74971)
* | | Merge from origin/emacs-30Eli Zaretskii2024-12-211-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | 5e97079cc75 ; Fix call to 'decode_string_utf_8' in #ifdef'ed-away code 6902673b5b9 ; Improve commentary in calendar.el 08b62132dde Add 'lua-ts-mode' to 'interpreter-mode-alist' d8ffcf2fbac Document representation of dates in calendar.el faaa13ec762 Autoload 'shortdoc-help-fns-examples-function'
| * | ; Fix call to 'decode_string_utf_8' in #ifdef'ed-away codeEli Zaretskii2024-12-211-1/+1
| | | | | | | | | | | | | | | | | | * src/coding.c (Finternal_decode_string_utf_8): Fix calling sequence of 'decode_string_utf_8' to adapt to changes in the latter's signature.
* | | Merge from origin/emacs-30Eli Zaretskii2024-12-211-2/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8f8da2d7854 ; * ChangeLog.4: Update. 49adcf30b01 ; * etc/AUTHORS: Update. 1381c6f9591 * Update authors.el 5c0f3f5826e ; * etc/NEWS: Mark unmarked entries. 8a0c9c234f1 Document 'trusted-content c6ce11b2a48 Mention network-interface-list in network-interface-info ... a7905145f70 ; * lisp/emacs-lisp/re-builder.el (reb-change-syntax): Fi... cde22c02011 Move NEWS items from unreleased 28.3 to released 29.1 5686bb5b428 Improve browse-url-android-share docstring 92041e15f4a Minor doc fix for url-handler-regexp 9fd96e2ab95 Improve reb-change-syntax docstring b9dc337ea74 * lisp/files.el (trusted-content-p): Make `:all` work in ... 4b685bc4fcd ; * src/process.c (Fnetwork_interface_list): Fix typo. c14c4895719 ; * lisp/net/nsm.el (nsm-trust-local-network): Fix typo. 10f976300d0 ; Add some tree-sitter thing content to the manual 55303a6bc0a * lisp/org/ox-texinfo.el (org-texinfo-template): Fix Info... 8b6c6cffd1f trusted-content: Adjust the last patch based on prelimina... 69b16e5c638 ; * etc/NEWS: Fix typos. 5c6dbc65f36 ; * doc/lispref/frames.texi (Multiple Terminals): Add ind... 856a58e2827 Update documentation of 'etags' regexps some more 4c68846223b Update documentation of 'etags' regexps b5158bd1914 elisp-mode.el: Disable Flymake byte-compile backend in un... # Conflicts: # doc/man/etags.1 # etc/NEWS # lisp/org/ox-texinfo.el
| * | Mention network-interface-list in network-interface-info docstringRobert Pluim2024-12-181-1/+2
| | | | | | | | | | | | | | | * src/process.c (Fnetwork_interface_info): Reference 'network-interface-list'.
| * | ; * src/process.c (Fnetwork_interface_list): Fix typo.Robert Pluim2024-12-161-1/+1
| | |
* | | Add support for the ':data' keyword for play-sound in MS-Windows.Cecilio Pardo2024-12-211-120/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/sound.c (parse_sound) [WINDOWSNT]: Check that either :file or :data is present. (do_play_sound): Added parameter to select file or data, and code to play from data. (Fplay_sound_internal): Fixed volume format, and send file or data to 'do_play_sound'. (Bug#74863) * etc/NEWS: Add entry for this change. * etc/PROBLEMS: Remove entry about missing support for :data.
* | | Fix a number of Android compilation warningsPo Lu2024-12-211-2/+10
| | | | | | | | | | | | | | | | | | * src/dispnew.c (frame_rect_abs, frame_pos_abs, rect_intersect) (copy_child_glyphs, abs_cursor_pos, is_in_matrix) (is_cursor_obscured) [HAVE_ANDROID]: Delete functions.
* | | On GTK do not inhibit implied resizing until tool bar was drawn (Bug#74750)Martin Rudalics2024-12-202-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/frame.c (frame_inhibit_resize): Under GTK do not inhibit implied resizing as long as the tool bar has not been drawn yet so the frame gets its intended initial height (Bug#74750). * src/gtkutil.c (update_frame_tool_bar): Set tool_bar_resized slot of frame f to true regardless of whether a tool bar was made or not. This will make inhibiting implied resizes work again from now on.
* | | Fix the MS-Windows build broken by recent changesEli Zaretskii2024-12-202-23/+7
| | | | | | | | | | | | | | | | | | * src/w32font.c (memq_no_quit): * src/w32uniscribe.c (memq_no_quit): Remove; use the function from fns.c instead. All callers changed.
* | | Allow xt-mouse-tests to runGerd Möllmann2024-12-201-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is basically a workaround for running a test in batch mode which should have a tty frame available but doesn't. * src/frame.c (check_tty): Relax check if noninteractive. * lisp/xt-mouse.el (xterm-mouse-event): Don't use frame-at if noninteractive.
* | | Fix tty root frame collection in redisplay_internalGerd Möllmann2024-12-203-1/+11
| | | | | | | | | | | | | | | | | | | | | * src/fns.c (memq_no_quit): New function. * src/lisp.h: Declare it. * src/xdisp.c (redisplay_internal): Use memq_no_quit instead of assq_no_quit.
* | | Enable adjusting frame sizes on MS-DOSPo Lu2024-12-202-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | * src/dispnew.c (change_frame_size): Do not propagate changes to child frames to root frames and vice versa. * src/frame.c (adjust_frame_size): Do not change video modes in resizing a child frame.
* | | Enable TTY child frames on MS-DOSPo Lu2024-12-207-100/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/conf_post.h (ENOTSUP): Define to ENOSYS as msdos.h once did. (IFTODT): Copy definition from Gnulib. * src/dispnew.c (is_tty_frame): Also test FRAME_MSDOS_P. * src/frame.c (tty_child_pos_param, tty_child_size_param): Export functions. * src/msdos.c (mouse_get_xy, mouse_moveto, mouse_pressed): Offset mouse positions by those of the selected frame. (it_face_override): New function. (IT_set_face): New argument F. Load FACE_ID from its face cache. (IT_write_glyphs): Track the frames on which glyphs were generated and apply faces from their individual face caches. (IT_write_glyphs_with_face): New function. (tty_draw_row_with_mouse_face): Reimplement in line with tty.c and eliminate an obsolete optimization. (IT_clear_end_of_line, IT_clear_screen): Load faces from the cache of the provided frame. (IT_set_frame_parameters): Adjust frame geometry and garbage frames after geometry parameters change as a child frame. (BUILD_CHAR_GLYPH): Accept new parameter F. (IT_menu_display): Offset cursor positions by those of the selected frame. * src/msdos.h (ENOTSUP): Move to conf_post.h for Gnulib. * src/xdisp.c (redisplay_internal): Redisplay MSDOS frames unconditionally as with terminal frames.
* | | Fix the Android portPo Lu2024-12-202-0/+10
| | | | | | | | | | | | | | | | | | | | | * src/dispnew.c (terminal_cursor_magic) (combine_updates_for_frame): Disable unused code on Android. * src/frame.c (tty_child_frame_rect): Define out on Android.
* | | Fix network test failure when using VPN clientRobert Pluim2024-12-191-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using certain VPN clients, the interface info returned by 'getifaddrs' does not have the address family filled in for the ifa_netmask component (this is allowed by the standard, since the value is not specified). The resulting address info causes network tests suite failures. Fix by copying the address family from the returned interface address. * src/process.c (network_interface_list): Copy the interface address sa_family to the netmask address. (Fnetwork_lookup_address_info): Fix test for non-IP addresses to properly account for IPv6. * test/src/process-tests.el (process-tests-check-bug-74907): New test, checks that 'network-interface-list' output is as expected. (Bug#74907)
* | | Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacsEli Zaretskii2024-12-191-1/+1
|\ \ \
| * | | ; Fix a call to update_window for !HAVE_EXT_MENU_BARGerd Möllmann2024-12-191-1/+1
| | | | | | | | | | | | | | | | * src/dispnew.c (update_menu_bar): Remove superfluous argument.