| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
|
|
| |
* src/xdisp.c (note_mouse_highlight): Check if the mouse_face_overlay
actually points to a buffer, before calling
mouse_face_overlay_overlaps on it.
|
| |
|
|
|
|
|
|
|
| |
* configure.ac: Use EMACS_CHECK_MODULES fors LCMS2 rather than
AC_SEARCH_LIBS.
* src/Makefile.in: Get LCMS2_LIBS and LCMS2_CFLAGS from configure,
instead of just LIBLCMS2.
(cherry picked from commit cb3863370cbe574810f796726faa39ba0de0a429)
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
* src/msdos.c (the_only_tty_output): Define.
* src/msdos.h (the_only_tty_output): Declare.
* src/frame.c (make_terminal_frame) [MSDOS]:
* src/dispnew.c (init_display) [MSDOS]: Set up
f->output_data.tty pointer using the_only_tty_output, before
dereferencing the pointer. This prevents crashes with DPMI
servers that provide NULL pointer protection.
|
| |
|
|
|
|
|
|
|
| |
* src/frame.c (free_monitors) [USE_GTK]: Define in the GTK case as
well.
* src/xfns.c (x-display-monitor-attributes-list) [USE_GTK]: Plug
memory leak. Use dupstring over xstrdup as gdk_monitor_get_model may
return NULL.
|
| |
|
|
|
|
|
|
| |
* src/minibuf.c (Fread_command): Document the return value
when DEFAULT-VALUE is nil and the user enters nothing.
* doc/lispref/minibuf.texi (High-Level Completion): Document
the printed representation of a symbol whose name is empty.
(Bug#3522)
|
| |
|
|
|
| |
* src/emacs.c: Fix reference to Cocoa CoreFoundation Release
Notes. (Bug#35225)
|
| | |
|
| |
|
|
|
|
|
| |
* doc/lispref/windows.texi (Window Start and End):
* src/window.c (Fset_window_start): Document that reliable
setting of a window start position requires to adjust point to
be visible. (Bug#34038)
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
* src/window.c (Fset_window_margins, Fset_window_fringes)
(Fset_window_scroll_bars): In doc-strings tell that a window
must be large enough to accommodate fringes, sroll bars and
margins of the desired size.
* doc/lispref/display.texi (Fringe Size/Pos, Scroll Bars)
(Display Margins): Tell that windows must be large enough to
accommodate fringes, sroll bars and margins of the desired
size.
|
| |
|
|
|
| |
* src/minibuf.c (Fread_buffer): Further improve the doc
string. (Bug#347694)
|
| | |
|
| |
|
|
|
|
| |
* src/buffer.c (Vbuffer_list_update_hook):
* doc/lispref/buffers.texi (Buffer List): Warn against
recursive invocations of 'buffer-list-update-hook' (Bug#34765).
|
| | |
|
| |
|
|
|
| |
* src/w32term.c (x_make_frame_visible): Call unblock_input
before returning early. (Bug#34575)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* src/keyboard.c (read_char, read_event_from_main_queue):
Ensure the global value of getcjmp is restored when the stack
is unwound by the likes of 'throw', by calling
record_unwind_protect_ptr instead of restoring the value
manually. (Bug#34394)
(restore_getcjmp): Argument is now 'void *', to match the
signature of record_unwind_protect_ptr.
(cherry picked from commit 10527fca66e39d7067986904161fa33741abcd26)
|
| |
|
|
|
|
|
| |
Revert part of ed962f2b8a.
* test/src/data-tests.el (data-tests-make-local-forwarded-var):
Add corresponding test.
|
| |
|
|
|
|
| |
* src/callproc.c (Fcall_process, Fcall_process_region): Minor
fixes to doc strings. Suggested by Nicholas Drozd
<nicholasdrozd@gmail.com>. (Bug#34274)
|
| |
|
|
| |
* src/process.c (Fprocess_thread): Correct docstring.
|
| | |
|
| |
|
|
|
|
|
|
| |
This fixes a regression from Emacs 25.3 (Bug#34134).
* src/process.c (server_accept_connection):
Set host correctly, fixing a bug introduced in
2017-09-16T21:29:18Z!eggert@cs.ucla.edu
when working around a GCC bug.
|
| |
|
|
|
|
|
| |
* src/nsterm.m ([EmacsView viewWillDraw]): Cancel drawing if the frame
has been garbaged.
* src/xdisp.c (expose_window_tree, expose_frame): Remove NS only
exceptions.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* src/w32uniscribe.c (uniscribe_otf_capability): Set
inhibit-quit around calls to otf_features, because the latter
cons Lisp data structures while we are in a critical section.
* src/xdisp.c (ALLOCATE_HDC) [HAVE_NTGUI]: Set inhibit-quit.
(RELEASE_HDC) [HAVE_NTGUI]: Restore inhibit-quit.
(OPTIONAL_HDC, DECLARE_HDC): Remove macros, their job is now
done by ALLOCATE_HDC and by a single #ifdef.
(draw_glyphs): Adapt to the above changes in macros.
(Bug#34059)
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Suggested by Eli Zaretskii (Bug#20890#31).
* src/font.h (font_data_structures_may_be_ill_formed): New function.
* src/ftfont.c (ftfont_close):
* src/ftcrfont.c (ftcrfont_close): Use it.
(cherry picked from commit d02fd482fbeaf6ed551e78223b538495cb0c3541)
|
| |
|
|
|
|
| |
Workaround suggested by Robert Pluim (Bug#20890#13).
* src/ftfont.c (ftfont_close) [USE_CAIRO]:
Do nothing if GC is in progress.
|
| |
|
|
|
| |
* src/font.h (struct font, struct font_driver): Fix typos and
wording in comments. Document all driver methods.
|
| |
|
|
|
| |
* src/window.c (Qwindow_point_insertion_type): Fix definition
(Bug#33871).
|
| |
|
|
| |
Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
|
| |
|
|
|
| |
* src/nsterm.m (ns_draw_fringe_bitmap): Check the rectangle to clear
correctly.
|
| |
|
|
|
| |
* src/dispnew.c (buffer_posn_from_coords): Fix inaccuracies in
the commentary.
|
| |
|
|
|
|
|
|
| |
* doc/lispref/processes.texi (Accepting Output):
* src/process.c (Faccept_process_output):
Document that (accept-process-output P) can return non-nil
even after P has exited, and that it can return nil even if P
is still running (Bug#33839).
|
| |
|
|
|
|
|
|
|
|
|
| |
* src/process.c (Fprocess_send_region, Fprocess_send_string):
Document that process input longer than the process input
buffer may be split into bunches. Remove an outdated
reference to a 500 character split boundary.
* doc/lispref/processes.texi (Asynchronous Processes): Remove
mention of "stray character injections" in PTY processes. See
also the comment about ICANON in src/sysdep.c, function
child_setup_tty.
|
| |
|
|
|
|
|
|
|
| |
* src/keyboard.c (read_char): Events put into `unread-command-events'
with the form (t . EVENT) should always have the t stripped when read
out.
* test/src/keyboard-tests.el: New tests for `unread-command-events'.
(cherry picked from commit 1f3f4b1296613b8cdc0632a68fde86e86ddad866)
|
| |
|
|
|
|
|
|
|
|
| |
Backport from master.
I ran into this when building Emacs 26 with GCC 8 on Fedora 29 x86.
* lwlib/lwlib-Xaw.h (xaw_update_one_value, xaw_popup_menu):
* lwlib/lwlib-Xlw.h (xlw_update_one_value, xlw_pop_instance):
* lwlib/lwlib.h (lw_allow_resizing, lw_set_main_areas) [!USE_MOTIF]:
No longer const.
* src/emacs-module.c: Ignore -Wcast-function-type.
|
| |
|
|
|
|
| |
This has to be the same as in src/ftcrfont.c and src/ftfont.c
* src/xftfont.c (struct xftfont_info): Document layout constraints.
|
| |
|
|
|
|
|
|
|
| |
The layout of the initial members of ftcrfont_info must match
ftfont_info
* src/ftcrfont.c (struct ftcrfont_info): Likewise.
* src/ftfont.c (struct ftfont_info): Document layout constraints.
|
| |
|
|
|
|
|
| |
* src/xdisp.c (maybe_produce_line_number): When the current
line is at EOB, use the 'line-number-current-line' face only
on that single line, but not on the rest of empty lines beyond
EOB. (Bug#33732)
|
| |
|
|
|
|
|
| |
* src/window.c (set_window_fringes, set_window_scroll_bars):
Set windows_or_buffers_changed flag to cause immediate
thorough redisplay of a window when scroll bars or fringes are
changed. (Bug#33694)
|
| |
|
|
|
|
|
|
|
| |
Backport: Fixes Bug#33442.
* src/xterm.c (x_scroll_run) [USE_CAIRO]: Fix scrolling for
side-by-side split windows. (Bug#31288)
(cherry picked from commit 6e362a32bc9d21f73a0f29ca6f45481edeea6f29)
|
| | |
|
| |
|
|
|
|
| |
* src/xterm.c (x_begin_cr_clip) [USE_GTK]:
(x_update_begin) [USE_CAIRO && USE_GTK]: Support scaling.
(Bug#33442)
|
| |
|
|
|
| |
* doc/lispref/internals.texi (Window Internals): Add a few
more items and clarify description of some others.
|
| |
|
|
|
|
|
| |
This reverts commit c418c85617babbe7b63730fefb71e2c87a0141af.
This reinstates the original fix, as it had nothing to do
with the behavior reported in bug#33571, which seems to be
the expected behavior.
|
| |
|
|
|
|
| |
This reverts commit af914fc26db273d8788e7efa57c569f0f778d037,
since it caused unintended adverse effects on echoing of keys.
(Bug#33571)
|
| |
|
|
|
| |
Do not merge to master, as I have a more systematic fix there.
* src/keyboard.c (mark_kboards): Fix infloop (Bug#33547).
|
| |
|
|
|
| |
* src/nsterm.m (x_set_parent_frame) [NS_IMPL_COCOA]: Fix run-time
feature check.
|