aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Respect redisplay_dont_pause in combined updateGerd Möllmann2024-11-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * src/dispnew.c (combine_updates): Respect redisplay_dont_pause. This is important for echo_area_display which binds that variable.
| * | | | Fix a FIXME In redisplay_internalGerd Möllmann2024-11-121-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | * src/xdisp.c (redisplay_internal): Compare root frames before setting the frame garbaged.
| * | | | Change interface of prepare_desired_root_rowGerd Möllmann2024-11-101-16/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/dispnew.c (prepare_desired_root_row): Return NULL if we can't prepare the row. (produce_box_line, copy_child_glyphs): Callers changed accordingly.
| * | | | Another case of copying from non-enabled glyphs (bug#74274)Gerd Möllmann2024-11-101-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | * src/dispnew.c (build_frame_matrix_from_leaf_window): If current window row is not enabled, don't copy from it.
| * | | | ; * src/dispnew.c (prepare_desired_root_row): Add commentary (bug#74274).Eli Zaretskii2024-11-091-0/+2
| | | | |
| * | | | Don't copy from non-enabled current glyphs (bug#74274)Gerd Möllmann2024-11-091-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | * src/dispnew.c (prepare_desired_root_row): Check if current row is enabled.
| * | | | Revert "Mark atimer allocation as ambiguous root"Gerd Möllmann2024-11-061-8/+1
| | | | | | | | | | | | | | | | | | | | This reverts commit c42b90b21a4efb3c5a8ebc6e3bd6be2908d1f2ac.
| * | | | Mark atimer allocation as ambiguous rootJeff Walsh2024-11-061-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | * src/atimer.c (start_atimer): Time could be passed a lisp object for data, we should allocate this as an ambiguous root
| * | | | * src/dispnew.c (neutralize_wide_char): Don't use used[0]Gerd Möllmann2024-11-051-4/+3
| | | | |
| * | | | TTY menus: handle saved state referencing dead framesGerd Möllmann2024-11-051-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/term.c (restore_desired_matrix): If a tty menu saves a current matrix that contains glyphs from a child frame, handle the case that that child frame dies before the saved state is restored.
| * | | | Don't copy non-enabled rows from childGerd Möllmann2024-11-051-3/+19
| | | | | | | | | | | | | | | | | | | | * src/dispnew.c (copy_child_glyphs): Check if child row is enabled.
| * | | | * src/frame.c (make_terminal_frame): Check parent is live.Gerd Möllmann2024-11-051-1/+1
| | | | |
| * | | | More workarounds for GDB bug 32313Eli Zaretskii2024-10-281-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/eval.c (backtrace_args): Same treatment as backtrace_function. cherry-picked from commit b7b55df.
| * | | | Remove unneeded workaround from w32console.cEli Zaretskii2024-10-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * src/w32console.c (w32con_write_glyphs): Remove unneeded test. (w32con_clear_end_of_line): Fill in the glyph.frame member.
| * | | | Don't work around a corner case once observedGerd Möllmann2024-10-281-17/+8
| | | | | | | | | | | | | | | | | | | | | | | | | * src/term.c (tty_write_glyphs): Refactor a bit. Don't check for null glyph frame.
| * | | | Temporary fix for mouse events on child framesEli Zaretskii2024-10-261-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | * src/w32inevt.c (do_mouse_event): Ignore mouse events when the selected frame is a child frame.
| * | | | * src/w32console.c (w32con_update_end): Fix cursor display.Eli Zaretskii2024-10-261-0/+5
| | | | |
| * | | | Fix dimensions of child frames on w32 consoleEli Zaretskii2024-10-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | * src/w32inevt.c (maybe_generate_resize_event): Don't generate resize events for child frames.
| * | | | More fixes for w32 console buildEli Zaretskii2024-10-263-25/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/w32term.c (w32_read_socket): Don't use FRAME_OBSCURED_P, which was removed. * src/frame.h (struct frame): Move !HAVE_NTGUI to its original place. * src/treesit.c (treesit_load_language): Shut up GCC warning.
| * | | | Adapt w32 console to tty-child-frame changesEli Zaretskii2024-10-261-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | * src/w32console.c (w32con_write_glyphs): Use the glyph's frame, not the root frame, to resolve faces from face IDs.
| * | | | Handle obscured cursor differentlyGerd Möllmann2024-10-231-13/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also fixes an error made when porting this to savannah. * src/dispnew.c (abs_cursor_pos, (is_cursor_obscured) (terminal_cursor_magic): Port correctly and fix.
| * | | | Deal with wide charactersGerd Möllmann2024-10-231-2/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/dispnew.c (make_glyph_space): New function. (neutralize_wide_char): New function. (produce_box_sides, copy_child_glyphs): Call neutralize_wide_char.
| * | | | Merge branch 'scratch/tty-child-frames' of git.sv.gnu.org:/srv/git/emacs ↵Eli Zaretskii2024-10-232-20/+17
| |\ \ \ \ | | | | | | | | | | | | | | | | | | into scratch/tty-child-frames
| | * | | | Fix copy/paste errorGerd Möllmann2024-10-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/dispnew.c (produce_box_glyphs): DonÄt set multibyte_p twice, set padding_p.
| | * | | | Fix UB in line_hash_codePaul Eggert2024-10-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/dispnew.c (line_hash_code): Avoid undefined behavior on integer overflow.
| | * | | | Some cleanup of frame_parm_tableGerd Möllmann2024-10-231-17/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/frame.c (frame_parms): Use built-in symbols for all entries. (syms_of_frame): Check that entries are valid built-in symbols.
| * | | | | ; Clarify a comment in dispnew.cEli Zaretskii2024-10-221-3/+6
| |/ / / /
| * | | | * src/term.c (tty_display_dimension): Avoid warnings.Eli Zaretskii2024-10-221-0/+1
| | | | |
| * | | | Fix commenting conventions.Eli Zaretskii2024-10-226-117/+119
| | | | |
| * | | | Fix compilation warningsEli Zaretskii2024-10-222-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | * src/frame.c (tty_child_size_param): * src/frame.h (MOUSE_HL_INFO): Avoid NULL dereference warnings.
| * | | | CommentGerd Möllmann2024-10-221-2/+2
| | | | |
| * | | | CommentGerd Möllmann2024-10-221-22/+26
| | | | |
| * | | | Don't set internal_last_event_frame to nilGerd Möllmann2024-10-221-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | * src/frame.c (do_switch_frame): Do not set internal_last_event_frame to nil on ttys.
| * | | | Minor refactoringGerd Möllmann2024-10-221-10/+10
| | | | |
| * | | | Accept frame param width/height of 0Gerd Möllmann2024-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | * src/frame.c (tty_child_size_param): Accept values of 0.
| * | | | Set top terminal frame also to childrenGerd Möllmann2024-10-221-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * src/frame.c (make_terminal_frame): Don't check for being root when setting top_frame.
| * | | | Initial child frames based on masterGerd Möllmann2024-10-2217-575/+1574
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is based on a diff from 2024-10-15 which still applied. Since then, I've inadvertantly modified the igc branch so that it is no longer possible to get a clean diff of what has changed since I created the branch.
* | | | | Fix the DJGPP buildPo Lu2024-12-181-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * msdos/sedlibmk.inp (LIB_SELINUX, USE_SELINUX_SELINUX_H): Define to 0. * src/conf_post.h (_GL_DIT_NOTDIR, ENOTSUP) [MSDOS]: Define to appropriate values.
* | | | | unintern: Drop support for obsolete calling conventionStefan Kangas2024-12-171-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/subr.el (unintern): * src/lread.c (Funintern): Drop support for old calling convention, obsolete since 23.3. * test/lisp/progmodes/elisp-mode-tests.el (elisp-shorthand-escape): Don't use obsolete calling convention.
* | | | | all-completions: Drop support for obsolete calling conventionStefan Kangas2024-12-161-14/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/minibuf.c (Fall_completions): * lisp/subr.el (all-completions): Drop support for old calling convention, obsolete since 23.1. * src/minibuf.c (Finternal_complete_buffer): Update caller.
* | | | | ; Fix indentation problemStefan Kangas2024-12-161-1/+1
| | | | |
* | | | | Don't inhibit resizing when making a new frame (Bug#74750)Martin Rudalics2024-12-162-23/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/frame.h (struct frame): Remove inhibit_horizontal_resize and inhibit_vertical_resize slots. * src/frame.c (frame_inhibit_resize, make_frame) (Fframe_after_make_frame, gui_figure_window_size): Remove all operations on frame's inhibit_horizontal_resize and inhibit_vertical_resize slots (Bug#74750).
* | | | | Invert preprocessor condition to fix 'C-x 4 a'Stefan Kangas2024-12-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Typing 'C-x 4 a' in the main function now correctly adds 'main' to the generated ChangeLog, whereas before it added 'andreid_emacs_init'. Inverting the preprocessor condition seems like an easier fix than changing the add-change-log-entry-other-window heuristic. * src/emacs.c (main): Invert preprocessor condition to appease the 'add-change-log-entry-other-window' heuristic.
* | | | | Move pure+side-effect-free declarations to byte-opt.elStefan Kangas2024-12-161-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/json.c (syms_of_json): Move pure and side-effect-free declarations for json-serialize and json-parse-string from here... * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns, pure-fns): ...to here.
* | | | | Improve menu separator display on ttys slightly (bug#74854)Gerd Möllmann2024-12-141-11/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/xdisp.c (display_tty_menu_separator): New function displaying separators with '-', '=', or ' '. (display_tty_menu_item): Use it.
* | | | | Add support for TCP_NODELAY on network streamsEric Marsden2024-12-131-0/+5
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/process.c (socket_options): add entry for TCP_NODELAY. * lisp/emacs-lisp/bytecomp.el: add :nodelay to valid keywords for make-network-process compiler-macro. * doc/lispref/processes.texi: document :nodelay keyword argument to set-network-process-option and make-network-process. (Bug#74793)
* | | | Support menu separator types in tty menus (bug#74740)Gerd Möllmann2024-12-091-0/+11
| | | | | | | | | | | | | | | | | | | | * src/xdisp.c (display_tty_menu_item): Display "--" for all menu separator types.
* | | | Merge from origin/emacs-30Eli Zaretskii2024-12-071-5/+5
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | f65de1019dc Fix the version of librsvg API change 43c4a06ffcc ; Fix grammar in Emacs user manual 6bca138d60e Fix latest test for dabbrev-expand
| * | | Fix the version of librsvg API changeManuel Giraud2024-12-021-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/image.c (init_svg_functions, svg_load_image): The first official version that introduces 'rsvg_handle_get_pixbuf_and_error' is 2.59.0 not 2.58.0. (Bug#74606)
* | | | Make treesit-query-compile compile compiled-query eagerlyYuan Fu2024-12-041-11/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/treesit.c (treesit_ensure_query_compiled_signal): Extrat out into a function. (Ftreesit_query_compile): If EAGER is non-nil and QUERY is a lazily compiled query, compile it eagerily.